/* ==========================================================================
   SWEET & CRUMB — Artisan Bakery & Patisserie
   Design tokens
   ========================================================================== */
:root{
  --cream: #FBF3E7;
  --cream-deep: #F4E2CC;
  --peach: #E7AE97;
  --peach-deep: #D18F72;
  --cherry: #A93544;
  --cherry-deep: #7E2634;
  --pistachio: #A9B78B;
  --pistachio-deep: #7C9260;
  --chocolate: #3F2E23;
  --chocolate-soft: #7A6152;
  --white: #FFFFFF;

  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius-lg: 1.85rem;
  --radius-md: 1.2rem;
  --radius-sm: 0.75rem;

  --shadow-soft: 0 26px 50px -22px rgba(63, 46, 35, 0.32);
  --shadow-card: 0 10px 26px -14px rgba(63, 46, 35, 0.22);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--chocolate);
  background-color: var(--cream);
  font-weight: 400;
}

h1, h2, h3, h4, .display-font{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--chocolate);
  letter-spacing: -0.01em;
}

p{ color: var(--chocolate-soft); }
a{ text-decoration: none; }

.container-xl-soft{
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-py{ padding-block: 5.5rem; }
.section-py-sm{ padding-block: 3.5rem; }

.section-eyebrow{
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cherry-deep);
}

.section-title{
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  margin-bottom: 0.5rem;
}

.section-lede{ max-width: 42rem; color: var(--chocolate-soft); }

.bg-peach-pale{ background-color: #FBEAE2; }
.bg-cream-deep{ background-color: var(--cream-deep); }
.bg-chocolate{ background-color: var(--chocolate); }
.text-pistachio{ color: var(--pistachio-deep); }
.text-cherry{ color: var(--cherry); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  border-radius: 50px;
  padding: 0.85rem 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  border-width: 2px;
}
.btn-sm{ padding: 0.55rem 1.3rem; font-size: 0.82rem; }

.btn-cherry{
  background-color: var(--cherry);
  border-color: var(--cherry);
  color: var(--white);
}
.btn-cherry:hover{
  background-color: var(--cherry-deep);
  border-color: var(--cherry-deep);
  color: var(--white);
}

.btn-outline-chocolate{
  background-color: transparent;
  border-color: var(--chocolate);
  color: var(--chocolate);
}
.btn-outline-chocolate:hover{
  background-color: var(--chocolate);
  border-color: var(--chocolate);
  color: var(--cream);
}

.btn-outline-cream{
  background-color: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline-cream:hover{
  background-color: var(--white);
  border-color: var(--white);
  color: var(--chocolate);
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announce-bar{
  background-color: var(--chocolate);
  color: var(--cream);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.6rem 1rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar-bakery{
  background-color: rgba(251, 243, 231, 0.92);
  backdrop-filter: blur(10px);
  padding-block: 1rem;
  border-bottom: 1px solid rgba(63, 46, 35, 0.08);
}

.brand-mark{
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--chocolate);
}
.brand-mark span{ color: var(--cherry); }

.navbar-bakery .nav-link{
  color: var(--chocolate);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 0.85rem !important;
}
.navbar-bakery .nav-link:hover{ color: var(--cherry-deep); }

.nav-icon-link{
  color: var(--chocolate);
  font-size: 1.15rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  transition: background-color 0.2s ease;
}
.nav-icon-link:hover{ background-color: #FBEAE2; color: var(--cherry-deep); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{ padding-block: 4rem 3rem; position: relative; overflow: hidden; }

.hero-eyebrow{
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pistachio-deep);
  margin-bottom: 1rem;
}

.hero-title{
  font-size: clamp(2.3rem, 5vw, 3.85rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.hero-title em{ font-style: italic; color: var(--cherry); }

.hero-sub{
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-image-wrap{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-image-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-badge-float{
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
}
.hero-badge-float .icon{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #FBEAE2;
  color: var(--cherry-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-stat-pill{
  position: absolute;
  top: 1.5rem;
  right: -0.5rem;
  background-color: var(--pistachio);
  color: var(--chocolate);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  line-height: 1.1;
}
.hero-stat-pill .num{ font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.hero-stat-pill .lbl{ font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   Feature cards
   ========================================================================== */
.feature-card{
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.25s ease;
}
.feature-card:hover{ transform: translateY(-6px) rotate(-1deg); }

.feature-icon{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #FBEAE2;
  color: var(--cherry-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.feature-card:nth-child(4n+2) .feature-icon{ background-color: #EFF2E7; color: var(--pistachio-deep); }
.feature-card:nth-child(4n+3) .feature-icon{ background-color: #F7E9DC; color: var(--peach-deep); }
.feature-card:nth-child(4n+4) .feature-icon{ background-color: #FBEAE2; color: var(--cherry-deep); }

.feature-title{ font-weight: 700; font-size: 1.02rem; margin-bottom: 0.35rem; color: var(--chocolate); }
.feature-text{ font-size: 0.87rem; margin-bottom: 0; }

/* ==========================================================================
   Category tiles (Signature Cakes / Pastries / Bread / Seasonal)
   ========================================================================== */
.category-tile{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  display: block;
  box-shadow: var(--shadow-card);
}
.category-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-tile:hover img{ transform: scale(1.07); }
.category-tile::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(63,46,35,0) 40%, rgba(63,46,35,0.78) 100%);
}
.category-tile .tile-label{
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  color: var(--white);
}
.category-tile .tile-label h5{ color: var(--white); margin-bottom: 0.15rem; font-size: 1.3rem; font-family: var(--font-display); }
.category-tile .tile-label span{ font-size: 0.8rem; opacity: 0.88; }

/* ==========================================================================
   Custom Cakes split CTA
   ========================================================================== */
.custom-cake-panel{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: var(--chocolate);
}
.custom-cake-panel img{ width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.custom-cake-copy{ padding: 3rem 2.75rem; color: var(--cream); }
.custom-cake-copy .section-eyebrow{ color: var(--pistachio); }
.custom-cake-copy h2{ color: var(--white); }
.custom-cake-copy p{ color: rgba(251,243,231,0.82); }

/* ==========================================================================
   Premium Menu
   ========================================================================== */
.menu-panel{
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.75rem;
  box-shadow: var(--shadow-card);
}
.menu-col-title{
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cherry-deep);
  margin-bottom: 1.4rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cream-deep);
}
.menu-item{
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}
.menu-item:last-child{ margin-bottom: 0; }
.menu-item-name{ font-weight: 600; color: var(--chocolate); white-space: nowrap; }
.menu-item-leader{
  flex: 1;
  border-bottom: 2px dotted var(--cream-deep);
  transform: translateY(-0.3rem);
}
.menu-item-price{ font-weight: 700; color: var(--cherry); white-space: nowrap; }
.menu-item-desc{ display: block; font-size: 0.82rem; color: var(--chocolate-soft); margin-top: 0.15rem; }

/* ==========================================================================
   Our Story / Behind the Oven
   ========================================================================== */
.story-img-wrap{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.story-img-wrap img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; }

.check-item{ display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 1.35rem; }
.check-icon{
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: var(--pistachio-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.check-item h6{ font-weight: 700; margin-bottom: 0.2rem; color: var(--chocolate); }
.check-item p{ font-size: 0.88rem; margin-bottom: 0; }

.oven-gallery{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.oven-gallery figure{ margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.oven-gallery img{ width: 100%; height: 240px; object-fit: cover; transition: transform 0.4s ease; }
.oven-gallery figure:hover img{ transform: scale(1.08); }
.oven-gallery figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(63,46,35,0) 30%, rgba(63,46,35,0.82) 100%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}
.oven-gallery figure:nth-child(1){ grid-column: span 2; grid-row: span 2; }
.oven-gallery figure:nth-child(1) img{ height: 100%; min-height: 500px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.review-card{
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-card);
}
.review-stars{ color: var(--peach-deep); font-size: 0.9rem; margin-bottom: 0.85rem; }
.review-text{ font-size: 0.95rem; font-style: italic; margin-bottom: 1.25rem; color: var(--chocolate); }
.review-person{ display: flex; align-items: center; gap: 0.75rem; }
.review-avatar{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.review-name{ font-weight: 700; font-size: 0.9rem; color: var(--chocolate); margin-bottom: 0; }
.review-loc{ font-size: 0.78rem; color: var(--chocolate-soft); }

/* ==========================================================================
   Visit Us — Hours + Map placeholder
   ========================================================================== */
.hours-card{
  background-color: var(--chocolate);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  color: var(--cream);
  height: 100%;
  box-shadow: var(--shadow-soft);
}
.hours-card h3{ color: var(--white); }
.hours-card .section-eyebrow{ color: var(--pistachio); }
.hours-row{
  display: flex;
  justify-content: space-between;
  padding-block: 0.9rem;
  border-bottom: 1px solid rgba(251,243,231,0.14);
  font-size: 0.95rem;
}
.hours-row:last-of-type{ border-bottom: none; }
.hours-day{ font-weight: 600; color: var(--white); }
.hours-time{ color: rgba(251,243,231,0.8); }
.hours-row.closed .hours-time{ color: var(--peach); }

.map-placeholder{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(circle at 20% 30%, rgba(169,183,139,0.35) 0, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(169,53,68,0.25) 0, transparent 50%),
    linear-gradient(135deg, var(--cream-deep) 0%, var(--peach) 100%);
}
.map-placeholder::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(63,46,35,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63,46,35,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}
.map-pin{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  text-align: center;
  z-index: 2;
}
.map-pin .pin-icon{
  width: 64px;
  height: 64px;
  border-radius: 50% 50% 50% 0;
  background-color: var(--cherry);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transform: rotate(45deg);
  margin-inline: auto;
  box-shadow: var(--shadow-card);
}
.map-pin .pin-icon i{ transform: rotate(-45deg); }
.map-pin .pin-card{
  margin-top: 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: inline-block;
}
.map-pin .pin-card strong{ display: block; color: var(--chocolate); font-family: var(--font-display); font-size: 1.05rem; }
.map-pin .pin-card span{ font-size: 0.82rem; color: var(--chocolate-soft); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-panel{
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.75rem;
  box-shadow: var(--shadow-card);
  height: 100%;
}
.contact-form .form-control, .contact-form .form-select{
  border-radius: var(--radius-sm);
  border: 1px solid var(--cream-deep);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  background-color: var(--cream);
}
.contact-form .form-control:focus, .contact-form .form-select:focus{
  border-color: var(--cherry);
  box-shadow: 0 0 0 3px rgba(169,53,68,0.15);
  background-color: var(--white);
}
.contact-form label{ font-weight: 600; font-size: 0.85rem; margin-bottom: 0.35rem; color: var(--chocolate); }

.contact-info-item{ display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-icon{
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background-color: #FBEAE2;
  color: var(--cherry-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.contact-info-item h6{ font-weight: 700; margin-bottom: 0.15rem; }
.contact-info-item p{ font-size: 0.9rem; margin-bottom: 0; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter-section{
  background-color: var(--pistachio-deep);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.newsletter-section h2{ color: var(--white); }
.newsletter-section p{ color: rgba(251,243,231,0.9); }
.newsletter-form .form-control{
  border-radius: 50px;
  border: none;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}
.newsletter-form .form-control:focus{ box-shadow: 0 0 0 3px rgba(231,174,151,0.55); }

/* ==========================================================================
   Footer
   ========================================================================== */
footer{ background-color: var(--chocolate); color: var(--cream); }
footer .brand-mark{ color: var(--cream); }
footer .brand-mark span{ color: var(--peach); }
footer p{ color: rgba(251,243,231,0.65); }
.footer-heading{
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: var(--peach);
  margin-bottom: 1rem;
}
.footer-links{ list-style: none; padding: 0; margin: 0; }
.footer-links li{ margin-bottom: 0.6rem; }
.footer-links a{ color: rgba(251,243,231,0.75); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover{ color: var(--peach); }
.footer-social a{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(251,243,231,0.1);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: background-color 0.2s ease;
}
.footer-social a:hover{ background-color: var(--cherry); }
.footer-bottom{
  border-top: 1px solid rgba(251,243,231,0.12);
  padding-block: 1.5rem;
  font-size: 0.85rem;
  color: rgba(251,243,231,0.55);
}
.payment-icons{ font-size: 1.3rem; color: rgba(251,243,231,0.55); }
.payment-icons i{ margin-left: 0.75rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px){
  .navbar-bakery .navbar-nav{ margin-block: 1rem; }
  .hero-stat-pill{ display: none; }
  .section-py{ padding-block: 3.75rem; }
  .oven-gallery{ grid-template-columns: repeat(2, 1fr); }
  .oven-gallery figure:nth-child(1){ grid-column: span 2; grid-row: span 1; }
  .oven-gallery figure:nth-child(1) img{ height: 240px; min-height: 0; }
  .custom-cake-copy{ padding: 2.25rem 1.75rem; }
  .menu-panel{ padding: 2.25rem 1.75rem; }
}

@media (max-width: 575.98px){
  .oven-gallery{ grid-template-columns: 1fr; }
  .oven-gallery figure:nth-child(1){ grid-column: span 1; }
}
