/* =========================================================================
   VARIABLES & BASE STYLES
   ========================================================================= */
   :root {
    /* Color Palette */
    --c-primary: #0A0A0A; /* Deep matte black */
    --c-secondary: #C9A84C; /* Warm champagne gold */
    --c-accent: #F5F0E8; /* Ivory white */
    --c-highlight: #D4A9A0; /* Rose dust */
    --c-text-light: #F5F0E8;
    --c-text-muted: #A0A0A0;

    /* Typography */
    --f-display: 'Cormorant Garamond', serif;
    --f-body: 'Lato', sans-serif;

    /* Spacing */
    --s-1: 0.5rem;
    --s-2: 1rem;
    --s-3: 2rem;
    --s-4: 4rem;
    --s-5: 8rem;

    /* Transitions */
    --t-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--c-primary);
    color: var(--c-text-light);
    font-family: var(--f-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--t-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-display);
    font-weight: 400;
    line-height: 1.2;
    margin-top: 0;
    color: var(--c-text-light);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--s-1);
}

h3 {
    font-size: 1.75rem;
    color: var(--c-secondary);
}

p {
    font-weight: 300;
    margin-bottom: var(--s-2);
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--s-4) 0;
}

.container-sm {
    max-width: 800px;
}

.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}

.w-100 {
    width: 100%;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--f-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--t-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--c-secondary);
    color: var(--c-primary);
}

.btn-primary:hover {
    background-color: #dfbd5a;
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--c-secondary);
    border-color: var(--c-secondary);
}

.btn-secondary:hover {
    background-color: var(--c-secondary);
    color: var(--c-primary);
    transform: translateY(-2px);
}

/* Texture Overlays */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Dividers */
.gold-line-center, .gold-line-left {
    height: 2px;
    background-color: var(--c-secondary);
    margin-bottom: var(--s-2);
}

.gold-line-center {
    width: 60px;
    margin-left: auto;
    margin-right: auto;
}

.gold-line-left {
    width: 60px;
    margin-left: 0;
}

.section-heading {
    text-align: center;
    margin-bottom: var(--s-4);
}

.section-heading p {
    color: var(--c-text-muted);
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.5rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
}
.fade-up {
    transform: translateY(40px);
}
.fade-up.active {
    transform: translateY(0);
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--t-smooth);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    transition: var(--t-smooth);
}

.navbar.scrolled .logo {
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--c-secondary);
    transition: var(--t-smooth);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
}

.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 2px;
    margin: 6px 0;
    background-color: var(--c-accent);
    transition: var(--t-smooth);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s infinite alternate linear;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.6) 100%);
    z-index: -1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-shapes::before,
.hero-shapes::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.hero-shapes::before {
    top: 10%;
    left: 5%;
    width: 40%;
    height: 80%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
}

.hero-shapes::after {
    bottom: -10%;
    right: 5%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite alternate;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-headline {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subheadline {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--c-accent);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* =========================================================================
   SERVICES
   ========================================================================= */
.services-section {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--t-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--c-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--t-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(201, 168, 76, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--c-secondary);
    margin-bottom: 1.5rem;
}

/* =========================================================================
   PROCESS TIMELINE
   ========================================================================= */
.process-section {
    background-color: #050505;
    padding: var(--s-5) 0;
}

.timeline {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-top: var(--s-4);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(201, 168, 76, 0.3);
}

.timeline-item {
    flex: 1;
    min-width: 200px;
    position: relative;
    padding: 0 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--c-primary);
    border: 1px solid var(--c-secondary);
    color: var(--c-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 1.5rem;
    margin: 0 auto var(--s-2);
    position: relative;
    z-index: 2;
    transition: var(--t-smooth);
}

.timeline-item:hover .step-number {
    background: var(--c-secondary);
    color: var(--c-primary);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
}

.step-content {
    text-align: center;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--c-text-muted);
}

/* =========================================================================
   PORTFOLIO GALLERY
   ========================================================================= */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--s-3);
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--c-text-muted);
    font-family: var(--f-body);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: var(--t-smooth);
    border-bottom: 2px solid transparent;
}

.filter-btn:hover, .filter-btn.active {
    color: var(--c-secondary);
    border-bottom-color: var(--c-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: 350px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

/* Masonry varying heights pseudo-effect */
.gallery-item:nth-child(2n) {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,10,10,0.9), transparent);
    opacity: 0;
    transition: var(--t-smooth);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

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

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-text h4 {
    margin-bottom: 0.2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.item-text p {
    color: var(--c-secondary);
    font-size: 0.85rem;
    font-family: var(--f-display);
    font-style: italic;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .item-text h4,
.gallery-item:hover .item-text p {
    transform: translateY(0);
}

.gallery-item.hide {
    display: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(201, 168, 76, 0.2);
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--c-accent);
    padding: 10px 0;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-style: italic;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--c-secondary);
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials-section {
    position: relative;
    padding: var(--s-5) 0;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    filter: blur(8px) brightness(0.2);
    z-index: -1;
}

.slider-wrapper {
    position: relative;
    text-align: center;
    min-height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(201, 168, 76, 0.3);
    margin-bottom: 1rem;
}

blockquote {
    font-family: var(--f-display);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.4;
    margin: 0 0 2rem 0;
}

.client-name {
    display: block;
    font-weight: 700;
    color: var(--c-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.client-event {
    display: block;
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

.slider-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--t-smooth);
}

.dot.active, .dot:hover {
    background-color: var(--c-secondary);
}

/* =========================================================================
   ABOUT US
   ========================================================================= */
.about-section {
    padding: var(--s-5) 0;
}

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

.about-image {
    position: relative;
}

.about-image img {
    position: relative;
    z-index: 2;
}

.about-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--c-secondary);
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat-number {
    display: block;
    font-family: var(--f-display);
    font-size: 3rem;
    color: var(--c-secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-text-muted);
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-section {
    background-color: #050505;
    padding: var(--s-5) 0;
}

.contact-form {
    background: rgba(255,255,255,0.02);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 3px solid var(--c-secondary);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.input-group {
    flex: 1;
    margin-bottom: 1.5rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--c-text-light);
    font-family: var(--f-body);
    font-size: 1rem;
    transition: var(--t-smooth);
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--c-secondary);
    background: rgba(255,255,255,0.05);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

option {
    background: var(--c-primary);
}

.contact-direct {
    text-align: center;
    margin-top: 3rem;
}

.email-link {
    font-family: var(--f-display);
    font-size: 2rem;
    color: var(--c-secondary);
}

.email-link:hover {
    color: var(--c-highlight);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background-color: var(--c-primary);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--s-4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: var(--s-3);
}

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    color: var(--c-accent);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--c-text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--c-secondary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: var(--c-text-light);
}

.social-icons a:hover {
    background-color: var(--c-secondary);
    border-color: var(--c-secondary);
    color: var(--c-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #030303;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--c-text-muted);
}

/* =========================================================================
   FLOATING WHATSAPP
   ========================================================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
}

/* =========================================================================
   RESPONSIVE DESIGN (MOBILE FIRST OVERRIDES)
   ========================================================================= */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1;
    }
    h2 { font-size: 2rem; }
    .hero-headline { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--c-primary);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
    }

    .nav-links.nav-active {
        right: 0;
    }

    /* Hamburger toggle animation */
    .toggle span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle span:nth-child(2) { opacity: 0; }
    .toggle span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

    .timeline::before {
        left: 30px;
        top: 0;
        width: 1px;
        height: 100%;
    }

    .timeline-item {
        width: 100%;
        display: flex;
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .step-number {
        margin: 0 1rem 0 0;
        min-width: 60px;
    }
    
    .step-content {
        text-align: left;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-ctas {
        flex-direction: column;
    }

    blockquote {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(2n) {
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 2.5rem; }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    .contact-form { padding: 1.5rem; }
}
