@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

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

:root {
    --cream: #f6f3e2;
    --ink: #1a1a1a;
    --deep-green: #1a3a2a;
    --mid-green: #1e4d35;
    --brass: #c9a96e;
    --brass-dark: #b8944f;
    --charcoal: #2d2d2d;
    --muted: #5b5b52;
    --line: rgba(26, 26, 26, 0.12);
    --card-bg: #fffdf6;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(246, 243, 226, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-left { display: flex; align-items: center; gap: 40px; }

.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--deep-green);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 3px solid #0d2818;
    flex-shrink: 0;
}

.logo-circle::before {
    content: '';
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--mid-green);
}

.logo-icon { position: relative; z-index: 1; }
.logo-icon svg { width: 40px; height: 40px; }

.logo-text { display: flex; flex-direction: column; }
.logo-text .brand { font-size: 22px; font-weight: 900; color: var(--ink); letter-spacing: -0.5px; line-height: 1; }
.logo-text .sub { font-size: 11px; font-weight: 600; color: #555; letter-spacing: 3px; text-transform: uppercase; }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: var(--mid-green); }

.btn-book-nav {
    background: var(--charcoal);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-book-nav:hover { background: #1a1a1a; }

/* ===== HERO ===== */
.hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 0 0 40px;
    min-height: calc(100vh - 100px);
    position: relative;
    gap: 40px;
}

.hero-left {
    flex: 1;
    max-width: 500px;
    z-index: 10;
    padding-top: 40px;
}

.hero-title { font-size: 110px; font-weight: 900; color: var(--ink); line-height: 0.95; letter-spacing: -3px; margin-bottom: 20px; }
.hero-title span { display: block; opacity: 0; animation: fadeInUp 0.6s ease forwards; }
.hero-title span:nth-child(1) { animation-delay: 0s; }
.hero-title span:nth-child(2) { animation-delay: 0.15s; }
.hero-title span:nth-child(3) { animation-delay: 0.3s; }

.hero-subtitle { font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 35px; letter-spacing: -0.5px; opacity: 0; animation: fadeInUp 0.6s ease 0.45s forwards; }

.btn-book-wash {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brass);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}
.btn-book-wash:hover { background: var(--brass-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4); }
.btn-book-wash .arrow { font-size: 22px; transition: transform 0.3s; }
.btn-book-wash:hover .arrow { transform: translateX(5px); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ----- Sticky-but-capped hero image -----
   .hero-right is the "boundary" the image is allowed to travel inside.
   The image (.car-panels-container) sticks to `top` while its boundary
   is on screen, then simply scrolls away with the rest of the page once
   the hero section ends — it never sticks past that point. */
.hero-right {
    flex: 1.3;
    align-self: stretch;
    position: relative;
}

.car-panels-container {
    position: absolute;
    top: -10%;
    right: 0;
    max-height: calc(100vh - 130px);
}

.car-panels-container img {
    display: block;
    object-fit: contain;
}

/* ===== CONTACT ICONS ===== */
.contact-icons { position: fixed; bottom: 30px; right: 30px; display: flex; gap: 12px; z-index: 100; }
.contact-icon {
    width: 45px; height: 45px; border-radius: 50%; background: var(--charcoal);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.3s; border: none;
}
.contact-icon svg { width: 20px; height: 20px; fill: #fff; }
.contact-icon:hover { transform: translateY(-3px) scale(1.1); background: var(--mid-green); }

/* ===== CATEGORY JUMP NAV ===== */
.category-jump { display: flex; gap: 12px; flex-wrap: wrap; padding: 0 50px 40px; }
.category-jump a {
    text-decoration: none; background: var(--card-bg); border: 1px solid var(--line);
    color: var(--ink); padding: 10px 20px; border-radius: 30px; font-size: 14px; font-weight: 600;
    transition: all 0.25s;
}
.category-jump a:hover { background: var(--deep-green); color: #fff; border-color: var(--deep-green); }

/* ===== CATEGORY SECTION ===== */
.category-section { padding: 50px; scroll-margin-top: 90px; border-top: 1px solid var(--line); }
.category-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
.category-header h2 { font-size: 34px; font-weight: 900; letter-spacing: -1px; }
.category-header .category-count { font-size: 14px; color: var(--muted); font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }

.product-card {
    background: var(--card-bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
    text-decoration: none; color: var(--ink); transition: transform 0.25s, box-shadow 0.25s;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(26, 58, 42, 0.14); }
.product-card .thumb { width: 100%;  background: #e8e3cf; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .name { font-size: 17px; font-weight: 700; }
.product-card .desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; flex: 1; }
.product-card .price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.product-card .price { font-size: 19px; font-weight: 900; color: var(--deep-green); }
.product-card .view-link { font-size: 13px; font-weight: 700; color: var(--brass-dark); }

/* ===== HOURS ===== */
.hours-section { padding: 60px 50px; background: var(--deep-green); color: #fff; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.hours-section h2 { font-size: 30px; font-weight: 900; margin-bottom: 10px; }
.hours-section p.lead { color: rgba(255,255,255,0.75); max-width: 400px; font-size: 15px; line-height: 1.6; }
.hours-table { min-width: 280px; }
.hours-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 15px; }
.hours-row.today { color: var(--brass); font-weight: 700; }

/* ===== FOOTER ===== */
.site-footer { padding: 30px 50px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }

/* ===== BREADCRUMB (product page) ===== */
.breadcrumb { padding: 24px 50px 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { text-decoration: none; color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--deep-green); }
.breadcrumb .current { color: var(--ink); font-weight: 700; }

/* ===== PRODUCT PAGE ===== */
.product-page { padding: 30px 50px 70px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.product-page .gallery { border-radius: 20px; overflow: hidden; background: #e8e3cf; aspect-ratio: 4 / 3; position: sticky; top: 100px; }
.product-page .gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-page .info .category-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--mid-green); background: rgba(30, 77, 53, 0.1); padding: 6px 14px; border-radius: 20px; margin-bottom: 18px; }
.product-page .info h1 { font-size: 40px; font-weight: 900; letter-spacing: -1px; margin-bottom: 14px; line-height: 1.1; }
.product-page .info .price { font-size: 30px; font-weight: 900; color: var(--deep-green); margin-bottom: 22px; }
.product-page .info .desc { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 30px; max-width: 480px; }

.related-section { padding: 10px 50px 70px; }
.related-section h3 { font-size: 22px; font-weight: 800; margin-bottom: 22px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) { .hero-title { font-size: 80px; } }

@media (max-width: 960px) {
    .product-page { grid-template-columns: 1fr; gap: 30px; }
    .product-page .gallery { position: static; }
}

@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-left: 20px; }
    .hero-left { max-width: 100%; margin-bottom: 40px; padding-top: 0; }
    .hero-title { font-size: 60px; }
    .hero-right { align-items: center; }
    .car-panels-container { position: static; max-height: none; }
    .navbar { flex-wrap: wrap; gap: 15px; padding: 15px 20px; }
    .nav-links { gap: 15px; }
}

@media (max-width: 700px) {
    .category-jump, .category-section, .hours-section, .site-footer,
    .breadcrumb, .product-page, .related-section {
        padding-left: 22px; padding-right: 22px;
    }
}

@media (max-width: 600px) {
    .hero-title { font-size: 45px; }
    .hero-subtitle { font-size: 20px; }
    .navbar { padding: 10px 15px; }
    .logo-text .brand { font-size: 18px; }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.product-grid.swiper-mode {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}
.product-grid.swiper-mode .product-card { flex: 0 0 270px; scroll-snap-align: start; }
.product-grid.swiper-mode::-webkit-scrollbar { height: 8px; }
.product-grid.swiper-mode::-webkit-scrollbar-track { background: rgba(26,26,26,0.06); border-radius: 10px; }
.product-grid.swiper-mode::-webkit-scrollbar-thumb { background: var(--brass); border-radius: 10px; }

@media (max-width: 780px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-links.open { max-height: 300px; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 14px 20px; }
    .navbar { position: relative; flex-wrap: nowrap; }
    .nav-left { flex: 1; justify-content: space-between; }
}

@media (max-width: 420px) {
    .product-grid { grid-template-columns: 1fr; }
    .category-header h2 { font-size: 26px; }
    .btn-book-nav { padding: 10px 18px; font-size: 13px; }
}
