:root {
    --bg-color: #FAF8F5;
    --text-color: #1A1A1A;
    --text-light: #5A5A5A;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

section {
    scroll-margin-top: 90px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition);
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.header.scrolled {
    padding: 1rem 5%;
    background: rgba(250, 248, 245, 0.7);
    color: var(--text-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    text-shadow: none;
    filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

a.logo,
a.logo:link,
a.logo:visited {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none !important;
    color: inherit !important;
    display: inline-block;
}

.nav a {
    color: inherit;
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: currentColor;
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    margin-left: 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.lang-switcher a {
    margin-left: 0;
    opacity: 0.6;
}

.lang-switcher a:hover {
    opacity: 1;
}

.lang-switcher a::after {
    display: none;
}

.lang-switcher .active {
    font-weight: 600;
    opacity: 1;
}

.lang-switcher .separator {
    margin: 0 0.5rem;
    opacity: 0.4;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: inherit;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.video-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.video-controls button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.video-controls button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.video-controls button:hover {
    background: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-light);
}

.video-controls button:hover svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .video-controls {
        bottom: 30px;
        right: 30px;
    }
    .video-controls button {
        width: 40px;
        height: 40px;
    }
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: #fff;
    animation: scrollLine 2s infinite cubic-bezier(0.77, 0, 0.175, 1);
    transform-origin: top;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Intro */
.intro {
    padding: clamp(5rem, 15vw, 10rem) 0;
    text-align: center;
}

.intro-quote {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.3;
    max-width: 1000px;
    margin: 0 auto;
    font-style: italic;
    color: var(--text-color);
}

/* About */
.about {
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(5rem, 15vw, 10rem);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2.5rem, 6vw, 3rem);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 300;
}

.about-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Portfolio */
.portfolio {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: clamp(2.2rem, 8vw, 4rem);
    margin-bottom: clamp(3rem, 8vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    word-break: break-word;
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
    padding-bottom: 5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.portfolio-action {
    text-align: center;
    margin-top: 3rem;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--text-color);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--bg-color);
}

/* Testimonials */
.testimonials {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background-color: var(--bg-color);
    text-align: center;
}

.testimonial-item {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.testimonial-author {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

/* Contact */
.contact {
    padding: clamp(6rem, 15vw, 12rem) 0;
    text-align: center;
}

.contact h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.contact-link {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-family: var(--font-heading);
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    font-style: italic;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.contact-link:hover::after {
    transform: translateY(-5px);
    opacity: 0;
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    background-color: #111;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 992px) {
    .masonry-grid {
        column-count: 2;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* simple mobile approach */
    }
    
    .menu-toggle {
        display: block;
        margin-top: 5px;
    }
    
    .masonry-grid {
        column-count: 1;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    .container {
        padding: 0 8%;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: 5%;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 10px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-lang-switcher {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-lang-switcher a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.6;
}

.mobile-lang-switcher .active {
    font-weight: 600;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa:hover {
    transform: scale(1.1) translateY(-5px);
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .floating-wa svg {
        width: 24px;
        height: 24px;
    }
}

/* Custom Cursor (Desktop Only) */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }
    
    a, button, .masonry-item {
        cursor: none;
    }
    
    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 10px;
        height: 10px;
        background-color: var(--text-color);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: difference;
        background-color: #fff;
        transform: translate(-50%, -50%);
        transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
    }
    
    .custom-cursor.hover {
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.3);
        border: 1px solid #fff;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}
.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10000;
}
.lightbox-close {
    top: 20px;
    right: 30px;
    font-size: 3rem;
}
.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    color: #cca471;
    transform: scale(1.1);
}
.lightbox-prev:hover, .lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(250, 248, 245, 0.8);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #cca471;
    box-shadow: 0 0 10px rgba(204,164,113,0.1);
}
.btn-submit {
    width: 100%;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}
.form-status {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}
.form-status.success {
    color: #28a745;
}
.form-status.error {
    color: #dc3545;
}
.contact-links-alt {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}
@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        font-size: 2rem;
    }
    .lightbox-close {
        top: 10px;
        right: 20px;
    }
    .contact-form {
        padding: 1.5rem;
    }
}

/* Vanguard Features */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #cca471;
    width: 0%;
    z-index: 10000;
    pointer-events: none;
    transition: width 0.1s ease;
}

/* Update Masonry Hovers */
.masonry-item {
    overflow: hidden;
    cursor: none !important;
}
.masonry-item img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
    will-change: transform, filter;
}
.masonry-item:hover img {
    transform: scale(1.04);
    filter: brightness(0.85);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: var(--bg-color);
}
.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}
.accordion-header:hover {
    color: #cca471;
}
.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.4s ease;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}
.accordion-content p {
    padding-bottom: 1.5rem;
    color: rgba(0,0,0,0.7);
    line-height: 1.8;
}
.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
    color: #cca471;
}
.accordion-item.active .accordion-content {
    max-height: 1000px; /* large enough for content */
    transition: max-height 0.5s ease-in-out;
}

/* App-style Mobile Menu Overrides */
@media (max-width: 768px) {
    .mobile-menu {
        background-color: rgba(250, 248, 245, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        opacity: 1;
        visibility: visible;
    }
    .mobile-menu.active {
        transform: translateX(0);
    }
    .mobile-nav a {
        transform: translateY(20px);
        opacity: 0;
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .mobile-menu.active .mobile-nav a {
        transform: translateY(0);
        opacity: 1;
    }
    /* Staggered delay for nav links */
    .mobile-menu.active .mobile-nav a:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu.active .mobile-nav a:nth-child(2) { transition-delay: 0.2s; }
    .mobile-menu.active .mobile-nav a:nth-child(3) { transition-delay: 0.3s; }
    .mobile-menu.active .mobile-nav a:nth-child(4) { transition-delay: 0.4s; }
}
