/* 
 * The Trendsetters - Main Stylesheet
 * 
 * Typography: Playfair Display (Headings), Plus Jakarta Sans (Body)
 * Design: Minimalist Luxury, Glassmorphism, Noise Texture
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Premium Color Palette - "Business Grey & Blue" Aesthetic */
    --bg-color: #0f172a;
    /* Deep Slate Blue/Grey */
    --text-color: #ffffff;
    --text-muted: #94a3b8;
    --accent-color: #3b82f6;
    /* Royal Blue */
    --accent-glow: rgba(59, 130, 246, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(30, 41, 59, 0.5);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing & Layout */
    --section-padding: 8rem 5%;
    --container-width: 1400px;

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Re-mapped Variables for Compatibility */
    --royal-blue: #3b82f6;
    --elegant-blue: #2563eb;
    --champagne-gold: #3b82f6;
    /* Switched to blue to match theme */
    --silver: #cbd5e1;
    --pure-white: #ffffff;
    --creame: #f8fafc;

    /* Fluid Typography (Awwwards Style) */
    --h1-size: clamp(3.5rem, 8vw, 7rem);
    --h2-size: clamp(2.5rem, 5vw, 4rem);
    --text-copy: clamp(1rem, 1.2vw, 1.25rem);
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10001;
    pointer-events: none;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
}

/* Hero Canvas */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Lenis Smooth Scroll Fixes */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* Logo Presentation Container */
.logo-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: var(--transition-smooth);
    z-index: 10;
    position: relative;
}

.logo-container:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.logo-container img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    /* Increased line-height for readability */
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    /* Crisp text rendering */
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%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)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--royal-blue);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Celebration Confetti Background */
.confetti-container {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--elegant-blue);
    opacity: 0.7;
}

.confetti:nth-child(even) {
    background: var(--champagne-gold);
    width: 8px;
    height: 8px;
}

.confetti:nth-child(3n) {
    background: var(--silver);
    width: 6px;
    height: 6px;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Pattern Background (About Page) */
.pattern-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
    background-image:
        repeating-linear-gradient(45deg, var(--royal-blue) 25%, transparent 25%, transparent 75%, var(--royal-blue) 75%, var(--royal-blue)),
        repeating-linear-gradient(45deg, var(--royal-blue) 25%, transparent 25%, transparent 75%, var(--royal-blue) 75%, var(--royal-blue));
    background-position: 0 0, 40px 40px;
    background-size: 80px 80px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 40px);
    }
}

/* Navigation - Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Text Logo Style - Jony Ive Aesthetic */
.text-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Advanced Reveal Animations */
.reveal-init {
    opacity: 0;
    transform: translateY(40px) skewY(2deg);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-init.revealed {
    opacity: 1 !important;
    transform: translateY(0) skewY(0deg) !important;
}

/* Staggered Reveals for Hero */
.hero-title.reveal-init {
    transition-delay: 0.1s;
}

.hero-description.reveal-init {
    transition-delay: 0.3s;
}

/* Dynamic Texture Animation */
@keyframes noiseMove {
    0% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-1%, -2%);
    }

    20% {
        transform: translate(-2%, 1%);
    }

    30% {
        transform: translate(1%, -1%);
    }

    40% {
        transform: translate(-1%, 3%);
    }

    50% {
        transform: translate(-2%, 1%);
    }

    60% {
        transform: translate(3%, 0);
    }

    70% {
        transform: translate(0, 2%);
    }

    80% {
        transform: translate(-3%, 1%);
    }

    90% {
        transform: translate(1%, 2%);
    }

    100% {
        transform: translate(0, 0);
    }
}

body::before {
    animation: noiseMove 0.2s steps(10) infinite;
}

/* Desktop Navigation */
.nav-menu {
    display: none;
    /* Hidden on mobile default */
}

@media (min-width: 969px) {
    .nav-menu {
        display: flex;
        list-style: none;
        gap: 3rem;
    }

    .nav-menu li a {
        color: var(--text-muted);
        text-decoration: none;
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 500;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        transition: var(--transition-smooth);
        position: relative;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        color: var(--text-color);
    }

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

    .nav-menu li a:hover::after,
    .nav-menu li a.active::after {
        width: 100%;
    }
}

header.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Hero Section - Immersive */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, #1a1a1a 0%, var(--bg-color) 60%);
    padding-top: 0;
    /* Full screen */
}

/* Hero for subpages */
.page-hero {
    height: 60vh;
    min-height: 500px;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-color) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.page-hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease-out;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
    align-items: center;
    z-index: 10;
    position: relative;
}

.hero-content {
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: var(--h1-size);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: var(--text-color);
    letter-spacing: -0.04em;
}

.hero-title .accent {
    font-style: italic;
    font-weight: 400;
    color: var(--accent-color);
    background: none;
    -webkit-text-fill-color: initial;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: 600px;
    border-left: 1px solid var(--accent-color);
    padding-left: 1.5rem;
}

/* Buttons - Premium & Magnetic Feel */
.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    padding: 1.2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Visual - Abstract Collage */
.hero-visual {
    position: relative;
    height: 700px;
    mix-blend-mode: lighten;
}

.image-collage {
    position: relative;
    width: 100%;
    height: 100%;
}

.collage-item {
    position: absolute;
    overflow: hidden;
    border-radius: 0;
    /* Sharp edges for modern look */
    transition: var(--transition-smooth);
    filter: grayscale(100%) contrast(1.2);
    cursor: pointer;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-item:hover {
    z-index: 20;
    filter: grayscale(0%);
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.collage-item:hover img {
    transform: scale(1.1);
}


.collage-item:nth-child(1) {
    width: 300px;
    height: 400px;
    top: 0;
    left: 0;
    z-index: 3;
}

.collage-item:nth-child(2) {
    width: 250px;
    height: 300px;
    top: 50px;
    right: 20px;
    z-index: 4;
    transform: rotate(0deg);
}

/* Removed rotation for cleaner look */
.collage-item:nth-child(3) {
    width: 280px;
    height: 200px;
    bottom: 20px;
    left: 40px;
    z-index: 2;
    transform: rotate(0deg);
}

.collage-item:nth-child(4) {
    width: 200px;
    height: 280px;
    bottom: 80px;
    right: 60px;
    z-index: 5;
    transform: rotate(0deg);
}

/* About Section (Homepage & Page) */
.about-section,
.about-content {
    padding: var(--section-padding);
    max-width: var(--container-width);
    margin: 0 auto;
    background: var(--bg-color);
}

.section-header {
    text-align: left;
    /* Modern clean align */
    max-width: 800px;
    margin: 0 0 5rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-title::after {
    display: none;
    /* Removed decoration line for minimalism */
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-body);
    margin-bottom: 1rem;
    display: block;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Services */
.services {
    padding: var(--section-padding);
    background: #0f0f0f;
    /* Slightly lighter than bg */
    position: relative;
}

.services-luxury-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-image {
    height: 300px;
    overflow: hidden;
    position: relative;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-image {
    filter: grayscale(0%);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Clients Marquee */
.clients {
    padding: 6rem 0;
    background: var(--bg-color);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.clients-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
    z-index: 2;
}

.clients-marquee {
    display: flex;
    animation: marquee 40s linear infinite;
    /* Slower animation */
}

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

    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex: 0 0 auto;
    margin: 0 2rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-muted);
    opacity: 0.5;
    transition: var(--transition-smooth);
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0;
}

.client-logo:hover {
    opacity: 1;
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

/* Gallery */
.gallery {
    padding: var(--section-padding);
    background: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    /* Tighter refined grid */
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(100%);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

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

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

.gallery-title {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.gallery-category {
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: #0f0f0f;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.contact-content h2 {
    margin-bottom: 2rem;
    font-size: 3rem;
    line-height: 1.1;
}

.contact-info {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Footer */
footer {
    background: #050505;
    color: var(--text-color);
    padding: 6rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-weight: 300;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.social-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    opacity: 0.6;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.social-link:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {

    /* Typography Scaling */
    :root {
        --section-padding: 4rem 5%;
    }

    h1,
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-title .accent {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    /* Layout Adjustments */
    .hero-grid,
    .about-grid,
    .contact-container,
    .featured-item {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
        /* Content first */
    }

    .hero-visual {
        order: 2;
        height: 300px;
        /* Reduced height */
        margin-top: 2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        border-bottom: 1px solid var(--accent-color);
        padding-left: 0;
        padding-bottom: 1rem;
    }

    .hero-cta-group {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

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

    .menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 2px;
        background: var(--text-color);
        margin-bottom: 6px;
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background: var(--accent-color);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background: var(--accent-color);
    }

    /* Collage Adaptation */
    .collage-item {
        position: relative;
        width: 100% !important;
        height: 250px !important;
        margin-bottom: 1rem;
        transform: none !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* Contact Form on Mobile */
    .contact-container {
        padding: 2rem;
        background: var(--card-bg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-title .accent {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* =========================================
   PAGE SPECIFIC STYLES
   ========================================= */

/* --- Services Page --- */
.services-detailed {
    padding: 0 5% 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-category {
    margin-bottom: 8rem;
}

.category-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.service-category:nth-child(even) .category-header {
    direction: rtl;
    /* Flip layout for visual interest */
}

.service-category:nth-child(even) .category-info {
    direction: ltr;
    /* Reset text direction */
}

.category-visual {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-visual:hover img {
    transform: scale(1.05);
}

.category-icon {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 100px;
    height: 100px;
    background: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-info h2 {
    font-size: 3rem;
    color: var(--royal-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.category-info h2 span {
    font-weight: 300;
    font-style: italic;
    color: var(--champagne-gold);
}

.category-description {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--champagne-gold);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

.special-services {
    padding: 8rem 5%;
    background: var(--charcoal);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.special-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.special-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--champagne-gold);
}

.special-title {
    color: var(--pure-white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.special-desc {
    color: rgba(255, 255, 255, 0.7);
}

.services-cta {
    padding: 8rem 5%;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--elegant-blue) 100%);
    text-align: center;
    color: var(--pure-white);
}

.cta-content h2 {
    font-size: 3.5rem;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-gold {
    background: var(--champagne-gold);
    color: var(--charcoal);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: var(--soft-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--pure-white);
    color: var(--royal-blue);
    transform: translateY(-3px);
}

/* --- Portfolio Page --- */
.portfolio-hero {
    height: 60vh;
    min-height: 400px;
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.05) 0%, transparent 70%),
        linear-gradient(135deg, var(--pure-white) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.filter-section {
    padding: 2rem 5%;
    background: var(--pure-white);
    border-bottom: 1px solid var(--silver);
    position: sticky;
    top: 80px;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    min-width: max-content;
    padding: 0.5rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--royal-blue);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.portfolio-grid {
    padding: 4rem 5%;
    background: var(--cream);
    min-height: 80vh;
}

.grid-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: var(--pure-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: itemFadeIn 0.6s ease forwards;
}

@keyframes itemFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--pure-white);
}

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

.portfolio-category {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--champagne-gold);
    margin-bottom: 0.5rem;
}

.portfolio-client {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portfolio-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--silver);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--charcoal);
    font-weight: 600;
}

/* Featured Projects Section */
.featured-projects {
    padding: 8rem 5%;
    background: var(--pure-white);
}

.featured-header {
    text-align: center;
    margin-bottom: 5rem;
}

.featured-title {
    font-size: 3.5rem;
    color: var(--royal-blue);
    margin-bottom: 1rem;
}

.featured-title span {
    font-weight: 300;
    font-style: italic;
    color: var(--champagne-gold);
}

.featured-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.featured-item {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.featured-item:nth-child(even) {
    direction: rtl;
}

.featured-item:nth-child(even) .featured-content {
    direction: ltr;
}

.featured-visual {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

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

.featured-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--royal-blue);
    color: var(--pure-white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.featured-content h3 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.featured-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.featured-description {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.featured-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.highlight-icon {
    color: #10B981;
    /* Success Green */
    font-weight: bold;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--royal-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: gap 0.3s ease;
}

.featured-link:hover {
    gap: 1.5rem;
    color: var(--elegant-blue);
}

/* Testimonials */
.testimonials {
    padding: 8rem 5%;
    background: var(--royal-blue);
    color: var(--pure-white);
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 4rem auto 0;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--champagne-gold);
}

.testimonial-position {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Stats */
.statistics {
    padding: 6rem 5%;
    background: var(--pure-white);
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--royal-blue);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-cta {
    padding: 8rem 5%;
    background: var(--cream);
    text-align: center;
}

/* --- Contact Page --- */
.contact-hero {
    height: 40vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--elegant-blue) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image:
        radial-gradient(circle at 25% 25%, var(--champagne-gold) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--champagne-gold) 0%, transparent 50%);
}

.contact-hero-content {
    text-align: center;
    color: var(--pure-white);
    z-index: 1;
    position: relative;
    animation: fadeInUp 1s ease;
}

/* Background Animation (Contact Page specific) */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 20s ease-in-out infinite;
}

.bg-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    background: var(--royal-blue);
    top: -200px;
    left: -200px;
    animation-duration: 25s;
}

.bg-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    background: var(--champagne-gold);
    bottom: -150px;
    right: -150px;
    animation-duration: 30s;
    animation-delay: 5s;
}

.bg-circle:nth-child(3) {
    width: 250px;
    height: 250px;
    background: var(--elegant-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 35s;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) rotate(120deg);
    }

    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

/* Contact Info Section */
.contact-info-section {
    animation: slideInLeft 1s ease;
}

.info-header h2 {
    font-size: 2.5rem;
    color: var(--royal-blue);
    margin-bottom: 1rem;
    font-weight: 300;
}

.info-header p {
    font-size: 1.15rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--royal-blue), var(--elegant-blue), var(--champagne-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--royal-blue), var(--elegant-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content a {
    color: var(--royal-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--elegant-blue);
}

.quick-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--royal-blue);
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-btn:hover {
    background: var(--elegant-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.quick-btn.whatsapp {
    background: #25d366;
}

.quick-btn.whatsapp:hover {
    background: #20c055;
}

/* Contact Form Specifics */
.contact-form-section {
    animation: slideInRight 1s ease;
}

.form-card {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.form-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.form-header h3 {
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Map Section */
.map-section {
    padding: 6rem 5%;
    background: var(--cream);
    position: relative;
}

.map-header {
    text-align: center;
    margin-bottom: 4rem;
}

.map-header h2 {
    font-size: 3rem;
    color: var(--royal-blue);
    margin-bottom: 1rem;
    font-weight: 300;
}

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

.map-frame {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--silver) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.2rem;
}

.location-details {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-icon {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-blue);
    flex-shrink: 0;
}

/* Hours */
.hours-section {
    padding: 4rem 5%;
    background: var(--pure-white);
}

.hours-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hours-container h2 {
    font-size: 2.5rem;
    color: var(--royal-blue);
    margin-bottom: 3rem;
    font-weight: 300;
}

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

.hour-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.hour-card:hover {
    background: var(--royal-blue);
    color: var(--pure-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
}

.hour-day {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hour-time {
    font-size: 1rem;
    opacity: 0.8;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 100px;
    right: -400px;
    background: #10b981;
    color: var(--pure-white);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: right 0.5s ease;
    z-index: 1001;
}

.success-message.show {
    right: 20px;
}

/* Responsive adjustments for subpages */
@media (max-width: 968px) {

    .category-header,
    .service-features,
    .special-grid,
    .portfolio-grid,
    .grid-container,
    .featured-item,
    .stats-grid,
    .contact-container,
    .location-grid,
    .hours-grid {
        grid-template-columns: 1fr;
    }

    .service-category:nth-child(even) .category-header {
        direction: ltr;
    }

    /* Reset */
    .featured-item:nth-child(even) {
        direction: ltr;
    }

    /* Reset */
    .featured-content {
        order: 2;
    }

    .featured-visual {
        order: 1;
    }

    .map-frame {
        height: 300px;
    }

    .hero-title {
        font-size: 3.5rem !important;
    }
}