/* ==========================================================================
   ONYX CONSTRUCTION PARTNERS - CORE DESIGN SYSTEM (PREMIUM REDESIGN)
   ========================================================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Tokens (Obsidian Charcoal HSL Palette) */
    --color-onyx: 240, 5%, 11%;           /* #1A1A1E (Obsidian primary bg) */
    --color-charcoal: 240, 4%, 15%;       /* #232328 (Medium Obsidian secondary bg) */
    --color-slate-gray: 240, 3%, 20%;     /* #313137 (Light Obsidian tertiary bg) */
    --color-gold: 45, 75%, 52%;           /* #E6B82A (Warm Amber Gold accent) */
    --color-gold-bright: 45, 90%, 60%;    /* #F1C40F (Bright Gold active state) */
    --color-white: 240, 10%, 95%;         /* #F2F2F5 (Soft Off-White for clean reading) */
    --color-muted: 240, 3%, 65%;          /* #A2A2AB (Slate Grey for secondary text) */
    --color-dark-muted: 240, 2%, 48%;     /* #76767F (Darker Slate Grey for muted details) */
    
    /* Semantic Colors */
    --bg-primary: hsl(var(--color-onyx));
    --bg-secondary: hsl(var(--color-charcoal));
    --bg-tertiary: hsl(var(--color-slate-gray));
    --accent: hsl(var(--color-gold));
    --accent-hover: hsl(var(--color-gold-bright));
    --text-primary: hsl(var(--color-white));
    --text-secondary: hsl(var(--color-muted));
    --text-muted: hsl(var(--color-dark-muted));
    
    /* Borders & Glassmorphism */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(230, 184, 42, 0.15);
    --glass-bg: rgba(35, 35, 40, 0.85);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
    --glow-shadow: 0 0 25px rgba(230, 184, 42, 0.12);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   RESET, BASE & GRIDLINE BACKDROP
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Global Organic Texture Noise Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.015; /* Extremely subtle paper/concrete grain texture */
    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)'/%3E%3C/svg%3E");
}

/* Animated Architectural Drafting Grid Overlay */
.grid-lines-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: 
        linear-gradient(90deg, rgba(230, 184, 42, 0.01) 1px, transparent 1px) 0 0 / 60px 100%,
        linear-gradient(0deg, rgba(230, 184, 42, 0.01) 1px, transparent 1px) 0 0 / 100% 60px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px) 0 0 / 180px 100%,
        linear-gradient(0deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px) 0 0 / 100% 180px;
    animation: backgroundGridPan 120s linear infinite;
}

@keyframes backgroundGridPan {
    0% { background-position: 0 0; }
    100% { background-position: 180px 180px; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   GOLD GRADIENT & UTILITIES
   ========================================================================== */
.text-gold-gradient {
    background: linear-gradient(135deg, #FFE07D 0%, #D4AF37 55%, #A6801E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-gold { color: var(--accent); }
.text-muted { color: var(--text-secondary); }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: var(--space-xxl) 0;
    position: relative;
}

.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, #FFE07D 0%, #D4AF37 100%);
    color: #121212;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFF0B3 0%, #F3C63F 100%);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.04);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #FFE07D 0%, #D4AF37 100%);
    color: #121212;
    transform: translateY(-2px);
}

/* ==========================================================================
   SCROLL-DRIVEN ENTRANCE ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
    transition: opacity 1s var(--transition-slow), transform 1.2s var(--transition-slow);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Delay modifiers for sequential entry */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Section Header */
.section-header {
    max-width: 650px;
    margin: 0 auto var(--space-xl) auto;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header .divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto var(--space-sm) auto;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 30, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Scrolled state */
.navbar.navbar-scrolled {
    background: rgba(20, 20, 22, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: height var(--transition-normal);
}

.navbar.navbar-scrolled .navbar-container {
    height: 75px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.logo-text span {
    font-weight: 300;
    color: var(--text-secondary);
}

.nav-logo-img {
    height: 38px;
    width: auto;
    display: block;
    transition: var(--transition-normal);
}

.logo-link:hover .nav-logo-img {
    opacity: 0.95;
    transform: scale(1.02);
}

.footer-logo-img {
    height: 65px;
    width: auto;
    display: block;
    margin-bottom: var(--space-md);
    transition: var(--transition-normal);
}

.footer-logo-img:hover {
    transform: scale(1.03);
}

@media (max-width: 480px) {
    .nav-logo-img {
        height: 28px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition-normal);
}

/* ==========================================================================
   HERO / CAROUSEL
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s var(--transition-slow);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 26, 30, 0.4) 0%, rgba(26, 26, 30, 0.8) 75%, rgba(26, 26, 30, 1) 100%);
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 7s ease-out;
}

.slide.active img {
    transform: scale(1);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    text-align: center;
    z-index: 3;
}

/* Staggered carousel content transitions */
.slide-content .hero-subtitle {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-content .hero-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-content .hero-desc {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-content .hero-actions {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active .slide-content .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.slide.active .slide-content .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.slide.active .slide-content .hero-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.slide.active .slide-content .hero-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
    display: inline-block;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 6px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -0.04em;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18, 18, 18, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 55px;
    height: 55px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--accent);
    color: #121212;
    border-color: var(--accent);
    box-shadow: var(--glow-shadow);
}

.arrow-prev { left: var(--space-lg); }
.arrow-next { right: var(--space-lg); }

.slider-dots {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-xs);
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 4px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dot.active {
    background: var(--accent);
    width: 35px;
}

/* Slider Navigation Dock */
.slider-nav-dock {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background: rgba(20, 20, 22, 0.95);
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    z-index: 10;
}

.slider-nav-dock .slider-arrow {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 44px;
    height: 44px;
    margin: 0;
}

.slider-nav-dock .slider-dots {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin: var(--space-md) 0;
}

.slider-nav-dock .slider-dot {
    width: 4px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-nav-dock .slider-dot.active {
    background: var(--accent);
    height: 35px;
    width: 4px;
}

@media (min-width: 769px) {
    .slide-img-wrap {
        width: calc(100% - 80px);
    }
    .slide-content {
        left: calc(50% - 40px);
    }
}

/* ==========================================================================
   FEATURE CARDS (ASYMMETRICAL LAYOUT)
   ========================================================================== */
.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-top: calc(-1 * var(--space-xl));
    position: relative;
    z-index: 5;
}

/* Adding Asymmetrical spacing to cards to break the standard grid template */
.feature-grid .feature-card:nth-child(2) {
    transform: translateY(-20px);
}

@media (max-width: 992px) {
    .feature-grid .feature-card:nth-child(2) {
        transform: translateY(0);
    }
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition-normal);
    pointer-events: none;
}

.feature-card:hover::before {
    border-color: var(--border-accent);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    box-shadow: var(--glow-shadow);
}

.feature-card:nth-child(2):hover {
    transform: translateY(-30px) scale(1.02);
}

.feature-icon-wrap {
    width: 65px;
    height: 65px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: var(--space-md);
    font-size: 1.8rem;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrap {
    background: var(--accent);
    color: #121212;
    transform: rotate(5deg);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   ABOUT / ASYMMETRICAL STORY
   ========================================================================== */
.about-split {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
}

.about-img-frame {
    position: relative;
    padding-left: var(--space-md);
}

.about-img-frame::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 90%;
    height: 95%;
    border: 2px solid var(--accent);
    z-index: 1;
    border-radius: var(--radius-md);
    transition: var(--transition-slow);
}

.about-img-frame img {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-slow);
}

.about-img-frame:hover::before {
    transform: translate(-10px, -10px);
}

.about-img-frame:hover img {
    transform: translate(5px, 5px);
}

.stats-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: var(--space-xl);
}

.stat-item {
    border-left: 2px solid var(--accent);
    padding-left: var(--space-sm);
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: var(--space-xs);
}

/* ==========================================================================
   INTERACTIVE BEFORE / AFTER SLIDER
   ========================================================================== */
.before-after-container {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.before-after-wrap {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

@media (max-width: 992px) {
    .before-after-wrap {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
    cursor: ew-resize;
    user-select: none;
}

.before-after-slider .image-before,
.before-after-slider .image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-after-slider .image-before img,
.before-after-slider .image-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-after-slider .image-after {
    width: 50%; /* Default divide */
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid var(--accent);
}

.before-after-slider .slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.before-after-slider .slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: var(--bg-primary);
    border: 2px solid var(--accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    z-index: 4;
    pointer-events: none;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.before-after-slider .slider-label {
    position: absolute;
    bottom: var(--space-md);
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    z-index: 3;
    border: 1px solid var(--border-color);
    letter-spacing: 1px;
}

.before-after-slider .label-before { right: var(--space-md); }
.before-after-slider .label-after { left: var(--space-md); }

/* Before/After Selector buttons */
.slider-selectors {
    display: flex;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    justify-content: center;
}

.selector-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 14px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.selector-btn.active,
.selector-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.selector-btn.active {
    background: rgba(212, 175, 55, 0.08);
}

/* ==========================================================================
   INTERACTIVE TIMELINE (PROCESS JOURNEY)
   ========================================================================== */
.process-stepper {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.process-steps-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: 2px solid var(--border-color);
    position: relative;
    margin-bottom: var(--space-md);
}

.process-steps-line {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transition: left var(--transition-slow);
}

.step-nav-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: var(--space-sm) 0;
    transition: var(--transition-fast);
    text-align: center;
}

.step-nav-btn.active {
    color: var(--accent);
}

.step-nav-btn span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.step-nav-btn.active span {
    color: var(--accent);
}

.process-step-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--glass-shadow);
}

.process-step-content.active {
    display: grid;
    animation: stepFadeIn 0.6s var(--transition-slow) forwards;
}

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-left-text h3 {
    margin-bottom: var(--space-sm);
}

.step-right-graphic {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    height: 260px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-right-graphic::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 15px 15px;
}

/* Mobile responsive timeline adjustments */
@media (max-width: 768px) {
    .process-steps-nav {
        grid-template-columns: 1fr;
        border-bottom: none;
        gap: 5px;
    }
    
    .process-steps-line {
        display: none;
    }
    
    .step-nav-btn {
        padding: var(--space-xs);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        text-align: left;
        padding-left: var(--space-sm);
    }
    
    .step-nav-btn.active {
        border-color: var(--accent);
        background: rgba(212, 175, 55, 0.05);
    }
    
    .process-step-content {
        grid-template-columns: 1fr;
        padding: var(--space-md);
    }
    
    .step-right-graphic {
        height: 180px;
    }
}

/* ==========================================================================
   SERVICES SECTIONS & CARDS
   ========================================================================== */
.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transition: var(--transition-normal);
}

.service-card:hover::after {
    width: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--glass-shadow);
}

.service-img-wrap {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease-out;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.06);
}

.service-content {
    padding: var(--space-lg) var(--space-md);
}

.service-content h3 {
    margin-bottom: var(--space-sm);
}

.service-list {
    list-style: none;
    margin-top: var(--space-md);
}

.service-list li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.service-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

/* ==========================================================================
   PORTFOLIO FILTERABLE GRID
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    color: var(--text-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, #FFE07D 0%, #D4AF37 100%);
    color: #121212;
    border-color: var(--accent);
    box-shadow: var(--glow-shadow);
}

.portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.portfolio-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--glow-shadow);
}

.portfolio-img {
    height: 270px;
    overflow: hidden;
    position: relative;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.07);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    backdrop-filter: blur(3px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: var(--space-md);
}

.portfolio-cat {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    display: block;
}

.portfolio-info h3 {
    margin-bottom: var(--space-xs);
}

.portfolio-details-btn {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-xs);
}

.portfolio-details-btn::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.portfolio-details-btn:hover::after {
    transform: translateX(4px);
}

/* ==========================================================================
   TESTIMONIALS & CONTACT
   ========================================================================== */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.quote-icon {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.stars {
    color: var(--accent);
    margin-bottom: var(--space-sm);
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact page styles */
.contact-split {
    grid-template-columns: 2fr 3fr;
    align-items: start;
}

.contact-info-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-sm);
}

.contact-item-icon {
    color: var(--accent);
    font-size: 1.3rem;
}

.contact-item-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-item-text p, 
.contact-item-text a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-form-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.form-grid {
    grid-template-columns: 1fr 1fr;
}

.form-full {
    grid-column: span 2;
}

.form-group {
    position: relative;
    margin-bottom: var(--space-lg);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all var(--transition-fast) cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 5;
    background: transparent;
    padding: 0 4px;
}

.form-group.textarea-group label {
    top: 18px;
    transform: none;
}

/* Floating states */
.form-group.focused label,
.form-group.has-value label,
.form-group:has(select) label {
    top: 0;
    transform: translateY(-50%) scale(0.82);
    background: var(--bg-secondary);
    padding: 0 6px;
    z-index: 10;
    color: var(--text-secondary);
}

.form-group.focused label {
    color: var(--accent);
    font-weight: 600;
}

.form-control {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-control::placeholder {
    color: transparent;
    transition: color var(--transition-fast) ease;
}

.form-control:focus::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
    padding-top: 18px;
}

.form-status {
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(39, 174, 96, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Call booking CTA banner */
.cta-banner {
    background: linear-gradient(135deg, hsl(var(--color-charcoal)) 0%, hsl(var(--color-onyx)) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(var(--border-accent) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.15;
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 2.75rem;
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-lg) auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: hsl(var(--color-onyx));
    border-top: 1px solid var(--border-color);
    padding: var(--space-xl) 0 var(--space-md) 0;
    position: relative;
    z-index: 2;
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    margin-bottom: var(--space-xl);
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.footer-brand h3 span {
    font-weight: 300;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--accent);
    color: #121212;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-links-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: 5px;
}

.footer-links-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact-info span {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 992px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.15rem; }
    
    .about-split {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-img-frame {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-split {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .navbar-container {
        height: 75px;
    }
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-lg);
        transition: var(--transition-normal);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-desc { font-size: 1rem; }
    
    /* Mobile Hero Slider Overrides */
    .hero-slider {
        height: 75vh;
        min-height: 480px;
    }
    
    .slider-nav-dock {
        width: 100%;
        height: 60px;
        top: auto;
        bottom: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        flex-direction: row;
        gap: var(--space-md);
        padding: 0 var(--space-md);
    }
    
    .slider-nav-dock .slider-dots {
        flex-direction: row;
        margin: 0;
        gap: var(--space-xs);
    }
    
    .slider-nav-dock .slider-dot {
        width: 12px;
        height: 4px;
    }
    
    .slider-nav-dock .slider-dot.active {
        width: 35px;
        height: 4px;
    }
    
    .slider-nav-dock .slider-arrow {
        width: 38px;
        height: 38px;
    }
    
    .slide-img-wrap {
        height: calc(100% - 60px);
        width: 100%;
    }
    
    .slide-content {
        top: 45%;
        left: 50%;
        width: 95%;
        transform: translate(-50%, -50%);
    }
    
    .feature-grid {
        margin-top: var(--space-md);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-full {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    
    .before-after-slider {
        height: 350px;
    }
}

/* ==========================================================================
   TEXTURES & ARCHITECTURAL HATCH PATTERNS
   ========================================================================== */
.textured-bg {
    position: relative;
}
.textured-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 1;
}

/* Subtle diagonal lines hatch pattern on card hover */
.feature-card, .service-card, .portfolio-item, .testimonial-card, .contact-info-block, .contact-form-block {
    position: relative;
    overflow: hidden;
}
.feature-card::after, .service-card::after, .portfolio-item::after, .testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(255, 255, 255, 0.005) 15px, rgba(255, 255, 255, 0.005) 16px);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}
.feature-card:hover::after, .service-card:hover::after, .portfolio-item:hover::after, .testimonial-card:hover::after {
    opacity: 1;
}
