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

:root {
    --primary: #1a3a5c;
    --primary-dark: #0f2744;
    --primary-light: #2a5a8c;
    --accent: #e8601c;
    --accent-hover: #d14e0f;
    --white: #ffffff;
    --off-white: #f7f8fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --text: #2d3436;
    --text-light: #636e72;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
    --radius: 6px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text);
}

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

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar a {
    color: var(--white);
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
    color: var(--accent);
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-right {
    font-weight: 600;
}

.top-bar-right a {
    color: var(--accent);
    font-size: 1rem;
}

/* ===== HEADER / NAV ===== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .company-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.logo-text .company-tagline {
    font-size: 0.72rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav a {
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
    background: rgba(232, 96, 28, 0.06);
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius) !important;
    margin-left: 8px;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 8px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 39, 68, 0.88), rgba(26, 58, 92, 0.82)), url('../images/hero-banner.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 80px 0 70px;
    text-align: center;
}

.hero h1 {
    font-size: 2.6rem;
    color: var(--white);
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .subtitle {
    font-size: 1.15rem;
    opacity: 0.92;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 96, 28, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--off-white);
}

.section-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.85);
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 12px auto 0;
}

/* ===== EMERGENCY BANNER ===== */
.emergency-banner {
    background: linear-gradient(135deg, var(--accent), #c0392b);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

.emergency-banner h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.emergency-banner p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
}

.emergency-banner .btn {
    background: var(--white);
    color: var(--accent);
    font-weight: 800;
}

.emergency-banner .btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ===== TRUST BLOCKS ===== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
    display: block;
}

.trust-card h4 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card-img {
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-card-body {
    padding: 22px;
}

.service-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 14px;
}

.service-card-body .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ===== ABOUT INTRO ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-intro img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-intro-text h2 {
    margin-bottom: 16px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}

.testimonial-card .stars {
    color: #f39c12;
    font-size: 1rem;
    margin-bottom: 12px;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--text);
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-card .reviewer {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.testimonial-card .reviewer span {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.82rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    padding: 30px 14px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: var(--transition);
}

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

/* ===== SERVICE DETAIL ===== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--light-gray);
}

.service-detail:last-child {
    border-bottom: none;
}

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

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

.service-detail img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.service-detail-text h3 {
    margin-bottom: 14px;
    color: var(--primary-dark);
}

.service-detail-text p {
    color: var(--text);
    line-height: 1.7;
}

/* ===== SERVICE AREA ===== */
.area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.area-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary);
}

.area-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.area-card p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-block {
    margin-bottom: 24px;
}

.contact-info-block h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.contact-info-block p {
    color: var(--text);
    line-height: 1.6;
}

.contact-info-block a {
    color: var(--accent);
    font-weight: 600;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
    background: var(--white);
}

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

.map-container {
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 50px 0 40px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    margin-top: 14px;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

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

.breadcrumb span {
    color: rgba(255,255,255,0.5);
    margin: 0 8px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: block;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    align-items: flex-start;
}

.footer-contact-item .icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

/* ===== SERVICES PAGE FULL ===== */
.services-list .service-section {
    padding: 50px 0;
    border-bottom: 1px solid var(--light-gray);
}

.services-list .service-section:nth-child(even) {
    background: var(--off-white);
}

.services-list .service-section:last-child {
    border-bottom: none;
}

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

.service-content img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.service-content p {
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 14px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 24px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== GALLERY PAGE ===== */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-page-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-page-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-page-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-page-item .gallery-caption {
    padding: 14px 16px;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-intro {
        grid-template-columns: 1fr;
    }
    .service-detail {
        grid-template-columns: 1fr;
    }
    .service-detail.reverse {
        direction: ltr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .area-grid {
        grid-template-columns: 1fr;
    }
    .service-content {
        grid-template-columns: 1fr;
    }
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .hero { padding: 50px 0 40px; }
    .hero h1 { font-size: 1.9rem; }
    .section { padding: 40px 0; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--light-gray);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 16px;
        width: 100%;
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
    }

    .mobile-toggle {
        display: block;
    }

    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 4px;
    }

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

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

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

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

    .gallery-page-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* ===== HOURS TABLE ===== */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.hours-table td {
    padding: 6px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-gray);
}

.hours-table td:first-child {
    font-weight: 600;
    color: var(--text);
}

.hours-table td:last-child {
    text-align: right;
    color: var(--text-light);
}

/* ===== SERVICE AREA MAP SECTION ===== */
.service-area-map {
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-area-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ===== ABOUT PAGE FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 24px 16px;
}

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

.feature-item h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}
