/* bakery.css */
/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap");

/* Root Variables */
:root {
  /* --coffee-brown: #8b4513;
  --coffee-medium: #d2691e;
  --coffee-light: #f4a460;
  --coffee-gold: #ffd700;
  --coffee-orange: #ffa500;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --coffee-gradient: linear-gradient(
    135deg,
    #8b4513 0%,
    #d2691e 50%,
    #f4a460 100%
  ); */
  --gold-gradient2: linear-gradient(45deg, #ffffff, #ffdd9d);
}

/* Bakery Hero Section */
.bakery-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd23f 100%);
  overflow: hidden;
}

.bakery-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1.5" fill="rgba(255,255,255,0.15)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.2)"/><circle cx="15" cy="80" r="1.2" fill="rgba(255,255,255,0.12)"/></svg>');
  animation: float 25s infinite linear;
}

.baking-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.baking-elements::before,
.baking-elements::after {
  content: "🍰";
  position: absolute;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.4);
  animation: bakingFloat 25s infinite ease-in-out;
}

.baking-elements::before {
  top: 15%;
  left: 15%;
  animation-delay: 0s;
  content: "🧁";
}

.baking-elements::after {
  top: 70%;
  right: 10%;
  animation-delay: 12s;
  content: "🍞";
}

@keyframes bakingFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.4;
  }
  25% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-80px) rotate(360deg);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-40px) rotate(540deg);
    opacity: 0.6;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bakery-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bakery-hero .hero-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bakery-hero .highlight {
  background: linear-gradient(45deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  display: block;
}

.bakery-hero .hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  color: white;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  background: var(--gold-gradient2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
  margin-top: 0.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Course Overview */
.course-overview {
  padding: 6rem 0;
  background: var(--light-color);
}

.course-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.course-main .course-card {
  background: white;
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.course-main .course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd23f);
}

.course-icon {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
}

.course-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--dark-color);
}

.course-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.course-duration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
  padding: 1.25rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.course-highlights {
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--light-color);
  border-radius: 12px;
  color: var(--dark-color);
}

.highlight-item i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.course-price {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 107, 53, 0.05);
  border-radius: 15px;
}

.price-label {
  display: block;
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.price-value {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff6b35;
  display: block;
  margin-bottom: 0.5rem;
}

.price-note {
  font-size: 0.85rem;
  color: var(--gray);
}

.course-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 1.5rem;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.course-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

/* Course Benefits */
.course-benefits h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

.benefits-grid {
  display: grid;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.benefit-item i {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.benefit-item p {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0;
}

/* Bakery Features */
.bakery-features {
  padding: 6rem 0;
  background: white;
}

.bakery-features .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.bakery-features .feature-card {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.bakery-features .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.bakery-features .feature-card:hover {
  transform: translateY(-10px);
  border-color: #f7931e;
  background: white;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.bakery-features .feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem auto;
}

.bakery-features .feature-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.bakery-features .feature-card p {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  text-align: left;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
  font-size: 0.9rem;
}

.feature-list li::before {
  content: "🥖";
  font-size: 1rem;
}

/* Curriculum Timeline */
.curriculum {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
}

.curriculum-timeline {
  margin-top: 3rem;
  position: relative;
}

.curriculum-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #ff6b35, #f7931e, #ffd23f);
  transform: translateX(-50%);
}

.week-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.week-item:nth-child(even) {
  flex-direction: row-reverse;
}

.week-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.week-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  margin: 0 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.week-content h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffd23f;
}

.week-content ul {
  list-style: none;
}

.week-content li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.week-content li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff6b35;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}

/* Success Stories */
.success-stories {
  padding: 6rem 0;
  background: var(--light-color);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.story-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd23f);
}

.story-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.story-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem auto;
}

.story-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.story-card p {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.story-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.story-stats .stat-number {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ff6b35;
}

.story-stats .stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}

/* Instructors Section */
.instructors-section {
  padding: 6rem 0;
  background: white;
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.instructor-card {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.instructor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  background: white;
}

.instructor-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.instructor-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.instructor-title {
  color: #f7931e;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.instructor-experience {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.instructor-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.instructor-skills span {
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Download Apps */
.download-apps {
  margin-top: 2rem;
}

.download-apps h4 {
  margin-bottom: 1rem;
  color: white;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-btn:hover {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

/* Footer Updates */
.footer-links {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .course-details {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .curriculum-timeline::before {
    left: 40px;
  }

  .week-item,
  .week-item:nth-child(even) {
    flex-direction: row;
    text-align: left;
  }

  .week-number {
    width: 60px;
    height: 60px;
    font-size: 1rem;
    margin-right: 2rem;
    flex-shrink: 0;
  }

  .week-content {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .bakery-hero {
    min-height: 90vh;
    text-align: center;
    padding: 2rem 0;
  }

  .hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 2rem;
  }

  .course-card {
    padding: 2rem;
  }

  .benefits-grid {
    gap: 1rem;
  }

  .benefit-item {
    padding: 1rem;
  }

  .curriculum-timeline::before {
    left: 30px;
  }

  .week-number {
    width: 50px;
    height: 50px;
    font-size: 0.9rem;
    margin-right: 1.5rem;
  }

  .week-content {
    padding: 1.5rem;
  }

  .app-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .course-card,
  .story-card,
  .instructor-card {
    padding: 1.5rem;
  }

  .bakery-hero .hero-title {
    font-size: 2rem;
  }

  .curriculum .section-title {
    font-size: 1.8rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .curriculum-timeline::before {
    display: none;
  }

  .week-item {
    flex-direction: column;
    text-align: center;
  }

  .week-number {
    margin: 0 0 1rem 0;
  }
}

/* Animation Enhancements */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.week-item:nth-child(odd) .week-content {
  animation: slideInLeft 0.6s ease forwards;
}

.week-item:nth-child(even) .week-content {
  animation: slideInRight 0.6s ease forwards;
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}
