/* =============================================
   Lake Perry Cafe' — Styles
   Palette: Terracotta (#B85C38) + Sand (#E8D5C4)
   Fonts: Cormorant Garamond + Inter
   ============================================= */

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #3D2B1F;
  background-color: #FDF8F4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #3D2B1F;
  color: #FDF8F4;
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ---------- Line Decoration ---------- */
.line-deco {
  position: fixed;
  top: 0;
  left: 80px;
  width: 1px;
  height: 100vh;
  background: rgba(184, 92, 56, 0.12);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B85C38;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: #3D2B1F;
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: #B85C38;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #B85C38;
  color: #FDF8F4;
  border-color: #B85C38;
}
.btn-primary:hover {
  background: #9A4A2E;
  border-color: #9A4A2E;
}

.btn-ghost {
  background: transparent;
  color: #FDF8F4;
  border-color: rgba(253, 248, 244, 0.4);
}
.btn-ghost:hover {
  border-color: #FDF8F4;
  background: rgba(253, 248, 244, 0.08);
}

.btn-full {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 92, 56, 0.1);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 1px 20px rgba(61, 43, 31, 0.06);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #3D2B1F;
  text-decoration: none;
}
.logo--footer {
  color: #FDF8F4;
}

.logo-mark {
  color: #B85C38;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  color: #B85C38;
  letter-spacing: 0.04em;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-list a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #3D2B1F;
  position: relative;
  transition: color 0.2s;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #B85C38;
  transition: width 0.3s ease;
}
.nav-list a:hover {
  color: #B85C38;
}
.nav-list a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 8px;
  padding: 8px 20px;
  border: 1px solid #3D2B1F;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background: #3D2B1F;
  color: #FDF8F4 !important;
}
.nav-cta::after {
  display: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  padding: 0;
}
.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 20px;
  height: 1px;
  background: #3D2B1F;
  transition: all 0.3s ease;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 1px;
  background: #3D2B1F;
  transition: all 0.3s ease;
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.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 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #3D2B1F;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/34909337/pexels-photo-34909337.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 43, 31, 0.92) 0%,
    rgba(61, 43, 31, 0.75) 50%,
    rgba(61, 43, 31, 0.6) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  width: 100%;
}

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

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 248, 244, 0.6);
  margin-bottom: 24px;
  padding-left: 2px;
  border-left: 1px solid #B85C38;
  padding-left: 12px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  color: #FDF8F4;
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: #E8D5C4;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(253, 248, 244, 0.75);
  margin-bottom: 40px;
  max-width: 440px;
}

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

/* Hero Aside */
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-image-frame {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 520 / 680;
  background: rgba(184, 92, 56, 0.15);
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-hours {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(253, 248, 244, 0.06);
  border: 1px solid rgba(253, 248, 244, 0.1);
  border-radius: 4px;
}
.hours-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 248, 244, 0.5);
}
.hours-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: #FDF8F4;
}
.hours-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3D2B1F;
  background: #E8D5C4;
  padding: 4px 10px;
  border-radius: 2px;
}

/* ---------- Intro ---------- */
.intro {
  padding: 120px 0;
  background: #FDF8F4;
}

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

.intro-text .section-title {
  margin-bottom: 28px;
}
.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #5C4033;
  margin-bottom: 20px;
}

.intro-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(184, 92, 56, 0.15);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: #B85C38;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8B7355;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(184, 92, 56, 0.2);
}

.intro-image {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 560 / 700;
  background: rgba(184, 92, 56, 0.08);
}
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Divider ---------- */
.divider {
  padding: 0 0 80px;
  background: #FDF8F4;
}
.divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(184, 92, 56, 0.2) 20%,
    rgba(184, 92, 56, 0.2) 80%,
    transparent
  );
}

/* ---------- Baked Goods ---------- */
.baked-goods {
  padding: 80px 0 120px;
  background: #FDF8F4;
}

.section-header {
  margin-bottom: 64px;
}

.goods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.good-card {
  background: #FFFFFF;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(184, 92, 56, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.good-card:hover {
  box-shadow: 0 12px 40px rgba(61, 43, 31, 0.08);
  transform: translateY(-2px);
}

.good-card-image {
  aspect-ratio: 480 / 360;
  overflow: hidden;
  background: rgba(184, 92, 56, 0.06);
}
.good-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.good-card:hover .good-card-image img {
  transform: scale(1.03);
}

.good-card-body {
  padding: 32px;
}
.good-card-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: #3D2B1F;
  margin-bottom: 12px;
  line-height: 1.3;
}
.good-card-body p {
  font-size: 14px;
  line-height: 1.75;
  color: #6B5344;
}

/* ---------- Market ---------- */
.market {
  padding: 120px 0;
  background: #F7EDE5;
}

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

.market-image {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 600 / 800;
  background: rgba(184, 92, 56, 0.08);
}
.market-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-content .section-title {
  margin-bottom: 24px;
}
.market-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #5C4033;
  margin-bottom: 20px;
}

.market-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.market-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #5C4033;
}
.feature-dot {
  display: block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: #B85C38;
  border-radius: 50%;
  margin-top: 8px;
}

/* ---------- Gathering ---------- */
.gathering {
  padding: 120px 0;
  background: #FDF8F4;
}

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

.gathering-content .section-title {
  margin-bottom: 24px;
}
.gathering-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #5C4033;
  margin-bottom: 20px;
}

.gathering-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gather-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 400 / 500;
  background: rgba(184, 92, 56, 0.08);
}
.gather-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gather-img--2 {
  margin-top: 40px;
}

/* ---------- CTA / Visit ---------- */
.cta {
  padding: 120px 0;
  background: #3D2B1F;
}

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

.cta-text .section-title {
  color: #FDF8F4;
  margin-bottom: 0;
}
.cta-text .section-title em {
  color: #E8D5C4;
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  background: rgba(253, 248, 244, 0.05);
  border: 1px solid rgba(253, 248, 244, 0.08);
  border-radius: 4px;
  transition: background 0.3s ease;
}
.cta-card:hover {
  background: rgba(253, 248, 244, 0.08);
}
.cta-card--directions {
  padding: 0;
  overflow: hidden;
  border: none;
  background: transparent;
}
.cta-card--directions:hover {
  background: transparent;
}
.cta-card--directions .btn {
  border-radius: 4px;
}

.cta-card-icon {
  color: #B85C38;
  flex-shrink: 0;
  margin-top: 2px;
}

.cta-card-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: #FDF8F4;
  margin-bottom: 6px;
}
.cta-card-body p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(253, 248, 244, 0.65);
}
.cta-card-body a {
  color: #E8D5C4;
  border-bottom: 1px solid rgba(232, 213, 196, 0.3);
  transition: border-color 0.2s;
}
.cta-card-body a:hover {
  border-color: #E8D5C4;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #2A1E16;
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(253, 248, 244, 0.08);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(253, 248, 244, 0.5);
  margin-top: 16px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(253, 248, 244, 0.55);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #E8D5C4;
}

.footer-contact {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(253, 248, 244, 0.55);
}
.footer-contact a {
  color: #E8D5C4;
  border-bottom: 1px solid rgba(232, 213, 196, 0.3);
  transition: border-color 0.2s;
}
.footer-contact a:hover {
  border-color: #E8D5C4;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(253, 248, 244, 0.3);
  letter-spacing: 0.04em;
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: #B85C38;
  color: #FDF8F4;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(184, 92, 56, 0.3);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: #9A4A2E;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 340px;
    gap: 40px;
  }
  .intro-grid,
  .market-layout,
  .gathering-inner,
  .cta-inner {
    gap: 48px;
  }
}

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

  .nav-toggle { display: block; }
  .nav-list {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 248, 244, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .nav-list.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-list a {
    font-size: 18px;
    letter-spacing: 0.04em;
  }
  .nav-cta {
    margin-left: 0;
    border-color: #3D2B1F;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
  }
  .hero-aside {
    display: none;
  }
  .hero-headline {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .intro { padding: 80px 0; }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .intro-image {
    aspect-ratio: 4 / 5;
  }

  .baked-goods { padding: 60px 0 80px; }
  .goods-grid { grid-template-columns: 1fr; }

  .market { padding: 80px 0; }
  .market-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .market-image {
    aspect-ratio: 4 / 5;
  }

  .gathering { padding: 80px 0; }
  .gathering-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .gathering-images {
    grid-template-columns: 1fr 1fr;
  }
  .gather-img--2 { margin-top: 0; }

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

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .hero-inner { padding: 90px 16px 50px; }

  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .intro-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .good-card-body { padding: 24px; }

  .gathering-images {
    grid-template-columns: 1fr;
  }
  .gather-img {
    aspect-ratio: 4 / 3;
  }

  .cta-card {
    padding: 20px 24px;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .good-card-image img { transition: none; }
  .good-card:hover .good-card-image img { transform: none; }
}
