/* ============================================
   BeanzzZ — Artisan Bakery & Grocery
   Plum + Amber | Confident Corporate
   ============================================ */

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

:root {
  --plum-900: #4A1555;
  --plum-700: #7B2D8B;
  --plum-600: #8E3AA5;
  --plum-500: #A855C2;
  --plum-100: #F3E5F5;
  --plum-50:  #FBF5FC;
  --amber-500: #F5C518;
  --amber-400: #FFD54F;
  --amber-300: #FFE082;
  --amber-100: #FFF8E1;
  --neutral-900: #111827;
  --neutral-700: #374151;
  --neutral-500: #6B7280;
  --neutral-300: #D1D5DB;
  --neutral-100: #F3F4F6;
  --neutral-50:  #F9FAFB;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--neutral-700);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--neutral-900);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--neutral-500);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--plum-900);
  border-color: var(--plum-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--plum-700);
  border-color: var(--plum-700);
}

.btn--ghost:hover {
  background: var(--plum-50);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-100);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
}

.logo--light .logo-text { color: var(--white); }

.logo-icon { flex-shrink: 0; }

/* --- Nav --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: relative;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-700);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--plum-700);
  background: var(--plum-50);
}

/* --- Hero --- */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--plum-50) 0%, var(--white) 50%, var(--amber-100) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum-600);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--neutral-900);
  margin-bottom: 24px;
}

.hero-headline .accent {
  color: var(--plum-700);
  display: block;
}

.hero-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--neutral-500);
  margin-bottom: 36px;
  max-width: 520px;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-700);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--amber-500);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* --- Products --- */
.products {
  padding: 100px 0;
  background: var(--white);
}

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

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--neutral-100);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

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

.product-card-body {
  padding: 28px;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 10px;
}

.product-card-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--neutral-500);
}

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

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

.about-image-group {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-image-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--plum-700);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.badge-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

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

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

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--neutral-300);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--plum-700);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neutral-500);
}

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

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

.visit-text {
  font-size: 18px;
  line-height: 1.75;
  color: var(--neutral-500);
  margin-bottom: 40px;
}

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

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

.visit-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum-600);
  margin-bottom: 4px;
}

.visit-detail-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--neutral-700);
  line-height: 1.6;
}

.visit-detail-value a {
  color: var(--neutral-700);
  transition: var(--transition);
}

.visit-detail-value a:hover {
  color: var(--plum-700);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  min-height: 360px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-700) 100%);
  color: var(--white);
}

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

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

.contact-text {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  padding: 16px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
}

.contact-method:hover {
  background: rgba(255,255,255,0.14);
  transform: translateX(4px);
}

.contact-method svg { flex-shrink: 0; }

/* --- Form --- */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neutral-700);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--neutral-900);
  background: var(--neutral-50);
  border: 2px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--plum-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(123,45,139,0.12);
}

.form-input::placeholder {
  color: var(--neutral-300);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: #16A34A;
}

.form-success.visible {
  display: flex;
}

/* --- Footer --- */
.site-footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}

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

.footer-brand .logo-text { color: var(--white); }

.footer-tagline {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,0.55);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.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);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--amber-400);
  transform: translateX(3px);
}

.footer-links--contact svg {
  flex-shrink: 0;
  margin-top: 1px;
}

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

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.day { color: rgba(255,255,255,0.6); }
.time { font-weight: 600; color: var(--white); }
.time.closed { color: var(--plum-500); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

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

/* --- Mobile Nav Overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  padding: 32px 24px;
}

.nav-overlay.open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-overlay a {
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral-700);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-overlay a:hover {
  background: var(--plum-50);
  color: var(--plum-700);
}

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

  .hero-image { order: -1; }

  .hero-image-wrapper {
    max-width: 560px;
    margin: 0 auto;
  }

  .about-image-secondary {
    right: 16px;
    bottom: -24px;
  }

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

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

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-grid { padding: 40px 0; }

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

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

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

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

  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

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

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

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

  .hero-headline {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .about-image-secondary {
    width: 65%;
    right: 8px;
    bottom: -16px;
  }

  .about-badge {
    left: 8px;
    top: -12px;
  }
}
