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

:root {
    --bg-color: #0a0a0a;
    --surface-color: #111111;
    --card-color: #161616;
    --gold-accent: #c9a96e;
    --text-primary: #f5f0e8;
    --text-muted: #7a7670;
    --border-color: rgba(201,169,110,0.15);
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    font-family: var(--font-body);
    color: var(--text-primary);
    /* Smooth scroll is handled via GSAP / scrub for the top section, 
       but this enables smooth scrolling for anchor links to sections */
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

/* Main Container (Will be pinned) */
#main-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

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

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

/* Text Containers */
.text-container {
    position: absolute;
    top: 50%;
    left: 8vw;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0; /* Hidden by default, animated by GSAP */
    visibility: hidden;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.4);
}

/* Initial state for text-1 to prevent flash of unstyled/hidden content before GSAP kicks in if desired */
#text-1 {
    opacity: 1;
    visibility: visible;
}

/* Typography */
.subtitle {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.body-text {
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Button */
.cta-button {
    align-self: flex-start;
    margin-top: 10px;
    padding: 16px 32px;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: bounce 2s infinite ease-in-out;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 64px;
    }
    .text-container {
        left: 6vw;
    }
    .gradient-overlay {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    .body-text {
        font-size: 16px;
        max-width: 90vw;
    }
    .gradient-overlay {
        width: 100%;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
    }
    .text-container {
        left: 5vw;
        right: 5vw;
    }
}

/* =========================================
   GLOBAL SECTION STYLES
   ========================================= */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 5;
    background-color: var(--bg-color);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 300;
    color: var(--gold-accent);
    margin-bottom: 16px;
    line-height: 1.1;
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--gold-accent);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: #d8ba82;
}

.btn-outline {
    background-color: transparent;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
}

.btn-outline:hover {
    background-color: var(--gold-accent);
    color: var(--bg-color);
}

.btn-full {
    width: 100%;
}

/* =========================================
   SECTION 2: ABOUT / STUDIO INTRO
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-quote h2 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.3;
    border-left: 2px solid var(--gold-accent);
    padding-left: 40px;
}

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

.stat-card {
    background-color: var(--surface-color);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 0 15px rgba(201,169,110,0.1);
    border-color: rgba(201,169,110,0.3);
}

.stat-card h3 {
    font-family: var(--font-heading);
    color: var(--gold-accent);
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.founder-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background-color: var(--card-color);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.founder-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--gold-accent);
    color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0;
}

.founder-info h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.subtitle-small {
    color: var(--gold-accent);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.bio {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

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

.pricing-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 0 20px rgba(201,169,110,0.15);
    border-color: rgba(201,169,110,0.4);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--gold-accent);
    background-color: var(--card-color);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold-accent);
    color: var(--bg-color);
    padding: 4px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.card-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 16px;
}

.price {
    font-size: 36px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

.tagline {
    color: var(--text-muted);
    font-style: italic;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.features li {
    padding: 12px 0;
    color: var(--text-primary);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.features li::before {
    content: '→';
    color: var(--gold-accent);
}

/* =========================================
   SECTION 4: PROJECT GALLERY
   ========================================= */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    color: var(--gold-accent);
    border-bottom: 1px solid var(--gold-accent);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    transition: all 0.4s ease;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

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

/* Images for placeholders */
.placeholder-1, .placeholder-5, .placeholder-9 { background: url('images/gallery_living_room.webp') center/cover no-repeat; }
.placeholder-2, .placeholder-6, .placeholder-10 { background: url('images/gallery_kitchen.webp') center/cover no-repeat; }
.placeholder-3, .placeholder-7, .placeholder-11 { background: url('images/gallery_bedroom.webp') center/cover no-repeat; }
.placeholder-4, .placeholder-8, .placeholder-12 { background: url('images/gallery_commercial.webp') center/cover no-repeat; }

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-item:hover {
    box-shadow: 0 0 20px rgba(201,169,110,0.2);
}

.gallery-item h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 4px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.gallery-item p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
    transform: translateY(10px);
    transition: transform 0.4s ease 0.05s;
}

.category-tag {
    align-self: flex-start;
    background-color: var(--gold-accent);
    color: var(--bg-color);
    padding: 4px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    transform: translateY(10px);
    transition: transform 0.4s ease 0.1s;
}

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

/* =========================================
   SECTION 5: HOW IT WORKS (PROCESS)
   ========================================= */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    padding-top: 20px;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    z-index: 1;
}

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

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 30px;
    box-shadow: 0 0 0 10px var(--bg-color);
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

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

.testimonial-card {
    background-color: var(--surface-color);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 0 15px rgba(201,169,110,0.1);
    border-color: rgba(201,169,110,0.3);
}

.stars {
    color: var(--gold-accent);
    font-size: 20px;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.review {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--gold-accent);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.client-details h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.client-details p {
    color: var(--text-muted);
    font-size: 13px;
}

/* =========================================
   SECTION 7: CONTACT + BOOKING
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.info-block {
    margin-bottom: 40px;
}

.info-block h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--gold-accent);
    margin-bottom: 12px;
}

.info-block p, .info-block a {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-block a:hover {
    color: var(--text-primary);
}

.booking-form-wrapper {
    background-color: var(--surface-color);
    padding: 50px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input, select, textarea {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    border-radius: 2px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
}

.form-success {
    grid-column: span 2;
    background-color: rgba(201,169,110,0.1);
    color: var(--gold-accent);
    padding: 16px;
    border: 1px solid var(--gold-accent);
    text-align: center;
    border-radius: 2px;
    display: none;
}

/* =========================================
   SECTION 8: FOOTER
   ========================================= */
.footer {
    background-color: var(--surface-color);
    padding: 80px 0 0 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 5;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--gold-accent);
    margin-bottom: 16px;
}

.brand-col .tagline {
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-links a:hover {
    border-color: var(--gold-accent);
    color: var(--gold-accent);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

.footer-col ul li {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 15px;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--gold-accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================
   RESPONSIVE OVERRIDES
   ========================================= */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-card.featured {
        grid-column: span 2;
    }
    .masonry-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .about-quote h2 {
        border-left: none;
        border-top: 2px solid var(--gold-accent);
        padding-left: 0;
        padding-top: 24px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        grid-column: span 1;
    }
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    .timeline {
        grid-template-columns: 1fr;
        padding-left: 20px;
    }
    .timeline-line {
        width: 1px;
        height: 100%;
        top: 0;
        left: 20px;
    }
    .timeline-step {
        display: flex;
        gap: 24px;
        margin-bottom: 40px;
    }
    .step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .booking-form {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .booking-form-wrapper {
        padding: 30px;
    }
}

