:root {
    --gold: #c8964e;
    --gold-dark: #a87a3c;
    --dark: #1a1a2e;
    --cream: #faf8f5;
    --text: #2d2d2d;
    --text-muted: #6b6b6b;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    margin: 0;
}

a { color: var(--gold-dark); }
a:hover { color: var(--gold); }

/* Navbar */
.navbar {
    transition: background-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
    background-color: rgba(26, 26, 46, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.navbar-brand {
    font-family: 'Varela Round', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
}
.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(26,26,46,0.55), rgba(26,26,46,0.7)), url('/img/22.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.hero h1 {
    font-family: 'Varela Round', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}
.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 1rem auto 2rem;
}
.hero .social-links a {
    color: var(--gold);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.2s;
}
.hero .social-links a:hover { color: #fff; }

/* Section base */
section { padding: 5rem 0; }
.section-title {
    font-family: 'Varela Round', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
}
/* the short description under the Original / Pro headings in the shop */
.wax-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: -1rem auto 3rem;
}
/* the sticker picture between a wax heading and its description */
.wax-sticker {
    text-align: center;
    margin: -1.25rem 0 0.25rem;
}
.wax-sticker img { width: 110px; height: auto; }
.wax-sticker + .wax-intro { margin-top: 0; }

/* About */
.about { background: var(--cream); }
.about img {
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Shop */
.shop { background: #fff; }
.product-card {
    background: #fff;
    border: 1px solid #e8e4df;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background-color 0.2s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(200,150,78,0.15);
    border-color: var(--gold);
}
.product-card.selected {
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 3px rgba(200,150,78,0.25);
    background: #f9eedc;
    transform: translateY(-4px);
}
.product-card.selected .weight { color: var(--gold-dark); }
.product-card.selected .price { color: var(--dark); }
.product-card .weight {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}
.product-card .weight small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}
.product-card .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin: 0.8rem 0 1.2rem;
}
/* two products: smaller Original / Pro cards (same fonts), in a narrower row */
.wax-cards {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.wax-cards .product-card { padding: 1.1rem 1rem; }
.wax-cards .product-card .price { margin: 0.3rem 0 0; }
.shop-total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}
.shop-total s {
    font-weight: 400;
    color: var(--text-muted);
    margin-right: 0.2rem;
}
.shop-total .new-total { color: var(--gold-dark); }
.product-card .buy-btn {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
}
.product-card:hover .buy-btn { background: var(--gold-dark); }
.shipping-note {
    text-align: center;
    color: var(--text-muted);
    margin-top: 2.5rem;
    font-size: 0.95rem;
}
.shipping-note strong { color: var(--text); }

/* Dark sections */
.dark-section {
    background: var(--dark);
    color: #fff;
}
.dark-section a { color: var(--gold); }
.dark-section a:hover { color: #e8c88a; }
.dark-section .section-subtitle { color: rgba(255,255,255,0.6); }

/* Gallery */
.gallery { background: var(--cream); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}
.gallery-grid a { display: block; overflow: hidden; }
.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-grid a:hover img { transform: scale(1.05); }
@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.load-more-btn {
    display: block;
    margin: 2rem auto 0;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold-dark);
    padding: 0.6rem 2.5rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.load-more-btn:hover { background: var(--gold); color: #fff; }

/* Classes */
.classes { background: #fff; }
.classes .class-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8e4df;
}
.classes .class-item:last-child { border-bottom: none; }

/* Resources */
.resources { background: var(--cream); }
.resources .resource-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}
.resources .resource-card img {
    width: 280px;
    min-height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}
.resources .resource-card .resource-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.resources .resource-card h4 { margin-bottom: 0.8rem; }
@media (max-width: 767px) {
    .resources .resource-card { flex-direction: column; }
    .resources .resource-card img { width: 100%; min-height: 160px; }
}

/* Contact */
.contact { background: #fff; }
.contact-cards .card {
    border: 1px solid #e8e4df;
    border-radius: 8px;
    text-align: center;
    padding: 1.5rem 0.5rem;
    transition: border-color 0.2s;
}
.contact-cards .card:hover { border-color: var(--gold); }
.contact-cards .card i { color: var(--gold); font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-cards .card h6 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin: 0.5rem 0;
}
a.card { text-decoration: none; color: inherit; cursor: pointer; }
a.card:hover { border-color: var(--gold); }
.contact-cards .card span { color: var(--text-muted); font-size: 0.85rem; }
a.card:hover span { color: var(--gold-dark); }

/* Footer */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    padding: 3rem 0 2rem;
    font-size: 0.9rem;
}
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: var(--gold); }
.flag-icon {
    padding: 10px 20px 10px 10px;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    display: inline-block;
    width: 1.33em;
    line-height: 1em;
}
.flag-icon-us { background-image: url(flag-icons/us.svg); }
.flag-icon-gb { background-image: url(flag-icons/gb.svg); }
.flag-icon-de { background-image: url(flag-icons/de.svg); }
.flag-icon-fr { background-image: url(flag-icons/fr.svg); }
.flag-icon-es { background-image: url(flag-icons/es.svg); }
.flag-icon-eu { background-image: url(flag-icons/eu.svg); }
.flag-icon-be { background-image: url(flag-icons/be.svg); }
.flag-icon-nl { background-image: url(flag-icons/nl.svg); }
.flag-icon-ch { background-image: url(flag-icons/ch.svg); }
.flag-icon-it { background-image: url(flag-icons/it.svg); }
.flag-icon-jp { background-image: url(flag-icons/jp.svg); }
.region-list { list-style: none; padding: 0; }
.region-list li { margin-bottom: 0.4rem; }
