@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F9F1E9;
    scroll-behavior: smooth;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(249, 241, 233, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 55, 40, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector select {
    background-color: transparent;
    border: 1px solid #4A3728;
    color: #4A3728;
    padding: 5px 10px;
    border-radius: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%234A3728%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right .7em top 50%;
    background-size: .65em auto;
    padding-right: 2.5em;
}

.language-selector select:hover {
    background-color: rgba(74, 55, 40, 0.05);
}

.logo-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #4A3728;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hamburger-menu {
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 101;
}

.line {
    width: 100%;
    height: 3px;
    background-color: #4A3728;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #4A3728;
    z-index: 90;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
}

.nav-overlay nav ul {
    list-style: none;
    text-align: center;
}

.nav-overlay nav ul li {
    margin: 20px 0;
    overflow: hidden;
}

.nav-overlay nav ul li a {
    color: #F9F1E9;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-decoration: none;
    display: block;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
}

.container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
}

.context {
    position: sticky;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.title {
    margin-bottom: 60px;
}

.title h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 3rem);
    font-weight: 600;
    color: #4A3728;
}

.highlight {
    position: relative;
    display: inline-block;
}

.word-underline {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    max-width: none;
    display: block;
    margin: 0;
    z-index: -1;
}

.word-underline svg {
    width: 100%;
    height: auto;
    display: block;
}

.context p {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1.4rem);
    font-weight: 500;
    line-height: 1.6;
    width: 80%;
    color: #4A3728;
}

.cta-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    width: 100%;
}

.cta-button {
    padding: 15px 30px;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    border-radius: 30px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid #4A3728;
    display: inline-block;
}

/* Primary Button Style (Filled) */
.cta-button.primary {
    background-color: #4A3728;
    color: #F9F1E9;
}

.cta-button.primary:hover {
    background-color: transparent;
    color: #4A3728;
}

/* Secondary Button Style (Outlined) */
.cta-button.secondary {
    background-color: transparent;
    color: #4A3728;
}

.cta-button.secondary:hover {
    background-color: #4A3728;
    color: #F9F1E9;
}

.vertical-scroll {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.column {
    width: calc(100% / 2);
}

.left-column,
.right-column {
    will-change: transform;
}

.frame {
    display: flex;
    width: 100%;
    padding: 10px;
}

.frame img {
    display: block;
    max-width: 100%;
    height: auto;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    -webkit-box-shadow: 0 4px 6px rgba(74, 55, 40, 0.4);
    -moz-box-shadow: 0 4px 6px rgba(74, 55, 40, 0.4);
    box-shadow: 0 4px 6px rgba(74, 55, 40, 0.4);
}



/* Deck Slider Styles */
.deck-slider-container {
    width: 100%;
    height: 100vh;
    margin-top: 8rem;
    margin-bottom: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F9F1E9;
    position: relative;
    overflow: hidden;
}

.deck-main-title {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #4A3728;
    z-index: 10;
    opacity: 0;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
}

.deck-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.card {
    position: absolute;
    width: 65%;
    height: 60vh;
    background-color: #fdfdfd;
    border-radius: 30px;
    -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

.card-visual {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    width: 50%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.card-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #4A3728;
    margin-bottom: 20px;
}

.card-content p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    color: #6B3B2F;
    line-height: 1.6;
}

.card-number {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: rgba(74, 55, 40, 0.1);
    font-weight: 700;
}

/* Instagram Section Styles */
.instagram-feed-section {
    width: 100%;
    padding: 4rem 0 6rem 0;
    background-color: #F9F1E9;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.insta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #4A3728;
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
}

#ft-insta-brd {
    display: none !important;
}

/* Reviews Section Styles */
.reviews-section {
    width: 100%;
    padding: 6rem 0 4rem 0;
    background-color: #F9F1E9;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.reviews-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #4A3728;
    margin-bottom: 1rem;
    text-align: center;
    opacity: 0;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
}

.reviews-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #6B3B2F;
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
    font-style: italic;
}


/* Video Reveal Section */
.video-reveal-section {
    width: 100%;
    height: 100vh;
    position: relative;
    background-color: #F9F1E9;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    position: absolute;
    width: 0%;
    height: 100%;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.video-wrapper video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

@media screen and (max-width: 1024px) {
    .card {
        width: 350px;
        height: 500px;
        flex-direction: column;
    }

    .card-visual {
        width: 100%;
        height: 60%;
    }

    .card-content {
        width: 100%;
        height: 40%;
        padding: 20px;
        justify-content: space-between;
    }

    .card-content h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .card-number {
        font-size: 3rem;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 545px) {
    .container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
    }

    .vertical-scroll {
        position: absolute;
        top: 0;
        left: 0;
    }

    .context {
        z-index: 1;
        width: 90%;
        height: 60%;
        background: rgba(255, 255, 255, 0.50);
        -webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.20);
        -webkit-border-radius: 25px;
        -moz-border-radius: 25px;
        border-radius: 25px;
        color: white;
    }

    .title {
        margin-bottom: 20px;
    }

    .title h1 {
        color: #6B3B2F;
        font-weight: 700;
        font-size: 1.8rem;
    }

    .context p {
        color: #4A3728;
        line-height: 1.4;
        font-weight: 500;
        font-size: 0.9rem;
    }

    .word-underline svg path {
        display: none;
    }

    .cta-container {
        flex-direction: column;
        gap: 20px;
        margin-top: 25px;
    }

    .cta-button {
        width: 60%;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .deck-slider-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .deck-main-title {
        font-size: 2.5rem;
        top: 5%;
    }

    .card {
        width: 85vw;
        height: 55vh;
    }

    .card-content h2 {
        font-size: 1.5rem;
    }

    .card-number {
        font-size: 2rem;
        bottom: 15px;
        right: 15px;
    }
}

@media screen and (max-height: 600px) and (orientation: landscape) {
    .container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
    }

    .vertical-scroll {
        position: absolute;
        top: 0;
        left: 0;
    }

    .context {
        z-index: 1;
        width: 70%;
        height: 85%;
        background: rgba(255, 255, 255, 0.50);
        -webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.20);
        -webkit-border-radius: 25px;
        -moz-border-radius: 25px;
        border-radius: 25px;
        color: white;
        overflow-y: auto;
        padding: 20px;
    }

    .title {
        margin-bottom: 15px;
    }

    .title h1 {
        color: #6B3B2F;
        font-weight: 700;
        font-size: 1.8rem;
    }

    .context p {
        color: #4A3728;
        line-height: 1.3;
        font-weight: 500;
        font-size: 0.9rem;
    }

    .word-underline svg path {
        display: none;
    }

    .site-header {
        height: 60px;
        padding: 10px 20px;
    }

    .deck-slider-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .deck-main-title {
        font-size: 2rem;
        top: 5%;
    }

    .card {
        width: 70vw;
        height: 75vh;
        flex-direction: row;
        /* Revert to row for landscape */
    }

    .card-visual {
        width: 50%;
        height: 100%;
    }

    .card-content {
        width: 50%;
        height: 100%;
        padding: 20px;
    }

    .card-content h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .card-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .card-number {
        font-size: 2rem;
        bottom: 10px;
        right: 10px;
    }

    .deck-main-title {
        display: none;
    }
}

/* Footer Styles */
.site-footer {
    width: 100%;
    padding: 40px 20px;
    background-color: #F9F1E9;
    border-top: 1px solid rgba(74, 55, 40, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #4A3728;
    font-size: 1.5rem;
    -webkit-transition: transform 0.3s ease, color 0.3s ease;
    -moz-transition: transform 0.3s ease, color 0.3s ease;
    -o-transition: transform 0.3s ease, color 0.3s ease;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    color: #BC6C5C;
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

.footer-center p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #6B3B2F;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.designer-credit {
    margin-top: 8px;
    font-size: 0.85rem !important;
    text-transform: none !important;
}

.designer-credit a {
    color: #BC6C5C;
    text-decoration: none;
    font-weight: 600;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.designer-credit a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-right p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #4A3728;
    cursor: pointer;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-right p:hover {
    color: #BC6C5C;
}

#address-link i {
    margin-right: 10px;
    color: #4A3728;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background-color: #F9F1E9;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.close-modal {
    color: #4A3728;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 10;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: #BC6C5C;
    text-decoration: none;
    cursor: pointer;
}

.modal-content iframe {
    border-radius: 30px;
    width: 100%;
    height: 400px;
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-left {
        justify-content: center;
        gap: 40px;
        order: 1;
        margin-bottom: 20px;
    }

    .footer-right {
        order: 2;
    }

    .footer-center {
        order: 3;
        margin-top: 10px;
    }
}