:root {
    --primary-color: #0A0094;
    --primary-dark: #05004a;
    --secondary-color: #FFC836;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

/* Typography */
h1,
h2,
h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* Header */
.headercontainer {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.napa-logo {
    height: 40px;
}

/* Navigation */
nav {
    background-color: var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: var(--white);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    margin-left: 20px;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 0, 148, 0.7), rgba(10, 0, 148, 0.5)), url('../images/hero-garage.png');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Seasonal Info */
.seasonal-info {
    text-align: center;
    margin-top: 3rem;
}

.info-box {
    background-color: var(--white);
    border-left: 5px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: left;
}

.info-box p {
    margin: 0;
    line-height: 1.5;
}

/* Services */
.container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
    /* Align to top */
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    height: 100%;
    /* Equal height */
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary-color);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.service-desc {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-style: italic;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: auto;
    /* Push to bottom if needed, but flex-col handles it */
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.4rem;
}

/* Contact */
.contact-section {
    background-color: var(--white);
    padding: 4rem 20px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--primary-color);
}

.map-container {
    height: 300px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Vacation Notification */
.vacation-banner {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    padding: 10px;
    font-weight: bold;
    position: relative;
    z-index: 2000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        display: none;
        /* Mobile menu implementation usually requires JS, keeping simple for now or could stack */
    }

    nav .nav-container {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

    .cta-button {
        display: none;
        /* Hide in nav, show in hero instead if added there */
    }
}