/* ───────────────────────────────────────────
   Blondies Coffee Company — Stylesheet
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6E0)
   Fonts: Playfair Display (headings) + Lora (body)
─────────────────────────────────────────── */

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

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

body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: #2C1A1D;
  background-color: #FDF8F6;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ── Utility ──────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }

/* ── Section Eyebrow ──────────────────── */
.section-eyebrow {
  display: inline-block;
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7B2D3B;
  margin-bottom: 0.75rem;
}

/* ── Section Title ────────────────────── */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #2C1A1D;
  margin-bottom: 1.25rem;
}

/* ── Section Subtitle ─────────────────── */
.section-subtitle {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  color: #5C3D44;
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* ── Buttons ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
  background: #7B2D3B;
  color: #FDF8F6;
  border-color: #7B2D3B;
}

.btn-primary:hover {
  background: #5E2130;
  border-color: #5E2130;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #FDF8F6;
  border-color: rgba(253, 248, 246, 0.6);
}

.btn-outline-light:hover {
  background: rgba(253, 248, 246, 0.12);
  border-color: #FDF8F6;
  transform: translateY(-2px);
}

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

/* ────────────────────────────────────────
   Header
──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.1);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(44, 26, 29, 0.08);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #7B2D3B;
}

.logo-icon {
  color: #7B2D3B;
  flex-shrink: 0;
}

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #2C1A1D;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: color 0.25s ease, background 0.25s ease;
}

.main-nav a:hover {
  color: #7B2D3B;
  background: rgba(123, 45, 59, 0.06);
}

.nav-cta {
  background: #7B2D3B !important;
  color: #FDF8F6 !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: #5E2130 !important;
  color: #FDF8F6 !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #2C1A1D;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.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;
}

/* ────────────────────────────────────────
   Hero
──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    url('https://images.pexels.com/photos/27175868/pexels-photo-27175868.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080')
    center center / cover no-repeat;
  padding: 6rem 1.5rem 4rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(44, 26, 29, 0.82) 0%,
    rgba(123, 45, 59, 0.70) 100%
  );
}

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

.hero-eyebrow {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F5E6E0;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FDF8F6;
  margin-bottom: 1.5rem;
}

.hero-headline br { display: none; }

.hero-sub {
  font-family: 'Lora', serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #F5E6E0;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(245, 230, 224, 0.6);
  font-family: 'Lora', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ────────────────────────────────────────
   About
──────────────────────────────────────── */
.section {
  padding: 6rem 0;
}

.about {
  background: #FDF8F6;
}

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

.about-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(44, 26, 29, 0.12);
}

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

.about-text p {
  color: #4A2C32;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(123, 45, 59, 0.15);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #7B2D3B;
}

.stat-label {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  color: #5C3D44;
  letter-spacing: 0.05em;
}

/* ────────────────────────────────────────
   Menu
──────────────────────────────────────── */
.menu {
  background: #F7EBE7;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.menu-card {
  background: #FDF8F6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44, 26, 29, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(44, 26, 29, 0.14);
}

.menu-card-image {
  overflow: hidden;
  height: 220px;
}

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

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

.menu-card-body {
  padding: 1.75rem;
}

.menu-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2C1A1D;
  margin-bottom: 0.6rem;
}

.menu-card-desc {
  font-size: 0.92rem;
  color: #5C3D44;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.menu-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #4A2C32;
  line-height: 1.5;
}

.menu-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: #7B2D3B;
  border-radius: 50%;
}

.menu-note {
  font-size: 0.9rem;
  color: #7B5C63;
  font-style: italic;
}

/* ────────────────────────────────────────
   Craft
──────────────────────────────────────── */
.craft {
  background: #2C1A1D;
  color: #F5E6E0;
}

.craft .section-eyebrow { color: #F5E6E0; }

.craft .section-title { color: #FDF8F6; }

.craft .section-title em {
  font-style: italic;
  color: #F5E6E0;
}

.craft-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.craft-content p {
  color: #D4BFB8;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

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

.craft-img-main {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.craft-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  width: 55%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border: 4px solid #2C1A1D;
}

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

/* ────────────────────────────────────────
   Testimonial
──────────────────────────────────────── */
.testimonial {
  background: #7B2D3B;
  color: #F5E6E0;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-quote-mark {
  color: rgba(245, 230, 224, 0.2);
  margin-bottom: 1.5rem;
}

.testimonial blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 1.5rem;
  color: #FDF8F6;
}

.testimonial-source {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: #F5E6E0;
  letter-spacing: 0.05em;
}

/* ────────────────────────────────────────
   Visit
──────────────────────────────────────── */
.visit {
  background: #FDF8F6;
}

.visit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.visit-address {
  font-style: normal;
  margin-bottom: 2rem;
}

.visit-address p {
  font-size: 1.05rem;
  color: #4A2C32;
  line-height: 1.8;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.visit-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.visit-icon {
  color: #7B2D3B;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.visit-detail strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #2C1A1D;
  margin-bottom: 0.2rem;
}

.visit-detail p {
  font-size: 0.92rem;
  color: #5C3D44;
  line-height: 1.6;
}

.visit-detail a {
  color: #7B2D3B;
  border-bottom: 1px solid rgba(123, 45, 59, 0.3);
  transition: border-color 0.2s ease;
}

.visit-detail a:hover {
  border-color: #7B2D3B;
}

.visit-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(44, 26, 29, 0.1);
}

.visit-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* ────────────────────────────────────────
   Contact
──────────────────────────────────────── */
.contact {
  background: #F7EBE7;
  padding: 6rem 0;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: #FDF8F6;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(44, 26, 29, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2C1A1D;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: #2C1A1D;
  background: #FDF8F6;
  border: 1.5px solid rgba(123, 45, 59, 0.25);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #7B2D3B;
  box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #B0898F;
}

.form-success {
  text-align: center;
  margin-top: 1.25rem;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: #2C6B4A;
  background: rgba(44, 107, 74, 0.08);
  padding: 1rem;
  border-radius: 8px;
}

/* ────────────────────────────────────────
   Footer
──────────────────────────────────────── */
.site-footer {
  background: #1E1215;
  color: #D4BFB8;
  padding: 4rem 0 0;
}

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

.logo-light {
  color: #F5E6E0;
}

.logo-light .logo-icon {
  color: #F5E6E0;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #A08088;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #F5E6E0;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #A08088;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #F5E6E0;
}

.footer-contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-contact a {
  color: #A08088;
  border-bottom: 1px solid rgba(160, 128, 136, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-contact a:hover {
  color: #F5E6E0;
  border-color: #F5E6E0;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 191, 184, 0.12);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #7A5C62;
}

/* ────────────────────────────────────────
   Responsive
──────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid,
  .craft-layout,
  .visit-layout {
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .about-image-wrap {
    order: -1;
  }

  .craft-img-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .craft-image-group {
    display: grid;
    gap: 1rem;
  }

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

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

  .main-nav {
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(253, 248, 246, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .main-nav a {
    font-size: 1.15rem;
    padding: 0.75rem 1.5rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 0.75rem;
  }

  .hero-headline br { display: block; }

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

  .about-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

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

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

@media (max-width: 480px) {
  .section {
    padding: 4rem 0;
  }

  .contact-form {
    padding: 1.5rem;
  }

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

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

/* ────────────────────────────────────────
   Reduced Motion
──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .menu-card:hover {
    transform: none;
  }

  .menu-card:hover .menu-card-image img {
    transform: none;
  }
}
