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

:root {
  --bg: #f5f1ea;
  --bg-dark: #1a1815;
  --text: #2a2622;
  --text-light: #5c564e;
  --accent: #2f5d3a;
  --accent-hover: #3d7a4c;
  --cream: #ebe4d6;
  --border: #d4cbb8;
  --white: #ffffff;
  --card: #faf8f4;
  --shadow: 0 10px 32px rgba(28, 26, 23, 0.14);
  --radius: 8px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 241, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

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

.nav {
  display: flex;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
}

.nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: 0.25s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(to bottom, rgba(26, 24, 21, 0.55), rgba(26, 24, 21, 0.72)),
    url('images/display-table.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding-top: 68px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
  line-height: 1.15;
}

.tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 300;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 28ch;
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-buy {
  background: #0070ba;
  margin-top: 0.75rem;
}

.btn-buy:hover {
  background: #005ea6;
  color: var(--white);
}

/* ===== About ===== */
.about {
  padding: 5.5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.about h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  color: var(--text);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.3rem;
  font-weight: 400;
}

.about-text p:not(.lead) {
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* ===== Gallery ===== */
.gallery {
  padding: 5rem 0 5rem;
  background: var(--cream);
}

.gallery h2,
.inventory h2,
.services h2,
.contact h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 4px 16px rgba(28, 26, 23, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item.large {
  grid-column: span 2;
}

.gallery-item.large img {
  aspect-ratio: 16 / 10;
}

.gallery-item figcaption {
  padding: 0.75rem 0.95rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border-top: 1px solid var(--border);
  letter-spacing: 0;
  line-height: 1.35;
}

.gallery-request {
  text-align: center;
  margin-top: 2.25rem;
  color: var(--text-light);
  font-size: 1rem;
}

.gallery-request a {
  font-weight: 500;
}

/* ===== Inventory ===== */
.inventory {
  padding: 5rem 0 5.5rem;
  background: var(--bg);
}

.shipping-highlight {
  display: block;
  margin-top: 0.45rem;
  color: var(--accent);
  font-weight: 600;
}

.shipping-banner {
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  margin: -0.5rem auto 2rem;
  max-width: 40rem;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  gap: 1.75rem;
  justify-content: center;
}

.inventory-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(28, 26, 23, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.inventory-image {
  background: #f3f0ea;
}

.inventory-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.inventory-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
}

.inventory-body h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: 0;
}

.item-meta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.price-line {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0.2rem 0 0.45rem;
}

.ship-tag {
  display: inline-block;
  margin-left: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #e7f3ea;
  color: var(--accent);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  vertical-align: middle;
}

.inventory-body .item-desc {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.inventory-body .btn-buy {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== Services ===== */
.services {
  padding: 5.5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(47, 93, 58, 0.1);
}

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--text);
  line-height: 1.3;
}

.service-card p {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ===== Contact ===== */
.contact {
  padding: 5rem 0 6rem;
  background: var(--bg-dark);
  color: var(--cream);
  text-align: center;
}

.contact h2 {
  color: var(--cream);
}

.contact .section-intro {
  color: rgba(240, 233, 220, 0.75);
}

.contact-box {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.contact-box a {
  color: #8fbc8f;
  font-weight: 500;
}

.contact-box a:hover {
  color: #b0d4b0;
}

.contact .note {
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.7;
}

/* ===== Footer ===== */
.footer {
  background: #13110e;
  color: rgba(240, 233, 220, 0.55);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer-note {
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

.hit-counter {
  margin-top: 1.25rem;
}

.hit-counter img {
  border: 0;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.counter-credit {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #6E6A68;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 18, 15, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: min(90vw, 960px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: default;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #e8e0d4;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #e8e0d4;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.22);
}

.lightbox-prev {
  left: 1.2rem;
}

.lightbox-next {
  right: 1.2rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    order: -1;
    max-width: 380px;
    margin-inline: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.large {
    grid-column: span 2;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    gap: 1.2rem;
  }
}

@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem;
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .gallery-item.large {
    grid-column: span 1;
  }

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

  .hero {
    min-height: 70vh;
  }

  .about,
  .gallery,
  .inventory,
  .services,
  .contact {
    padding: 3.8rem 0;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}
