/* ── Custom Font ───────────────────────────────────────────────── */
@font-face {
  font-family: 'Plateia';
  src: url('/fonts/Plateia-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ── Base ──────────────────────────────────────────────────────── */
:root {
  --color-bg:       #0a0a0a;
  --color-surface:  #141414;
  --color-surface2: #1a1a1a;
  --color-border:   #2a2a2a;
  --color-text:     #e5e5e5;
  --color-muted:    #999;
  --color-accent:   #c0392b;
  --color-accent2:  #e74c3c;
  --color-blue:     #2563eb;
  --color-gold:     #d4a44a;
  --font-heading:   'Plateia', 'Arial Black', sans-serif;
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;
  --max-width:      1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Header / Nav ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.2s;
}

.nav-cart:hover { color: #fff; }

.cart-count {
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -10px;
}

.cart-count.hidden { display: none; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/banner.png') center/cover no-repeat;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

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

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: #000;
}

.btn-dark {
  background: var(--color-surface2);
  color: #fff;
  border: 1px solid var(--color-border);
}
.btn-dark:hover {
  background: var(--color-border);
}

/* ── Section commons ──────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--color-surface);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ── Feature grid (Home) ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.feature-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ── Feature strip (Home — compact highlights) ─────────────────── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.feature-strip-item {
  padding: 1.5rem 0.5rem;
}

.feature-strip-icon {
  display: block;
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.feature-strip-item h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.feature-strip-item p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* ── Split section (text + image) ─────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-img {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.split-text p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ── Product cards (Shop) ─────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.product-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}

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

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.5rem;
}

.product-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-card-body .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.product-card-body p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.product-card-actions {
  display: flex;
  gap: 0.75rem;
}

/* ── Product detail page ──────────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-gallery-main {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 3/2;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-gallery-thumbs img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
  opacity: 1;
  border-color: var(--color-accent);
}

.product-info h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.product-info .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.product-info .desc {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.product-info .qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.qty-control button {
  background: var(--color-surface2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-control button:hover { background: var(--color-border); }

.qty-control input {
  width: 50px;
  height: 40px;
  text-align: center;
  background: var(--color-surface);
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  color: #fff;
  font-size: 1rem;
}

.product-specs {
  margin-top: 2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.product-specs h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.specs-table {
  width: 100%;
}

.specs-table tr {
  border-bottom: 1px solid var(--color-border);
}

.specs-table td {
  padding: 0.6rem 0;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  color: var(--color-muted);
  width: 40%;
}

/* ── Long description ─────────────────────────────────────────── */
.product-long-desc {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
}

.product-long-desc h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-long-desc p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 800px;
}

/* ── Cart page ────────────────────────────────────────────────── */
.cart-page {
  padding: 3rem 0 5rem;
  min-height: 60vh;
}

.cart-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--color-muted);
}

.cart-empty p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

.cart-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-table td {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item-info img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-info h4 {
  font-size: 0.95rem;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.cart-remove:hover { color: var(--color-accent); }

.cart-summary {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

.cart-summary-box {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem;
  min-width: 320px;
}

.cart-summary-box .total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cart-summary-box .total-row .amount {
  color: var(--color-accent);
}

/* ── Contact page ─────────────────────────────────────────────── */
.contact-page {
  padding: 3rem 0 5rem;
}

.contact-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-card {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  font-size: 1.2rem;
  margin-top: 0.15rem;
}

.contact-info-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.contact-info-item a {
  color: var(--color-accent);
  transition: color 0.2s;
}

.contact-info-item a:hover { color: var(--color-accent2); }

/* ── Success / Cancel ─────────────────────────────────────────── */
.result-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
}

.result-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.result-page p {
  color: var(--color-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand img {
  height: 30px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.footer-flag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-flag img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

/* ── Toast notification ───────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-surface2);
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  color: #fff;
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── Animations ───────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .split, .product-detail, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse { direction: ltr; }

  .hero { min-height: 70vh; }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .cart-summary { justify-content: stretch; }
  .cart-summary-box { width: 100%; min-width: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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