/* ==========================================================================
   Water Damage Restoration Auburn GA — Shared Stylesheet
   Colors: Blue #1e3c72 / #2a5298, Orange #ff6b35, Gold #ffd700
   Background: #f8f9fa
   ========================================================================== */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* --- Header --- */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-info {
    text-align: right;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #fff;
}

.emergency-badge {
    background: #dc3545;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 5px;
    display: inline-block;
}

/* --- Main Navigation --- */
.main-nav {
    background: #163060;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-list a:hover,
.nav-list a.active {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
}

.nav-list a.active {
    border-bottom: 3px solid #ff6b35;
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px 15px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: transform 0.3s ease;
}

/* --- Breadcrumbs --- */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.88rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.breadcrumb li::after {
    content: "/";
    margin-left: 6px;
    color: #999;
}

.breadcrumb li:last-child::after {
    content: "";
}

.breadcrumb a {
    color: #2a5298;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://auburnwaterdamagerestoration.netlify.app/images/emergency-water-damage-restoration-auburn-ga.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: #dc3545;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* --- Main Content --- */
main {
    background: white;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
}

.content-section {
    padding: 30px;
}

h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 10px;
}

h3 {
    color: #2a5298;
    font-size: 1.6rem;
    margin: 25px 0 15px 0;
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
}

strong {
    color: #1e3c72;
    font-weight: 600;
}

/* --- Opening Card --- */
.opening {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    border-top: 4px solid transparent;
    border-image: linear-gradient(135deg, #1e3c72, #ff6b35) 1;
}

/* --- Info Boxes --- */
.info-box {
    background: #eef3fb;
    border-left: 4px solid #2a5298;
    border-radius: 6px;
    padding: 20px 24px;
    margin: 20px 0;
    font-size: 0.97rem;
}

.info-box-warning {
    background: #fff8f0;
    border-left: 4px solid #ff6b35;
    border-radius: 6px;
    padding: 20px 24px;
    margin: 20px 0;
    font-size: 0.97rem;
}

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-top: 3px solid #1e3c72;
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3c72;
    display: block;
    margin-bottom: 6px;
}

.stat-box .stat-label {
    font-size: 0.9rem;
    color: #555;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 40px 24px;
    border-radius: 10px;
    margin: 30px 0;
}

.cta-banner h2 {
    color: white;
    border-bottom-color: #ffd700;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.92);
}

.cta-banner .phone-number {
    font-size: 1.8rem;
}

/* --- Cost Grid --- */
.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.cost-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cost-card:hover {
    transform: translateY(-4px);
}

.cost-card .cost-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.cost-card .cost-body {
    padding: 20px;
}

.cost-card .cost-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 10px;
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card-content {
    padding: 20px;
}

.service-card h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* --- Process Steps --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.step {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #ffd700;
}

.step-number {
    background: #1e3c72;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

/* --- FAQ Section --- */
.faq-section {
    background: #f8f9fa;
    padding: 30px;
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-question {
    background: #1e3c72;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 10px;
}

.faq-answer {
    padding: 15px 20px;
    background: white;
    border-radius: 5px;
    border-left: 3px solid #ffd700;
}

/* --- CTA Section (inline) --- */
.cta-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin: 30px 0;
}

.cta-section h2 {
    color: white;
    border-bottom: 3px solid #ffd700;
}

.cta-section .phone-number {
    font-size: 1.8rem;
    margin: 20px 0;
}

/* --- Footer --- */
footer {
    background: #1e3c72;
    color: white;
    padding: 30px 0;
    margin-top: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-section a {
    color: #ffd700;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 6px;
}

.footer-nav li a {
    color: #c8d6e5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2a5298;
}

.disclaimer {
    background: #dc3545;
    padding: 20px;
    margin-top: 25px;
    border-radius: 5px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive — Tablet & Mobile (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    /* Header */
    .header-content,
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    /* Navigation collapses */
    .nav-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
    }

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

    .nav-list a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
    }

    /* Hero */
    .hero h2 {
        font-size: 1.8rem;
    }

    /* Content */
    .content-section {
        padding: 20px;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Grids stack */
    .services-grid,
    .process-steps,
    .stats-grid,
    .cost-grid {
        grid-template-columns: 1fr;
    }

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

    /* Breadcrumb wrap */
    .breadcrumb ol {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Responsive — Small phones (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .phone-number {
        font-size: 1.1rem;
    }

    .cta-banner .phone-number {
        font-size: 1.4rem;
    }
}
