/* ============================================
   In House Cafe — Custom Styles
   ============================================ */

/* ---------- 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;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C94424;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: #3D2B1F;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #6B5B50;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #C94424;
  color: #FDF8F0;
}

.btn-primary:hover {
  background: #a8331c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 68, 36, 0.3);
}

.btn-ghost {
  background: transparent;
  color: #3D2B1F;
  border: 1.5px solid rgba(61, 43, 31, 0.25);
}

.btn-ghost:hover {
  border-color: #C94424;
  color: #C94424;
  transform: translateY(-2px);
}

.btn-map {
  margin-top: 28px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 68, 36, 0.08);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 24px rgba(61, 43, 31, 0.07);
}

.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: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #3D2B1F;
}

.nav-logo svg {
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: #6B5B50;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: #C94424;
  background: rgba(201, 68, 36, 0.06);
}

.nav-cta {
  background: #C94424 !important;
  color: #FDF8F0 !important;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: #a8331c !important;
  color: #FDF8F0 !important;
}

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

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #3D2B1F;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, #FDF8F0 0%, #FCE4D9 50%, #F8C4B0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 68, 36, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 169, 106, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #C94424;
  background: rgba(201, 68, 36, 0.08);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: #3D2B1F;
  margin-bottom: 24px;
}

.accent-gradient {
  background: linear-gradient(135deg, #C94424 0%, #e97450 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #6B5B50;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.hero-stat-num {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #3D2B1F;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #8B7B70;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(61, 43, 31, 0.15);
}

.hero-image {
  position: relative;
}

.hero-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(61, 43, 31, 0.12);
  aspect-ratio: 600/760;
}

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

.hero-img-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: linear-gradient(135deg, #C94424, #e97450);
  z-index: -1;
  opacity: 0.2;
}

/* ---------- About ---------- */
.about {
  padding: 120px 24px;
  background: #FDF8F0;
}

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

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(61, 43, 31, 0.08);
}

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

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #6B5B50;
}

.about-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #3D2B1F;
  font-weight: 400;
}

/* ---------- Menu ---------- */
.menu {
  padding: 120px 24px;
  background: linear-gradient(180deg, #FDF8F0 0%, #FCE4D9 100%);
}

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

.menu-card {
  background: #FDF8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(61, 43, 31, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 68, 36, 0.06);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61, 43, 31, 0.1);
  border-color: rgba(201, 68, 36, 0.15);
}

.menu-card-img {
  overflow: hidden;
  aspect-ratio: 400/260;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.04);
}

.menu-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C94424;
  background: rgba(201, 68, 36, 0.08);
  padding: 5px 12px;
  border-radius: 50px;
  align-self: flex-start;
}

.menu-card-title {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #3D2B1F;
  line-height: 1.3;
}

.menu-card-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6B5B50;
}

.menu-card-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.menu-card-list li {
  font-size: 0.8rem;
  color: #8B7B70;
  background: rgba(212, 169, 106, 0.12);
  padding: 4px 10px;
  border-radius: 50px;
}

.menu-note {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #8B7B70;
  font-style: italic;
}

/* ---------- Space ---------- */
.space {
  padding: 120px 24px;
  background: #FDF8F0;
}

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

.space-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.space-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #6B5B50;
}

.space-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.space-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #3D2B1F;
  font-weight: 500;
}

.space-images {
  position: relative;
}

.space-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(61, 43, 31, 0.08);
}

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

.space-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(61, 43, 31, 0.12);
  border: 4px solid #FDF8F0;
}

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

/* ---------- Visit ---------- */
.visit {
  padding: 120px 24px;
  background: linear-gradient(135deg, #FCE4D9 0%, #F8C4B0 100%);
}

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

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

.visit-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #6B5B50;
}

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

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

.visit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(253, 248, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visit-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C94424;
  margin-bottom: 4px;
}

.visit-detail-value {
  display: block;
  font-size: 0.95rem;
  color: #3D2B1F;
  line-height: 1.5;
}

.visit-link {
  color: #C94424;
  text-decoration: underline;
  text-decoration-color: rgba(201, 68, 36, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.visit-link:hover {
  text-decoration-color: #C94424;
}

.visit-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(61, 43, 31, 0.1);
}

.visit-map iframe {
  width: 100%;
  height: 480px;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: #3D2B1F;
  color: #F4E9D4;
  padding: 64px 24px 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #FDF8F0;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #D4C4B4;
  max-width: 320px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #D4C4B4;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  font-size: 0.8rem;
  color: #8B7B70;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 233, 212, 0.1);
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(253, 248, 240, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #3D2B1F;
  padding: 12px 24px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  color: #C94424;
  background: rgba(201, 68, 36, 0.06);
}

.mobile-menu .nav-cta-mobile {
  margin-top: 16px;
  background: #C94424;
  color: #FDF8F0 !important;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .hero-img-wrap {
    aspect-ratio: 4/5;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

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

  .hero-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-img-wrap {
    aspect-ratio: 1/1;
    border-radius: 20px;
  }

  .hero-img-accent {
    width: 80px;
    height: 80px;
    bottom: -12px;
    left: -12px;
  }

  .hero-stats {
    gap: 16px;
  }

  .about-grid,
  .space-layout,
  .visit-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

  .space-img-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 16px;
    border-width: 3px;
  }

  .space-images {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .visit-map iframe {
    height: 320px;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

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

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-stat-divider {
    display: none;
  }

  .container {
    padding: 0 16px;
  }

  .about,
  .menu,
  .space,
  .visit {
    padding: 80px 16px;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
