/* ============================================
   Legacy Wallpaper Creations - Main Stylesheet
   Smoked Plum & Deep Stone Gray Palette
   ============================================ */

/* Google Fonts Import - Unique combination */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS Variables - Smoked Plum Color Palette
   ============================================ */
:root {
    /* Primary Colors - Smoked Plum Theme */
    --smoked-plum: #4a3545;
    --deep-plum: #362838;
    --plum-light: #6b5266;
    --deep-stone: #4d4a47;
    --stone-gray: #6e6a66;
    --pale-mineral: #f0ece6;
    --mineral-light: #f7f5f1;
    --warm-offwhite: #ede8e2;
    --soft-graphite: #5c5856;
    
    /* Text Colors */
    --text-dark: #2d2329;
    --text-medium: #5a4e56;
    --text-light: #f0ece6;
    --text-muted: #8a7f86;
    --text-plum-gray: #4a3f46;
    
    /* Background Colors */
    --bg-primary: var(--pale-mineral);
    --bg-dark: var(--smoked-plum);
    --bg-stone: var(--deep-stone);
    --bg-light: var(--mineral-light);
    
    /* Accent */
    --accent: var(--soft-graphite);
    --accent-hover: #4a4642;
    
    /* Borders */
    --border-light: rgba(74, 53, 69, 0.15);
    --border-medium: rgba(74, 53, 69, 0.3);
    
    /* Typography */
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1340px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(45, 35, 41, 0.08);
    --shadow-md: 0 8px 30px rgba(45, 35, 41, 0.12);
    --shadow-lg: 0 20px 60px rgba(45, 35, 41, 0.18);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

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

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 12px; }

p { margin-bottom: 18px; }

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.section-header .subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--plum-light);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--deep-plum);
    border-bottom: 1px solid rgba(240, 236, 230, 0.08);
    transition: var(--transition-medium);
}

.site-header.scrolled {
    background: rgba(54, 40, 56, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.logo a span {
    color: var(--plum-light);
    font-style: italic;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav > li {
    position: relative;
}

.main-nav > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 28px 18px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(240, 236, 230, 0.85);
    transition: var(--transition-fast);
}

.main-nav > li > a:hover {
    color: var(--text-light);
}

.main-nav > li > a .arrow {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.main-nav > li:hover > a .arrow {
    transform: rotate(180deg);
}

/* Dropdown Menus - Wallpaper Unroll Animation */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--deep-plum);
    border: 1px solid rgba(240, 236, 230, 0.08);
    border-top: 3px solid var(--plum-light);
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
    overflow: hidden;
}

.main-nav > li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

.dropdown-menu li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.main-nav > li:hover > .dropdown-menu li {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for dropdown items */
.dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
.dropdown-menu li:nth-child(2) { transition-delay: 0.1s; }
.dropdown-menu li:nth-child(3) { transition-delay: 0.15s; }
.dropdown-menu li:nth-child(4) { transition-delay: 0.2s; }
.dropdown-menu li:nth-child(5) { transition-delay: 0.25s; }
.dropdown-menu li:nth-child(6) { transition-delay: 0.3s; }
.dropdown-menu li:nth-child(7) { transition-delay: 0.35s; }
.dropdown-menu li:nth-child(8) { transition-delay: 0.4s; }
.dropdown-menu li:nth-child(9) { transition-delay: 0.45s; }
.dropdown-menu li:nth-child(10) { transition-delay: 0.5s; }
.dropdown-menu li:nth-child(11) { transition-delay: 0.55s; }

.dropdown-menu a {
    display: block;
    padding: 13px 24px;
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(240, 236, 230, 0.75);
    border-bottom: 1px solid rgba(240, 236, 230, 0.05);
    transition: all 0.25s ease;
}

.dropdown-menu a:hover {
    background: rgba(107, 82, 102, 0.3);
    color: var(--text-light);
    padding-left: 32px;
}

/* Header Contact */
.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contact a {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(240, 236, 230, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.header-contact a:hover {
    color: var(--text-light);
}

.header-contact .icon {
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 40px) 0 80px;
    background: var(--deep-plum);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero/hero-cover.webp') center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--deep-plum), transparent);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--text-light);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(107, 82, 102, 0.4);
    border: 1px solid rgba(240, 236, 230, 0.15);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--pale-mineral);
    margin-bottom: 28px;
}

.hero-text h1 {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-text h1 em {
    font-family: var(--font-heading);
    font-style: italic;
    color: rgba(240, 236, 230, 0.7);
}

.hero-text p {
    font-size: 1.05rem;
    color: rgba(240, 236, 230, 0.75);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 520px;
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(240, 236, 230, 0.8);
}

.hero-features .feature .check {
    color: var(--plum-light);
    font-size: 1rem;
}

/* Hero Form */
.hero-form-wrapper {
    background: var(--pale-mineral);
    padding: 45px 40px 55px;
    border-radius: 0;
    position: relative;
    z-index: 2;
}

.hero-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 28px;
}

/* ============================================
   Contact Form Styles
   ============================================ */
.feedback-form-container {
    width: 100%;
}

.feedback-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 25px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 0;
    transition: var(--transition-fast);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--smoked-plum);
    box-shadow: 0 0 0 3px rgba(74, 53, 69, 0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 15px;
}

.contact-form .form-submit {
    margin-top: 5px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    background: var(--smoked-plum);
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
    margin-bottom: 15px;
}

.submit-btn:hover {
    background: var(--deep-plum);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(1px);
}

#form-success {
    text-align: center;
    padding: 30px;
}

#form-success p {
    color: var(--text-medium);
    font-size: 1rem;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-plum {
    background: var(--smoked-plum);
    color: var(--text-light);
}

.section-plum h2,
.section-plum h3 {
    color: var(--text-light);
}

.section-plum p {
    color: rgba(240, 236, 230, 0.8);
}

.section-plum .subtitle {
    color: rgba(240, 236, 230, 0.6);
}

.section-stone {
    background: var(--deep-stone);
    color: var(--text-light);
}

.section-stone h2,
.section-stone h3 {
    color: var(--text-light);
}

.section-stone p {
    color: rgba(240, 236, 230, 0.8);
}

.section-stone .subtitle {
    color: rgba(240, 236, 230, 0.6);
}

.section-mineral {
    background: var(--pale-mineral);
}

.section-light {
    background: var(--mineral-light);
}

/* ============================================
   Services Grid
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 3/4;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 25px 30px;
    background: linear-gradient(to top, rgba(54, 40, 56, 0.95), transparent);
    transition: var(--transition-medium);
}

.service-card:hover .service-card-overlay {
    padding-bottom: 40px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.85rem;
    color: rgba(240, 236, 230, 0.7);
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-card .card-link {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(240, 236, 230, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card .card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-card:hover .card-link::after {
    transform: translateX(5px);
}

/* ============================================
   Gallery / Portfolio
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 18px;
    background: linear-gradient(to top, rgba(45, 35, 41, 0.9), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-caption h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.gallery-caption p {
    font-size: 0.78rem;
    color: rgba(240, 236, 230, 0.7);
    margin-bottom: 0;
}

/* ============================================
   Locations List (Text Only)
   ============================================ */
.locations-list-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.location-list-item {
    display: block;
    padding: 30px 20px;
    background: rgba(240, 236, 230, 0.06);
    border: 1px solid rgba(240, 236, 230, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.location-list-item:hover {
    background: rgba(107, 82, 102, 0.3);
    border-color: rgba(107, 82, 102, 0.5);
    transform: translateY(-4px);
}

.location-list-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 6px;
    transition: var(--transition-fast);
}

.location-list-item:hover h3 {
    color: var(--pale-mineral);
}

.location-list-item p {
    font-size: 0.82rem;
    color: rgba(240, 236, 230, 0.5);
    margin-bottom: 0;
    transition: var(--transition-fast);
}

.location-list-item:hover p {
    color: rgba(240, 236, 230, 0.75);
}

/* ============================================
   Content Grid (SEO Section)
   ============================================ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}

.content-main h2 {
    margin-bottom: 24px;
}

.content-main h3 {
    margin-top: 30px;
    margin-bottom: 14px;
}

.content-main p {
    color: var(--text-medium);
    line-height: 1.85;
}

.content-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 30px);
}

.sidebar-box {
    padding: 35px 28px;
    background: var(--smoked-plum);
    margin-bottom: 25px;
}

.sidebar-box h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 18px;
}

.sidebar-box ul li {
    margin-bottom: 10px;
}

.sidebar-box ul li a {
    font-size: 0.9rem;
    color: rgba(240, 236, 230, 0.75);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    transition: var(--transition-fast);
}

.sidebar-box ul li a:hover {
    color: var(--text-light);
    padding-left: 8px;
}

.sidebar-box ul li a::before {
    content: '→';
    font-size: 0.8rem;
    color: var(--plum-light);
}

.sidebar-box p {
    font-size: 0.92rem;
    color: rgba(240, 236, 230, 0.8);
}

.sidebar-box .phone-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 12px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn:active {
    transform: translateY(2px);
}

.btn-plum {
    background: var(--smoked-plum);
    color: var(--text-light);
}

.btn-plum:hover {
    background: var(--deep-plum);
}

.btn-light {
    background: var(--pale-mineral);
    color: var(--text-dark);
}

.btn-light:hover {
    background: var(--warm-offwhite);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(240, 236, 230, 0.3);
}

.btn-outline:hover {
    background: rgba(240, 236, 230, 0.1);
    border-color: rgba(240, 236, 230, 0.5);
}

/* ============================================
   Map Section
   ============================================ */
.map-section {
    padding: 80px 0;
    background: var(--deep-stone);
}

.map-section .section-header h2 {
    color: var(--text-light);
}

.map-section .section-header p {
    color: rgba(240, 236, 230, 0.7);
}

.map-section .subtitle {
    color: rgba(240, 236, 230, 0.5);
}

.map-container {
    width: 100%;
    height: 450px;
    filter: grayscale(40%) contrast(0.95);
    transition: filter 0.5s ease;
}

.map-container:hover {
    filter: grayscale(0%) contrast(1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 90px 0;
    background: var(--smoked-plum);
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(240, 236, 230, 0.75);
    max-width: 600px;
    margin: 0 auto 35px;
    font-size: 1.05rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--deep-plum);
    padding: 70px 0 0;
    color: var(--text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(240, 236, 230, 0.08);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 22px;
}

.footer-col p {
    font-size: 0.88rem;
    color: rgba(240, 236, 230, 0.6);
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(240, 236, 230, 0.6);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: rgba(240, 236, 230, 0.7);
}

.footer-contact-item .icon {
    font-size: 1rem;
    color: var(--plum-light);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(240, 236, 230, 0.4);
}

.footer-bottom a {
    color: rgba(240, 236, 230, 0.5);
}

.footer-bottom a:hover {
    color: var(--text-light);
}

/* ============================================
   Sticky Quote Button
   ============================================ */
.sticky-quote-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    padding: 15px 30px;
    background: var(--smoked-plum);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-medium);
    max-width: 200px;
    white-space: nowrap;
}

.sticky-quote-btn:hover {
    background: var(--deep-plum);
    transform: translateY(-2px);
    box-shadow: 0 25px 70px rgba(45, 35, 41, 0.25);
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 35, 41, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--pale-mineral);
    padding: 50px 45px;
    max-width: 560px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 1.5rem;
    color: var(--text-medium);
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-dark);
    transform: rotate(90deg);
}

/* ============================================
   Page Header (Inner Pages)
   ============================================ */
.page-header {
    padding: 160px 0 70px;
    background: var(--deep-plum);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 53, 69, 0.3), transparent);
}

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

.page-header h1 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(240, 236, 230, 0.7);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb a {
    font-size: 0.82rem;
    color: rgba(240, 236, 230, 0.5);
}

.breadcrumb a:hover {
    color: var(--text-light);
}

.breadcrumb span {
    font-size: 0.82rem;
    color: rgba(240, 236, 230, 0.3);
    margin: 0 8px;
}

/* ============================================
   About Page Styles
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin-top: 60px;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: rgba(240, 236, 230, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--deep-plum);
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/contact/contact-hero.webp') center/cover no-repeat;
    opacity: 0.3;
}

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

.contact-hero h1 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.contact-hero p {
    color: rgba(240, 236, 230, 0.75);
    font-size: 1.05rem;
    max-width: 550px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
}

.contact-info-panel {
    background: var(--smoked-plum);
    padding: 60px 45px;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.contact-info-item .info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 236, 230, 0.08);
    border: 1px solid rgba(240, 236, 230, 0.12);
    flex-shrink: 0;
    font-size: 1.2rem;
}

.contact-info-item h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(240, 236, 230, 0.5);
    margin-bottom: 6px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-info-item a:hover {
    color: rgba(240, 236, 230, 0.8);
}

.contact-form-panel {
    background: var(--pale-mineral);
    padding: 60px 45px;
}

.contact-form-panel h2 {
    margin-bottom: 8px;
}

.contact-form-panel > p {
    color: var(--text-medium);
    margin-bottom: 30px;
}

/* ============================================
   FAQ Page
   ============================================ */
.faq-item {
    border-bottom: 1px solid var(--border-light);
    padding: 25px 0;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-question::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--plum-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 16px;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* ============================================
   Service Page Detail
   ============================================ */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-detail-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    padding: 35px 25px;
    background: var(--pale-mineral);
    text-align: center;
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card .feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ============================================
   Image Grid (Masonry-like)
   ============================================ */
.image-grid-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.image-grid-masonry img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-grid-masonry img:hover {
    transform: scale(1.03);
}

/* ============================================
   Reveal Animation
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-list-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 70px;
        --header-height: 70px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text { text-align: center; }
    .hero-text p { margin: 0 auto 30px; }
    .hero-features { justify-content: center; }
    
    .hero-form-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-grid.reverse {
        direction: ltr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .locations-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--deep-plum);
        flex-direction: column;
        padding: 20px 0;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav > li > a {
        padding: 14px 30px;
    }
    
    .dropdown-menu {
        position: static;
        border: none;
        border-top: none;
        background: rgba(54, 40, 56, 0.5);
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .dropdown-menu.mobile-open {
        display: block;
    }
    
    .dropdown-menu li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .dropdown-menu a {
        padding-left: 45px;
    }
    
    .header-contact {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 55px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        aspect-ratio: 16/9;
    }
    
    .locations-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-form-wrapper {
        padding: 30px 25px 40px;
    }
    
    .sticky-quote-btn {
        bottom: 15px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .sticky-quote-btn:hover {
        transform: translateX(50%) translateY(-2px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .locations-list-grid {
        grid-template-columns: 1fr;
    }
    
    .location-list-item {
        padding: 22px 16px;
    }
    
    .page-header {
        padding: 130px 0 50px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid-masonry {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        padding: 40px 25px;
    }
    
    .modal-content {
        padding: 35px 25px;
    }
}
