/* ===== Movin' & Munchin' — Landing Page Styles ===== */

/* --- Brand Palette (CSS Custom Properties) --- */
:root {
  --coral:      #FF6B6B;
  --teal:       #00C9B7;
  --gold:       #FFD93D;
  --navy:       #1A1A2E;
  --white:      #FAFAFA;
  --sand:       #F5E6CC;
  --green:      #2ECC71;

  --grad-sunset:  linear-gradient(135deg, #FF6B6B, #FFD93D);
  --grad-ocean:   linear-gradient(135deg, #00C9B7, #1A1A2E);
  --grad-tropical: linear-gradient(135deg, #FF6B6B, #00C9B7);
  --grad-jungle:  linear-gradient(135deg, #2ECC71, #00C9B7);

  --font-head: 'Fredoka One', cursive;
  --font-body: 'Nunito', sans-serif;

  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Titles --- */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 40px);
  text-align: center;
  margin-bottom: 8px;
}
.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--navy);
  opacity: 0.6;
  margin-bottom: 40px;
  font-weight: 600;
}
.section-subtitle--light { color: var(--teal); opacity: 0.8; }

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(26, 26, 46, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(26, 26, 46, 0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
}
.nav-logo img { border-radius: 8px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover { color: var(--coral); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ========================================
   HERO
   ======================================== */
.hero {
  background: var(--grad-sunset);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: calc(var(--nav-height) + 40px) 24px 120px;
  overflow: hidden;
}

.hero-content { position: relative; z-index: 1; max-width: 100%; padding: 0 16px; }

.hero-logo {
  max-width: 500px;
  width: 90%;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 20px rgba(26, 26, 46, 0.15));
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(22px, 5vw, 44px);
  color: var(--white);
  text-shadow: 0 2px 12px rgba(26, 26, 46, 0.2);
  margin-bottom: 8px;
  padding: 0 8px;
}

.hero-sub {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.9;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  background: var(--sand);
  padding: 80px 0;
}

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

.about-text p {
  font-size: 17px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-cta {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--coral);
  margin-top: 8px;
}

.photo-placeholder {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
}

/* ========================================
   EXPLORE (Categories)
   ======================================== */
.explore {
  background: var(--white);
  padding: 80px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: white;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.12);
}

.category-card[data-color="coral"]:hover { border-color: var(--coral); }
.category-card[data-color="teal"]:hover  { border-color: var(--teal); }
.category-card[data-color="gold"]:hover  { border-color: var(--gold); }
.category-card[data-color="green"]:hover { border-color: var(--green); }

.card-icon {
  margin-bottom: 12px;
}
.card-icon svg { margin: 0 auto; }

.category-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
}

/* ========================================
   MAP
   ======================================== */
.map-section {
  background: var(--navy);
  padding: 80px 0;
}

.map-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.map-card iframe {
  display: block;
}

/* ========================================
   FOLLOW US
   ======================================== */
.follow {
  background: var(--white);
  padding: 80px 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 48px;
  background: white;
  border-radius: 16px;
  border: 2px solid transparent;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.12);
  border-color: var(--coral);
}

.social-handle {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.social-platform {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--grad-ocean);
  position: relative;
  padding: 60px 0 32px;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.footer-wave svg {
  width: 100%;
  height: 40px;
}

.footer-inner {
  text-align: center;
  padding-top: 20px;
}

.footer-icon {
  margin: 0 auto 12px;
  border-radius: 12px;
}

.footer-tagline {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-social a {
  color: var(--teal);
  transition: color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  color: var(--coral);
  transform: scale(1.15);
}

.footer-copy {
  font-size: 13px;
  color: var(--white);
  opacity: 0.5;
}

/* ========================================
   SLIDESHOW OVERLAY
   ======================================== */
.slideshow-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.slideshow-overlay.active {
  display: flex;
}

.slideshow-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  padding: 4px 12px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.slideshow-close:hover { opacity: 1; }

.slideshow-prev,
.slideshow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 48px;
  cursor: pointer;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 8px;
  opacity: 0.6;
  transition: opacity 0.2s, background 0.2s;
  line-height: 1;
}
.slideshow-prev { left: 12px; }
.slideshow-next { right: 12px; }
.slideshow-prev:hover,
.slideshow-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.slideshow-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 80px 80px;
}

.slideshow-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.slideshow-img-wrap img.loaded { opacity: 1; }

.slideshow-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: var(--font-head);
  font-size: 18px;
  opacity: 0.8;
  text-align: center;
  white-space: nowrap;
}

.slideshow-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 13px;
  opacity: 0.5;
  font-weight: 600;
}

.slideshow-empty {
  color: white;
  text-align: center;
  font-family: var(--font-head);
  font-size: 22px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    border-bottom: 1px solid rgba(26, 26, 46, 0.08);
  }
  .nav-links.open {
    max-height: 300px;
    padding: 8px 0;
  }
  .nav-links li { border-bottom: 1px solid rgba(26, 26, 46, 0.05); }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
  }
  .nav-links a::after { display: none; }

  .hero { min-height: 70vh; padding-bottom: 100px; padding-left: 16px; padding-right: 16px; }
  .hero-logo { max-width: 260px; }
  .hero-tagline { font-size: 6.5vw; }
  .hero-sub { font-size: 13px; letter-spacing: 1px; }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .photo-placeholder { display: block !important; margin: 0 auto; }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .category-card { padding: 20px 14px; }
  .category-card h3 { font-size: 15px; }
  .category-card p { font-size: 13px; }

  .slideshow-img-wrap { padding: 50px 12px 80px; }
  .slideshow-prev,
  .slideshow-next { font-size: 36px; padding: 12px; }
  .slideshow-prev { left: 4px; }
  .slideshow-next { right: 4px; }

  .social-links { flex-direction: column; align-items: center; }
  .social-card { width: 100%; max-width: 320px; padding: 24px; }

  .map-card iframe { height: 300px; }
}

/* ========================================
   MUSIC PLAYER
   ======================================== */
.music-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  z-index: 200;
  border-top: 2px solid var(--teal);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.music-player.visible { transform: translateY(0); }

.music-btn {
  background: none;
  border: none;
  color: var(--teal);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.music-btn:hover { color: var(--coral); }

.music-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--white);
  opacity: 0.8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .nav-logo span { display: none; }
}
