/* ============================================
   Sweetwater Shaved Ice — Styles
   Burgundy + Blush | Classic & Elegant
   ============================================ */

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

:root {
  --burgundy:       #722F37;
  --burgundy-dark:  #5A252C;
  --burgundy-light: #8B3A42;
  --blush:          #F2D7D9;
  --blush-light:    #FAEEF0;
  --blush-pale:     #FFF8F8;
  --cream:          #FDF9F7;
  --text-dark:      #2D1F23;
  --text-mid:       #5C4044;
  --text-light:     #8A686C;
  --white:          #FFFFFF;
  --font-serif:     'Lora', Georgia, 'Times New Roman', serif;
  --font-sans:      'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --transition:     0.3s ease;
  --radius:         8px;
  --radius-lg:      16px;
}

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

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

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

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--burgundy-light);
}

ul {
  list-style: none;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-dark);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn-primary:hover {
  background-color: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(114, 47, 55, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--burgundy);
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
  margin-top: 16px;
}

.btn-light:hover {
  background-color: var(--blush);
  border-color: var(--blush);
  color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(114, 47, 55, 0.08);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(114, 47, 55, 0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--burgundy-dark);
}

.nav-logo-icon {
  color: var(--burgundy);
}

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

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--burgundy);
  background-color: var(--blush-light);
}

.nav-link--cta {
  background-color: var(--burgundy);
  color: var(--white) !important;
  margin-left: 8px;
}

.nav-link--cta:hover {
  background-color: var(--burgundy-dark);
  color: var(--white) !important;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--burgundy);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--burgundy);
  padding: 8px;
}

.mobile-menu-link {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.mobile-menu-link:hover {
  color: var(--burgundy);
  background-color: var(--blush-light);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(
      160deg,
      rgba(90, 37, 44, 0.88) 0%,
      rgba(114, 47, 55, 0.82) 50%,
      rgba(139, 58, 66, 0.78) 100%
    ),
    url('https://images.pexels.com/photos/31907940/pexels-photo-31907940.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1280') center / cover no-repeat;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 80%,
    rgba(242, 215, 217, 0.15) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--blush);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- About ---------- */
.about {
  padding: 100px 0;
  background-color: var(--cream);
}

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

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(114, 47, 55, 0.15);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

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

.about-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--blush-light);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  background-color: var(--blush-light);
}

.divider-icon {
  color: var(--burgundy);
  opacity: 0.5;
}

/* ---------- Flavors ---------- */
.flavors {
  padding: 100px 0;
  background-color: var(--blush-light);
}

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

.flavors-header .section-subtitle {
  margin: 0 auto;
}

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

.flavor-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(114, 47, 55, 0.08);
  transition: all var(--transition);
}

.flavor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(114, 47, 55, 0.15);
}

.flavor-card-image {
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.flavor-card-body {
  padding: 24px;
}

.flavor-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.flavor-card-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.flavors-note {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-mid);
}

/* ---------- Visit ---------- */
.visit {
  padding: 100px 0;
  background-color: var(--cream);
}

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

.visit-description {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
}

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

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

.visit-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--blush-light);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.visit-details li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.visit-details li strong {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.visit-details li span,
.visit-details li a {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.visit-details li a:hover {
  color: var(--burgundy);
  text-decoration: underline;
}

.visit-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(114, 47, 55, 0.12);
}

.visit-map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 6/5;
}

/* ---------- Contact ---------- */
.contact {
  padding: 100px 0;
  background-color: var(--burgundy);
}

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

.contact .section-eyebrow {
  color: var(--blush);
}

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

.contact-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.contact-form {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--blush-pale);
  border: 1.5px solid var(--blush);
  border-radius: var(--radius);
  outline: none;
  transition: all var(--transition);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input:focus {
  border-color: var(--burgundy);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 20px;
  background-color: var(--blush-light);
  border-radius: var(--radius);
  color: var(--burgundy-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success svg {
  flex-shrink: 0;
  color: var(--burgundy);
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--burgundy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-logo:hover {
  color: var(--blush);
}

.footer-logo-icon {
  color: var(--blush);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 20px;
}

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

.footer-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer-links svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

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

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

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

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

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

  .flavors-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }

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

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

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

  .about,
  .flavors,
  .visit,
  .contact {
    padding: 72px 0;
  }

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