/**
 * Interior Designer Website
 * Main Stylesheet
 */

/* ============================================
   LOCAL FONT FAMILY - CREATO DISPLAY
   All fonts loaded from css/font directory
   ============================================ */
/* Local Creato Display font family (from css/font) */
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Primary font family for the site: local Creato Display with sensible fallbacks
   - Do NOT force every element to inherit via !important; allow components to
     use different weights and styles from the loaded @font-face declarations.
   - Use a CSS variable so components can reference the base family when needed.
*/
:root {
    --font-primary: 'Creato Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html, body {
    font-family: var(--font-primary);
}

/* Ensure all common elements use Creato Display, especially in responsive mode */
*, *::before, *::after {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6,
p, span, a, button, input, textarea, select,
.btn, .card, .hero-title, .section-title,
.nav, .header, .footer {
    font-family: var(--font-primary);
}

/* ============================================
   Header Link Backgrounds (Global)
   Moved from page-level overrides so header looks identical across pages
   ============================================ */
:root {
    --nav-bg: #3a2537; /* dark nav background */
}

.dreamade-header a,
.dreamade-hero-section header a,
.dreamade-hero-section .new-header a,
.new-header a,
header a {
    background: var(--nav-bg) !important;
    color: #fff !important;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    text-decoration: none !important;
    display: inline-block;
}

.dreamade-header a:hover,
.dreamade-hero-section header a:hover,
.new-header a:hover,
header a:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Ensure logo containers remain transparent */
.dreamade-header .logo,
.dreamade-header .site-logo,
.dreamade-hero-section .new-header .logo,
.dreamade-header a.logo,
header .logo,
header a.logo,
.new-header .logo {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.dreamade-header .logo img,
.dreamade-header .site-logo img,
header .logo img,
header a.logo img,
.new-header .logo img {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    display: block;
    max-width: 100%;
    height: auto;
}

/* ============================================
   Tagline Scroller
   ============================================ */
.tagline-scroller {
    background: var(--primary-color); /* #85a380 */
    background-color: #85a380; /* fallback */
    color: #3a2537; /* foreground */
    overflow: hidden;
    width: 100%;
    /* override global section padding */
    padding: 0 !important;
}

.tagline-scroller .tagline-scroller-inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
    /* make height explicit and resistant to overrides */
    height: 48px !important; /* compact height */
    min-height: 48px !important;
    padding: 0.35rem 1rem !important; /* keep compact padding but force it into the box-model */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ensure the track starts at the left so animation can move it */
    overflow: hidden; /* ensure overflow is clipped inside the inner container */
    box-sizing: border-box; /* ensure padding is included in height calculations */
}

.tagline-track {
    display: flex;
    gap: 1.8rem; /* tighter spacing for compact band */
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    /* animation handled by JS for reliability across browsers */
    flex-shrink: 0; /* don't shrink inside the flex container */
    width: max-content; /* ensure the track expands to fit all items */
    transform: translate3d(0,0,0);
    backface-visibility: hidden;
}

.tagline-item {
    font-family: 'Creato Display', var(--font-primary);
    font-size: 0.95rem; /* slightly reduced for compact appearance */
    padding-top: 0; /* ensure vertical centering */
    padding-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 0; /* rely on container height */
    line-height: 1;
    flex: 0 0 auto; /* prevent items from shrinking/growing */
}

/* Ensure items take full height of the scroller-inner and are centered */
.tagline-item {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* New static scroller content styles (non-scrolling) */
.tagline-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline-text {
    font-family: 'Creato Display', var(--font-primary);
    color: #3a2537;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ============================================
   Categories horizontal cards
   ============================================ */
.category-cards-section {
    background: #E9E6DF;
    padding: 2.5rem 0; /* modest vertical spacing */
}
.category-cards-section .container { max-width: var(--container-max-width); margin: 0 auto; padding: 0 1rem; }
.category-cards {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
    justify-content: center; /* center cards */
    flex-wrap: wrap; /* allow wrapping into rows on wide screens */
    overflow-x: auto;
    padding: 1.25rem 0 0.25rem;
    -webkit-overflow-scrolling: touch;
}
.category-card {
    display: block;
    min-width: 300px;
    max-width: 420px;
    height: 260px;
    background: #ffffff;
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 8px 26px rgba(0,0,0,0.06);
    text-align: center;
    color: #3a2537;
    text-decoration: none;
    flex: 0 0 auto;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.category-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,0.09); }
.category-icon { width: 110px; height: 110px; border-radius: 50%; background:#f6f5f3; display:flex; align-items:center; justify-content:center; margin-bottom:1rem; }
.category-icon i { color: #6b8566; font-size: 2.4rem; }
.category-name { font-weight: 500; color: #3a2537; font-size: 1.6rem; margin-bottom: 0.75rem; font-family: 'Creato Display', var(--font-primary); }
.category-cta { margin-top: 0.5rem; }
.category-cta span { display:inline-block; padding:0.6rem 1.1rem; background:#3a2537; color:#fff; border-radius:999px; font-weight:600; font-size:0.9rem; }

/* Small screens: allow smaller card widths */
@media (max-width: 900px) {
    .category-card { min-width: 220px; max-width: 320px; height: 220px; padding: 1rem; }
    .category-icon { width: 90px; height: 90px; }
    .category-icon i { font-size: 2rem; }
    .category-name { font-size: 1.25rem; }
}

@media (max-width: 640px) {
    .category-card { min-width: 180px; max-width: 240px; height: 200px; padding: 0.8rem; }
    .category-icon { width: 72px; height: 72px; }
    .category-icon i { font-size: 1.5rem; }
    .category-name { font-size: 1.05rem; }
}


@keyframes tagline-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .tagline-track { transform: none !important; }
}

@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-ThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-RegularItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-ExtraBoldItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Creato Display';
    src: url('font/CreatoDisplay-BlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ============================================
   CSS VARIABLES & ROOT STYLES
   ============================================ */
:root {
    /* Old Enough Studio Theme Colors */
    --primary-color: #85A380;
    --primary-dark: #6b8566;
    --primary-light: #a8c9a4;
    --primary-lighter: #d4e8d1;
    --secondary-color: #EEEBE3;
    --secondary-light: #fafafa;
    --accent-color: #F15A38;
    --accent-coral: #F15A38;
    --accent-mint: #a8d5d0;
    --brand-lilac: #C2B5D3;
    
    --text-dark: #3A2537;
    --text-medium: #555555;
    --text-light: #888888;
    --text-muted: #CCCCCC;
    --text-white: #FFFFFF;
    --text-offwhite: #F5F5F5;
    
    --bg-white: #FFFFFF;
    --bg-cream: #EEEBE3;
    --bg-light: #f5f3f0;
    --bg-soft: #e8e6e3;
    --bg-dark: #3A2537;
    --bg-darker: #2e1d2c;
    --bg-overlay: rgba(255, 255, 255, 0.92);
    
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --border-gold: #85a380;
    
    /* Subtle Shadows */
    --shadow-xs: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.2);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.25);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
    --shadow-gold: 0 0 40px rgba(133, 163, 128, 0.3);
    
    /* Artistic Typography: All using local Creato Display with fallbacks */
    --font-primary: 'Creato Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Creato Display', Georgia, serif;
    --font-accent: 'Creato Display', Georgia, serif;
    --font-display: 'Creato Display', cursive;
    --font-italic: 'Creato Display', Georgia, serif;
    
    /* Generous Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 10rem;
    
    /* Smooth Transitions */

    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 1s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Artistic Border Radius */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-xl: 16px;
    
    /* Art-Style Decorative */
    --art-accent: rgba(133, 163, 128, 0.15);

    /* --------------------------------------------------
        Page-specific hero / about / philosophy styles
        (moved from about.php inline styles for consistency)
        -------------------------------------------------- */
    .dreamade-hero-section{ position:relative; min-height:65vh; display:flex; align-items:center; justify-content:center; overflow:hidden; }
    .hero-slide{ position:absolute; top:0; left:0; width:100%; height:100%; display:flex; align-items:center; justify-content:center; transition:opacity .6s ease; opacity:0; visibility:hidden; pointer-events:none; }
    .hero-slide.active{ opacity:1; visibility:visible; pointer-events:auto; }
    .hero-bg-image{ position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; z-index:0; }
    .dreamade-hero-section::before{ content:''; position:absolute; inset:0; background:radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(230,235,240,0.12) 0%, transparent 50%); pointer-events:none; z-index:1; }
    .hero-overlay{ position:absolute; top:0; left:0; right:0; bottom:0; background:radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.2) 100%); pointer-events:none; z-index:2; }
    .hero-content-wrapper{ position:relative; z-index:3; width:100%; padding:0 2rem; }
    .hero-container{ max-width:1200px; margin:0 auto; text-align:center; }
    .hero-text-center{ max-width:900px; margin:0 auto; animation:fadeInUp 1s ease-out; }
    .hero-breadcrumbs{ font-size:.875rem; letter-spacing:.05em; margin-bottom:1rem; color:#3a2537; display:inline-flex; gap:.5rem; align-items:center; flex-wrap:wrap; justify-content:center; }
    .hero-breadcrumbs a,
    .hero-breadcrumbs span { background: rgba(255,255,255,0.92); color: #3a2537; padding: 0.35rem 0.6rem; border-radius: 6px; text-decoration: none; display: inline-block; font-weight: 500; }
    .hero-main-title{ font-size:clamp(2.5rem,6vw,4.5rem); line-height:1.15; font-weight:300; color:#3a2537; margin:0 0 1.5rem; }
    .hero-cta-button{ display:inline-block; padding:1rem 2.25rem; background:#3a2537; color:#fff; border-radius:50px; text-decoration:none; font-weight:500; transition:all .25s ease; }
    .hero-cta-button:hover{ background:#85a380; }
    /* Background block behind hero title for better contrast */
    .hero-main-title .hero-title-bg{
        display:inline-block;
        background: rgba(255,255,255,0.88);
        padding: 0.25rem 0.8rem;
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.06);
        font-family: 'Creato Display', var(--font-primary);
        font-weight: 400;
        color: #3a2537;
    }
    @keyframes fadeInUp{ from{ opacity:0; transform:translateY(30px);} to{ opacity:1; transform:translateY(0);} }

    /* About Split section */
    .about-split { background: #FBF8F3; padding:5rem 0; }
    .about-split-grid { display:grid; grid-template-columns: 1fr 1fr; gap:2rem; align-items:stretch; }
    /* Ensure the left text column is light for optimal contrast */
    .about-split-text { background: #ffffff; padding:2.25rem 2.5rem; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; text-align:left; border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,0.04); color: #3a2537; }
    .about-split-image { border-radius:8px; overflow:hidden; }
    .about-hero-title { font-family: 'Creato Display', serif; font-size:clamp(2.5rem,6vw,5.5rem); line-height:1.02; color:#3a2537; margin:0 0 1.25rem; font-weight:300; }
    .about-split-image img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:8px; }
    @media (max-width: 880px){ .about-split-grid{ grid-template-columns:1fr; } .about-split-image{ order:-1; } .about-split-text{ border-radius:6px; box-shadow:none; padding:1.25rem 1rem; } }

    /* Force left alignment for about split content to override global hero centering */
    .about-split-text,
    .about-split-text h1,
    .about-split-text h2,
    .about-split-text h3,
    .about-split-text p,
    .about-split-text .about-studio-label {
        text-align: left !important;
        align-self: flex-start !important;
    }
    .about-split-text .about-hero-title { width:100%; }

    /* Philosophy MVV */
    .philosophy-mvv { background: #c8b9d6; }
    .philosophy-split { display:grid; grid-template-columns: 1fr 1fr; gap:2.5rem; align-items:center; padding:4rem 0; }
    .philosophy-image img { width:100%; height:100%; object-fit:cover; display:block; border-radius:8px; }
    .philosophy-label{ color:#3a2537; font-weight:600; letter-spacing:2px; margin-bottom:0.75rem; }
    .mvv-grid { display:grid; grid-template-columns:1fr; gap:1rem; }
    .mvv-card { background:#ffffff; color:#3a2537; padding:1.5rem; border-radius:8px; box-shadow:0 6px 18px rgba(0,0,0,0.08); display:flex; gap:1rem; align-items:flex-start; }
    .mvv-icon { min-width:48px; min-height:48px; border-radius:50%; background:#3a2537; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
    .mvv-label{ font-weight:700; margin-bottom:0.35rem; }
    .mvv-text{ color:#5a4a42; }

    /* Philosophy structural helpers */
    .philosophy-mvv { background: #c8b9d6; }
    .philosophy-img-wrap { width:100%; height:100%; min-height:420px; overflow:hidden; border-radius:8px; }
    .philosophy-img { width:100%; height:100%; object-fit:cover; display:block; filter:contrast(0.95); }
    .philosophy-content-inner { max-width:680px; }
    .philosophy-divider { width:80px; height:3px; background:#3a2537; margin:1rem 0 1.25rem 0; border-radius:4px; }

    /* MVV Card tweaks */
    .mvv-card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
    .mvv-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.09); }

    @media (max-width: 880px){ .philosophy-split { grid-template-columns: 1fr; } }

    /* Responsive adjustments for Philosophy (MVV) section */
    @media (max-width: 900px) {
        .philosophy-split {
            grid-template-columns: 1fr;
            gap: 1.25rem;
            padding: 2rem 0;
            align-items: start;
        }

        .philosophy-image {
            order: -1; /* show image above text on small screens */
            width: 100%;
            margin-bottom: 0.75rem;
        }

        .philosophy-image > div {
            min-height: 220px !important;
            height: auto !important;
            border-radius: 8px;
            overflow: hidden;
        }

        .philosophy-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .philosophy-content {
            max-width: 100%;
            padding: 0 !important;
        }

        .philosophy-content h2,
        .philosophy-content p,
        .philosophy-label {
            text-align: left !important;
        }

        .mvv-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .mvv-card {
            width: 100%;
            box-shadow: 0 6px 18px rgba(0,0,0,0.06);
        }
    }

    /* Medium screens: slightly tighten spacing */
    @media (min-width: 901px) and (max-width: 1200px) {
        .philosophy-split { gap: 2rem; padding: 3rem 0; }
        .philosophy-image > div { min-height: 320px; }
    }
    --art-border: 2px solid rgba(133, 163, 128, 0.3);
    --art-pattern: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(133, 163, 128, 0.03) 10px, rgba(133, 163, 128, 0.03) 20px);
    
    /* Container */
    --container-max-width: 1400px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Jost', 'Arial', 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 16px;
    color: #3a3636;
    background: #f3f1ed;
    scroll-behavior: smooth;
}

body {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: inherit;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.02em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;

    font-size: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    font-family: 'Jost', 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #3a3636;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #85a380, transparent);
}

.section-header::after {
    content: '◆';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #85a380;
    font-size: 1rem;
    opacity: 0.6;
}

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: 0.03em;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #85a380, transparent);
}

.section-header p {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-medium);
    font-weight: 400;
    letter-spacing: 0.02em;
    font-style: italic;
    margin-top: 2rem;
}

section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(133, 163, 128, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(133, 163, 128, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.8rem;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 300;
    text-align: center;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: #85a380;
    color: #ffffff;
    border: none;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(133, 163, 128, 0.25),
                0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background: #6b8566;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(133, 163, 128, 0.35),
                0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary {
    background: #ffffff;
    color: #85a380;
    border: 2px solid #85a380;
    font-weight: 500;
}

.btn-secondary:hover {
    background: #85a380;
    color: #ffffff;
    border-color: #85a380;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(133, 163, 128, 0.25);
}

.btn-light {
    background-color: var(--bg-white);
    color: var(--bg-dark);
    border-color: var(--bg-white);
}

.btn-light:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.btn-small {
    padding: 0.75rem 1.8rem;
    font-size: 0.75rem;
    border-radius: 40px;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ============================================




   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(133, 163, 128, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to right, rgba(232, 149, 111, 0.05), rgba(168, 213, 208, 0.05), rgba(245, 212, 200, 0.05));
    pointer-events: none;
}

.header::after {
    display: none;
}

.header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
}

/* Light header variant for pages with light backgrounds */
.header.header-light {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(133, 163, 128, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header.header-light::before {
    background: linear-gradient(to right, rgba(232, 149, 111, 0.05), rgba(168, 213, 208, 0.05), rgba(245, 212, 200, 0.05));
}



/* Soft overlay header for pages with a hero image */
.header.header-overlay {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(133, 163, 128, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header.header-overlay::before {
    background: linear-gradient(to right, rgba(232, 149, 111, 0.03), rgba(168, 213, 208, 0.03));
}



.navbar {
    padding: 1.75rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(120deg, #e8956f, #85a380, #a8d5d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    position: relative;
}

.logo::after {
    display: none;
}

.logo i {
    font-size: 1.8rem;
    background: linear-gradient(120deg, #85a380, #a8d5d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    position: relative;
    transition: all var(--transition-fast);
    color: #5a5a5a;
    padding: 0.5rem 0;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #e8956f, #85a380, #a8d5d0);
    border-radius: 3px;
    transition: width var(--transition-normal);
}

.nav-menu a::after {
    display: none;
}

.nav-menu a:hover {
    color: #85a380;
    transform: translateY(-2px);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a.active {
    color: #85a380;
    font-weight: 600;
}

.nav-cta {
    margin-left: auto;
    background: linear-gradient(135deg, #85a380, #a8c9a4) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(133, 163, 128, 0.25);
}

.nav-cta:hover {
    background: linear-gradient(135deg, #6b8566, #85a380) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(133, 163, 128, 0.35);
}

/* Ensure action buttons in design detail header have strong contrast on light backgrounds */
.design-header .btn {
    border-color: rgba(0,0,0,0.06);
}
.design-header .btn-secondary {
    color: var(--text-dark);
    background: transparent;
    border-color: rgba(0,0,0,0.08);
}
.design-header .btn-secondary:hover {
    background: rgba(0,0,0,0.04);
}
.design-header .btn-primary {
    background: var(--primary-color);
    color: #111111;
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(201,169,97,0.12);
}
.design-header .btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 24px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Sticky Header */
.header.sticky {
    box-shadow: var(--shadow-md);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 550px;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f3 0%, #faf9f7 50%, #ffffff 100%);
}

.hero-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(232, 149, 111, 0.08), transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(168, 213, 208, 0.08), transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(168, 201, 164, 0.06), transparent 50%);
    z-index: 1;
}

.hero::after {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-left: 8rem; /* Space for vertical label */
}

/* Vertical Label Style */
.hero-vertical-label {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    font-family: var(--font-primary);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(133, 163, 128, 0.5);
    font-weight: 400;
    z-index: 3;
    white-space: nowrap;
}

.hero-vertical-label::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(133, 163, 128, 0.4));
    vertical-align: middle;
    margin-right: 1.5rem;
}

.hero-vertical-label::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(133, 163, 128, 0.4), transparent);
    vertical-align: middle;
    margin-left: 1.5rem;
}

.hero-content {
    position: relative;
    max-width: 800px;
    opacity: 1;
    animation: none;
}

.hero-subtitle-small {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #85a380;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: inline-block;
    position: relative;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(133, 163, 128, 0.15);

}

.hero-subtitle-small::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #e8956f, #85a380);
    border-radius: 50%;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateY(-50%) scale(1.3); }
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #5a5a5a 0%, #85a380 50%, #6b8566 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title::after {
    display: none;
}

.hero-description {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: #6b6b6b;
    max-width: 600px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
        align-items: center;
        justify-content: center;
    margin-top: 3rem;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero .container {
        padding-left: 2rem;
    }
    
    .hero-vertical-label {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
        font-family: var(--font-primary);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        font-family: var(--font-primary);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .btn {
        width: 100%;
        font-family: var(--font-primary);
    }
}

/* Compact page hero used on detail pages (not full-screen) */
.page-hero.design-hero {
    position: relative;
    width: 100%;
    height: 420px;
    min-height: 320px;
    color: var(--text-white);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}
.page-hero.design-hero .hero-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.45));
    z-index: 1;
}
.page-hero.design-hero .container {
    position: relative;
    z-index: 3;
}
.page-hero.design-hero .hero-content {
    max-width: 1100px;
}
.page-hero.design-hero .hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    margin-bottom: 0.5rem;
}
.page-hero.design-hero .breadcrumb {
    color: rgba(255,255,255,0.9);
}

/* Reveal animation for hero, gallery images and project card */
.reveal {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
    transition: opacity 600ms cubic-bezier(0.2,0.8,0.2,1), transform 600ms cubic-bezier(0.2,0.8,0.2,1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-info-card { transform-origin: top right; }
.project-info-card.reveal { transition-delay: 120ms; }
.page-hero.design-hero .hero-content.reveal { transition-delay: 80ms; }
.project-gallery img.reveal { transition-delay: 140ms; }

@media (max-width: 992px) {
    .page-hero.design-hero { height: 320px; }
    .page-hero.design-hero .hero-title { font-size: 2rem; font-family: var(--font-primary); }
}

@media (max-width: 600px) {
    .page-hero.design-hero { height: 260px; }
    .page-hero.design-hero .hero-title { font-size: 1.6rem; font-family: var(--font-primary); }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    color: rgba(255,255,255,0.95);
    font-size: 1.25rem;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================
   ABOUT STUDIO SECTION
   ============================================ */
.about-studio {
    background-color: #111111;
    padding: 8rem 0 10rem;
    color: #FFFFFF;
}

.about-studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

/* Image Cards */
.about-studio-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-image-card {
    position: relative;
    overflow: hidden;
}

.about-image-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-card:hover img {
    transform: scale(1.08);
}

.about-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-image-number {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: #C9A961;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.about-image-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Content Area */
.about-studio-content {
    padding-left: 2rem;
}

.about-studio-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: #8A6B3C;
    letter-spacing: 0.22em;
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0,0,0,0.45);
}

.about-studio-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

.about-studio-benefits {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.benefit-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.benefit-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.btn-view-projects {
    display: inline-block;
    background-color: #FFFFFF;
    color: #111111;
    padding: 0.9rem 2rem;
    margin-top: 1.25rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #C9A961;
     font-size: 0.75rem;
     border-radius: 40px;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.18s ease;
    box-shadow: 0 2px 0 rgba(0,0,0,0.08);
    z-index: 2;
}

.btn-view-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #B0893F;
    transition: left 0.28s cubic-bezier(0.2,0.8,0.2,1);
    z-index: -1;
    pointer-events: none;
}

.btn-view-projects:hover {
    color: #FFFFFF;
    background-color: #B0893F;
    border-color: #8E6F37;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16,16,16,0.18);
}

.btn-view-projects > * {
    position: relative;
    z-index: 3;
}

.btn-view-projects:hover::before {
    left: 0;
}

.btn-view-projects span {
    position: relative;
    z-index: 1;
}

.btn-view-projects:focus {
    outline: 2px solid rgba(201,169,97,0.18);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1200px) {
    .about-studio-grid {
        gap: 5rem;
    }

    .about-studio-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 968px) {
    .about-studio-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .about-studio-content {
        padding-left: 0;
    }

    .about-studio-images {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .about-image-card img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .about-studio {
        padding: 5rem 0 6rem;
    }

    .about-studio-images {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-card img {
        height: 360px;
    }

    .about-studio-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .about-studio-benefits {
        gap: 2.5rem;
    }

    .benefit-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ============================================
   ABOUT STUDIO - LIGHT VARIANT
   (images left, vertical icons right)
   ============================================ */

.about-studio.style-light {
    background-color: #fff;
    color: #222;
    padding: 6rem 0 8rem;
}

.about-studio.style-light .container {
    position: relative;
}

.about-studio.style-light .about-studio-grid {
    display: grid;
    grid-template-columns: 520px 1fr 120px;
    gap: 3rem 2rem;
    align-items: start;
}

.about-studio.style-light .about-studio-label {
    color: #C9A961;
    text-align: right;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.about-studio.style-light .about-studio-images {
    grid-column: 1 / 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-studio.style-light .about-image-card img {
    height: 420px;
    object-fit: cover;
}

.about-studio.style-light .about-image-label {
    padding: 1rem 1rem 0.9rem;
}

.about-studio.style-light .about-studio-content {
    grid-column: 2 / 3;
    padding-left: 0;
}

.about-studio.style-light .about-studio-title {
    color: #222;
}

.about-studio.style-light .about-studio-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
    margin-bottom: 0;
}

/* Right-most vertical icon column */
.about-studio.style-light .about-studio-icons {
    grid-column: 3 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
    padding-top: 3.5rem;
}

.about-studio.style-light .benefit-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.25rem;
    align-items: start;
    text-align: left;
}

.about-studio.style-light .benefit-content {
    display: block;
}

.about-studio.style-light .benefit-icon svg {
    stroke: #C9A961;
    fill: transparent;
}

@media (max-width: 1200px) {
    .about-studio.style-light .about-image-card img {
        height: 360px;
    }
}

@media (max-width: 968px) {
    .about-studio.style-light .about-studio-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-studio.style-light .about-studio-icons {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        padding-top: 1rem;
    }

    .about-studio.style-light .benefit-content { display: block; }
}

/* ============================================
   FEATURED PROJECTS WITH PLAYFUL ART THEME
   ============================================ */
.featured-designs {
    background: #85a380;
    padding: 8rem 0 10rem;
    position: relative;
    overflow: hidden;
}

/* Removed playful background doodles for a clean professional look */
.featured-designs::before {
    content: none !important;
    display: none !important;
}

.featured-designs .container {
    position: relative;
    z-index: 1;
}

/* Art Gallery Header */
.art-header {
    position: relative;
    margin-bottom: 4rem;
}

.crayon-scribble {
    font-size: 4rem;
    animation: spin 4s linear infinite;
    display: inline-block;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.1); }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(-5deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
}

.featured-designs .art-label {
    display: inline-block;
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.art-title {
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 3.5rem;
    color: #fff;
    font-weight: 900;
    margin: 1.5rem 0;
    letter-spacing: -0.02em;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2), 
                 -1px -1px 0 rgba(255, 255, 255, 0.3);
    transform: rotate(-2deg);
}

.doodle-underline {
    width: 200px;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #85a380 0px,
        #85a380 20px,
        #f05835 20px,
        #f05835 40px,
        #392634 40px,
        #392634 60px,
        #c9b4c8 60px,
        #c9b4c8 80px
    );
    margin: 1.5rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-1deg); }
    75% { transform: translateX(5px) rotate(1deg); }
}

/* Art Filter Section */
.art-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 380px));
    justify-content: center;
    gap: 3rem;
    margin-bottom: 5rem;
    padding: 0 1rem;
}

.art-filter-group {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15),
                inset 0 -3px 0 rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
    position: relative;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.art-filter-group:hover {
    transform: rotate(0deg) scale(1.02);
}

.art-filter-group:nth-child(2) {
    transform: rotate(1deg);
}

/* Neutral filter icon styling (replaced playful emoji animation) */
.filter-emoji {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.art-filter-group .filter-label {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.1em;
}

.art-filter-group .filter-title {
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #333;
    margin: 0.5rem 0 1.5rem 0;
    text-shadow: 2px 2px 0 rgba(255, 193, 7, 0.3);
}

.art-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.art-pills .filter-pill {
    padding: 0.8rem 1.5rem;
    background: #f05835;
    color: #fff;
    border: 3px solid #392634;
    border-radius: 25px;
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    box-shadow: 0 4px 0 #392634;
    position: relative;
    top: 0;
}

.art-pills .filter-pill:hover {
    top: 2px;
    box-shadow: 0 2px 0 #392634;
    transform: scale(1.05);
    background: #c9b4c8;
}

.art-pills .filter-pill.active {
    background: #392634;
    color: #fff;
    top: 4px;
    box-shadow: 0 0 0 #392634, 0 0 20px rgba(57, 38, 52, 0.6);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 #392634, 0 0 20px rgba(133, 163, 128, 0.6); }
    50% { box-shadow: 0 0 0 #392634, 0 0 30px rgba(133, 163, 128, 0.9); }
}

.art-description {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    border: 4px dashed #85a380;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-top: 1rem;
}

.sparkles {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.art-description .filter-heading {
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #333;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 0 rgba(133, 163, 128, 0.3);
}

.art-description p {
    color: #555;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Featured Grid - Playful Card Layout */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

/* Horizontal scrolling variant for featured designs (used on homepage) */
.featured-scroll {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding: 1rem 0 1.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.featured-scroll .design-card {
    flex: 0 0 auto;
    min-width: 320px;
    max-width: 420px;
}

/* Keep image heights consistent in the scrolling layout */
.featured-scroll .design-image {
    height: 360px !important;
    aspect-ratio: auto !important;
}

.featured-scroll .design-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.featured-scroll .design-card { scroll-snap-align: center; }

/* Scroll control buttons */
.featured-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(58,37,55,0.88);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 30;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.featured-scroll-prev { left: 12px; }
.featured-scroll-next { right: 12px; }
.featured-scroll-btn:focus { outline: 3px solid rgba(133,163,128,0.25); }

/* Make the section host positioned so controls can be absolute */
#selected-work { position: relative; }

@media (max-width: 900px) {
    .featured-scroll .design-card { min-width: 280px; }
    .featured-scroll .design-image { height: 300px !important; }
}

@media (max-width: 640px) {
    .featured-scroll .design-card { min-width: 240px; }
    .featured-scroll .design-image { height: 220px !important; }
}

.featured-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15),
                0 -4px 0 rgba(255, 193, 7, 0.3) inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 5px solid #fff;
    position: relative;
    transform: rotate(0deg);
}

.featured-card:nth-child(odd) {
    transform: rotate(-2deg);
}

.featured-card:nth-child(even) {
    transform: rotate(2deg);
}

.featured-card:hover {
    transform: rotate(0deg) translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25),
                0 0 0 5px #85a380,
                0 0 20px rgba(133, 163, 128, 0.5);
    z-index: 10;
}

.featured-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
}

/* Featured Image with Fun Art Border - BIG and PROMINENT */
.featured-image {
    position: relative;
    padding-top: 120%;
    overflow: hidden;
    background: #c9b4c8;
    border-radius: 20px;
}

.featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 157, 0.3) 0%, 
        rgba(79, 172, 254, 0.3) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.featured-card:hover .featured-image::before {
    opacity: 1;
    animation: colorWave 3s ease-in-out infinite;
}

@keyframes colorWave {
    0%, 100% { 
        background: linear-gradient(135deg, rgba(240, 88, 53, 0.3) 0%, rgba(133, 163, 128, 0.3) 100%);
    }
    33% { 
        background: linear-gradient(135deg, rgba(133, 163, 128, 0.3) 0%, rgba(201, 180, 200, 0.3) 100%);
    }
    66% { 
        background: linear-gradient(135deg, rgba(201, 180, 200, 0.3) 0%, rgba(57, 38, 52, 0.3) 100%);
    }
}

.featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1);
}

.featured-card:hover .featured-image img {
    transform: scale(1.15) rotate(3deg);
    filter: brightness(1.1) saturate(1.2);
}

/* Playful Tags - VISIBLE by default */
.featured-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
    transition: all 0.4s ease;
    opacity: 1;
}

.featured-card:hover .featured-tags {
    transform: translateY(-5px) rotate(-3deg);
    opacity: 0;
}

.tag {
    padding: 0.6rem 1.2rem;
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.tag-category {
    background: #f05835;
    color: #fff;
}

.tag-room {
    background: #c9b4c8;
    color: #392634;
}

.featured-card:hover .tag {
    transform: scale(1.1);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

/* ============================================
   HOME PAGE - Featured Cards Hover Design
   ============================================ */

/* Home Featured Card - Full Overlay with Gradient Background */
.home-featured-card .featured-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(to bottom, rgba(57, 38, 52, 0.75) 0%, rgba(57, 38, 52, 0.95) 100%);
    border-radius: 20px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.home-featured-card:hover .featured-content {
    opacity: 1;
    transform: scale(1);
}

.home-featured-card .featured-title {
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 1.25rem 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.home-featured-card:hover .featured-title {
    color: #f05835;
    transform: translateY(-5px);
}

.home-featured-card .featured-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.home-featured-card .meta-location,
.home-featured-card .meta-size {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.home-featured-card .featured-description {
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-featured-card .btn-view-story {
    width: 100%;
    padding: 1rem;
    background: #f05835;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 25px;
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    top: 0;
}

.home-featured-card .btn-view-story:hover {
    top: 2px;
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.3);
    background: #85a380;
    transform: scale(1.02);
}

/* ============================================
   GALLERY PAGE - Featured Cards Hover Design
   ============================================ */

/* Gallery Featured Card - Bottom Overlay Only */
.gallery-featured-card .featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 70%, rgba(0, 0, 0, 0) 100%);
    border-radius: 0 0 20px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 8;
    overflow: hidden;
}

.gallery-featured-card:hover .featured-content {
    opacity: 1;
    transform: translateY(0);
}

.gallery-featured-card .featured-title {
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 0.75rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-featured-card:hover .featured-title {
    color: #85a380;
}

.gallery-featured-card .featured-meta {
    display: flex;
    gap: 0.75rem;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-featured-card .meta-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Gallery Featured Details (below image) */
.gallery-featured-card .featured-details {
    padding: 1.5rem;
    background: #fff;
    border-radius: 0 0 20px 20px;
    transition: all 0.3s ease;
}

.gallery-featured-card:hover .featured-details {
    background: #f9f9f9;
}

.gallery-featured-card .featured-details .featured-description {
    color: #555;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-featured-card .featured-link-text {
    color: #392634;
    font-family: 'Fredoka One', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.gallery-featured-card:hover .featured-link-text {
    color: #f05835;
    gap: 1rem;
}

/* Generic fallback styles (if no specific class) */
.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
    border-radius: 0 0 20px 20px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 8;
    overflow: hidden;
}

.featured-card:hover .featured-content {
    opacity: 1;
}

.featured-content::before {
    display: none;
}

.featured-title {
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 0.8rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.featured-card:hover .featured-title {
    color: #f05835;
    transform: translateX(5px);
}

.featured-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.meta-location,
.meta-size {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.featured-description {
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.2rem 0;
}

.btn-view-story {
    width: 100%;
    padding: 0.9rem;
    background: #392634;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 20px;
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    top: 0;
}

.btn-view-story:hover {
    top: 2px;
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.3);
    background: #f05835;
    transform: scale(1.02);
}

/* Featured Details (generic fallback) */
.featured-details {
    padding: 1.5rem;
    background: #fff;
    border-radius: 0 0 20px 20px;
}

.featured-details .featured-description {
    color: #555;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.featured-link-text {
    color: #392634;
    font-family: 'Fredoka One', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.featured-card:hover .featured-link-text {
    color: #f05835;
    gap: 1rem;
}

.featured-card:hover .btn-view-story {
    animation: wiggleButton 0.5s ease-in-out;
}

@keyframes wiggleButton {
    0%, 100% { transform: scale(1.02) translateX(0); }
    25% { transform: scale(1.02) translateX(-5px); }
    75% { transform: scale(1.02) translateX(5px); }
}

/* Responsive Art Theme Styles */
@media (max-width: 992px) {
    .art-title {
        font-size: 2.5rem;
        font-family: var(--font-primary);
    }
    
    .art-filters {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .featured-designs {
        padding: 5rem 0 6rem;
    }
    
    .art-title {
        font-size: 2rem;
        font-family: var(--font-primary);
    }
    
    .art-filter-group {
        padding: 2rem 1.5rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-card {
        transform: rotate(0deg) !important;
    }
    
    .featured-card:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }
    
    /* Mobile: Show content below image instead of hover overlay */
    .featured-image {
        border-radius: 20px 20px 0 0;
    }
    
    .featured-content {
        position: relative;
        opacity: 1;
        transform: translateY(0);
        background: #fff;
        padding: 1.5rem;
        border-radius: 0 0 20px 20px;
    }
    
    .featured-content::before {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        padding: 2rem 1.5rem;
        background: rgba(0, 0, 0, 0.85);
        border-radius: 20px;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 8;
        max-height: none;
        overflow: visible;
    }
    
    .featured-title {
        color: #fff; /* project card title should appear white */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.45);
    }

    .featured-meta,
    .meta-location,
    .meta-size {
        color: rgba(255, 255, 255, 0.9);
    }

    .featured-description {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .btn-view-story {
        border-color: #333;
        box-shadow: 0 4px 0 #333;
    }
    
    .btn-view-story:hover {
        box-shadow: 0 2px 0 #333;
    }
    
    .featured-tags {
        opacity: 1 !important;
    }
    
    .featured-description {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.featured-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
}

.meta-location,
.meta-size {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.meta-location i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.meta-size {
    font-weight: 400;
    color: rgba(255,255,255,0.92);
    font-size: 0.8125rem;
}

/* View Story Button */
.btn-view-story {
    width: 100%;
    padding: 1rem 0;
    background-color: #C9A961;
    color: #111111;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 12;
    margin-top: 2rem;
}

.btn-view-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #C9A961;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-view-story:hover {
    background-color: #C9A961;
    color: #111111;
    border-color: #C9A961;
}

.btn-view-story:hover::before {
    left: 0;
}

/* Responsive Featured Section */
@media (min-width: 1400px) {
    .featured-grid {
        column-count: 3;
        column-gap: 2rem;
    }
}

@media (max-width: 1200px) {
    .featured-grid {
        column-gap: 1.25rem;
    }
    
    .featured-card {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 968px) {
    .featured-filters {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-grid {
        column-count: 1;
        gap: 2rem;
    }
    
    .featured-designs {
        padding: 5rem 0 6rem;
    }
    
    .featured-card {
        margin-bottom: 2rem;
    }
    
    .featured-content {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.92) 100%);
    }
    
    /* Reset varied heights on mobile */
    .featured-card:nth-child(n) .featured-image { padding-top: 100%; }
}

@media (max-width: 768px) {
    .featured-image {
        padding-top: 100%;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .btn-view-story {
        padding: 1rem 1.5rem;
    }
}

/* ============================================
   DESIGN CARDS & GALLERY
   ============================================ */
.designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.design-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.design-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.design-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.design-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.design-card:hover .design-image img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.design-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(184, 149, 106, 0.9), rgba(139, 111, 71, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.design-card:hover .design-overlay {
    opacity: 1;
}

.view-project {
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.design-info {
    padding: 2rem 1.75rem;
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-cream));
}

.design-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.related-designs .design-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.design-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.design-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

.design-meta i {
    color: var(--primary-color);
}

.design-info p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   GALLERY FILTERS
   ============================================ */
.featured-title,
.featured-card .featured-title,
.design-info h3,
.design-card .design-info h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.45) !important;
}

.featured-card:hover .featured-title {
    color: #f05835 !important;
}

/* Gallery specific: ensure titles in art-gallery-theme section are white */
.art-gallery-theme .featured-title,
.art-gallery-theme .featured-card .featured-title {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.45) !important;
}

.gallery-filters {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}



.filter-toggle {
    display: none;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition-fast);
}

.filter-toggle:hover {
    background-color: var(--primary-dark);
}

.filter-toggle i {
    margin-right: 0.5rem;
}

.filters-content {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.filter-select,
.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
    transition: var(--transition-fast);
}

.filter-select:focus,
.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

.active-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: var(--spacing-sm);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.filter-tag a {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.125rem;
}

.filter-tag a:hover {
    color: var(--accent-color);
}

.results-info {
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background-color: var(--bg-white);
    padding: var(--spacing-xxl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: transparent;
    padding: 3rem 2rem;
    border-radius: 0;
    text-align: center;
    transition: all var(--transition-normal);
    border: none;
    border-bottom: 1px solid transparent;
    position: relative;
    overflow: visible;
}

.service-card::before {
    display: none;
}

.service-card:hover {
    transform: none;
    box-shadow: none;
    border-bottom-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--primary-color);
    border-radius: 0;
    font-size: 2.5rem;
    box-shadow: none;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: none;
    box-shadow: none;
    color: var(--text-dark);
}

.service-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--bg-dark);
    color: var(--text-white);
    position: relative;
    padding: var(--spacing-xxl) 0;
}

.testimonials::before {
    display: none;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: var(--bg-white);
}

.testimonials .section-header::after {
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '❝';
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary-color);
    transform: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.rating i {
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: rgba(255,255,255,0.95);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-author h4 {
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

/* ============================================
   BLOG
   ============================================ */

/* Blog preview (homepage) - match reference design with dark background */
.blog-preview {
    background-color: #f5f5f5;
    padding: 4rem 0 5rem;
    color: #1a1a1a;
}
.blog-preview .container { position: relative; }
.blog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.blog-label { color: #999; letter-spacing: .28em; font-size: .7rem; margin-bottom: .6rem; font-weight: 500; text-transform: uppercase; }
.blog-header h2 { font-family: var(--font-secondary); font-size: 2.5rem; margin-bottom: 0; color: #1a1a1a; font-weight: 400; line-height: 1.2; }
.blog-header .blog-sub { margin: 0; color: #888; font-size: 1rem; display: none; }
.blog-view-all { 
    background: #ffffff; 
    color: #111111; 
    border: 2px solid #111111;
    padding: 0.8rem 2rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: .12em; 
    font-size: 0.75rem; 
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 0 0 #111111;
}
.blog-view-all:hover { 
    background: #111111; 
    color: #ffffff;
    transform: translateY(2px);
    box-shadow: 0 2px 0 0 #111111;
}

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: #ffffff; border: 1px solid #e0e0e0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: all 0.3s ease; overflow: hidden; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-4px); }
.blog-card a { display: block; text-decoration: none; color: inherit; }
.blog-image { position: relative; padding-top: 62%; overflow: hidden; background: #f8f8f8; }
.blog-image img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-image .category-badge { position: absolute; left: 16px; bottom: 16px; background: #111111; color: #fff; padding: 6px 14px; font-size: 0.65rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.blog-content { padding: 1.75rem 1.75rem 2rem; }
.blog-meta { color: #999; font-size: 0.7rem; margin-bottom: .75rem; letter-spacing: .04em; font-weight: 500; text-transform: uppercase; }
.blog-meta span { margin-right: 0.75rem; }
.blog-content h3 { font-family: var(--font-secondary); font-size: 1.25rem; color: #1a1a1a; margin-bottom: .75rem; font-weight: 500; line-height: 1.4; transition: color 0.3s ease; }
.blog-card:hover .blog-content h3 { color: var(--accent-gold, #c9a961); }
.blog-content p { color: #666; margin-bottom: 0; line-height: 1.6; font-size: 0.9rem; }
.read-more { color: #1a1a1a; font-weight: 600; text-transform: uppercase; font-size: 0.8rem; display: none; }

.blog-section {
    background-color: var(--bg-cream);
}

@media (max-width: 992px) {
    .blog-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .blog-header h2 { font-size: 2rem; }
}
@media (max-width: 720px) {
    .blog-preview { padding: 3rem 0 4rem; }
    .blog-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .blog-header h2 { font-size: 1.8rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-view-all { align-self: stretch; text-align: center; }
    .blog-content { padding: 1.5rem; }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: var(--bg-dark);
    color: var(--text-white);
    text-align: center;
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta::before {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    color: var(--text-white);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
    transform: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-to-top:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    transform: none;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-wrapper {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-link {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.page-link:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.page-link.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.page-dots {
    color: var(--text-muted);
}

/* ============================================
   NO RESULTS
   ============================================ */
.no-results {
    text-align: center;
    padding: var(--spacing-xl);
}

.no-results i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.no-results h3 {
    margin-bottom: var(--spacing-sm);
}

.no-results p {
    margin-bottom: var(--spacing-md);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-md);
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-cta {
        margin-left: 0;
        width: 100%;
    }
    
    .hero {
        margin-top: 70px;
    }
    
    .designs-grid,
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .designs-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-toggle {
        display: flex;
    }
    
    .filters-content {
        display: none;
        flex-direction: column;
        margin-top: var(--spacing-sm);
    }
    
    .filters-content.active {
        display: flex;
    }
    
    .filter-item {
        width: 100%;
    }
    
    .filter-actions {
        flex-direction: column;
    }
}

/* ============================================
   DESIGN DETAIL PAGE
   ============================================ */
.design-detail {
    padding: var(--spacing-lg) 0;
}

/* Page title and metadata section */
.page-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.page-main-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-meta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    padding: 0.5rem 0;
}

.meta-badge i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.page-actions {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

/* Page action buttons (Print / Inquire) — ensure clear contrast */
.page-actions .btn {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    border-radius: 2px;
    box-shadow: none;
}
.page-actions .btn-secondary {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.08);
}
.page-actions .btn-secondary:hover {
    background: #f6f6f6;
}
.page-actions .btn-primary {
    background: var(--primary-color);
    color: #111111;
    border: 1px solid var(--primary-color);
    box-shadow: 0 6px 18px rgba(201,169,97,0.12);
}
.page-actions .btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Page header styles for design detail */
.design-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.design-title-section h1 {
    margin-bottom: var(--spacing-sm);
}

.design-meta-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.meta-item i {
    color: var(--primary-color);
}

.meta-item a:hover {
    color: var(--primary-color);
}

.design-actions {
    display: flex;
    gap: 0.75rem;
}

.design-main-image {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.design-main-image img {
    width: 100%;
    height: auto;
}

.design-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.design-main-content {
    min-width: 0;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.design-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.client-info {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-sm);
}
/* Project info card (right column) */
.project-info-card {
    background: #1a1a1a;
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 120px;
}
.project-info-card .project-info-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: -0.01em;
}
.project-info-row {
    margin-bottom: 0.5rem;
}
.project-info-row .label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    text-transform: capitalize;
    letter-spacing: 0.02em;
    font-weight: 400;
    margin-bottom: 0.25rem;
}
.project-info-value {
    font-size: 1rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.project-info-value:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.project-info-cta { margin-top: 1.25rem; }

/* Gallery layout for project images */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.project-gallery a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    aspect-ratio: 4/3;
    width: 100%;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
}
.project-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.4s cubic-bezier(0.16,1,0.3,1);
}
.project-gallery a:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(201,169,97,0.18), 0 2px 12px rgba(0,0,0,0.12);
}
.project-gallery a:hover img {
    transform: scale(1.08) rotate(-2deg);
    filter: brightness(1.08) saturate(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .design-content-grid { grid-template-columns: 1fr; }
    .project-info-card { position: static; margin-bottom: 2rem; }
    .project-gallery { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 600px) {
    .page-title-section { flex-direction: column; }
    .page-actions { width: 100%; }
}

/* Materials List */
.materials-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.material-group h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.material-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.material-item {
    padding: var(--spacing-sm);
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
}

.material-brand {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.material-color {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.material-notes {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonials in Detail Page */
.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.testimonial-item {
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.testimonial-item .rating {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.testimonial-item .rating i.active {
    color: var(--primary-color);
}

.testimonial-item .rating i:not(.active) {
    color: var(--border-color);
}

.testimonial-item .testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-item .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-item .testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Sidebar */
.design-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sidebar-widget {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
}

.cta-widget h3 {
    color: var(--bg-white);
}

.cta-widget p {
    color: rgba(255,255,255,0.9);
}

/* Sidebar-specific CTA styling: use site text color for improved contrast */
.sidebar-widget.cta-widget h3,
.sidebar-widget.cta-widget p {
    color: #3a2537;
}

/* Make sidebar CTA a light card so dark text is readable */
.sidebar-widget.cta-widget {
    background: #ffffff;
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.share-widget .share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--bg-white);
    transition: var(--transition-fast);
}

.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.pinterest { background-color: #bd081c; }
.share-btn.email { background-color: #666; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-widget .info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: var(--text-dark);
}

.info-value {
    color: var(--text-light);
}

.related-designs {
    margin-top: var(--spacing-xl);
}

.related-designs h2 {
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
    padding: var(--spacing-lg) 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.story-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.story-image img {
    width: 100%;
    height: auto;
}

.story-content h2 {
    margin-bottom: var(--spacing-md);
}

.story-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* Philosophy Section */
.philosophy {
    background-color: var(--bg-light);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.philosophy-item {
    text-align: center;
    padding: var(--spacing-md);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 2rem;
}

.philosophy-item h3 {
    margin-bottom: var(--spacing-sm);
}

/* Process Timeline */
.process {
    background-color: var(--bg-white);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--spacing-md);
    align-items: start;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    margin-bottom: var(--spacing-sm);
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
}

/* Team Section */
.team {
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.member-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--spacing-sm);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    opacity: 0;
    transition: var(--transition-normal);
}

.team-member:hover .member-social {
    opacity: 1;
}

.member-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.member-social a:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.member-info {
    padding: var(--spacing-md);
    text-align: center;
}

.member-info h3 {
    margin-bottom: 0.25rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Awards Section */
.awards {
    background-color: var(--bg-white);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.award-item {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.award-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.award-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.award-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   BLOG PAGES
   ============================================ */
.blog-layout,
.post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-lg);
}

.blog-main,
.post-main {
    min-width: 0;
}

/* Featured Post */
.featured-post {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--bg-white);
}

.featured-image {
    position: relative;
    padding-top: 50%;
    overflow: hidden;
}

.featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.featured-content {
    padding: var(--spacing-lg);
}

.featured-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-list li a {
    display: block;
    padding: 0.75rem 1rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.category-list li a:hover,
.category-list li a.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-posts li a {
    display: flex;
    gap: 1rem;
    transition: var(--transition-fast);
}

.popular-posts li a:hover {
    opacity: 0.8;
}

.popular-posts img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.popular-posts h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.popular-posts span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
}

.newsletter-widget h3 {
    color: var(--bg-white);
}

.newsletter-widget p {
    color: rgba(255,255,255,0.9);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
}

.newsletter-form input {
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius-sm);
}

/* Blog Post Detail */
.blog-post-detail {
    padding: var(--spacing-lg) 0;
}

.post-header {
    margin-bottom: var(--spacing-lg);
}

.post-header h1 {
    margin-bottom: var(--spacing-md);
}

/* Post title and meta text color: ensure consistency with site palette */
.post-header h1 {
    color: #3a2537;
}
.post-meta .meta-left .meta-item {
    color: #3a2537; /* author, publish date, views */
}
.post-meta .meta-left .meta-item i {
    color: #3a2537; /* icon color matching text */
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
}

.meta-left {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tag {
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.category-tag:hover {
    background-color: var(--primary-dark);
}

.post-featured-image {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.post-footer {
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
}

.share-section h3 {
    margin-bottom: var(--spacing-md);
}
/* Make "Share This Article" heading match site text color */
.share-section h3 { color: #3a2537; }

.share-section .share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-section .share-btn {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    color: #3a2537;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(58,37,55,0.08);
    background: rgba(255,255,255,0.95);
    transition: all .18s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    /* Override global circular sizing for share-btn used elsewhere */
    width: auto;
    height: auto;
    min-height: 40px;
}

.share-section .share-btn i {
    font-size: 1.05rem;
    color: inherit;
    display: inline-block;
}

.share-section .share-btn:hover {
    transform: translateY(-3px);
    background: #3a2537;
    color: #fff;
    border-color: #3a2537;
    box-shadow: 0 10px 30px rgba(58,37,55,0.12);
}

.author-widget {
    text-align: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 3rem;
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

.author-info p {
    font-size: 0.95rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: var(--spacing-lg) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
}

.contact-form-wrapper h2 {
    margin-bottom: var(--spacing-sm);
}

.contact-form-wrapper > p {
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--accent-color);
}

.error-message {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--spacing-md);
    background-color: var(--primary-light);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
}

.info-box i {
    color: var(--primary-dark);
    font-size: 1.25rem;
}

/* Alert Messages */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.alert i {
    margin-right: 0.5rem;
}

/* Contact Info */
.contact-info-card,
.business-hours-card,
.quick-links-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
}

.detail-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 1.25rem;
}

.detail-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.detail-content p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links-contact h4 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-links li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.quick-links li a:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.quick-links i {
    color: var(--primary-color);
}

.quick-links li a:hover i {
    color: var(--bg-white);
}

/* Map Section */
.map-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-lg) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.faq-item {
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item i {
    color: var(--primary-color);
}

.faq-item p {
    font-size: 0.95rem;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE - ADDITIONAL PAGES
   ============================================ */
@media (max-width: 968px) {
    .design-content-grid,
    .blog-layout,
    .post-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .design-header {
        flex-direction: column;
    }
    
    .design-actions {
        width: 100%;
    }
    
    .design-actions .btn {
        flex: 1;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } } @keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }


.scroll-to-top.visible { opacity: 1; visibility: visible; }

/* ============================================
   HERO SLIDER STYLES
   ============================================ */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Hero Slider Navigation */
.hero-slider-nav {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
    background: rgba(17, 17, 17, 0.5);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero-nav-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.hero-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.hero-slider-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* Responsive Hero Slider */
@media (max-width: 768px) {
    .hero-slider-nav {
        bottom: 2rem;
        padding: 0.75rem 1.5rem;
        gap: 1rem;
    }
    
    .hero-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .hero-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-dot.active {
        width: 24px;
    }
}

/* Hero arrow SVG fallback - show SVG on small screens and hide font-icon there */
.hero-svg-icon {
    display: none;
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .hero-nav-arrow i {
        display: none; /* hide Font Awesome icon on small screens where it may not render */
    }
    .hero-svg-icon {
        display: block;
    }
    .hero-nav-arrow {
        width: 44px;
        height: 44px;
    }
    .hero-prev { left: 1rem; }
    .hero-next { right: 1rem; }
}

/* Ensure SVG fill follows the button color and is visible in production
   even if other rules override inherited color */
.hero-nav-arrow {
    color: rgba(255,255,255,0.95);
}
.hero-svg-icon,
.hero-svg-icon path {
    display: block;
    fill: currentColor !important;
}

/* Production-safe fallback: use SVG data-URI as pseudo-elements on small screens.
   Some production pipelines may alter inline SVGs; data-URI backgrounds are robust. */
@media (max-width: 768px) {
    .hero-nav-arrow .hero-svg-icon { display: none !important; }

    .hero-nav-arrow::before {
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .hero-prev::before {
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/></svg>");
    }

    .hero-next::before {
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M8.59 16.59L10 18l6-6-6-6-1.41 1.41L13.17 12z'/></svg>");
    }
}

/* ============================================
   GLOBAL RESPONSIVE FONT ENFORCEMENT
   Ensure Creato Display is used across all breakpoints
   ============================================ */
@media (max-width: 1200px) {
    /* Apply Creato Display to core typographic elements on medium screens
       Do NOT use !important here so icon fonts (Font Awesome) keep their own font-family. */
    body, h1, h2, h3, h4, h5, h6, p, span, .section-title, .hero-title {
        font-family: var(--font-primary);
    }
}

@media (max-width: 768px) {
    /* Apply to main text elements on small screens without affecting icon font faces */
    body, h1, h2, h3, h4, h5, h6, p, span, .section-title, .hero-title, .btn, .card, .logo-text, .footer, header, nav {
        font-family: var(--font-primary);
    }
}

/* ============================================
   Blog Section Styles - Professional Redesign
   ============================================ */
.blog-section {
    background: #E9E6DF;
    padding: 5.5rem 0;
}
.blog-section .container { max-width: 1200px; }
.blog-layout { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }

/* Force local font in blog area to guarantee Creato Display is used
   Exclude icon elements (i, svg) and elements using Font Awesome classes so icons render correctly */
.blog-section { font-family: var(--font-primary); }
.blog-section *:not(i):not(svg):not([class*="fa"]) {
    font-family: var(--font-primary) !important;
}

.blog-main .featured-post {
    display: block;
    background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0));
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-bottom: 2.5rem;
}
.blog-main .featured-post a { display: flex; gap: 1.5rem; align-items: stretch; text-decoration: none; color: inherit; }
.featured-image { flex: 0 0 420px; position: relative; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-badge { position: absolute; top: 1rem; left: 1rem; background: var(--primary-color); color: #fff; padding: 0.35rem 0.6rem; border-radius: 6px; font-weight:700; font-size:0.9rem; }
.featured-content { padding: 2rem; display: flex; flex-direction: column; justify-content: center; /* override generic absolute/hidden featured-content */
    position: relative !important;
    opacity: 1 !important;
    background: transparent !important;
    z-index: auto !important;
}
.featured-content h2 { margin: 0 0 0.75rem; font-size: 2rem; color: #2b2b2b; }
.featured-content p { color: #4b4b4b; margin-bottom: 1rem; }
.featured-content .blog-meta { display:flex; gap:1rem; color:#7a7a7a; font-size:0.9rem; margin-bottom:1rem; }
.read-more { margin-top: auto; color: var(--primary-color); font-weight:600; display:inline-flex; gap:0.5rem; align-items:center; }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.06); transition: transform 220ms ease, box-shadow 220ms ease; }
.blog-card a { display: flex; gap: 1rem; color: inherit; text-decoration: none; }
.blog-image { flex: 0 0 180px; overflow: hidden; }
.blog-image img { width: 180px; height: 140px; object-fit: cover; display:block; }
.blog-content { padding: 1.25rem 1rem; display:flex; flex-direction:column; }
.blog-content h3 { margin:0 0 0.5rem; font-size:1.1rem; color:#2b2b2b; }
.blog-content p { margin:0 0 1rem; color:#666; font-size:0.95rem; }
.blog-meta { font-size:0.9rem; color:#8a8a8a; display:flex; gap:0.75rem; margin-bottom:0.75rem; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); }

.blog-sidebar { background: transparent; }
.sidebar-widget { background: #fff; padding: 1.25rem; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); margin-bottom: 1.25rem; }
.sidebar-widget h3 { margin-top:0; margin-bottom:0.75rem; font-size:1.05rem; }
.popular-posts li { display:flex; gap:0.75rem; align-items:center; margin-bottom:0.75rem; }
.popular-posts img { width:64px; height:48px; object-fit:cover; border-radius:6px; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .featured-image { flex: 0 0 100%; }
    .featured-post a { flex-direction: column; }
    .featured-image img { height: 340px; }
}

/* List layout styling for blog left column */
.blog-list { display: flex; flex-direction: column; gap: 2rem; }
.blog-list-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.blog-list-item a { display: flex; gap: 1.25rem; text-decoration: none; color: inherit; align-items: stretch; }
.blog-list-image { flex: 0 0 420px; max-width: 420px; overflow: hidden; }
.blog-list-image img { width: 420px; height: 260px; object-fit: cover; display:block; }
.blog-list-content { padding: 1.25rem 1.25rem; display:flex; flex-direction:column; }
.blog-list-content .blog-meta { font-size: 0.9rem; color: #8a8a8a; margin-bottom: 0.5rem; display:flex; gap:1rem; }
.list-title { font-size: 1.35rem; color: #2b2b2b; margin: 0 0 .5rem; }
.list-excerpt { margin: 0 0 1rem; color: #666; }
.list-actions { margin-top: auto; }
.btn.btn-outline { display: inline-block; padding: 0.6rem 1rem; border: 1px solid #cfc9bf; color: #3a2537; border-radius: 6px; background: transparent; font-weight:600; }

@media (max-width: 992px) {
    .blog-list-item a { flex-direction: column; }
    .blog-list-image { flex: 0 0 100%; max-width: 100%; }
    .blog-list-image img { width: 100%; height: 320px; }
}

/* Stronger overrides to ensure layout applies even if other CSS conflicts exist */
section.blog-section, .blog-section {
    background: #E9E6DF !important;
}
.blog-section .container { max-width: 1200px; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.blog-section .blog-layout {
    display: grid !important;
    grid-template-columns: 1fr 340px !important;
    gap: 2.5rem !important;
    align-items: start;
}
.blog-section .blog-main { width: 100%; }
.blog-section .blog-sidebar { width: 340px; }

/* Ensure featured post spans full width of main column */
.blog-main .featured-post { width: 100%; }
.blog-main .featured-post .featured-image { flex: 0 0 420px; }

/* If grid fails, fallback to flex for broad compatibility */
@supports (display: grid) {
    /* grid is supported - styles above apply */
}
@supports not (display: grid) {
    .blog-section .blog-layout { display: flex !important; gap: 2rem; }
    .blog-section .blog-main { flex: 1; }
    .blog-section .blog-sidebar { flex: 0 0 340px; }
}

/* Sidebar widgets stick to top for better visual flow */
.blog-sidebar { position: relative; }
.sidebar-widget { position: relative; }

/* Improve spacing for mobile */
@media (max-width: 992px) {
    .blog-section .container { padding-left: 1rem; padding-right: 1rem; }
    .blog-section .blog-layout { grid-template-columns: 1fr !important; }
    .blog-sidebar { width: 100%; }
    .sidebar-widget { margin-bottom: 1rem; }
    .featured-image img { height: auto; }
}
/* Blog styles have been moved to css/blog.css and are loaded on the blog page */

/* ============================================
   OES SHARED FOOTER (includes/footer.php)
   Single source of truth — edit here to update
   the footer across all pages at once.
   ============================================ */
:root {
    --bg-offwhite: #EEEBE3;
    --brand-green: #85A380;
    --brand-orange: #F15A38;
    --brand-lilac: #C2B5D3;
    --brand-dark: #3A2537;
    --font-pdf: 'Inter', sans-serif;
    --text-medium: #555555;
}

.oes-footer {
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    background: var(--bg-offwhite);
    position: relative;
    padding-bottom: 8rem;
    border-top: 2px solid var(--brand-dark);
}

.oes-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oes-footer .footer-logo svg {
    width: 120px;
}

.oes-footer .footer-links-col {
    display: flex;
    gap: 4rem;
}

.oes-footer .footer-col h5 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: var(--text-medium);
}

.oes-footer .footer-col ul {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 2.2;
}

.oes-footer .footer-col a {
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.oes-footer .footer-col a:hover {
    color: var(--brand-orange);
}

.oes-footer .footer-newsletter h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-pdf);
    color: var(--brand-dark);
}

.oes-footer .footer-newsletter p {
    text-align: left;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.oes-footer .scalloped-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: radial-gradient(circle at 30px 0, transparent 30px, var(--brand-green) 31px);
    background-size: 60px 100%;
}

@media (max-width: 900px) {
    .oes-footer {
        grid-template-columns: 1fr;
        padding: 2rem;
        padding-bottom: 5rem;
    }
    .oes-footer .footer-links-col {
        gap: 2rem;
    }
}
