/* ==========================================================================
   Gamini Trade Center — Stylesheet
   ========================================================================== */

:root {
  --pink: #d6336c;
  --pink-dark: #a61e4d;
  --gold: #d4a017;
  --ink: #2b2420;
  --muted: #6b625c;
  --bg-soft: #fff8f3;
  --card-bg: #ffffff;
  --border: #f0e2d8;
  --shadow: 0 10px 30px rgba(43, 36, 32, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(214, 51, 108, 0.35);
}
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn-secondary {
  background: #fff;
  color: var(--pink);
  border: 2px solid var(--pink);
}
.btn-secondary:hover { background: #fff0f5; transform: translateY(-2px); }

/* ---------- Header / Navbar ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pink-dark);
}
.logo .icon { font-size: 1.4rem; }
nav#navMenu ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav#navMenu a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
nav#navMenu a:hover { color: var(--pink); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(15, 10, 8, 0.72) 0%, rgba(15, 10, 8, 0.55) 45%, rgba(15, 10, 8, 0.82) 100%),
    url("../images/building.jpg");
  background-size: cover;
  background-position: center 20%;
  padding: 120px 0 90px;
}
.hero-content { text-align: center; max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  color: #ffd7e6;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 2.8rem;
  margin: 0 0 18px;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.hero p {
  color: #f3ece6;
  font-size: 1.05rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Storefront strip (sidebar rows) ---------- */
.storefront-strip { padding: 60px 24px; }
.sidebar-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}
.sidebar-row.reverse .sidebar-image { order: 2; }
.sidebar-row.reverse .sidebar-text { order: 1; }
.sidebar-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.sidebar-text h3 { font-size: 1.5rem; margin: 0 0 12px; }
.sidebar-text p { color: var(--muted); margin: 0; }
.tag {
  display: inline-block;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* ---------- Section generic ---------- */
.section { padding: 70px 0; background: var(--bg-soft); }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-title h2 { font-size: 2rem; margin: 8px 0 12px; }
.section-title p { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.about-text h3 { font-size: 1.6rem; margin: 6px 0 16px; }
.about-text p { color: var(--muted); }
.about-facts { display: flex; gap: 20px; margin-top: 26px; }
.fact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  flex: 1;
  box-shadow: var(--shadow);
}
.fact-card .num { font-size: 1.6rem; font-weight: 800; color: var(--pink); }
.fact-card .label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Product categories ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(43,36,32,0.12); }
.category-card .emoji { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.category-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.category-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-section { background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: #000;
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0));
  color: #fff;
  transform: translateY(8px);
  opacity: 0.92;
}
.gallery-item figcaption h4 { margin: 0 0 4px; font-size: 0.98rem; }
.gallery-item figcaption p { margin: 0; font-size: 0.8rem; color: #f1e9e2; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 12, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: min(900px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.why-card .emoji { font-size: 1.9rem; margin-bottom: 10px; }
.why-card h4 { margin: 0 0 8px; font-size: 1.02rem; }
.why-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* ---------- Location / Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .emoji { font-size: 1.3rem; }
.info-row .label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.info-row .value { display: block; font-size: 1rem; margin-top: 2px; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.hours-table td { padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; }
.hours-table tr:last-child td { border-bottom: none; }
.edit-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); font-style: italic; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Footer ---------- */
footer { background: #2b2420; color: #f3ece6; padding: 50px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 { margin: 0 0 14px; font-size: 1rem; color: #fff; }
.footer-grid p { color: #cfc4bb; font-size: 0.9rem; margin: 0; }
.footer-grid a { display: block; color: #cfc4bb; font-size: 0.9rem; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--pink); }
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #a89d94;
  padding: 20px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 720px) {
  nav#navMenu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  nav#navMenu.open { display: block; }
  nav#navMenu ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  nav#navMenu li { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: flex; }
  .sidebar-row, .sidebar-row.reverse { grid-template-columns: 1fr; }
  .sidebar-row.reverse .sidebar-image, .sidebar-row.reverse .sidebar-text { order: initial; }
  .hero h1 { font-size: 2.1rem; }
  .category-grid, .why-grid, .gallery-grid { grid-template-columns: 1fr; }
}
