/* Service Area Template Styles - Based on service-area.css */

/* Enhanced CSS Variables */
:root {
    --container-max: 1200px;
    --gold: #E3B55C;
    --text-900: #1a1a1a;
    --text-700: #333;
    --text-600: #555;
    --text-500: #666;
    --text-400: #777;
    --surface-50: #fafafa;
    --surface-100: #f8f9fa;
    --surface-200: #f1f3f4;
    --border-100: #e8eaed;
    --border-200: #dadce0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
    --shadow-card: 0 6px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 100%), 
                url('../assets/images/Hero Image.png') center/cover no-repeat;
    padding: 120px 0 70px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(227,181,92,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.06);
    padding: 6px 12px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.breadcrumb .crumb-sep {
    color: rgba(255,255,255,0.6);
    margin: 0 4px;
}

.breadcrumb span {
    color: #fff;
    font-weight: 600;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.emergency-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    margin-top: 16px;
}

.emergency-phone {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gold), #f4c430);
    border: none;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(227, 181, 92, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
    border: 1px solid transparent;
}

.emergency-phone:hover {
    background: #fff;
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(227, 181, 92, 0.35);
}

/* Main Content Layout */
.main-content {
    padding: 80px 0;
    background: #fff;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Content Sections */
.intro-section,
.services-section,
.why-choose-section,
.service-area-section,
.contact-section-content {
    margin-bottom: 50px;
}

.intro-text {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
}

.content-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    border-left: 4px solid #E3B55C;
    padding-left: 20px;
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.services-list,
.benefits-list {
    list-style: none;
    padding: 0;
}

.services-list li,
.benefits-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    line-height: 1.5;
}

.services-list li:last-child,
.benefits-list li:last-child {
    border-bottom: none;
}

.services-list li strong {
    color: #E3B55C;
    font-weight: 600;
}

.benefits-list li {
    position: relative;
    padding-left: 25px;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E3B55C;
    font-weight: bold;
    font-size: 18px;
}

.internal-link {
    color: #E3B55C;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.internal-link:hover {
    color: #d4a054;
}

.phone-link,
.contact-link {
    color: #E3B55C;
    text-decoration: none;
    font-weight: 600;
}

.phone-link:hover,
.contact-link:hover {
    text-decoration: underline;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.25s ease;
    display: inline-block;
    text-align: center;
    min-width: 180px;
}

.cta-button.primary {
    background: #E3B55C;
    color: #fff;
    border: 2px solid #E3B55C;
}

.cta-button.primary:hover {
    background: #d4a054;
    border-color: #d4a054;
    transform: translateY(-1px);
}

.cta-button.secondary {
    background: transparent;
    color: #E3B55C;
    border: 2px solid #E3B55C;
}

.cta-button.secondary:hover {
    background: #E3B55C;
    color: #fff;
    transform: translateY(-1px);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.emergency-card {
    background: #1A1A1A;
    color: #fff;
    text-align: center;
}

.emergency-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.emergency-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.emergency-button {
    display: block;
    background: #fff;
    color: #1A1A1A;
    padding: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.emergency-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-services {
    list-style: none;
    padding: 0;
}

.sidebar-services li {
    margin-bottom: 12px;
}

.sidebar-services a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.sidebar-services a:hover {
    color: #E3B55C;
}

.sidebar-services a::before {
    content: "→";
    margin-right: 10px;
    color: #E3B55C;
    font-weight: bold;
}

/* Reviews Card */
.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 15px;
}

.star {
    color: #E3B55C;
    font-size: 18px;
}

.star.half {
    position: relative;
    color: #ddd;
}

.star.half::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #E3B55C;
    width: 50%;
    overflow: hidden;
}

.reviews-card p {
    font-style: italic;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.review-author {
    font-size: 12px;
    color: #777;
    font-weight: 600;
}

.team-photo-section {
    text-align: center;
    margin: 50px 0;
}

.team-photo-section img.about-photo {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Emergency card general text */
.emergency-card .card-title,
.emergency-card .card-subtitle {
    color: #ffffff;
    opacity: 0.9;
}

/* Emergency card phone number */
.emergency-card .card-value a,
.emergency-card .card-value a:visited,
.emergency-card .card-value a:active {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
}

/* Hover effect for number */
.emergency-card .card-value a:hover {
    color: #E3B55C;
    text-decoration: underline;
}

/* Layout polish for service-area templates */
:root {
    --container-max: 1200px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --brand-gold: #E3B55C;
    --text-900: #1a1a1a;
    --text-700: #333;
    --text-600: #555;
    --bg-hero-overlay: rgba(0,0,0,0.7);
    --card-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Hero fix: consistent separators and spacing */
.breadcrumb {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}
.breadcrumb .crumb-sep {
    opacity: 0.6;
}
.page-hero {
    padding: 140px 0 80px;
}
.emergency-cta { gap: 6px; }

/* Main content grid: make columns align and breathe */
.main-content {
    padding: var(--space-16) 0;
    background: #fff;
}
.content-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
}
.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-12);
    align-items: start;
}
.content-col > section { margin-bottom: var(--space-12); }

/* Headings and body text */
.content-col h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: var(--space-5);
    border-left: 4px solid var(--brand-gold);
    padding-left: var(--space-5);
}
.intro-text { font-size: 18px; line-height: 1.7; color: var(--text-700); }

/* Lists */
.services-list,
.benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.services-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    line-height: 1.55;
}
.services-list li:last-child { border-bottom: none; }
.services-list li strong { color: var(--brand-gold); font-weight: 600; }

.benefits-list li {
    position: relative;
    padding: 10px 0 10px 26px;
    font-size: 16px;
    line-height: 1.55;
    border-bottom: 1px dashed #eee;
}
.benefits-list li:last-child { border-bottom: none; }
.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-gold);
    font-weight: 800;
}

/* Team photo block */
.team-photo-section {
    margin: var(--space-12) 0;
}
.team-figure {
    margin: 0;
    text-align: center;
}
.team-figure .about-photo {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}
.team-caption {
    font-size: 14px;
    color: var(--text-600);
    margin-top: var(--space-4);
}

/* Internal link */
.internal-link {
    color: var(--brand-gold);
    font-weight: 600;
    text-decoration: none;
}
.internal-link:hover { text-decoration: underline; }

/* Sidebar polish */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}
.sidebar-card {
    background: #fff;
    padding: var(--space-8);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
}

/* Emergency card on dark background */
.emergency-card {
    background: #1a1a1a;
    color: #fff;
}
.emergency-card .card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}
.emergency-card .card-text { display: grid; gap: 6px; }
.emergency-card .card-title {
    color: #ffffff;
    letter-spacing: 0.6px;
    font-weight: 800;
    font-size: 13px;
    opacity: 0.9;
}
.emergency-card .card-subtitle {
    color: #ffffff;
    opacity: 0.85;
    font-size: 14px;
}
.emergency-card .card-value a,
.emergency-card .card-value a:visited,
.emergency-card .card-value a:active {
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
}
.emergency-card .card-value a:hover {
    color: var(--brand-gold);
    text-decoration: underline;
}
.emergency-card .card-icon { opacity: 0.95; color: var(--brand-gold); }

/* Services list in sidebar */
.sidebar-services a {
    color: var(--text-700);
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    padding: 8px 0;
    transition: color 0.2s ease;
}
.sidebar-services a:hover { color: var(--brand-gold); }
.sidebar-services a::before {
    content: "→";
    margin-right: 10px;
    color: var(--brand-gold);
    font-weight: 700;
}

/* CTA buttons */
.cta-buttons { display: flex; gap: var(--space-5); flex-wrap: wrap; margin-top: var(--space-6); }
.cta-button {
    padding: 14px 22px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: inline-block;
    min-width: 200px;
    text-align: center;
}
.cta-button.primary { background: var(--brand-gold); color: #fff; border: 2px solid var(--brand-gold); }
.cta-button.primary:hover { transform: translateY(-2px); opacity: 0.95; }
.cta-button.secondary { background: transparent; color: var(--brand-gold); border: 2px solid var(--brand-gold); }
.cta-button.secondary:hover { background: var(--brand-gold); color: #fff; transform: translateY(-2px); }

/* Phone and contact links */
.phone-link, .contact-link { color: var(--brand-gold); font-weight: 700; text-decoration: none; }
.phone-link:hover, .contact-link:hover { text-decoration: underline; }

/* Reviews stars */
.stars { display: flex; gap: 2px; margin-bottom: 10px; }
.star { color: var(--brand-gold); font-size: 18px; }
.star.half { position: relative; color: #ddd; }
.star.half::before {
    content: "★";
    position: absolute; left: 0; color: var(--brand-gold); width: 50%; overflow: hidden;
}

/* Responsive */
@media (max-width: 992px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
    .content-col { order: 1; }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 90px 0 50px;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .emergency-phone {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        min-width: auto;
        width: 100%;
    }
    
    .emergency-cta {
        flex-direction: column;
        gap: 8px;
        padding: 14px 20px;
    }
    
    .sidebar {
        order: -1;
    }
    
    .main-content {
        padding: 60px 0;
    }
    
    .content-wrapper h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-container,
    .content-container {
        padding: 0 15px;
    }
    
    .sidebar-card {
        padding: 20px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    .page-hero { 
        padding: 100px 0 60px; 
    }
    
    .cta-button { 
        min-width: 0; 
        width: 100%; 
    }
}