/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    min-height: 100vh;
    background-color: #0a0a0a;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    overscroll-behavior: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Tokens */
.hero-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 96px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.small-caps {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 16px;
    color: #c9a84c; /* Gold accent */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.body-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 300;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .logo {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.navbar .nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 32px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.navbar .nav-links a:hover {
    opacity: 1;
}

/* Progress Bar */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background-color: #c9a84c;
    z-index: 101;
}

/* Main Container (Pinned by GSAP) */
#main-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Canvas */
#frame-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Gradient Overlay */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Text Stages */
.text-stage {
    position: absolute;
    top: 35%;
    left: 8vw;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.text-stage.active {
    pointer-events: auto;
}

/* Buttons */
.cta-button {
    padding: 16px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.cta-button.outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.cta-button.outline:hover {
    background: #ffffff;
    color: #0a0a0a;
}

.cta-button.solid {
    background: #c9a84c;
    color: #0a0a0a;
    border: 1px solid #c9a84c;
}

.cta-button.solid:hover {
    background: #e0bc55;
    border-color: #e0bc55;
}



/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    pointer-events: none;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
    margin-bottom: 8px;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: #c9a84c;
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    animation: arrow-down 1.5s infinite;
}

@keyframes arrow-down {
    0% { transform: rotate(45deg) translate(-2px, -2px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(45deg) translate(2px, 2px); opacity: 0; }
}

/* ==========================================
   GLOBAL SECTION STYLES
   ========================================== */
.section {
    padding: 100px 6vw;
    background-color: #0a0a0a;
    position: relative;
    z-index: 5; /* Above canvas */
}

.section-header {
    margin-bottom: 60px;
}

.gold-link {
    color: #c9a84c;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.gold-link:hover {
    opacity: 0.8;
}

.gold-icon {
    color: #c9a84c;
}

.full-width {
    width: 100%;
}

/* ==========================================
   SECTION 1: FEATURED PROJECTS
   ========================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

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

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(10,10,10,0.95), transparent);
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-location {
    color: #c9a84c;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 12px;
}

.project-details {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.hover-slide {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-card:hover .hover-slide {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   SECTION 2: WHY CHOOSE US
   ========================================== */
.why-us {
    background-color: #111111;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    color: #c9a84c;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-plus {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.usp-list ul {
    list-style: none;
    margin-top: 30px;
}

.usp-list li {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    opacity: 0.9;
}

.usp-list li i {
    margin-top: 4px;
}

/* ==========================================
   SECTION 3: HOW WE BUILD
   ========================================== */
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.timeline-line {
    position: absolute;
    top: 25px;
    left: 5%;
    width: 90%;
    height: 1px;
    border-top: 2px dashed rgba(201, 168, 76, 0.3);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 2px solid #c9a84c;
    color: #c9a84c;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 0 auto 20px;
}

.timeline-step h4 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-step p {
    font-size: 13px;
    opacity: 0.7;
    font-weight: 300;
}

/* ==========================================
   SECTION 4: PRICING
   ========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: #111111;
    padding: 50px 40px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.pricing-card.highlighted {
    border-color: #c9a84c;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(201, 168, 76, 0.1);
    z-index: 2;
    background: #151515;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #c9a84c;
    color: #0a0a0a;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: 600;
    color: #c9a84c;
    text-align: center;
    margin-bottom: 10px;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 300;
    color: #ffffff;
    opacity: 0.7;
}

.best-for {
    font-size: 14px;
    text-align: center;
    opacity: 0.8;
    margin-bottom: 30px;
}

.pricing-card hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.pricing-card p {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 16px;
    line-height: 1.6;
}

.not-included {
    opacity: 0.5;
}

.pricing-card .cta-button {
    margin-top: 30px;
}

.pricing-note {
    font-size: 12px;
    opacity: 0.5;
    margin-top: 40px;
}

/* ==========================================
   SECTION 5: GALLERY (Masonry)
   ========================================== */
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

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

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

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

.masonry-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,10,10,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.masonry-item .overlay p {
    margin-top: 15px;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5,5,5,0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

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

.close-lightbox:hover {
    color: #c9a84c;
}

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

.lightbox-nav:hover {
    color: #c9a84c;
}

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

#lightbox-caption {
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: 1px;
    color: #c9a84c;
}

/* ==========================================
   SECTION 6: TESTIMONIALS
   ========================================== */
.testimonials {
    background: #111111;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-carousel 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 4px;
    width: 450px;
    border: 1px solid rgba(255,255,255,0.05);
}

.gold-quote {
    color: #c9a84c;
    font-size: 32px;
    margin-bottom: 20px;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.client-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.client-loc {
    color: #c9a84c;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.stars {
    color: #c9a84c;
    font-size: 14px;
}

@keyframes scroll-carousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } /* Scrolls half the duplicated track */
}

/* ==========================================
   SECTION 7: BRANDS MARQUEE
   ========================================== */
.brands {
    padding: 60px 0;
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 40px;
    opacity: 0.3;
    transition: opacity 0.3s ease, color 0.3s ease;
    cursor: default;
}

.marquee-content span:hover {
    opacity: 1;
    color: #c9a84c;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   SECTION 8: CONTACT FORM
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #c9a84c;
}

.info-item p {
    font-weight: 300;
    opacity: 0.8;
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background: #1a1a1a;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.contact-form form {
    background: #111111;
    padding: 50px;
    border-radius: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: #c9a84c;
}

.contact-form select option {
    background: #111111;
    color: #ffffff;
}

/* ==========================================
   SECTION 9: FOOTER
   ========================================== */
.footer {
    background: #050505;
    border-top: 1px solid rgba(201, 168, 76, 0.3);
    padding: 80px 6vw 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 24px;
    color: #c9a84c;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
.footer-col ul li {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 300;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #c9a84c;
}

.brand-col .tagline {
    font-size: 14px;
    color: #c9a84c;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.brand-col .about-line {
    font-size: 14px;
    font-weight: 300;
    opacity: 0.7;
    margin-bottom: 30px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 168, 76, 0.5);
    border-radius: 50%;
    color: #c9a84c;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #c9a84c;
    color: #050505;
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    border: 1px solid #25D366;
    color: #25D366;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #25D366;
    color: #000;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    opacity: 0.5;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #c9a84c;
}

/* ==========================================
   STICKY ELEMENTS & UTILS
   ========================================== */
.floating-wa {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}

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

.mobile-sticky-bar {
    display: none;
}

.reveal-section {
    opacity: 0;
    visibility: hidden;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: #c9a84c;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

body:hover .custom-cursor {
    opacity: 1;
}

a:hover ~ .custom-cursor, button:hover ~ .custom-cursor {
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid #c9a84c;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pricing-card.highlighted {
        transform: scale(1);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 5vw;
    }
    .navbar {
        padding: 20px 5vw;
    }
    .navbar .nav-links {
        display: none; /* Can add hamburger menu later */
    }
    .text-stage {
        left: 5vw;
        right: 5vw;
    }
    .gradient-overlay {
        width: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    }
    .cta-actions {
        flex-direction: column;
    }
    
    /* New Sections Responsive */
    .projects-grid,
    .two-col,
    .stats-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-line {
        top: 0;
        left: 25px;
        width: 1px;
        height: 100%;
        border-top: none;
        border-left: 2px dashed rgba(201, 168, 76, 0.3);
    }
    
    .timeline-step {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding-left: 60px;
    }
    
    .step-circle {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }
    
    .masonry-grid {
        column-count: 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form form {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-wa {
        display: none;
    }
    
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    
    .mobile-sticky-bar a {
        flex: 1;
        text-align: center;
        padding: 15px 0;
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
    }
    
    .call-btn { background: #0a0a0a; border-top: 1px solid #333; }
    .wa-btn { background: #25D366; border-top: 1px solid #25D366; }
    
    .custom-cursor { display: none; }
}
