/* ================================================================
   BAKERY TEMPLATE — Custom Styles
   Warm, artisan design with elegant serif typography
   Extends style-base.css with bakery-specific overrides
   ================================================================ */

/* ===== Typography ===== */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-muted);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

/* ===== Hero ===== */
.hero {
  background: var(--secondary);
  position: relative;
}

.hero-bg {
  background: var(--secondary);
}

.hero-bg::before {
  background: linear-gradient(180deg, rgba(74, 44, 42, 0.5) 0%, rgba(74, 44, 42, 0.45) 50%, rgba(74, 44, 42, 0.7) 100%);
}

.hero-eyebrow {
  color: var(--primary-light);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero-title em {
  color: var(--primary-light);
  font-style: italic;
  display: block;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.35);
}

.hero .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 165, 116, 0.5);
}

/* ===== Section Styling ===== */
.section-eyebrow {
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.section-title {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
}

/* ===== About Section ===== */
.bakery-about {
  padding: 100px 0;
  background: var(--card);
}

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

.bakery-about-grid.no-images {
  grid-template-columns: 1fr;
}

.bakery-about-images {
  position: relative;
  padding-bottom: 2rem;
}

.bakery-about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.bakery-about-img-secondary {
  position: absolute;
  bottom: 0;
  right: -2rem;
  width: 50%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 6px solid var(--bg);
  aspect-ratio: 1;
  object-fit: cover;
}

.bakery-about-badge {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  background: var(--secondary);
  color: #fff;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--primary);
}

.bakery-badge-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.bakery-badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
  opacity: 0.9;
}

.bakery-about-text .section-eyebrow {
  margin-bottom: 0.75rem;
}

.bakery-about-text .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.bakery-about-paragraph {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.bakery-about-divider {
  border-top: 2px solid var(--border);
  margin: 2rem 0;
}

.bakery-about-btn {
  background: var(--secondary);
  color: #fff;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.bakery-about-btn:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== Menu/Products Section ===== */
.bakery-menu {
  padding: 100px 0;
  background: var(--bg);
}

.bakery-menu .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.bakery-menu .section-header .section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* Product card overrides for bakery */
.bakery-menu .product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(74, 44, 42, 0.08);
}

.bakery-menu .product-card:hover {
  box-shadow: 0 20px 60px rgba(74, 44, 42, 0.18);
}

.bakery-menu .product-name {
  font-family: var(--font-heading);
}

.bakery-menu .product-price {
  font-family: var(--font-heading);
  color: var(--primary-dark);
}

.bakery-menu .product-add-btn {
  background: var(--primary);
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.35);
}

.bakery-menu .product-add-btn:hover {
  background: var(--primary-dark);
}

.bakery-menu .product-add-btn.added {
  background: var(--whatsapp);
  box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4);
}

.bakery-menu-footer {
  text-align: center;
  margin-top: 3rem;
}

.bakery-menu-footer p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ===== Testimonials Override ===== */
.testimonials {
  background: var(--card);
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  color: var(--secondary-light);
}

.testimonial-stars {
  color: var(--primary);
}

/* ===== Location Section ===== */
.bakery-location {
  padding: 100px 0;
  background: var(--bg);
}

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

.bakery-location-info .section-eyebrow {
  margin-bottom: 0.75rem;
}

.bakery-location-info .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.bakery-location-info > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.bakery-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.bakery-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.bakery-info-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-dark);
}

.bakery-info-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.bakery-info-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bakery-info-item a {
  color: var(--primary-dark);
  font-weight: 600;
  transition: var(--transition);
}

.bakery-info-item a:hover {
  color: var(--secondary);
}

.bakery-location-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.bakery-location-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.bakery-location-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.bakery-location-card .location-icon {
  color: var(--primary-dark);
  margin-right: 0.5rem;
}

/* ===== Footer Override ===== */
.footer {
  background: var(--secondary);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-col a:hover {
  color: var(--primary-light);
}

/* ===== Navbar Override ===== */
.logo-mark {
  background: var(--primary);
  border-radius: 50%;
}

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

.nav-links a:hover::after {
  background: var(--primary);
}

/* ===== Buttons ===== */
.btn-primary {
  background: var(--secondary);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* ===== Category Pills Override ===== */
.category-pill.active {
  background: var(--secondary);
  border-color: var(--secondary);
}

.category-pill:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ===== View Catalog Button ===== */
.view-catalog-wrapper {
  text-align: center;
  margin-top: 48px;
}

.view-catalog-btn {
  background: var(--secondary);
  color: #fff;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.view-catalog-btn:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .bakery-about-grid {
    gap: 2.5rem;
  }

  .bakery-about-img-secondary {
    right: -1rem;
    border-width: 4px;
  }

  .bakery-location-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .bakery-about,
  .bakery-menu,
  .bakery-location {
    padding: 60px 0;
  }

  .bakery-about-grid,
  .bakery-location-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bakery-about-badge {
    width: 90px;
    height: 90px;
    top: -1rem;
    left: -0.5rem;
  }

  .bakery-badge-icon {
    font-size: 1.5rem;
  }

  .bakery-badge-label {
    font-size: 0.65rem;
  }

  .bakery-about-img-secondary {
    right: -1rem;
    width: 45%;
    border-width: 4px;
  }
}

@media (max-width: 480px) {
  .bakery-about,
  .bakery-menu,
  .bakery-location {
    padding: 50px 0;
  }
}
