@charset "utf-8";

/* CSS Design 
Lua Visions Creative Website */

/* Colors

Dark purple
rgba(51,30,46,1)
#331e2e

Dusty Rose
rgba(127,73,92,1)
#7f495c

Sand
rgba(211,190,184,1)
#d3beb8

Off-White
rgba(246,241,239,1)
#f6f1ef
*/

/* Webfonts */

/* whisper-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Whisper';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/whisper-v7-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ysabeau-office-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ysabeau Office';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/ysabeau-office-v4-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ysabeau-office-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ysabeau Office';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/ysabeau-office-v4-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ysabeau-office-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ysabeau Office';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/ysabeau-office-v4-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ysabeau-office-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ysabeau Office';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/ysabeau-office-v4-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ysabeau-office-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ysabeau Office';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/ysabeau-office-v4-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ysabeau-office-900 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ysabeau Office';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/ysabeau-office-v4-latin_latin-ext-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Reset */
*, *::before, *::after {
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

/* Basic Formatting */

body{
    font: 400 1.25rem/1.5 'Ysabeau Office', Helvetica, Arial, sans-serif;
    color: #331e2e;
}

/* Layout */
section{
    padding: 50px 0;
}
 
.wrapper{
    max-width: 1250px;
    padding: 0 25px;
    margin: 0 auto;
}

.flex-container{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.flex_1 > *{ 
    flex: 1 1 300px;
}


/* Images */
img{
    max-width: 100%;
    height: auto;
}

/* Typo */
h1, h2, h3, h4, h5, h6{
    font-family: 'Ysabeau Office', sans-serif;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.5;
    text-wrap: balance;
}

h1{
    font-family: 'Whisper', sans-serif;
    font-size: 7rem;   
    color: #fff;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(51, 30, 46, .2), 0 2px 4px rgba(51, 30, 46, .1);
    margin-bottom: 0;
}

h2{
    font-size: 2.5rem;    
    font-weight: 900;
    color: #7f495c;
    margin-bottom: 30px;
}

h3{
    font-size: 1.75rem;   
    font-weight: 800;
}

h4{
    font-size: 1.5rem;
    line-height: 1.7;
}

h5{
    font-size: 1.375rem;
    line-height: 1.7;
}

h6{
    font-size: 1.25rem;
    line-height: 1.7;
}

a{
    color: #331e2e;
    text-underline-offset: 4px;
}

p{
    margin-bottom: 10px;
}

/* Buttons */

.btn{
    display: inline-block;
    border-radius: 999px;
    padding: 10px 32px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.2s ease-out 0s;
}

.btn:hover {
    transform: translateY(-2px); 
    box-shadow: 0 10px 20px rgba(51, 30, 46, 0.1); 
}

.btn:active {
    transform: translateY(-0.5px); 
}

.button1{
    background: #f6f1ef;
    color: #331e2e;
}

.button1:hover{
    background: #fff;
}

.button2{
    background: #7f495c;
    color: #fff;
}

.button2:hover{
    background: #915d6f;
}

/* Rounded box with shadow */

.box{
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(51,30,46,0.1);
}


/* Header */

header{
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}


header .flex-container{
    justify-content: space-between;
    align-items: center;
    margin: 20px auto 0;
    padding: 0; 
    border-radius: 50px;
    background: transparent;

    transition: all 0.2s ease;
}


header.scrolled .flex-container { 
    margin-top: 15px;
    padding: 12px 25px;
    background: rgba(51, 30, 46, 0.75); 
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(51,30,46,0.15);
}

header img{
    width: 55px;
    height: auto;
    /* max-width: 55px; */
    display: block;
    transition: max-width 0.2s ease;
}

header.scrolled img{
    /* max-width: 50px; */
    width: 50px;
}

.main-nav{
	display: flex;
	gap: 30px;
}

.main-nav li{
    list-style: none;
	position: relative;
}


.main-nav li a{
    display: block;
    padding: 10px 0;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    transition: all 0.2s ease 0s;
}

.main-nav li a:hover{
    color: #d3beb8;
}

.main-nav li a.active-route {
    color: #d3beb8; 
}

header.scrolled .main-nav li a{
    font-size: 0.85rem;
}

/* Language Switcher */
.main-nav .lang-switch-item {
    display: flex;
    align-items: center;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
}

.lang-option {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.lang-option:hover {
    color: #d3beb8;
}

.lang-option.active {
    color: #d3beb8;
    pointer-events: none;
    font-weight: 800;
}

/* Responsive navigation */

.menu-toggle{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span{
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: .3s;
}


/* Hero */

#hero{
    background: #7f495c url(../images/hero_image4.jpg) center center no-repeat;
    background-size: cover;
}

#hero .flex-container{
    justify-content: center;
    text-align: center;
    min-height: 450px;
    flex-direction: column;
}

/* Small Hero */

#herosmall{
    background: #7f495c url(../images/hero_small.jpg);
    background-size: cover;
}

#herosmall .flex-container{
    justify-content: flex-end;
    text-align: center;
    min-height: 250px;
    flex-direction: column;
}

/* About */

.imagebox{
    text-align: right;
}

#about .button2{
    margin-top: 30px;
}

/* Services */

#services{
    background: #fff;
    padding-bottom: 100px;
}


#services .flex-container{
    justify-content: center;
    align-items: stretch;
}

#services a{
    text-decoration: none;
    flex: 0 1 350px;
    transition: transform 0.2s ease-in-out 0s;
}

.servicebox{
    background: #7f495c;
    padding: 50px 30px;
    text-align: center;
    color: #fff;
}

#services a:hover{
    transform: scale(1.03);
}

.servicebox h3{
    color: #fff;
}

.servicebox p{
    margin-bottom: 30px;
}

.servicebox img {
    margin-bottom: 25px;
}



/* Testimonials */

#testimonials{
    background: #7f495c url(../images/background.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

#testimonials .flex-container{
    min-height: 400px;
    justify-content: center;
    text-align: center;
}


.testimonial-slider-container {
    position: relative;
    width: 100%;
    max-width: 900px; 
    min-height: 380px; 
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


.testimonial-slide {
    position: absolute;
    width: 100%;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out; 
    z-index: 1;
}

.testimonial-slide.active { 
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

blockquote{
    font-family: 'Ysabeau Office', sans-serif;
    font-style: italic;
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    max-width: 800px;
    margin: 40px auto;
    position: relative;
}

blockquote::before, blockquote::after{
    font-family: serif;
    font-size: 10rem;
    color: #fff;
    opacity: 0.2; 
    position: absolute;
    line-height: 1;
}

blockquote::before{
    content: "“";
    top: -60px;
    left: -55px;
}

blockquote::after{
    content: "”";
    bottom: -130px;
    right: -55px;

}

.author{
    font-size: 1rem;
    color: #fff;
}

.author span{
    text-transform: uppercase;
    font-weight: 600;
}

/* Graphic Design, Web Design, Audio */

#graphic, #audio{
    background: #fff;
    padding: 80px 0 100px;
}

#web{
    background: #7f495c;
    padding: 80px 0 100px;
}

.servicedetails{
    align-items: center;
    gap: 70px;

}

#web .servicedetails p, #web .servicedetails h2{
    color: #fff;
}

.description .btn{
    margin-top: 30px;
}

.visuals{
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}


.overview{
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding: 50px 30px;
    background: rgba(127,73,92,.2);
    width: 100%;
    justify-content: center;
    color: #331e2e;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 600;
}

.overview p{
    margin-bottom: 0;

}

#web .overview{
    background: rgba(255, 255, 255, .2);
    color: #fff;
}



/* Work */

#work{
    background: #d3beb8;
    padding: 80px  0px 100px;
}

#work h2{
    text-align: center;
    margin-bottom: 50px;
}

#work p{
    margin: 50px 20px 20px;
}

#work span{
        font-weight: 700;
}

#work .flex-container{
    gap: 20px;
    justify-content: center;
}

.project-card {
    flex: 0 1 calc(25% - 15px); 
}

.project-card img {
    width: 100%;      
    display: block;
    height: auto;
    transition: transform 0.2s ease-in-out 0s;
}

.project-card img:hover{
    transform: scale(1.03);
}

.lightbox {
    display: none; 
    opacity: 0;
    transition: opacity 0.4s ease; 
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 30, 46, .9);
    justify-content: center;
    align-items: center;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 4px solid #fff;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #d3beb8;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: 0.3s;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.nav-btn:hover { color: #d3beb8; }


/* Footer */


footer{
    background: #331e2e;
    color: #fff;
    padding: 30px 0 10px;
}

footer .textlink{
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease 0s;
}

footer .textlink:hover{
    color: #d3beb8;
}


.contact{
    justify-content: space-between;
    align-items: flex-start;
}

.contact .btn{
    margin-top: 10px;
}

.social_link{
    margin-left: 10px;
}

.social_link .hover_img{
    display: none;
}

.social_link:hover .default_img{
    display: none;
}

.social_link:hover .hover_img{
    display: inline-block;
}



.legal{
    justify-content: space-between;
    font-size: 1rem;
}

.legal > div:first-child {
    flex: 1;
    width: 100%;
}

.logo_footer{
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 100px 0 30px;
    display: block;
}

.legaltext{
    text-align: right;
}

.copyright{
    justify-content: center;
    font-size: 1rem;
}

hr{
    margin-bottom: 6px;
    border: none;
    border-top: 2px solid #fff;
}

/* Privacy Policy, Terms & Conditions */

#privacy h2, #terms h2{
    font-size: 2rem;
    margin: 40px 0 20px;
}

#privacy ul, #terms ul{
    margin-left: 40px;
    margin-bottom: 20px;
}

.note{
    font-size: 1rem;
    font-style: italic;
    margin-top: 30px;
}

/* Scroll to top */

#scroll-top{
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: rgba(51, 30, 46, 0.75); 
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    padding: 6px 14px 10px;
    border-radius: 12px;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 20px 40px rgba(51, 30, 46, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

#scroll-top.active{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#scroll-top:hover{
    background-color: #7f495c;
    transform: translateY(-3px);
}

/* Reveal on scroll */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: transform, opacity;
}

.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}




/* Media Queries */

@media (hover: none) and (pointer: coarse) {
    #testimonials {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

@media (hover: none) and (pointer: coarse) and (max-width: 1024px){
    .nav-btn { 
    top: 90%;
    }

    .nav-btn:hover { color: #fff; }

    .close-btn:hover {
    color: #fff;
    }
}

@media only screen and (max-width: 950px){

    .flex_1 > * {
        flex: 1 1 100%;
    }
    
    #herosmall .agb{
        font-size: 5rem;
    }

    .imagebox{
        text-align: center;
        margin-top: 50px;
    }

    blockquote::before, blockquote::after {
        font-size: 6rem; 
    }

    blockquote::before {
        top: -40px;
        left: -15px; 
    }

    blockquote::after {
        bottom: -80px;
        right: -15px; 
    }

    .visuals img{
        width: 100%;
        max-width: 600px;
    }

    .project-card{
        flex: 0 1 calc(50% - 10px);
    }

    footer .flex-container{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo_footer{
        margin: 40px auto;
        width: 100%;
        max-width: 400px;
    }

    .legal{
        gap: 10px;
        margin-bottom: 40px;
    }

    .legal > div:first-child {
        flex: none;
        width: 100%;
    }

    .legaltext{
        text-align: center;
    }

    hr{
        border-top: 1px solid #fff;
    }

}

@media only screen and (max-width: 767px){

    h1{
        font-size: 5rem;
    }

    h2{
        font-size: 2.25rem;
    }

    /* Responsive Navigation */


    .menu-toggle{
        display:block;
    }

    header.open .menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    header.open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    header.open .menu-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    header .flex-container{
        gap: 0;
    }

    header.scrolled .flex-container {
        gap: 0; 
        overflow: hidden;
    }

    header nav {
        width: 100%;
    }

    .main-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 0;
        padding: 20px 0;
        border-radius: 50px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none; 
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        overflow: hidden;
    }

    header.open .main-nav {
        max-height: 500px; 
        opacity: 1;
        visibility: visible;
        margin-top: 20px;
        background: rgba(51, 30, 46, 0.75); 
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 10px 30px rgba(51,30,46,0.15); 
    }

    header.scrolled .main-nav {
        padding: 0;
    }

    header.open.scrolled .main-nav {
        background: none; 
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none; 
        padding: 20px 0;
    }

    .main-nav li{
        width: 100%;
        text-align: center;
    }


    .main-nav li a {
        padding: 20px 0;
        font-size: 1.25rem;
    }


    header.scrolled .main-nav li a{
        font-size: 1.25rem;
    }

    header.open .flex-container,
    header.open img,
    header.open .main-nav { 
        transition: none; 
    }

    .main-nav .lang-switch-item {
        justify-content: center;
    }
    
    .lang-switch {
        font-size: 1.25rem;
    }

    #testimonials .flex-container{
        min-height: 500px;
    }

    .overview{
        flex-direction: column;
        text-align: center;
    }
    
    #work p{
        text-align: center;
    }

    .project-card{
        flex: 0 1 100%;
        max-width: 400px;
    }

    .nav-btn { 
    top: 85%;
    }

    .nav-btn:hover { color: #fff; }

    .close-btn:hover {
    color: #fff;
    }

    .reveal-on-scroll {
        transform: translateY(20px); 
        transition: opacity 0.4s ease-out, transform 0.4s ease-out; 
    }
}