/* ============================================
   THE PATRIOT CAR WASH GROUP — STYLESHEET
   Charcoal + Coral | Clean Minimalist
   ============================================ */

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

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --charcoal-mid: #3a3a3a;
    --coral: #e8645a;
    --coral-light: #f0786e;
    --coral-dark: #d45248;
    --coral-gradient-start: #e8645a;
    --coral-gradient-end: #c94030;
    --white: #ffffff;
    --off-white: #faf9f8;
    --gray-50: #f7f7f6;
    --gray-100: #efefee;
    --gray-200: #e2e2e0;
    --gray-300: #c8c8c5;
    --gray-400: #9e9e9a;
    --gray-500: #73736f;
    --gray-600: #52524f;
    --gray-700: #3a3a36;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--charcoal);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    font-size: 14px;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 var(--gray-200);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.3;
    transition: color 0.3s;
}

.site-header.scrolled .logo {
    color: var(--charcoal);
}

.logo-icon {
    flex-shrink: 0;
}

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

.site-nav a {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral);
    transition: width 0.3s var(--ease-out);
}

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

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

.site-header.scrolled .site-nav a {
    color: var(--gray-500);
}

.site-header.scrolled .site-nav a:hover {
    color: var(--charcoal);
}

.nav-cta {
    background: var(--coral) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 100px;
    letter-spacing: 0.06em;
    transition: background 0.3s, transform 0.2s !important;
}

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

.nav-cta:hover {
    background: var(--coral-dark) !important;
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 4px 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.site-header.scrolled .menu-toggle span {
    background: var(--charcoal);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(232, 100, 90, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 60%, rgba(200, 60, 50, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(232, 100, 90, 0.15) 0%, transparent 50%),
        linear-gradient(160deg, #1a1a1a 0%, #2a1a18 40%, #1a1a1a 100%);
}

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

.hero-eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    color: var(--coral-light);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 300;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 100, 90, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-dark {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--gray-300);
}

.btn-outline-dark:hover {
    border-color: var(--charcoal);
    background: var(--charcoal);
    color: var(--white);
}

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

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- SECTION COMMON --- */
.section-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
    font-weight: 400;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
    max-width: 520px;
    font-weight: 300;
}

/* --- SERVICES --- */
.services {
    padding: 120px 0;
    background: var(--white);
}

.services .container {
    text-align: center;
}

.services .section-sub {
    margin: 0 auto 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-200);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
}

.service-card {
    background: var(--white);
    padding: 48px 32px;
    text-align: left;
    transition: background 0.3s;
}

.service-card:hover {
    background: var(--gray-50);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--coral);
    transition: border-color 0.3s, color 0.3s;
}

.service-card:hover .service-icon {
    border-color: var(--coral);
    color: var(--coral);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    font-weight: 300;
}

/* --- ABOUT --- */
.about {
    padding: 120px 0;
    background: var(--off-white);
}

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

.about-image {
    border-radius: 2px;
    overflow: hidden;
}

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

.about-content .section-sub {
    margin-bottom: 24px;
}

.about-content .lead {
    font-size: 1.1rem;
    color: var(--charcoal);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 300;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 300;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 32px 0 40px;
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--charcoal);
    font-weight: 400;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--gray-200);
    flex-shrink: 0;
}

/* --- WHY US --- */
.why-us {
    padding: 120px 0;
    background: var(--charcoal);
}

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

.why-us .section-sub {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 64px;
}

.why-us .container {
    max-width: 900px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
}

.why-item {
    padding-top: 0;
}

.why-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--coral);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 12px;
}

.why-item h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.why-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    font-weight: 300;
}

/* --- CTA BANNER --- */
.cta-banner {
    padding: 100px 0;
    background: 
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(232, 100, 90, 0.12) 0%, transparent 70%),
        var(--off-white);
    text-align: center;
}

.cta-eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
    font-weight: 400;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--charcoal);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* --- CONTACT --- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 40px 0;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--coral);
}

.contact-item strong {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.contact-item p, .contact-item a {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
    font-weight: 300;
}

.contact-item a:hover {
    color: var(--coral);
}

.map-placeholder {
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
    border: 1px solid var(--gray-200);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--gray-50);
    padding: 48px;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
}

.contact-form-wrap h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 32px;
    color: var(--charcoal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color 0.3s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239e9e9a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 2px;
    margin-top: 16px;
    color: #166534;
    font-size: 0.9rem;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
    color: #22c55e;
}

/* --- FOOTER --- */
.site-footer {
    background: var(--charcoal);
    padding: 64px 0 32px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-footer {
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9rem;
    max-width: 280px;
    line-height: 1.7;
    font-weight: 300;
    margin-top: 12px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 32px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--coral);
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right 0.4s var(--ease-out);
        box-shadow: -8px 0 24px rgba(0,0,0,0.1);
    }
    
    .site-nav.open {
        right: 0;
    }
    
    .site-nav a {
        color: var(--charcoal) !important;
        font-size: 14px;
    }
    
    .site-nav a:hover {
        color: var(--coral) !important;
    }
    
    .hero-content {
        padding: 100px 24px 80px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 36px 28px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-height: 400px;
    }
    
    .about-image img {
        height: 100%;
    }
    
    .why-us {
        padding: 80px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-banner {
        padding: 80px 0;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
}
