/* ============================================
   BASKIN-ROBBINS PALM CITY — STYLESHEET
   Charcoal + Coral · Vibrant Modern
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --coral: #FF6B6B;
  --coral-dark: #E85555;
  --coral-light: #FF8E8E;
  --charcoal: #1A1D23;
  --charcoal-light: #2D3139;
  --charcoal-mid: #3D4250;
  --cream: #FFF8F0;
  --cream-dark: #F5EDE3;
  --white: #FFFFFF;
  --text-dark: #1A1D23;
  --text-light: #F5F0EB;
  --text-muted: #6B7280;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(26, 29, 35, 0.08);
  --shadow-md: 0 8px 30px rgba(26, 29, 35, 0.12);
  --shadow-lg: 0 20px 60px rgba(26, 29, 35, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 29, 35, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--coral);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.3px;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.2px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.35);
}

.btn-coral:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.45);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.section-tag--light {
  color: var(--coral-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-title--light {
  color: var(--white);
}

.section-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 29, 35, 0.88) 0%,
    rgba(26, 29, 35, 0.7) 50%,
    rgba(255, 107, 107, 0.25) 100%
  );
}

.hero-shape {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-shape--tl {
  width: 400px;
  height: 400px;
  background: var(--coral);
  border-radius: 50%;
  top: -120px;
  left: -120px;
  opacity: 0.12;
  filter: blur(60px);
}

.hero-shape--br {
  width: 500px;
  height: 500px;
  background: var(--coral);
  border-radius: 50%;
  bottom: -150px;
  right: -100px;
  opacity: 0.08;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 72px;
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 107, 107, 0.2);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: var(--coral-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 540px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  background: var(--charcoal);
  padding: 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  text-align: center;
  position: relative;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

.stat-divider {
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat:last-child .stat-divider {
  display: none;
}

/* ============================================
   FLAVORS
   ============================================ */
.flavors {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}

.flavors::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--coral);
  border-radius: 50%;
  opacity: 0.05;
  filter: blur(80px);
}

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

.section-header .section-desc {
  margin: 0 auto;
}

.flavors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.flavor-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: var(--transition);
}

.flavor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.flavor-card-bg {
  position: absolute;
  inset: 0;
  transition: var(--transition);
}

.flavor-card:hover .flavor-card-bg {
  transform: scale(1.05);
}

.flavor-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  background: linear-gradient(to top, rgba(26, 29, 35, 0.85) 0%, transparent 100%);
}

.flavor-card-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.flavor-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.flavor-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.flavors-note {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.about-shape--left {
  width: 350px;
  height: 350px;
  background: var(--coral);
  opacity: 0.05;
  left: -100px;
  top: 100px;
  filter: blur(60px);
}

.about-shape--right {
  width: 250px;
  height: 250px;
  background: var(--coral);
  opacity: 0.06;
  right: -50px;
  bottom: 50px;
  filter: blur(50px);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.about-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--coral);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-text .section-title {
  margin-top: 8px;
}

.about-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.about-features svg {
  color: var(--coral);
  flex-shrink: 0;
}

/* ============================================
   CAKES
   ============================================ */
.cakes {
  padding: 120px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.cakes-shape {
  position: absolute;
  pointer-events: none;
}

.cakes-shape--top {
  width: 500px;
  height: 500px;
  background: var(--coral);
  border-radius: 50%;
  top: -200px;
  right: -150px;
  opacity: 0.06;
  filter: blur(80px);
}

.cakes-shape--bottom {
  width: 300px;
  height: 300px;
  background: var(--coral);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
  opacity: 0.05;
  filter: blur(60px);
}

.cakes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cakes-content {
  max-width: 520px;
}

.cakes-content .section-desc {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
}

.cakes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.cakes-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.cakes-list-icon {
  font-size: 1.3rem;
}

.cakes-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cakes-img-wrap img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: var(--transition);
}

.cakes-img-wrap:hover img {
  transform: scale(1.03);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card-accent {
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 4px;
  background: var(--coral);
  border-radius: 0 0 4px 4px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
}

/* ============================================
   VISIT
   ============================================ */
.visit {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

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

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

.visit-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 29, 35, 0.92) 0%,
    rgba(26, 29, 35, 0.82) 100%
  );
}

.visit-inner {
  position: relative;
  z-index: 2;
}

.visit-content {
  max-width: 640px;
}

.visit-content .section-desc {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 48px;
}

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

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

.visit-detail svg {
  color: var(--coral);
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.visit-detail span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.visit-detail a {
  color: var(--coral-light);
  transition: var(--transition);
}

.visit-detail a:hover {
  color: var(--coral);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  padding: 64px 0 0;
}

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

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

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

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

.footer-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-contact a {
  color: var(--coral-light);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--coral);
}

.footer-bottom {
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--coral);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
  }

  [data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.nav-links {
  gap: 28px;
}

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

  .about-inner,
  .cakes-inner {
    gap: 48px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26, 29, 35, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-links .btn {
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-headline {
    letter-spacing: -1px;
  }

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

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

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-divider {
    display: none;
  }

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

  .flavor-card {
    min-height: 220px;
  }

  .about-inner,
  .cakes-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-wrap img {
    height: 350px;
  }

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

  .cakes-img-wrap img {
    height: 400px;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    max-width: none;
  }

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

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

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

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

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

  .hero-content {
    padding-top: 60px;
  }

  .section-title {
    letter-spacing: -1px;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-num {
    font-size: 2.4rem;
  }
}
