/* ============================================
   SNOW BUNNY COFFEE — Editorial Style Sheet
   Charcoal + Coral · Playfair Display + Inter
   ============================================ */

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

:root {
  --charcoal: #1A1A1A;
  --charcoal-light: #2D2D2D;
  --charcoal-mid: #3D3D3D;
  --coral: #E85D4A;
  --coral-dark: #C94A38;
  --coral-light: #F28070;
  --cream: #FAF7F4;
  --cream-dark: #F0EBE5;
  --white: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-muted: #8A8A8A;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  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;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

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

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

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

.nav-cta {
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--coral) !important;
}

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

.nav-toggle-line {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 93, 74, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

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

.btn-full {
  width: 100%;
}

/* ---- SECTION COMMON ---- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.accent-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px var(--space-md) var(--space-lg);
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(232, 93, 74, 0.06) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(26, 26, 26, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text {
  padding-right: var(--space-md);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-md);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.hero-accent {
  color: var(--coral);
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: var(--space-md);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  height: 70vh;
  min-height: 500px;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(26, 26, 26, 0.15);
}

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

.hero-img-accent {
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 180px;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.2);
  border: 4px solid var(--cream);
}

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

.hero-float-card {
  position: absolute;
  top: 40px;
  right: -30px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.12);
  text-align: center;
  z-index: 2;
}

.hero-float-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-float-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
}

.hero-divider {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  height: 1px;
  background: rgba(26, 26, 26, 0.08);
}

.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: var(--space-md) auto 0;
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
  color: var(--coral);
  transform: translateY(4px);
}

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

/* ---- ABOUT ---- */
.about {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

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

.about-content {
  padding: var(--space-md) 0;
}

.about-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.about-stats {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.stat {
  flex: 1;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: rgba(26, 26, 26, 0.1);
  align-self: stretch;
}

/* ---- MENU ---- */
.menu {
  padding: var(--space-2xl) 0;
  background: var(--cream);
}

.menu-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

.menu-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(26, 26, 26, 0.04);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26, 26, 26, 0.08);
}

.menu-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(232, 93, 74, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  margin-bottom: var(--space-sm);
}

.menu-card-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.menu-card-list {
  list-style: none;
}

.menu-card-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
  gap: var(--space-sm);
}

.menu-card-list li:last-child {
  border-bottom: none;
}

.menu-item-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--charcoal);
}

.menu-item-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}

.menu-note {
  text-align: center;
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---- GALLERY ---- */
.gallery {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.gallery-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-sm);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item--tall {
  grid-column: span 4;
  height: 480px;
}

.gallery-item--wide {
  grid-column: span 8;
  height: 280px;
}

.gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
  grid-column: span 4;
  height: 280px;
}

/* ---- VISIT ---- */
.visit {
  padding: var(--space-2xl) 0;
  background: var(--charcoal);
  color: var(--white);
}

.visit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

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

.visit-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.visit-detail {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.visit-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(232, 93, 74, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  flex-shrink: 0;
}

.visit-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.visit-detail p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.visit-map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: var(--charcoal-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  border: 2px dashed rgba(255, 255, 255, 0.1);
}

.visit-map-placeholder svg {
  color: var(--coral);
  opacity: 0.6;
}

.map-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---- CONTACT ---- */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-content {
  padding-top: var(--space-md);
}

.contact-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.06);
  border: 1px solid rgba(26, 26, 26, 0.04);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 12px 16px;
  border: 1.5px solid rgba(26, 26, 26, 0.12);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232, 93, 74, 0.1);
}

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

.form-success {
  display: none;
  padding: 16px;
  background: rgba(232, 93, 74, 0.08);
  border-radius: var(--radius-sm);
  color: var(--coral-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  margin-top: var(--space-sm);
}

.form-success.show {
  display: block;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 280px;
}

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

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

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

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--coral);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

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

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

/* ---- ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    order: 2;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    order: 1;
    height: 50vh;
    min-height: 360px;
  }

  .hero-img-accent {
    left: -20px;
    bottom: -20px;
    width: 140px;
    height: 170px;
  }

  .hero-float-card {
    right: -10px;
    top: 20px;
  }

  .about-layout,
  .visit-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 400px;
  }

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

  .gallery-item--tall,
  .gallery-item--wide,
  .gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
    grid-column: span 6;
    height: 280px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 247, 244, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: 0 8px 32px rgba(26, 26, 26, 0.1);
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-headline {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

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

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

  .gallery-item--tall,
  .gallery-item--wide,
  .gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
    grid-column: span 1;
    height: 220px;
  }

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

  .about-stats {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .stat-divider {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

@media (max-width: 480px) {
  .hero-image {
    height: 40vh;
    min-height: 280px;
  }

  .hero-img-accent {
    display: none;
  }

  .hero-float-card {
    right: 10px;
    top: 10px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.8125rem;
  }
}
