/* ============================================
   Smicksburg Country Store — Styles
   Burgundy + Blush · Fresh & Airy
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --burgundy: #7B2D3B;
  --burgundy-deep: #5C1F2C;
  --burgundy-light: #9B3D4E;
  --blush: #F5E6E0;
  --blush-light: #FDF6F4;
  --blush-mid: #FADDD6;
  --cream: #FFFAF8;
  --warm-white: #FFF8F6;
  --text-dark: #2A1A1D;
  --text-mid: #5C3A42;
  --text-light: #8A6068;
  --text-muted: #B08A92;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(123, 45, 59, 0.06);
  --shadow-md: 0 8px 30px rgba(123, 45, 59, 0.10);
  --shadow-lg: 0 16px 60px rgba(123, 45, 59, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--burgundy);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}
.btn-primary:hover {
  background: var(--burgundy-deep);
  border-color: var(--burgundy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-secondary:hover {
  background: var(--blush);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 250, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.2;
}

.logo-mark {
  color: var(--burgundy);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-accent {
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-mid);
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list a {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  border-radius: 50px;
  transition: all var(--transition);
}

.nav-list a:hover {
  color: var(--burgundy);
  background: var(--blush);
}

.nav-cta {
  background: var(--burgundy) !important;
  color: #fff !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--burgundy-deep) !important;
  color: #fff !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--burgundy);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  left: 0;
  transition: all var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  padding-top: 72px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--blush-light) 50%, var(--blush-mid) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 120px;
  flex: 1;
}

.hero-content {
  max-width: 520px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--burgundy);
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  color: var(--burgundy);
  font-style: italic;
  font-weight: 600;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}
.hero-meta-item svg {
  color: var(--burgundy);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 600px;
}

.hero-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-primary {
  width: 75%;
  height: 85%;
  top: 5%;
  right: 0;
}

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

.hero-img-secondary {
  width: 55%;
  height: 40%;
  bottom: 0;
  left: 0;
  border: 4px solid var(--cream);
}

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

.hero-accent-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--burgundy);
  opacity: 0.08;
  top: -30px;
  left: 20%;
  z-index: -1;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 100px 0;
  background: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--warm-white);
}
.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--burgundy);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.about-content p {
  color: var(--text-mid);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--blush-mid);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-size: 1.8rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- MENU ---------- */
.menu {
  padding: 100px 0;
  background: var(--blush-light);
}

.menu-header {
  text-align: center;
  margin-bottom: 60px;
}

.menu-header .section-subtitle {
  margin: 0 auto;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.menu-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid rgba(123, 45, 59, 0.06);
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.menu-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  color: var(--burgundy);
  transition: all var(--transition);
}

.menu-card:hover .menu-card-icon {
  background: var(--burgundy);
  color: #fff;
  transform: scale(1.1);
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.menu-card-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.menu-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}
.menu-note svg {
  color: var(--burgundy);
  flex-shrink: 0;
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: 100px 0;
  background: var(--cream);
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item--tall {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 400px;
}

.gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
  grid-column: span 4;
  min-height: 190px;
}

.gallery-item--wide {
  grid-column: span 8;
  min-height: 190px;
}

/* ---------- VISIT ---------- */
.visit {
  padding: 100px 0;
  background: var(--warm-white);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.visit-info {
  padding-right: 20px;
}

.visit-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-style: normal;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 28px 0;
  line-height: 1.7;
}
.visit-address svg {
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 4px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.visit-detail svg {
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 3px;
}

.visit-detail strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.visit-detail span,
.visit-detail a {
  font-size: 0.92rem;
  color: var(--text-light);
}

.visit-detail a:hover {
  color: var(--burgundy);
}

.visit-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--blush-light) 0%, var(--cream) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-content p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-top: 16px;
}

.contact-form-wrapper {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(123, 45, 59, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--blush-mid);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--blush-light);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(123, 45, 59, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #E8F5E9;
  border-radius: var(--radius-md);
  color: #2E7D32;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 8px;
}
.form-success svg {
  flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}

.logo-footer {
  color: #fff;
  margin-bottom: 16px;
}

.logo-footer .logo-accent {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.6;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 250, 248, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-mobile-overlay.active {
  display: flex;
}

.nav-mobile-overlay a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.nav-mobile-overlay a:hover {
  color: var(--burgundy);
  background: var(--blush);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
    padding: 60px 0 100px;
  }

  .hero-visual {
    height: 480px;
  }

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

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

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 48px 0 80px;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-visual {
    height: 380px;
    order: -1;
  }

  .hero-img-primary {
    width: 85%;
    height: 80%;
  }

  .hero-img-secondary {
    width: 55%;
    height: 35%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .gallery-item--tall {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 260px;
  }

  .gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
    grid-column: span 1;
    min-height: 160px;
  }

  .gallery-item--wide {
    grid-column: span 2;
    min-height: 160px;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .visit-info {
    padding-right: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
  }

  .about-img-float {
    right: -10px;
    bottom: -20px;
  }

  .about-badge {
    left: -10px;
    top: -14px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}
