/* ========================================
    ROOT VARIABLES
   ======================================== */
:root {
    /* Fonts */
    --font-main: "Inter", sans-serif;

    /* Brand Colors */
    --brand-green-primary: #1D5F3E;
    --brand-green-secondary: #1F6B49;
    --brand-bronze: #B87333;

    /* Accent Colors */
    --accent-green: #267A50;
    --accent-green-light: #2F8F5E;
    --accent-green-muted: #4EA079;
    --accent-green-muted-dark: #2F7A56;
    --background-green-muted: #F0F8F4;
    
    /* Neutral Colors */
    --neutral-charcoal: #222021;
    --neutral-charcoal-light: #322E2F;
    --neutral-white: #ffffff;
    --neutral-white-soft: #e6e6e6;
    --neutral-gray-light: #e0e0e0;
    --neutral-gray: #d4d4d4;
    --neutral-gray-border: #bdbdbd;
    --neutral-gray-dark: #4C4C4C;
}

/* ========================================
    GLOBAL STYLES
   ======================================== */
body {
    font-family: var(--font-main);
    margin: 0;
}

.page-content {
    /* Offset to lower main page from fixed nav bar */
    padding-top: 70px;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* ========================================
    SHARED COMPONENTS
   ======================================== */
.eyebrow {
    color: var(--accent-green-light);
    font-weight: 700;
    font-size: large;
    letter-spacing: 0.07em;
    margin: 0 0 1em;
}

.sub-eyebrow {
    color: var(--neutral-white);
    font-weight: 700;
    font-size: large;
    letter-spacing: 0.07em;
    margin: 0 0 1em;
}

.section-heading {
    max-width: 720px;
}

.section-heading h1 {
    color: var(--neutral-charcoal);
}

.section-heading .eyebrow, .section-heading h1 {
    margin-top: 0;
}

.section-heading .eyebrow {
    margin-bottom: 0;
}

.section-subtitle {
    line-height: 1.25;
    margin: 0.5rem 0;
}

/* Reusable icon + text list pattern used on location, contact, and footer */
.info-list {
    display: grid;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    color: var(--neutral-charcoal);
}

.info-icon {
    width: 30px;
    height: auto;
    flex-shrink: 0;
}

.info-text {
    display: grid;
    gap: 0.2rem;
}

.info-text h3,
.info-text p, 
.info-text address {
    margin: 0;
}

.info-text address {
    font-style: normal;
}

.info-text h3 {
    font-size: 1rem;
}

.info-text a {
    color: var(--accent-green-light);
    font-weight: 700;
}

/* ========================================
    NAVIGATION
   ======================================== */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--neutral-charcoal);
    padding: 10px 5%;
    border-bottom: 2px solid var(--brand-bronze);
}

.site-nav > div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav .emergency-disclaimer {
    margin: 0;
    text-align: left;
    color: var(--neutral-white-soft);
    font-size: 0.75rem;
}

section {
    scroll-margin-top: 100px;
}

.logo {
    width: 120px;
    max-width: 25vw;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.nav-links a {
    color: var(--neutral-white);
    font-size: small;
    padding: 10px;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--neutral-gray-light);
}

.nav-links a.active {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
    text-decoration-color: var(--brand-bronze);
}

/* ========================================
    BUTTONS
   ======================================== */
.btn-primary {
    background-color: var(--accent-green);
    padding: 5px 10px;
    border-radius: 5px;
    border: 2px solid var(--accent-green-muted);
    color: var(--neutral-white);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--brand-green-primary);
    border-color: var(--accent-green-muted-dark);
}

.btn-secondary {
    background-color: transparent;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid var(--neutral-white-soft);
    color: var(--neutral-white-soft);
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: rgb(34 32 33 / 75%);
    border-color: var(--neutral-gray-border);
    color: var(--neutral-white);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.package-button {
    display: block;
    width: 100%;
    box-sizing: border-box;

    background-color: transparent;
    border-radius: 5px;
    border: 1px solid var(--accent-green-muted);
    color: var(--accent-green-muted);
    text-decoration: none;

    margin-top: auto;
    padding: 0.5rem 2.5rem;
    text-align: center;
}

.package-button:hover {
    background-color: var(--brand-green-primary);
    border-color: var(--brand-green-primary);
    color: var(--neutral-white);
}

.nav-links a,
.btn-primary,
.btn-secondary,
.package-button,
.footer-signup-form button {
    white-space: nowrap;
}

.btn-primary,
.btn-secondary,
.package-button,
.footer-signup-form button {
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

/* ========================================
    FOOTER
   ======================================== */
.site-footer {
    padding: 1.5rem 6vw 0;
    border-top: 2px solid var(--brand-bronze);
    background-color: var(--neutral-charcoal);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
    margin: 0 auto;
}

.footer-logo {
    width: 220px;
    max-width: 25vw;
    height: auto;
}

.footer-icon {
    width: 15px;
}

.footer-subtitle {
    line-height: 1;
    color: var(--neutral-white-soft);
    margin: 0.5rem 0;
}

.footer-info-list {
    gap: 0.75rem;
}

.footer-info-item {
    gap: 0.75rem;
    color: var(--neutral-white-soft)
}

.footer-info-item p {
    margin: 0;
}

.footer-info-item a {
    color: var(--accent-green-light);
}

.footer-address {
    font-style: normal;
}

.footer-direction-link {
    display: inline-block;
    color: var(--accent-green-light);
    font-weight: 700;
    margin: 0.5rem 0 0;
}

.footer-signup-form {
    display: flex;
    margin-top: 1rem;
    max-width: 360px;
    min-width: 0;
}

.footer-signup-form input {
    background-color: transparent;
    color: var(--neutral-white);
    border: 1px solid var(--neutral-gray-dark);
    border-radius: 5px 0 0 5px;
    border-right: none;
    padding: 0.25rem 1rem;
}

.footer-signup-form button {
    padding: 0.25rem 1rem;
    border: 1px solid var(--accent-green-muted);
    border-radius: 0 5px 5px 0;

    background-color: var(--accent-green);
    color: var(--neutral-white);
    cursor: pointer;
}

.footer-signup-form button:hover {
    background-color: var(--brand-green-primary);
    border-color: var(--accent-green-muted-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--neutral-gray-dark);
    margin-top: 1rem;
    color: var(--neutral-white-soft);
    font-size: 0.85rem;
}

.footer-note {
    font-size: 0.80rem;
    color: var(--neutral-gray-dark);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal a{
    text-decoration: none;
    color: var(--neutral-white-soft);
}

.footer-legal a:hover {
    color: var(--accent-green-light);
}


/* ========================================
    HOME PAGE: HERO
   ======================================== */
.hero-card {
    position: relative;
    /* For smaller view ports lower min */
    min-height: 72vh;  
    max-height: 82vh;
    overflow: hidden;
    background: var(--neutral-charcoal);
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 5% center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            var(--neutral-charcoal) 0%,
            rgb(34 32 33 / 98%) 16%,
            rgb(34 32 33 / 82%) 32%,
            rgb(34 32 33 / 42%) 55%,
            rgb(34 32 33 / 8%) 100%
        );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 8rem 6vw;
    color: var(--neutral-white);
}

.hero-content h1 {
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    margin: 0 0 2rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1;
    color: var(--neutral-white-soft);
    margin: 0 0 1rem 0;
}

/* ========================================
    HOME PAGE: WASH PACKAGES + REVIEWS
   ======================================== */
.wash-section {
    background: var(--neutral-gray-light);
    padding: 1.5rem 6vw;
}

.wash-section-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    max-width: 1400px;
    align-items: start;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 850px;
}

.package-card {
    background: var(--neutral-white);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 16px 40px rgb(0 0 0 / 8%);
    
    display: flex;
    flex-direction: column;
    min-height: 210px;
}

.package-card.featured .package-button {
    background-color: var(--accent-green);
    color: var(--neutral-white-soft);
}

.package-card.featured .package-button:hover {
    background-color: var(--accent-green-light);
    border-color: var(--accent-green-light);
    color: var(--neutral-white);
}

.package-card-header{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-title-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.package-card h3 {
    padding: 0;
    margin: 0;
    color: var(--accent-green);
}

.package-price {
    font-size: clamp(1.75rem, 2vw, 2.5rem);
    font-weight: 500;
    line-height: 1;
    margin: 0;
}

.package-icon {
    width: 50px;
    height: 50px;
}

.package-card ul {
    list-style-type: "✔ ";
    margin: 0.75rem 0 1.25rem;
}

.package-card ul li::marker {
    color: var(--brand-green-secondary);
}

.reviews-panel {
    border-left: 1px solid var(--neutral-gray-dark);
    padding-left: 1.5rem;
    color: var(--neutral-charcoal);
}

.reviews-panel h1 {
    margin: 0rem 0rem 0.5rem 0;
}

.reviews-panel .eyebrow {
    margin: 0;
}

.reviews-panel a {
    margin: 0.5rem 0 0;
    display: inline-block;
}

.review-card {
    padding: 0.5rem 0;
    border-top: 1px solid var(--neutral-gray-dark);
}

.review-card:first-of-type {
    padding-top: 0;
    border: none;
}

.review-stars {
    color: var(--brand-bronze);
    margin: 0.25rem 0 0;
}

.review-text {
    margin: 0;
    font-size: 0.75rem;
    
}

.review-author {
    margin: 0.25rem 0;
    font-size: 0.85rem;
}

.choice-highlight {
    color: var(--brand-green-primary);
    font-weight: 900;
    font-style: italic;

    position: relative;
    display: inline-block;
}

.choice-highlight::after {
    content: "";
    position: absolute;

    left: -10%;
    bottom: -8px;

    width: 125%;
    height: 12px;

    border-bottom: 3px solid var(--brand-green-primary);
    border-radius: 0 0 50% 50%;

    transform: rotate(-3deg);
}

/* ========================================
    LOCATION PAGE
   ======================================== */
.location-section {
    background: var(--neutral-charcoal-light);
    padding: 1.5rem 6vw;
}

.location-section-heading {
    border-bottom: 1px solid var(--neutral-gray-dark);
}

.location-section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    align-items: center;
}

.location-content {
    display: grid;
    gap: 0;
    color: var(--neutral-white-soft);
    min-width: 0;
}

.location-content h1 {
    font-size: clamp(2.25rem, 3vw, 2.5rem);
    line-height: 1;
    margin: 0;
}

.location-info-list {
    margin: 0.5rem 0;
}

.location-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border-top: 1px solid var(--neutral-gray-dark);
    padding-top: 1.25rem;
}

.location-highlight:first-child {
    border-right: 1px solid var(--neutral-gray-dark);
    padding-right: 1.5rem;
}

.location-info-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.location-map-card {
    padding: 2px; 
    border-radius: 5px;
    background: var(--neutral-gray-border);
    min-width: 0;
    overflow: hidden;
}

.location-map-card iframe {
    display: block;
    width: 100%;
    min-height: 480px;
    border-radius: 5px;
    border: 2px solid var(--neutral-gray-border);
}

/* ========================================
    PHOTO GALLERY PAGE
   ======================================== */
    .photo-section {
    background: var(--neutral-gray);
    padding: 1.5rem 6vw;
   }

   .photo-section-layout{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
   }

   .photo-section-heading {
    color: var(--neutral-charcoal);
    max-width: 760px;
    margin: 0 auto;
    border: none;
   }

   .photo-section-heading .eyebrow, .photo-section-heading .section-subtitle {
    margin: 0;
}

.photo-section-heading h1 {
    margin: 0;
}

.owner-photo {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 16px 40px rgb(0 0 0 / 8%);
}

/* ========================================
    CONTACT PAGE
   ======================================== */
.contact-section {
    background: var(--neutral-gray-light);
    padding: 1.5rem 6vw;
}

.contact-section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.contact-section-heading {
    color: var(--neutral-charcoal);
    max-width: 760px;
    margin: 0 auto;
    border: none;
}

.contact-section-heading .eyebrow, .contact-section-heading .section-subtitle {
    margin: 0;
}

.contact-section-heading h1 {
    margin: 0;
}

.card-heading {
    max-width: none;
    border-bottom: none;
    margin-bottom: 0;
}

.card-heading .eyebrow {
    margin: 0;
}

.card-heading h2 {
    margin: 0.5rem 0;
}

.card-heading .section-subtitle {
    margin: 0;
}

.contact-section .section-subtitle {
    color: var(--neutral-charcoal);
}

.contact-info-list {
    margin: 1.75rem 0;
}

.contact-form-card{
    background-color: var(--neutral-white-soft);

    border: 2px solid var(--neutral-gray-border);
    border-radius: 5px;

    display: grid;

    width: 100%;
    box-sizing: border-box;
    padding: 1.5rem;
}

.form-group {
    display: grid;
    color: var(--neutral-charcoal);
    margin: 0.5rem 0 0.25rem;
}

.form-group input, .form-group textarea {
    background-color: var(--neutral-gray-light);
    color: var(--neutral-gray-dark);
    border: 1px solid var(--neutral-gray-border);
    border-radius: 5px;
    margin-top: 0.25rem;
    padding: 0.5rem 0 0.5rem 0.5rem;
}

.form-group {
    width: 100%;
}

.form-group textarea {
    resize: none;
}

.name-section {
    display: flex;
    gap: 1rem;
}

.contact-form button {
    margin-top: 0.75rem;
    width: 100%;
}

.emergency-disclaimer {
    margin-top: 1.25rem;
    text-align: center;
    color: var(--neutral-charcoal);
}

.emergency-disclaimer p {
    margin: 0;
}

.emergency-disclaimer a {
    color: var(--accent-green-light);
    font-weight: 700;
}

.contact-info-button {
    margin-top: 0.75rem;
}

.contact-info-button .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* ========================================
    MEDIA QUERIES
   ======================================== */
/* ---------- TABLET / SMALL LAPTOP ---------- */
@media (max-width: 1024px) {

    /* Navigation */
    .site-nav {
        padding: 10px 3%;
    }

    .nav-links {
        gap: 5px;
    }

    .nav-links a {
        padding: 8px 5px;
    }


    /* Hero */
    .hero-content {
        padding: 7rem 5vw;
    }


    /* Wash Packages + Reviews */
    .wash-section-layout {
        grid-template-columns: 1fr;
    }

    .package-grid {
        max-width: none;
    }

    .reviews-panel {
        border-left: none;
        border-top: 1px solid var(--neutral-gray-dark);
        padding-left: 0;
        padding-top: 1.5rem;
    }


    /* Photo Gallery */
    .photo-section-layout {
        grid-template-columns: repeat(3, 1fr);
    }

    .photo-section-heading {
        grid-column: 1 / -1;
        max-width: none;
        margin: 0;
    }


    /* Contact */
    .contact-section-layout {
        grid-template-columns: 1fr 1fr;
    }

    .contact-section-heading {
        margin: 0;
    }

    .contact-form-card {
        grid-column: 1 / -1;
    }


    /* Footer */
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-signup {
        grid-column: 1 / -1;
    }
}


/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

    /* Navigation */
    .site-nav {
        position: static;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 10px 5%;
    }

    .page-content {
        padding-top: 0;
    }

    .logo {
        width: 100px;
        max-width: none;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 5px 8px;
    }

    .site-nav .emergency-disclaimer {
        display: none;
    }

    section {
        scroll-margin-top: 0;
    }


    /* Hero */
    .hero-card {
        min-height: 65vh;
        max-height: none;
    }

    .hero-photo {
        object-position: center;
    }

    .hero-overlay {
        background: rgb(34 32 33 / 68%);
    }

    .hero-content {
        padding: 6rem 6vw;
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        margin-bottom: 1.5rem;
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }


    /* Wash Packages */
    .wash-section,
    .photo-section,
    .contact-section {
        padding: 1.5rem 5vw;
    }

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

    .package-card {
        min-height: 0;
    }


    /* Photo Gallery */
    .photo-section-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }


    /* Contact */
    .contact-section-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        grid-column: auto;
    }

    .location-map-card iframe {
        min-height: 350px;
    }


    /* Footer */
    .site-footer {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-signup {
        grid-column: auto;
    }

    .footer-logo {
        max-width: 220px;
    }
}


/* ---------- SMALL PHONES ---------- */
@media (max-width: 480px) {

    /* Navigation */
    .site-nav {
        justify-content: center;
    }

    .site-nav > a {
        margin-right: auto;
    }

    .nav-links {
        justify-content: space-between;
    }

    .nav-links a {
        font-size: 0.7rem;
        padding: 5px 3px;
    }


    /* Hero */
    .hero-card {
        min-height: 70vh;
    }

    .hero-content {
        padding: 5rem 5vw;
        max-width: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .sub-eyebrow,
    .eyebrow {
        font-size: 0.9rem;
    }

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


    /* Photo Gallery */
    .photo-section-layout {
        grid-template-columns: 1fr;
    }


    /* Contact Form */
    .name-section {
        flex-direction: column;
        gap: 0;
    }

    .location-map-card iframe {
        min-height: 300px;
    }


    /* Footer */
    .footer-signup-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-signup-form input {
        box-sizing: border-box;
        width: 100%;
        border: 1px solid var(--neutral-gray-dark);
        border-radius: 5px;
        padding: 0.5rem 1rem;
    }

    .footer-signup-form button {
        width: 100%;
        border-radius: 5px;
        padding: 0.5rem 1rem;
    }
}