/* ───────────────────────────────────────────
   Granny's Cafe — Custom Styles
   Plum + Amber · Clean Minimalist
   ─────────────────────────────────────────── */

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

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

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

.text-center {
  text-align: center;
}

.section {
  padding: 100px 0;
}

/* ── Section Labels & Titles ── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a85a6e;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: #2d1217;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: #783545;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #fbbf24;
  color: #2d1217;
  border: 1px solid #fbbf24;
}

.btn-primary:hover {
  background: #fcd34d;
  border-color: #fcd34d;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

.btn-ghost-light {
  background: transparent;
  color: #f5f0ee;
  border: 1px solid rgba(245, 240, 238, 0.35);
}

.btn-ghost-light:hover {
  background: rgba(245, 240, 238, 0.1);
  border-color: rgba(245, 240, 238, 0.6);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 14px;
}

/* ── Navigation ── */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav-fixed.scrolled {
  background: rgba(250, 244, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(120, 53, 69, 0.08);
}

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

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #f5f0ee;
  transition: color 0.3s ease;
}

.nav-fixed.scrolled .nav-logo {
  color: #2d1217;
}

.nav-logo-icon {
  color: #fbbf24;
}

.nav-fixed.scrolled .nav-logo-icon {
  color: #a85a6e;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 238, 0.8);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fbbf24;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fbbf24;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-fixed.scrolled .nav-link {
  color: #783545;
}

.nav-fixed.scrolled .nav-link:hover {
  color: #a85a6e;
}

.nav-fixed.scrolled .nav-link::after {
  background: #a85a6e;
}

.nav-cta {
  padding: 8px 20px;
  border: 1px solid rgba(245, 240, 238, 0.3);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #fbbf24;
  color: #2d1217 !important;
  border-color: #fbbf24;
}

.nav-cta::after {
  display: none;
}

.nav-fixed.scrolled .nav-cta {
  border-color: #a85a6e;
  color: #a85a6e;
}

.nav-fixed.scrolled .nav-cta:hover {
  background: #a85a6e;
  color: #f5f0ee !important;
  border-color: #a85a6e;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #f5f0ee;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-fixed.scrolled .nav-toggle-line {
  background: #783545;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 18, 23, 0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 18, 23, 0.82) 0%,
    rgba(83, 39, 49, 0.72) 50%,
    rgba(45, 18, 23, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

/* Main Hero Card */
.hero-card {
  background: rgba(250, 244, 247, 0.07);
  border: 1px solid rgba(245, 240, 238, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 56px 52px;
  max-width: 620px;
}

.hero-greeting {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 100px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: #f5f0ee;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245, 240, 238, 0.6);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

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

/* Floating Stat Cards */
.hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(250, 244, 247, 0.08);
  border: 1px solid rgba(245, 240, 238, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 24px 28px;
  min-width: 140px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(250, 244, 247, 0.12);
}

.stat-number {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(245, 240, 238, 0.65);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 240, 238, 0.4);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(245, 240, 238, 0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
}

.divider-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(168, 90, 110, 0.2), transparent);
}

.divider-icon {
  color: #a85a6e;
  opacity: 0.4;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-frame:hover img {
  transform: scale(1.03);
}

.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(168, 90, 110, 0.2);
  border-radius: 16px;
  z-index: -1;
}

.about-text {
  padding: 16px 0;
}

.about-body {
  font-size: 1.02rem;
  font-weight: 300;
  color: #783545;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(168, 90, 110, 0.12);
  color: #a85a6e;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ── Menu ── */
.menu {
  background: #fff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.menu-card {
  background: #faf4f7;
  border: 1px solid rgba(168, 90, 110, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(120, 53, 69, 0.08);
  border-color: rgba(168, 90, 110, 0.15);
}

.menu-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(168, 90, 110, 0.1);
}

.menu-icon {
  color: #a85a6e;
  flex-shrink: 0;
}

.menu-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #2d1217;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.menu-item-name {
  font-size: 0.95rem;
  font-weight: 400;
  color: #2d1217;
}

.menu-item-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: #a85a6e;
  white-space: nowrap;
  text-align: right;
}

.menu-note {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 300;
  color: #a85a6e;
  margin-top: 40px;
  font-style: italic;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/2;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 18, 23, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ── Visit ── */
.visit {
  background: #fff;
}

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

.visit-info {
  padding: 16px 0;
}

.visit-desc {
  font-size: 1.02rem;
  font-weight: 300;
  color: #783545;
  line-height: 1.8;
  margin-bottom: 40px;
}

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

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

.visit-icon {
  color: #a85a6e;
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a85a6e;
  margin-bottom: 4px;
}

.visit-detail-value {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: #2d1217;
  line-height: 1.6;
}

.visit-link {
  color: #a85a6e;
  border-bottom: 1px solid rgba(168, 90, 110, 0.3);
  transition: all 0.3s ease;
}

.visit-link:hover {
  color: #783545;
  border-color: #783545;
}

.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 32px rgba(120, 53, 69, 0.1);
}

/* ── CTA ── */
.cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(168, 90, 110, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, #2d1217 0%, #532731 50%, #2d1217 100%);
}

.cta-content {
  position: relative;
}

.cta-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.2;
  color: #f5f0ee;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(245, 240, 238, 0.6);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Footer ── */
.footer {
  background: #2d1217;
  padding: 64px 0 40px;
  color: rgba(245, 240, 238, 0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245, 240, 238, 0.08);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #f5f0ee;
  margin-bottom: 12px;
}

.footer-logo-icon {
  color: #fbbf24;
}

.footer-tagline {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 238, 0.5);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fbbf24;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 12px;
  font-weight: 300;
}

.footer-address {
  font-size: 12px;
  font-weight: 300;
}

.footer-phone {
  color: rgba(245, 240, 238, 0.5);
  transition: color 0.3s ease;
}

.footer-phone:hover {
  color: #fbbf24;
}

/* ── Reveal Animations ── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up {
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-24px);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(24px);
  }
  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-grid,
  .visit-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: rgba(250, 244, 247, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 80px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 95;
    box-shadow: -8px 0 32px rgba(45, 18, 23, 0.1);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-link {
    color: #783545 !important;
    font-size: 15px;
  }

  .nav-link::after {
    background: #a85a6e !important;
  }

  .nav-cta {
    border-color: #a85a6e !important;
    color: #a85a6e !important;
  }

  /* Hero */
  .hero-content {
    padding: 100px 24px 100px;
    align-items: center;
    text-align: center;
  }

  .hero-card {
    padding: 40px 28px;
    width: 100%;
  }

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

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

  .stat-card {
    flex: 1;
    min-width: 0;
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 11px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-accent {
    display: none;
  }

  /* Menu */
  .menu-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .visit-info {
    text-align: center;
  }

  .visit-details {
    align-items: center;
  }

  .visit-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  /* CTA */
  .cta {
    padding: 72px 0;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    align-items: center;
  }

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

  .hero-scroll {
    display: none;
  }
}

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

  .hero-card {
    padding: 32px 24px;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-stats {
    flex-direction: column;
    width: 100%;
  }

  .stat-card {
    width: 100%;
  }

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

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    justify-content: center;
    width: 100%;
  }
}
