/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #d4a843;
  --gold-light: #e8c56d;
  --gold-dark: #b08a2e;
  --brown: #2c1810;
  --brown-light: #3e2723;
  --brown-medium: #5d4037;
  --cream: #faf3e0;
  --cream-dark: #f0e6ce;
  --red: #8b2500;
  --red-light: #a63c1a;
  --white: #ffffff;
  --text: #3e2723;
  --text-light: #6d4c41;
  --shadow: 0 2px 15px rgba(44,24,16,0.12);
  --shadow-hover: 0 8px 30px rgba(44,24,16,0.2);
  --radius: 8px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HEADER / NAV ==================== */
header {
  background: var(--brown);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  border-bottom: 2px solid var(--gold);
}

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

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  padding: 15px 0;
  letter-spacing: 1px;
}

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

.nav-links {
  display: flex;
  gap: 5px;
}

.nav-links a {
  color: var(--cream-dark);
  padding: 10px 15px;
  border-radius: var(--radius);
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(212,168,67,0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  transition: var(--transition);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--brown);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44,24,16,0.6), rgba(44,24,16,0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cream);
}

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

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--brown);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Page heroes: same height as home hero */

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--brown);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212,168,67,0.4);
}

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

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

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* ==================== SECTIONS ==================== */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: var(--brown);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ==================== TWO COLUMN LAYOUT ==================== */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.content-centered {
  max-width: 860px;
  margin: 0 auto;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px;
  margin-bottom: 20px;
  border-top: 3px solid var(--gold);
}

.sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-card h3 .icon { color: var(--gold); font-style: normal; }

.contact-info p {
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-info a { color: var(--red); }
.contact-info a:hover { text-decoration: underline; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr { border-bottom: 1px solid var(--cream-dark); }
.hours-table tr:last-child { border: none; }

.hours-table td {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--brown);
  width: 40px;
}

/* ==================== PRODUCT GRID ==================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border-bottom: 3px solid var(--gold);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-card-image {
  width: 100%;
  height: 250px;
  object-fit: contain;
  object-position: center;
  background: var(--white);
  cursor: pointer;
  padding: 10px;
}

/* Product image gallery */
.product-gallery {
  position: relative;
  overflow: hidden;
}

.product-gallery .gallery-track {
  display: flex;
  transition: transform 0.3s ease;
}

.product-gallery .gallery-track img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  background: var(--cream-dark);
}

.product-gallery .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44,24,16,0.6);
  color: var(--cream);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 30px;
  text-align: center;
  transition: background 0.2s;
  padding: 0;
}

.product-gallery .gallery-nav:hover { background: rgba(44,24,16,0.85); }
.product-gallery .gallery-prev { left: 6px; }
.product-gallery .gallery-next { right: 6px; }

.product-gallery .gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.product-gallery .gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.product-gallery .gallery-dot.active { background: var(--gold); }

.product-card-body {
  padding: 20px;
}

.product-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--brown);
}

.product-card-body .price {
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.product-card-body .description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* ==================== BRAND LOGOS ==================== */
.brand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.brand-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 100px;
  max-width: 200px;
  transition: var(--transition);
}

.brand-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.brand-item img {
  height: 75px;
  width: auto;
  object-fit: contain;
}

/* ==================== FEATURES / SERVICES ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  border-top: 3px solid var(--gold);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  display: none;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  color: var(--brown);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ==================== ABOUT TEXT ==================== */
.about-text {
  line-height: 1.8;
  color: var(--text-light);
}

.about-text p { margin-bottom: 15px; }

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: center;
  border-top: 3px solid var(--gold);
}

.contact-card .icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--brown);
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--red);
  font-weight: 500;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--brown);
  color: var(--cream-dark);
  padding: 40px 0 20px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.footer-brand h3 span { color: var(--cream); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: var(--cream-dark); }

footer h4 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  color: var(--cream-dark);
  padding: 4px 0;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }

.footer-bottom {
  border-top: 1px solid var(--brown-medium);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--brown-medium);
}

.footer-bottom .rock-ola-logo {
  height: 120px;
  display: inline-block;
  margin-bottom: 15px;
}

/* ==================== LIGHTBOX ==================== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44,24,16,0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

/* ==================== CATEGORY TABS ==================== */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.category-tab {
  padding: 8px 20px;
  border-radius: 20px;
  border: 2px solid var(--cream-dark);
  background: transparent;
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.category-tab:hover, .category-tab.active {
  border-color: var(--gold);
  color: var(--brown);
  background: rgba(212,168,67,0.1);
}

/* ==================== NO PRODUCTS MESSAGE ==================== */
.no-products {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

/* ==================== VISITEKAARTJE ==================== */
.visitekaartje {
  max-width: 280px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brown);
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-top: 1px solid var(--brown-medium);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 20px;
    border-radius: 0;
  }

  nav { position: relative; }

  .hero { height: 45vh; min-height: 280px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
