:root {
  --cream: #fdf8f0;
  --cream-2: #f6ecd9;
  --brown-dark: #3e2417;
  --brown: #6b4226;
  --brown-light: #a97c50;
  --gold: #c9973b;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(62, 36, 23, 0.12);
  --radius: 16px;
  --transition: 0.25s ease;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-dark);
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--brown-dark);
}

p {
  margin: 0 0 1rem;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.center {
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--brown);
  max-width: 640px;
}

.center.lead {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--brown);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

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

.btn-outline-light {
  border-color: var(--brown-dark);
  color: var(--brown-dark);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--brown-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 240, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: rgba(107, 66, 38, 0.08);
}

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

.logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brown-dark);
}

.logo span {
  color: var(--gold);
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brown);
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brown-dark);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(62, 36, 23, 0.55) 0%,
    rgba(62, 36, 23, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  color: var(--white);
  max-width: 700px;
}

.hero-content .eyebrow {
  color: var(--gold);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
}

.hero-content .lead {
  color: var(--cream-2);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 6rem 1.5rem;
}

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

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.about-points {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--brown);
}

.icon {
  font-size: 1.2rem;
}

/* Products */
.products {
  padding: 6rem 0;
  background: var(--cream-2);
}

.products h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding-bottom: 1.5rem;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-card h3 {
  margin-top: 1.25rem;
  font-size: 1.15rem;
}

.product-card p {
  padding: 0 1.25rem;
  color: var(--brown);
  font-size: 0.9rem;
  margin: 0;
}

/* Gallery preview (home) */
.gallery-preview {
  padding: 6rem 0;
}

.gallery-preview h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 2.5rem;
}

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

.preview-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.preview-item:hover img {
  transform: scale(1.08);
}

/* Full gallery page */
.page-header {
  padding: 5rem 0 3rem;
  background: var(--cream-2);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.gallery-page {
  padding: 4rem 0 6rem;
}

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

.gallery-item {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 14, 8, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  padding: 2rem;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 1.1rem;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

/* Hours + CTA */
.hours-cta {
  padding: 5rem 0;
}

.hours-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.hours-card,
.cta-card {
  border-radius: var(--radius);
  padding: 2.5rem;
}

.hours-card {
  background: var(--cream-2);
}

.cta-card {
  background: var(--brown);
  color: var(--white);
}

.cta-card h2 {
  color: var(--white);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(107, 66, 38, 0.25);
  font-weight: 500;
}

.hours-list.small li {
  font-size: 0.9rem;
}

/* Contact page */
.contact-section {
  padding: 4rem 0 6rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown);
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(107, 66, 38, 0.25);
  border-radius: 10px;
  background: var(--cream);
  color: var(--brown-dark);
  resize: vertical;
  transition: var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.contact-form .btn {
  align-self: flex-start;
}

.form-status {
  font-size: 0.9rem;
  color: var(--brown);
  min-height: 1.2rem;
  opacity: 0;
  transition: var(--transition);
}

.form-status.show {
  opacity: 1;
  font-weight: 500;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.info-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 220px;
}

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

/* Footer */
.site-footer {
  background: var(--brown-dark);
  color: var(--cream-2);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--cream-2);
  opacity: 0.8;
  margin-bottom: 0.6rem;
  transition: var(--transition);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-col p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  margin-bottom: 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  margin: 1.5rem 0 0;
}

/* Responsive */
@media (max-width: 960px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about-img {
    order: -1;
  }

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

  .preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hours-wrap {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(107, 66, 38, 0.08);
  }

  .hamburger {
    display: flex;
  }

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

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

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
}

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

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