/* Thousanaire — Black & Gold theme */
:root {
  --bg: #0a0a0a;
  --text: #f5f5f5;
  --gold: #d4af37;
  --muted: #999999;
  --card: #121212;
  --border: #1e1e1e;
  --accent: #ffd76b;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

a { color: var(--text); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 24px; }

header {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }

.brand img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.brand .title { font-weight: 700; letter-spacing: 0.6px; }
.brand .title span { color: var(--gold); }

.nav-links { display: flex; gap: 18px; }
.nav-links a { padding: 8px 12px; border-radius: 6px; }
.nav-links a:hover { background: var(--card); }

.cta-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 6px;
}
.cta-cart:hover { background: var(--gold); color: #000; }

/* Hero Banner */
.hero-banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
}

/* Hero Images fill banner */
.hero-banner .hero-image {
  display: flex;
  width: 100%;
  height: 400px; /* banner height */
}

.hero-banner .hero-image img {
  flex: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Text overlay at bottom */
.hero-banner .hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(10,10,10,0.7); /* semi-transparent black */
  text-align: center;
}

.hero-banner h1 {
  font-size: 2rem;
  margin: 0;
  color: var(--gold);
}

.hero-banner p {
  font-size: 1rem;
  color: var(--text);
  margin: 8px 0 16px;
}

.hero-banner .btn-primary {
  padding: 10px 16px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* Section Titles */
.section-title { font-size: 1.4rem; margin: 24px 0 12px; }

/* Product Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.card-body { padding: 16px; }
.price { color: var(--accent); font-weight: 600; }
.muted { color: var(--muted); }

.product-actions { display: flex; gap: 10px; margin-top: 12px; }
.btn-primary { background: var(--gold); color: #000; border: none; }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-outline:hover { background: var(--gold); color: #000; }

footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding: 24px;
  color: var(--muted);
}

/* Cart */
.cart-list { display: grid; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--card);
}

/* Contact Page Layout — stacked vertically */
.contact-grid {
  display: flex;
  flex-direction: column; /* ✅ stack children vertically */
  gap: 2rem;
  margin-top: 2rem;
}
.contact-form,
.contact-info {
  background-color: var(--card);
  padding: 2rem;
  border-radius: 8px;
  color: var(--text);
}
.contact-form .label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.contact-form .input {
  width: 100%;
  padding: 10px;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}
.contact-form textarea.input {
  resize: vertical;
}
.contact-form .btn-primary {
  margin-top: 1rem;
  padding: 10px 16px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}
.contact-info a {
  color: var(--gold);
  text-decoration: none;
}
.store-hours {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  color: var(--gold); /* gold for store hours */
}
.store-hours li {
  margin-bottom: 0.5rem;
}
.map-placeholder {
  margin-top: 1rem;
  background: #222;
  padding: 1rem;
  text-align: center;
  border-radius: 6px;
  color: var(--muted);
}

/* Contact Details */
.contact-details {
  margin-top: 2rem;
  font-size: 1.1rem;
}
.contact-details a {
  color: var(--gold);
  text-decoration: none;
}
/* Make address, store hours, and Instagram handle gold */
.contact-details .address,
.contact-details .store-hours,
.contact-details .instagram-handle {
  color: var(--gold);
}
.social-icon {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  margin-left: 6px;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--card);
  color: var(--gold);
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}
.toast.visible {
  opacity: 0.95;
  transform: translateY(0);
}

/* --- About Page Dropdown Styles --- */
.dropdown {
  margin-bottom: 1rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  overflow: hidden;
}

.dropdown-header {
  width: 100%;
  text-align: left;
  background: var(--card);
  color: var(--gold);
  padding: 12px 16px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.dropdown-header:hover {
  background: var(--gold);
  color: var(--bg);
}

.dropdown-header .arrow {
  transition: transform 0.3s ease;
}

.dropdown-content {
  display: none;
  padding: 12px 16px;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.dropdown.open .dropdown-content {
  display: block;   /* ✅ fixed */
}

.dropdown.open .arrow {
  transform: rotate(90deg);
}

/* --- Product Detail: Hero + Swiper Slider --- */
.image-viewer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.main-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Swiper container for product detail */
.product-swiper {
  width: 100%;
  max-width: 500px;
}

.product-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-swiper .slide-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
}

/* Optional: match arrows and bullets to theme */
.swiper-button-next,
.swiper-button-prev {
  color: var(--gold);
}

.swiper-pagination-bullet {
  background: var(--gold);
}
