/* Art Deco Agency - Premium Styles */
/* Color Palette */
:root {
    --midnight: #0a0a0f;
    --charcoal: #1a1a24;
    --slate: #2a2a3a;
    --gold: #c9a962;
    --gold-light: #e4d4a5;
    --gold-dark: #9a7b3a;
    --champagne: #f5f0e6;
    --ivory: #faf9f7;
    --emerald: #1a4a3a;
    --emerald-light: #2a6a5a;
    --deep-blue: #1a2a4a;
    --white: #ffffff;
    --text-primary: #1a1a24;
    --text-secondary: #4a4a5a;
    --text-light: #f5f0e6;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--ivory);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
}

.gold-accent {
    color: var(--gold);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--champagne);
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--gold);
}

.logo-text {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--champagne);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    padding: 0.75rem 1.5rem !important;
    border: 1px solid var(--gold) !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--midnight) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--champagne);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--midnight);
    padding: 2rem;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    color: var(--champagne);
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}


/* ========================================
   HERO SECTION STYLES
   ======================================== */

/* Hero Container */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--charcoal) 50%, var(--deep-blue) 100%);
    overflow: hidden;
    cursor: none;
    /* Hide default cursor */
}

.hero * {
    cursor: none !important;
    /* Hide cursor on all hero children */
}

/* Film Grain Texture Overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

/* Background Elements Container */
.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Animated Fabric Canvas */
#fabricCanvas {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    filter: blur(20px);
    mix-blend-mode: soft-light;
}

/* Art Deco Pattern */
.art-deco-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%), repeating-linear-gradient(-45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
    background-size: 60px 60px;
}

/* Rotating Sunburst */
.sunburst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg, transparent 0deg, rgba(201, 169, 98, 0.03) 10deg, transparent 20deg);
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hero Content Container */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

/* Hero Badge */
.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

.badge-text {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
}

/* Hero Title */
.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 10vw, 7rem);
    color: var(--champagne);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--champagne), #fff, var(--champagne));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 5s linear infinite;
}

@keyframes textShimmer {
    to {
        background-position: 200% center;
    }
}

.title-line.accent {
    color: var(--gold);
    font-style: italic;
    position: relative;
    height: 1.2em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Text Carousel */
.carousel-container {
    height: 1em;
    overflow: hidden;
    position: relative;
    display: inline-block;
    vertical-align: bottom;
}

.carousel-track {
    display: flex;
    flex-direction: column;
    animation: textCarousel 16s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.carousel-item {
    height: 1em;
    line-height: 1em;
    display: block;
    white-space: nowrap;
    opacity: 0;
    animation: fadeCarouselItem 16s ease-in-out infinite;
}

.carousel-item:nth-child(1) {
    animation-delay: 0s;
}

.carousel-item:nth-child(2) {
    animation-delay: 4s;
}

.carousel-item:nth-child(3) {
    animation-delay: 8s;
}

.carousel-item:nth-child(4) {
    animation-delay: 12s;
}

@keyframes textCarousel {

    0%,
    23% {
        transform: translateY(0);
    }

    25%,
    48% {
        transform: translateY(-25%);
    }

    50%,
    73% {
        transform: translateY(-50%);
    }

    75%,
    98% {
        transform: translateY(-75%);
    }

    100% {
        transform: translateY(-100%);
    }
}

@keyframes fadeCarouselItem {

    0%,
    20% {
        opacity: 1;
    }

    23%,
    100% {
        opacity: 0;
    }
}

/* Glassmorphic Elements */
.hero-glass-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(201, 169, 98, 0.12), rgba(255, 255, 255, 0.02) 60%, transparent);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.2);
    will-change: transform;
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: floatOrb 20s linear infinite;
}

.orb-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 10%;
    background: radial-gradient(circle at 70% 70%, rgba(26, 42, 74, 0.1), transparent);
    animation: floatOrb 25s linear infinite reverse;
}

@keyframes floatOrb {

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

    33% {
        transform: translate(30px, 50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Golden Cursor - Custom Mouse Cursor */
.golden-cursor {
    position: fixed;
    width: 60px;
    height: 90px;
    filter: drop-shadow(0 0 20px rgba(201, 169, 98, 0.6));
    pointer-events: none;
    z-index: 9999;
    transform: translate(-10px, -10px);
    /* Offset to align with mouse pointer */
    transition: transform 0.1s ease-out;
    opacity: 0;
}

.hero:hover .golden-cursor {
    opacity: 1;
}

.golden-cursor.clicking {
    transform: translate(-10px, -10px) scale(0.9);
}

.cursor-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.4) 0%, rgba(201, 169, 98, 0.2) 40%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: -1;
}

.cursor-shape {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}


/* Glass Pills */
.glass-pill {
    position: absolute;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--champagne);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pill-1 {
    top: 25%;
    right: 15%;
    animation: floatPill 8s ease-in-out infinite;
}

.pill-2 {
    bottom: 25%;
    left: 15%;
    animation: floatPill 10s ease-in-out infinite reverse;
}

.pill-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    animation: pulseGlow 2s infinite;
}

@keyframes floatPill {

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

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        box-shadow: 0 0 5px var(--gold);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 15px var(--gold);
    }
}

/* Hero Subtitle */
.hero-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Hero Call-to-Action */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(201, 169, 98, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--champagne);
    border: 1px solid var(--champagne);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* Shimmer animation for buttons */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: 0.8s;
    left: -150%;
}

.btn:hover::after {
    left: 100%;
    transition: 0.8s;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--champagne);
    opacity: 0.6;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Triangular Image Carousel */
.hero-carousel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
    /* Behind hero-content and scroll indicator */
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left,
            transparent 0%,
            rgba(10, 10, 15, 0.3) 40%,
            rgba(10, 10, 15, 0.7) 100%);
    pointer-events: none;
}

/* Responsive carousel */
@media (max-width: 1024px) {
    .hero-carousel {
        width: 60%;
        clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        width: 100%;
        clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
        opacity: 0.4;
    }
}

/* Section Styles */
.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.geometric-accent {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    position: relative;
}

.geometric-accent::before,
.geometric-accent::after {
    content: '';
    position: absolute;
}

.geometric-accent::before {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    top: 0;
    left: 0;
}

.geometric-accent::after {
    width: 20px;
    height: 20px;
    background: var(--gold);
    transform: rotate(45deg);
    top: 10px;
    left: 10px;
    animation: pulseGold 3s infinite ease-in-out;
}

@keyframes pulseGold {

    0%,
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: rotate(45deg) scale(0.9);
    }
}

.section-header.centered .geometric-accent {
    margin: 0 auto 1.5rem;
}

.section-label {
    display: block;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--ivory);
}

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

.about-text .lead-text {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(201, 169, 98, 0.3);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.about-visual {
    position: relative;
}

.deco-frame {
    position: relative;
    padding: 3rem;
    background: var(--charcoal);
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--gold);
    border-style: solid;
}

.frame-corner.top-left {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.frame-corner.top-right {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

.frame-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.frame-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

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

.geometric-pattern {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
}

.geometric-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold);
    transform: rotate(45deg);
}

.geometric-pattern::after {
    content: '';
    position: absolute;
    inset: 20px;
    background: var(--gold);
    transform: rotate(45deg);
}

.quote-block {
    color: var(--champagne);
}

.quote-icon {
    font-size: 3rem;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.quote-block blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 10rem 0;
    background: var(--ivory);
    position: relative;
    overflow: hidden;
}

.services-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-geometry {
    position: absolute;
    inset: -10%;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 2px 2px, var(--gold) 1px, transparent 0);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    animation: drift 20s linear infinite;
}

@keyframes drift {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(2%, 2%) rotate(2deg);
    }
}

.services .container {
    position: relative;
    z-index: 1;
}

/* Symmetric 3-Column Mosaic Grid */
.services-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
    gap: 2rem;
    margin-top: 5rem;
}

.service-card {
    position: relative;
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: var(--charcoal);
    transition: var(--transition-smooth);
    cursor: pointer;
    z-index: 1;
    text-decoration: none;
    padding: 0;
    /* Remove padding here, handle in content */
}

/* Mosaic Sizing for 3-Column Symmetry */
.mosaic-large {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.mosaic-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.mosaic-square {
    grid-column: span 1;
    grid-row: span 1;
}

/* Image & Overlay System */
.card-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.card-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.6;
    filter: grayscale(1) contrast(1.2);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            var(--theme-bg) 0%,
            rgba(10, 10, 15, 0.4) 50%,
            transparent 100%);
    opacity: 0.85;
    transition: all 0.8s ease;
}

.service-card:hover .card-bg-image {
    transform: scale(1.1) rotate(1deg);
    filter: grayscale(0.2) contrast(1.1);
    opacity: 0.8;
}

/* Glassmorphism Content Area */
.card-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2.5rem;
    background: rgba(10, 10, 15, 0.1);
    backdrop-filter: blur(0px);
    border: 1px solid rgba(255, 255, 255, 0);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: flex-end;
}

/* Specific adjustment for square cards to ensure alignment */
.mosaic-square .card-content {
    padding: 2rem 1.75rem;
    justify-content: center;
    /* Center vertically for squares to balance icon and text */
}

.mosaic-square .service-icon {
    margin-bottom: 1.5rem;
}

.mosaic-square .service-title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.mosaic-square .service-description {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.mosaic-square .service-details {
    margin-bottom: 1.5rem;
}

.service-card:hover .card-content {
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 98, 0.2);
    transform: translateY(-5px);
}

/* Themes Re-integration */
.theme-gold {
    --theme-accent: var(--gold);
    --theme-bg: #1a150a;
}

.theme-navy {
    --theme-accent: #4a6fa5;
    --theme-bg: #0a111a;
}

.theme-champagne {
    --theme-accent: #d4c5a1;
    --theme-bg: #1a1814;
}

.theme-emerald {
    --theme-accent: #2a6a5a;
    --theme-bg: #0a1a15;
}

/* Decorative Elements */
.service-card::before {
    content: '';
    position: absolute;
    inset: 1.5rem;
    border: 1px solid rgba(201, 169, 98, 0);
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 3;
}

.service-card:hover::before {
    inset: 1rem;
    border-color: rgba(201, 169, 98, 0.3);
}

.service-icon {
    margin-bottom: auto;
    width: 60px;
    height: 60px;
    position: relative;
}

.icon-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--theme-accent);
    background: rgba(10, 10, 15, 0.5);
    transition: all 0.6s ease;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.service-card:hover .icon-frame {
    transform: rotate(90deg);
    background: var(--theme-accent);
}

.service-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--ivory);
    margin: 1.5rem 0 1rem;
    font-family: 'Playfair Display', serif;
}

.service-description {
    font-size: 0.95rem;
    color: rgba(245, 240, 230, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-details {
    opacity: 1;
    transform: translateY(0);
}

.service-details span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--theme-accent);
    transition: all 0.3s ease;
}

.service-details span:hover {
    background: var(--theme-accent);
    color: var(--midnight);
}

.service-explore {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--theme-accent);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: auto;
    font-weight: 600;
}

.explore-arrow {
    font-size: 1.2rem;
    transition: transform 0.4s ease;
}

.service-card:hover .explore-arrow {
    transform: translateX(8px);
}

@media (max-width: 1200px) {
    .services-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 400px;
    }

    .mosaic-large,
    .mosaic-tall,
    .mosaic-wide,
    .mosaic-square {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .services-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .service-card {
        min-height: 450px;
    }
}


/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: var(--midnight);
}

.portfolio .section-header {
    color: var(--champagne);
}

.portfolio .section-title {
    color: var(--champagne);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item.wide {
    grid-column: span 2;
}

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

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

.image-placeholder.meridian {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
}

.image-placeholder.vesper {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--slate) 100%);
}

.image-placeholder.noir {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--midnight) 100%);
}

.image-placeholder.atelier {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
    transform: translateY(10px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

.portfolio-category {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.5rem;
    color: var(--champagne);
    margin-bottom: 0.5rem;
}

.portfolio-description {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--charcoal);
}

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

.testimonial-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.deco-line {
    width: 80px;
    height: 1px;
    background: var(--gold);
}

.deco-diamond {
    color: var(--gold);
    font-size: 1.2rem;
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--champagne);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.6;
}

/* Process Section */
.process {
    padding: 8rem 0;
    background: var(--ivory);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold), rgba(201, 169, 98, 0.2));
}

.process-step {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number .number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    width: 80px;
    text-align: center;
}

.step-diamond {
    color: var(--gold);
    font-size: 1rem;
    position: relative;
    z-index: 2;
    background: var(--ivory);
    padding: 0.5rem;
}

.step-content {
    padding-top: 0.5rem;
}

.step-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-secondary);
    max-width: 500px;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.deco-rays {
    position: absolute;
    top: -50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 100%, transparent 0deg, rgba(201, 169, 98, 0.02) 5deg, transparent 10deg, transparent 20deg, rgba(201, 169, 98, 0.02) 25deg, transparent 30deg);
    transform: translateX(-50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.section-header.light .section-label {
    color: var(--gold);
}

.section-title.light {
    color: var(--champagne);
}

.geometric-accent.light::before {
    border-color: var(--gold);
}

.contact-description {
    color: var(--text-light);
    opacity: 0.8;
    margin: 2rem 0;
    font-size: 1.1rem;
}

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

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.info-value {
    color: var(--champagne);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.info-value:hover {
    color: var(--gold);
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--charcoal);
    padding: 3rem;
    position: relative;
}

.form-decoration .corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold);
    border-style: solid;
}

.form-decoration .corner.top-left {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.form-decoration .corner.top-right {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

.form-decoration .corner.bottom-left {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.form-decoration .corner.bottom-right {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--midnight);
    border: 1px solid var(--slate);
    color: var(--champagne);
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background: var(--gold);
    color: var(--midnight);
    border: none;
}

.btn-submit:hover {
    background: var(--gold-light);
}

/* Footer */
.footer {
    background: var(--charcoal);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--champagne);
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    color: var(--gold);
}

.footer-tagline {
    color: var(--text-light);
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    color: var(--gold);
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-bottom {
    padding-top: 2rem;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-bottom: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-light);
    opacity: 0.5;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-light);
    opacity: 0.5;
    font-size: 0.85rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 1;
        height: 400px;
    }

    .portfolio-item.wide {
        grid-column: span 2;
        height: 300px;
    }

    .portfolio-item {
        height: 300px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title .title-line {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }

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

    .portfolio-item.large,
    .portfolio-item.wide {
        grid-column: span 1;
        height: 300px;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
        padding-left: 60px;
    }

    .timeline-line {
        left: 20px;
    }

    .step-number {
        position: absolute;
        left: -60px;
        flex-direction: row;
    }

    .step-number .number {
        width: auto;
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}