/* style.css - Graham Plumbing Main Stylesheet */
/* Includes fixed navigation, responsive layout, brand colors */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(145deg, #ffffff 0%, #f8faf5 100%);
    font-family: 'Inter', sans-serif;
    color: #1e2a2e;
    line-height: 1.4;
    min-height: 100vh;
    position: relative;
}

/* subtle top accent bar */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1D7C58, #708D4C, #B4A53F, #0A507B, #1898B7, #333333);
    z-index: 1001;
}

/* ========== FIXED NAVIGATION BAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.75rem 2rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(29, 124, 88, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Brand area with logo and text */
.nav-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1D7C58 0%, #1898B7 80%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: opacity 0.2s;
}

/* Logo image inside navbar - constrained size */
.nav-logo-img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

/* Optional: if you want to keep the wrench icon as fallback, but we'll use the real logo */
.nav-brand .brand-icon-fallback {
    display: none;
}

/* Navigation links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e41;
    padding: 0.5rem 0;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    letter-spacing: -0.2px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #1D7C58;
    border-bottom-color: #B4A53F;
}

/* Mobile nav toggle not needed for simple nav, but we make responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 1.2rem;
    }
    .nav-container {
        flex-direction: column;
        align-items: center;
    }
    .nav-links {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links li a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
    .nav-logo-img {
        height: 32px;
    }
    .nav-brand a {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.9rem;
    }
    .nav-links li a {
        font-size: 0.8rem;
    }
}

/* ========== MAIN CONTENT (push down to avoid navbar overlap) ========== */
.page-main {
    padding-top: 90px; /* accounts for fixed navbar + spacing */
}

/* splash container and inner styles (unchanged from earlier but adapted for reuse) */
.splash-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: rgba(255,255,255,0.92);
    border-radius: 3rem;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0,0,0,0.02);
    overflow: hidden;
}

.content-inner {
    padding: 2rem 2rem 3rem 2rem;
}

/* Brand badge, logo area (hero) */
.brand-badge {
    display: inline-block;
    background: #0A507B10;
    backdrop-filter: blur(4px);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #0A507B;
    border: 1px solid #0A507B30;
    margin-bottom: 1.5rem;
}

.hero-logo-wrapper {
    text-align: center;
    margin-bottom: 1rem;
}

.hero-logo-img {
    max-width: 260px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: inline-block;
}

.logo-area h1 {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1D7C58 0%, #1898B7 70%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.location {
    font-size: 1rem;
    font-weight: 500;
    color: #708D4C;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.25rem;
}

.location i {
    font-size: 0.9rem;
    color: #B4A53F;
}

.est-badge {
    font-size: 0.8rem;
    background: #eef2e6;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Hero message */
.hero-message {
    margin: 2rem 0 2rem 0;
}

.excitement-badge {
    background: #1D7C5812;
    color: #1D7C58;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.25rem;
    border-left: 3px solid #B4A53F;
}

.main-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1F2F2E;
    margin-bottom: 1rem;
}

.main-headline span {
    background: linear-gradient(120deg, #1D7C58, #708D4C);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.sub-message {
    font-size: 1.2rem;
    color: #2c3e41;
    max-width: 85%;
    font-weight: 400;
    margin-bottom: 2rem;
    border-left: 4px solid #B4A53F;
    padding-left: 1.25rem;
}

/* Buttons */
.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2rem 0 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1rem 2.2rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    font-family: inherit;
    letter-spacing: -0.2px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    cursor: pointer;
}

.btn-primary {
    background: #1D7C58;
    color: white;
    border: 1px solid #1D7C58;
}

.btn-primary:hover {
    background: #0f6346;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -12px #1D7C5880;
}

.btn-secondary {
    background: #1898B7;
    color: white;
    border: 1px solid #1898B7;
}

.btn-secondary:hover {
    background: #0e7c97;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #708D4C;
    color: #2c4d3a;
}

.btn-outline:hover {
    background: #708D4C10;
    border-color: #1D7C58;
    transform: translateY(-2px);
}

/* Info cards */
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0 1rem;
    justify-content: space-between;
}

.info-card {
    flex: 1;
    min-width: 180px;
    background: #FFFFFFDD;
    backdrop-filter: blur(2px);
    border-radius: 28px;
    padding: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    border: 1px solid #eef2e6;
}

.info-card i {
    font-size: 2rem;
    color: #0A507B;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #333333;
}

.info-card p {
    font-size: 0.85rem;
    color: #4a5b5e;
    line-height: 1.4;
}

/* Availability bar */
.availability {
    margin-top: 2rem;
    background: #F5F8F0;
    border-radius: 40px;
    padding: 0.9rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0A507B;
    border: 1px solid #B4A53F30;
}

/* Footer */
.footer-note {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.75rem;
    color: #6c757d;
    border-top: 1px solid #dddccf;
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 760px) {
    .page-main {
        padding-top: 110px;
    }
    .content-inner {
        padding: 1.5rem 1.2rem 2.5rem;
    }
    .main-headline {
        font-size: 2.2rem;
    }
    .sub-message {
        max-width: 100%;
        font-size: 1rem;
    }
    .btn {
        padding: 0.85rem 1.6rem;
        font-size: 1rem;
    }
    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-logo-img {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .main-headline {
        font-size: 1.8rem;
    }
    .info-grid {
        flex-direction: column;
    }
    .availability {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========== SERVICES PAGE SPECIFIC STYLES ========== */
.service-category {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eef2e6;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.category-header i {
    font-size: 2rem;
    color: #1D7C58;
    background: #1D7C5810;
    padding: 0.5rem;
    border-radius: 50%;
}

.category-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1F2F2E;
    margin: 0;
}

.category-snippet {
    font-size: 1rem;
    color: #4a5b5e;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    border-left: 3px solid #B4A53F;
    max-width: 90%;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.service-tag {
    background: #F5F8F0;
    border: 1px solid #dde6d4;
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2c4d3a;
    transition: all 0.2s;
    cursor: default;
}

.service-tag:hover {
    background: #1D7C58;
    color: white;
    border-color: #1D7C58;
    transform: translateY(-2px);
}

@media (max-width: 760px) {
    .category-header h2 {
        font-size: 1.4rem;
    }
    .category-snippet {
        max-width: 100%;
        font-size: 0.9rem;
    }
    .service-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }
}

/* Hero image break (wide format) */
.hero-image-break {
    width: 100%;
    margin: 2rem 0 2rem 0;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
}
.wide-format-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.wide-format-img:hover {
    transform: scale(1.01);
}
@media (max-width: 760px) {
    .hero-image-break {
        border-radius: 20px;
        margin: 1.5rem 0;
    }
}