
/* breads.css */



/* Scope all page-specific styles */
body.breads-page {
  background-color: #fff8f0; /* page background */
}

/* Hero Section - keep title and text white */
header.hero .intro h1,
header.hero .intro p {
  color: #fff; /* override any previous color */
}
header.hero .intro h1 {
  margin-top: 25px;  /* remove extra space above title */
  margin-bottom: 10px; /* keep some space between title and text */
}

/* Breads Section */
.breads-section {
  max-width: 1200px;
  margin: 50px auto;
  text-align: center;
  padding: 0 20px;
}

.breads-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #a47d5e;
  font-family: 'Playfair Display', serif;
}

/* Bread Gallery */
.bread-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.bread-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 250px;
  padding: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bread-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.bread-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.bread-card h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #56534c;
  font-family: 'Alegreya', serif;
}

.bread-card p {
  font-size: 14px;
  color: #555;
  font-family: 'Proxima Nova', sans-serif;
}

/* Responsive Layout */
@media screen and (max-width: 900px) {
  .bread-gallery {
    flex-direction: column;
    align-items: center;
  }
}


/* --- Sourdough Health Section --- */
.sourdough-section {
  background-color: #fff8f0;
  padding: 80px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sourdough-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
}

.sourdough-img {
  width: 45%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sourdough-text {
  flex: 1;
  font-family: 'Alegreya', serif;
  color: #56534c;
}

.sourdough-text h2 {
  font-size: 28px;
  color: #a47d5e;
  margin-bottom: 20px;
}

.sourdough-text p {
  font-family: 'Proxima Nova';
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
}

@media screen and (max-width: 900px) {
  .sourdough-content {
    flex-direction: column;
    text-align: center;
  }
  .sourdough-img {
    width: 100%;
  }
}


/* --- Bread Inspiration Section (before footer) --- */
.bread-inspiration {
  background-color: #f4e9dc;
  padding: 80px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.bread-inspiration-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  flex-wrap: wrap;
}

/* --- TEXT --- */
.bread-text {
  flex: 1;
  font-family: 'Alegreya', serif;
  color: #56534c;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.3s;
}

.bread-text h1 {
  font-size: 36px;
  color: #a47d5e;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInTitle 1.2s ease forwards;
  animation-delay: 0.6s;
}

.bread-text p {
  font-family: 'Proxima Nova';
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  max-width: 550px;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.8s;
}

/* --- IMAGE --- */
.bread-image {
  flex: 1;
  text-align: center;
  opacity: 0;
  transform: translateX(-60px);
  animation: fadeSlideIn 1.2s ease forwards;
  animation-delay: 0.2s;
}

.bread-image img {
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  transform: scale(1);
  will-change: transform;
}

/* Hover zoom effect */
.bread-image:hover img {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* --- ANIMATIONS --- */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInTitle {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE DESIGN --- */

/* Tablet */
@media screen and (max-width: 900px) {
  .bread-inspiration-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .bread-text, .bread-image {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .bread-text h1 {
    font-size: 30px;
  }

  .bread-text p {
    font-size: 16px;
    max-width: 90%;
    margin: 0 auto;
  }

  .bread-image img {
    width: 95%;
  }
}

/* Mobile */
@media screen and (max-width: 600px) {
  .bread-inspiration {
    padding: 50px 6%;
  }

  .bread-text h1 {
    font-size: 26px;
  }

  .bread-text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .bread-image img {
    width: 100%;
    border-radius: 8px;
  }
}


/* Ensure Footer is visible */
body.breads-page footer {
  display: block;
  padding: 70px 10%;
  background-color: #f3f1e9;
  text-align: center;
}

body.breads-page footer a {
  color: #35332f;
}

body.breads-page footer .main-nav a:hover {
  color: #a47d5e;
}

/* Optional: override nav separators for breads page */
body.breads-page .main-nav li:not(:last-of-type)::after {
  content: '~';
  flex: 1 1 auto;
  text-align: center;
}

body.breads-page .main-nav li.dropdown:last-of-type::after {
  content: '';
}
