:root {
    --maroon: #7b1120;
    --maroon-dark: #5a0d18;
    --gold: #d4a017;
    --gold-light: #f0c040;
    --cream: #fff8e7;
    --cream-dark: #f5edda;
    --brown: #5a3a22;
    --text: #222;
    --text-light: #555;
    --white: #fff;
    --shadow: 0 4px 16px rgba(0,0,0,0.10);
    --radius: 10px;
}

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

body {
    font-family: Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

/* ── HEADER / NAV ── */
header {
    background: var(--maroon);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 1.7rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none;
}

.logo span { color: var(--gold); }

nav { display: flex; gap: 8px; align-items: center; }

nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
    font-size: 0.97rem;
}

nav a:hover { background: rgba(255,255,255,0.13); color: var(--white); }

nav a.active {
    background: var(--gold);
    color: #000;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ── PAGE BANNER (inner pages) ── */
.page-banner {
    background: linear-gradient(135deg, var(--maroon-dark) 60%, var(--maroon));
    color: var(--white);
    padding: 48px 24px 40px;
    text-align: center;
    border-bottom: 4px solid var(--gold);
}

.page-banner h2 {
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.page-banner p {
    font-size: 1.05rem;
    opacity: 0.82;
}

/* ── HERO ── */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(rgba(0,0,0,0.52), rgba(0,0,0,0.52)),
        url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 40px 24px;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    opacity: 0.92;
    margin-bottom: 28px;
}

.hero .btn { font-size: 1.05rem; padding: 0.85rem 2rem; }

/* ── CONTAINER & SECTIONS ── */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 2.5rem 1.5rem;
}

.section-title {
    font-size: 1.7rem;
    color: var(--maroon);
    margin-bottom: 1.5rem;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}

/* ── PRODUCT GRID & CARDS ── */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.4rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    padding: 12px;
}

.card-body {
    padding: 1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-body h3 { font-size: 1.1rem; color: var(--brown); }

.card-category {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0;
}

.size-tag {
    background: var(--cream-dark);
    color: var(--brown);
    font-size: 0.75rem;
    padding: 2px 9px;
    border-radius: 12px;
    border: 1px solid #e0d0b0;
}

.card .btn {
    display: block;
    text-align: center;
    margin-top: auto;
    margin: 10px 1.1rem 1.1rem;
    font-weight: 600;
    font-size: 0.93rem;
}

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    background: var(--gold);
    padding: 0.7rem 1.4rem;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover { background: var(--gold-light); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover { background: var(--gold); color: #000; }

/* ── FORMS ── */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--brown);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--cream);
    color: var(--text);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--maroon);
    background: var(--white);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #c0392b;
}

.field-error {
    color: #c0392b;
    font-size: 0.82rem;
    margin-top: 3px;
    display: none;
}

.field-error.show { display: block; }

.form-success {
    display: none;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    color: #2e7d32;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
}

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

/* ── CONTACT PAGE ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.contact-card h3 {
    color: var(--maroon);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 0.97rem;
}

.contact-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: var(--maroon);
    text-decoration: none;
}

.contact-item a:hover { text-decoration: underline; }

/* ── ABOUT PAGE ── */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.03rem;
}

.values-list {
    list-style: none;
    margin-top: 0.5rem;
}

.values-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--cream-dark);
    display: flex;
    gap: 10px;
}

.values-list li::before {
    content: "✦";
    color: var(--gold);
    flex-shrink: 0;
}

.about-highlight {
    background: var(--maroon);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
}

.about-highlight h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.stat-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1rem 0.5rem;
}

.stat-num {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* ── FOOTER ── */
footer {
    background: var(--brown);
    color: rgba(255,255,255,0.85);
    padding: 2rem 1.5rem 1.2rem;
    margin-top: 3rem;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand .logo { font-size: 1.3rem; }

.footer-brand p {
    margin-top: 8px;
    font-size: 0.88rem;
    opacity: 0.7;
    max-width: 220px;
}

.footer-links h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 0.93rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 5px;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.83rem;
    opacity: 0.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hamburger { display: block; }

    nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: var(--maroon-dark);
        flex-direction: column;
        align-items: center;
        padding: 16px 0;
        gap: 4px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    nav.active { display: flex; }

    nav a { width: 80%; text-align: center; }

    .hero { min-height: 60vh; }
    .hero h2 { font-size: 2.3rem; }
    .hero p { font-size: 1rem; }

    .contact-grid, .about-content { grid-template-columns: 1fr; }

    .page-banner h2 { font-size: 1.8rem; }

    .footer-inner { flex-direction: column; gap: 1.5rem; }

    .stat-row { gap: 0.5rem; }
}

/* ── FILTER BAR ── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 7px 18px;
    border-radius: 20px;
    border: 2px solid var(--maroon);
    background: transparent;
    color: var(--maroon);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.filter-btn:hover {
    background: var(--maroon);
    color: var(--white);
}

.filter-btn.active {
    background: var(--maroon);
    color: var(--white);
}

/* ── HERO SLIDER ── */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay on each slide */
.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.50);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 24px;
    max-width: 700px;
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.slide-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 28px;
}

.slide-content .btn {
    font-size: 1.05rem;
    padding: 0.85rem 2rem;
}

/* Dot indicators */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .hero-slider { height: 100vh; }
    .slide-content h2 { font-size: 2.2rem; }
    .slide-content p { font-size: 1rem; }
}

/* ── SEARCH BAR (products page) ── */
.search-filter-bar {
    margin-bottom: 1.2rem;
}

.search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 480px;
}

.search-icon {
    position: absolute;
    left: 14px;
    font-size: 1rem;
    pointer-events: none;
    line-height: 1;
}

.product-search {
    width: 100%;
    padding: 0.72rem 2.6rem 0.72rem 2.8rem;
    border: 2px solid var(--maroon);
    border-radius: 30px;
    font-size: 0.97rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text);
    transition: box-shadow 0.2s, border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.product-search:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.18);
}

/* hide browser-native clear button */
.product-search::-webkit-search-cancel-button { display: none; }

.search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 4px 6px;
    border-radius: 50%;
    line-height: 1;
    transition: background 0.15s;
}

.search-clear:hover {
    background: var(--cream-dark);
    color: var(--maroon);
}

/* ── NO RESULTS STATE ── */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.no-results p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    .search-wrap { max-width: 100%; }
}
