:root {
  --navy: #0b1a2b;
  --navy-dark: #071120;
  --gold: #c9a24b;
  --red: #b3122a;
  --cream: #f6f1e7;
  --text-light: #f0ece2;
  --text-muted: #b9c2cf;
  --max-width: 1180px;
  --radius: 20px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.brand .dot { color: var(--red); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

nav.main-nav a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--text-light);
  padding: 80px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 420px;
}

.hero-text .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-image {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  max-height: 420px;
  width: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: #8f0e21; transform: translateY(-2px); }

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

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
section { padding: 70px 0; }

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 2rem;
  color: var(--navy-dark);
}

.section-heading p {
  color: #55606c;
  max-width: 600px;
  margin: 14px auto 0;
}

/* Feature grid (home) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(11,26,43,0.06);
  border: 1px solid rgba(11,26,43,0.05);
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-6px); }

.feature-card .icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  color: var(--navy-dark);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-card p { color: #5a6472; font-size: 0.95rem; }

/* Category cards on home */
.category-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img { transform: scale(1.06); }

.category-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,17,32,0.9) 0%, rgba(7,17,32,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}

.category-card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.category-card span.link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Catalog page */
.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #fff;
  border: 2px solid #dfe2e6;
  border-radius: 30px;
  padding: 10px 26px;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(11,26,43,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(11,26,43,0.15);
}

.product-card .thumb {
  height: 200px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-card .thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(11,26,43,0.18));
}

.product-card .body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.product-card .meta {
  font-size: 0.85rem;
  color: #6a7480;
  margin-bottom: 4px;
}

.product-card .ean {
  font-size: 0.78rem;
  color: #98a1ab;
  margin-bottom: 14px;
  font-family: monospace;
}

.product-card .btn {
  margin-top: auto;
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
}

.category-group {
  margin-bottom: 60px;
}

.category-group h2 {
  color: var(--navy-dark);
  font-size: 1.6rem;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}

.category-group > p {
  color: #5a6472;
  margin: 12px 0 28px;
  max-width: 700px;
}

/* About page */
.about-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 800px) {
  .about-content { grid-template-columns: 1fr; }
}

.about-content img {
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-content h3 {
  color: var(--navy-dark);
  margin: 24px 0 10px;
}

.about-content p { color: #45505c; margin-bottom: 14px; }

.stat-row {
  display: flex;
  gap: 32px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
}

.stat-item .label {
  font-size: 0.85rem;
  color: #6a7480;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 6px 20px rgba(11,26,43,0.08);
  text-align: center;
}

.contact-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--red);
}

.contact-card h3 {
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.contact-card a, .contact-card p {
  color: #55606c;
}

.contact-card a:hover { color: var(--red); }

.map-embed {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: var(--text-muted);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); }

.footer-logo { height: 60px; width: auto; margin-bottom: 10px; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #7c8794;
}

/* Cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  color: var(--text-light);
  padding: 20px 24px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: none;
}

#cookie-banner.show { display: block; }

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1 1 320px;
}

.cookie-buttons { display: flex; gap: 12px; }

.cookie-buttons button {
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
}

#cookie-accept { background: var(--red); color: #fff; }
#cookie-decline { background: transparent; border: 1px solid var(--text-muted); color: var(--text-muted); }

/* Mobile nav */
@media (max-width: 780px) {
  .nav-toggle { display: block; }

  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    display: none;
    flex-direction: column;
  }

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

  nav.main-nav ul {
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }

  .hero-text h1 { font-size: 2rem; }
  .about-content { grid-template-columns: 1fr; }
}


/* Language switcher */
.lang-switch {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 6px;
  border: none;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.2s, opacity 0.2s;
}
.lang-switch:hover {
  opacity: 0.7;
}
@media (max-width: 780px) {
  .lang-switch { margin: 10px 24px 0; }
}

.brand-pill { height: 32px; width: auto; vertical-align: middle; }

.brand-icon {
  height: 28px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}

.lang-switch + .lang-switch {
  margin-left: 6px;
}
