/* ============================================
   Frankie V Beer and Soda — Custom Styles
   ============================================ */

/* ---- Base & Typography ---- */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Navigation ---- */
.nav {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 20px rgba(26, 56, 42, 0.08);
}

.nav-link {
  position: relative;
}

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

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

/* Mobile menu */
.mobile-menu {
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-line {
  transition: all 0.3s ease;
}

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

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

.menu-toggle.active .menu-line:nth-child(3) {
  width: 1.5rem;
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-link {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.2s ease;
}

.mobile-menu-link:hover {
  padding-left: 8px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a3c2a;
  color: #f5f0e8;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #1a3c2a;
}

.btn-primary:hover {
  background: #243625;
  border-color: #243625;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 60, 42, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #1a3c2a;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #c6d7c2;
}

.btn-secondary:hover {
  border-color: #1a3c2a;
  background: #f2f5f1;
  transform: translateY(-2px);
}

/* ---- Tags / Badges ---- */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e3ebe0;
  color: #2e442e;
  padding: 8px 16px 8px 12px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4f734d;
  flex-shrink: 0;
}

/* ---- Hero ---- */
.split-hero {
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.8s ease forwards;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.headline-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

.body-lead {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
}

.hero-image-container {
  position: relative;
}

.hero-img {
  box-shadow: 0 25px 60px rgba(26, 56, 42, 0.15);
}

.hero-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: #c6d7c2;
  border-radius: 20px;
  z-index: -1;
  opacity: 0.6;
}

.floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  z-index: 10;
}

.floating-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(26, 56, 42, 0.12);
}

/* ---- Stats ---- */
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
}

.stat-label {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* ---- Section Headers ---- */
.section-header {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Category Cards ---- */
.category-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.category-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card.visible:hover {
  transform: translateY(-4px);
}

.card-image {
  transition: transform 0.5s ease;
}

/* ---- About Section ---- */
.about-image-stack {
  position: relative;
  min-height: 500px;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.about-img-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid #1a3c2a;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-img {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-accent-box {
  position: absolute;
  top: -20px;
  left: -20px;
  background: #2e442e;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-feature {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-feature.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Map ---- */
.map-wrap {
  position: relative;
  overflow: hidden;
}

.map-img {
  transition: transform 0.5s ease;
}

.map-wrap:hover .map-img {
  transform: scale(1.02);
}

.map-overlay {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.map-pin {
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ---- CTA Pattern ---- */
.cta-pattern {
  color: #f5f0e8;
}

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

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-image-accent {
    width: 80px;
    height: 80px;
    top: -10px;
    right: -10px;
  }

  .floating-card {
    bottom: -10px;
    left: -10px;
  }

  .about-image-stack {
    min-height: 350px;
    margin-bottom: 2rem;
  }

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

  .about-accent-box {
    top: -10px;
    left: -10px;
    padding: 14px 18px;
  }

  .map-overlay {
    top: 16px;
    left: 16px;
  }
}

@media (max-width: 640px) {
  .headline-serif {
    font-size: 2.5rem;
    line-height: 1.05;
  }

  .section-header .headline-serif {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 8px !important;
  }

  .stat-number {
    font-size: 2rem !important;
  }
}
