/* ============================================
   Wet Pump Services — Custom Styles
   Color Palette: Forest Green + Off-White
   ============================================ */

:root {
    --green-900: #052e16;
    --green-800: #14532d;
    --green-700: #166534;
    --green-600: #15803a;
    --green-500: #16a34a;
    --green-400: #22c55e;
    --green-100: #dcfce7;
    --green-50:  #f0fdf4;
    
    --off-white: #f8faf7;
    --off-white-dark: #f0f4ee;
    --cream: #f5f7f2;
    
    --neutral-950: #0a0f0c;
    --neutral-900: #111a14;
    --neutral-800: #1a2620;
    --neutral-700: #2d3a33;
    --neutral-600: #4a5a52;
    --neutral-500: #6b7c74;
    --neutral-400: #94a39e;
    --neutral-300: #bcc8c2;
    --neutral-200: #dce5df;
    --neutral-100: #eef2ef;
    --neutral-50:  #f8faf7;
    
    --white: #ffffff;
    --black: #050a07;
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --shadow-sm: 0 1px 2px rgba(5, 10, 7, 0.05);
    --shadow-md: 0 4px 12px rgba(5, 10, 7, 0.08);
    --shadow-lg: 0 12px 32px rgba(5, 10, 7, 0.12);
    --shadow-xl: 0 20px 48px rgba(5, 10, 7, 0.16);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-800);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
}
.skip-link:focus {
    top: 16px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--green-800);
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.nav-logo:hover {
    color: var(--green-700);
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

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

.logo-name {
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.logo-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--neutral-500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-700);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-600);
    border-radius: 1px;
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--green-700);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--green-700);
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--green-600);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neutral-800);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neutral-800);
    border-radius: 2px;
    transition: transform var(--transition);
}

.hamburger::before {
    transform: translateY(-6px);
}

.hamburger::after {
    transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--green-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 46, 22, 0.92) 0%,
        rgba(20, 83, 45, 0.85) 50%,
        rgba(22, 101, 52, 0.78) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--green-100);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    letter-spacing: -0.01em;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--white);
    color: var(--green-800);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-green {
    background: var(--green-700);
    color: var(--white);
}

.btn-green:hover {
    background: var(--green-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SECTION LAYOUT
   ============================================ */
.section {
    padding: 100px 0;
}

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

.section-header-light {
    color: var(--white);
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 14px;
}

.section-label-light {
    color: var(--green-400);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.section-title-light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   PRODUCTS / SERVICES GRID
   ============================================ */
.services {
    background: var(--off-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-200);
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--green-200, var(--green-100));
}

.product-image {
    overflow: hidden;
    aspect-ratio: 4 / 2.6;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.65;
    margin-bottom: 18px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-700);
    transition: gap var(--transition);
}

.product-link:hover {
    gap: 10px;
    color: var(--green-600);
}

.product-link svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6 / 5;
}

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream);
}

.about-img-secondary img {
    width: 70%;
    display: block;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-text {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-800);
}

.about-icon {
    width: 20px;
    height: 20px;
    color: var(--green-600);
    flex-shrink: 0;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
    background: var(--green-900);
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.why-card-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.why-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.why-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ============================================
   LOCATIONS / CONTACT SECTION
   ============================================ */
.locations {
    background: var(--off-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 420px;
}

.location-info {
    display: flex;
    align-items: stretch;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    letter-spacing: -0.02em;
}

.info-address {
    font-style: normal;
    font-size: 1rem;
    color: var(--neutral-700);
    line-height: 1.7;
}

.info-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-phone,
.info-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--green-700);
    transition: color var(--transition);
}

.info-phone:hover,
.info-email:hover {
    color: var(--green-600);
}

.info-phone svg,
.info-email svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.info-hours {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--neutral-200);
}

.info-hours h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neutral-500);
    margin-bottom: 10px;
}

.info-hours p {
    font-size: 0.9rem;
    color: var(--neutral-700);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: var(--green-800);
    padding: 88px 0;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--neutral-950);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 18px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--green-400);
}

.footer-contact address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--green-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default visible state for no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--off-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 96px 32px 32px;
        gap: 20px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        margin-top: 8px;
    }
    
    .hero-content {
        padding: 100px 20px 60px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        order: -1;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }
    
    .about-content .section-label,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content p {
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 280px;
    }
    
    .section {
        padding: 72px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .info-card {
        padding: 28px;
    }
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}
