/* barista.css - Complete styling for Barista page */

/* 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-gradient: linear-gradient(45deg, #ffd700, #ffa500);
}

/* Barista Hero Section */
.barista-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--coffee-gradient);
  overflow: hidden;
  color: white;
}

.barista-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="20" cy="20" r="1" fill="rgba(255,255,255,0.1)" opacity="0.6"><animate attributeName="r" values="1;2;1" dur="4s" repeatCount="indefinite"/></circle><circle cx="80" cy="80" r="1.5" fill="rgba(255,255,255,0.1)" opacity="0.4"><animate attributeName="r" values="1.5;3;1.5" dur="6s" repeatCount="indefinite"/></circle><circle cx="40" cy="60" r="0.8" fill="rgba(255,255,255,0.1)" opacity="0.8"><animate attributeName="r" values="0.8;1.5;0.8" dur="5s" repeatCount="indefinite"/></circle></svg>');
  animation: float 25s infinite linear;
  /*z-index: 1;*/
}

.coffee-beans,
.coffee-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

@keyframes float {
  0% {
    transform: translateX(0px) translateY(0px);
  }
  100% {
    transform: translateX(-100px) translateY(-100px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.barista-hero.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.barista-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.2);
}

.barista-hero .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  display: block;
}

.barista-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;
  font-weight: 400;
}

.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-gradient);
  -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 Section */
.course-overview {
  padding: 6rem 0;
  background: var(--light-color);
}

.courses-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.course-card {
  background: white;
  border-radius: 25px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--coffee-gradient);
}

.course-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.course-card.featured {
  border: 3px solid var(--coffee-medium);
  transform: scale(1.05);
}

.course-card.featured::before {
  height: 8px;
  background: var(--gold-gradient);
}

.course-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gold-gradient);
  color: var(--coffee-brown);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.course-header {
  text-align: center;
  margin-bottom: 2rem;
}

.course-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--coffee-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1rem auto;
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.course-card.featured .course-icon {
  background: var(--gold-gradient);
  color: var(--coffee-brown);
}

.course-header h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.course-subtitle {
  color: var(--gray);
  font-size: 1rem;
  font-weight: 500;
}

.course-duration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(139, 69, 19, 0.1);
  color: var(--coffee-brown);
  padding: 1rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  font-weight: 600;
}

.course-schedule {
  margin-bottom: 2rem;
}

.course-schedule h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-size: 1.1rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: var(--gray);
  padding: 0.5rem 0;
}

.schedule-item i {
  color: var(--coffee-medium);
  width: 20px;
}

.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: var(--coffee-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.course-price {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(139, 69, 19, 0.05);
  border-radius: 15px;
}

.price-label {
  display: block;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.price-value {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coffee-medium);
  display: block;
  margin-bottom: 0.5rem;
}

.price-note {
  font-size: 0.85rem;
  color: var(--gray);
}

.course-btn {
  width: 100%;
  background: var(--coffee-gradient);
  color: white;
  padding: 1.25rem;
  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;
  cursor: pointer;
}

.course-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

.course-card.featured .course-btn {
  background: var(--gold-gradient);
  color: var(--coffee-brown);
}

/* Course Benefits Section */
.course-benefits {
  margin-top: 4rem;
}

.course-benefits h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--dark-color);
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  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: var(--coffee-gradient);
  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;
}

/* Barista Features Section */
.barista-features {
  padding: 6rem 0;
  background: white;
}

.barista-features .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.barista-features .feature-card {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.barista-features .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--coffee-gradient);
}

.barista-features .feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--coffee-medium);
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.barista-features .feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: var(--coffee-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.barista-features .feature-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.barista-features .feature-card p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  text-align: left;
  padding: 0;
}

.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;
}

/* Skills Curriculum Section */
.skills-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,
    var(--coffee-brown),
    var(--coffee-medium),
    var(--coffee-light)
  );
  transform: translateX(-50%);
}

.skill-level {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.skill-level:nth-child(even) {
  flex-direction: row-reverse;
}

.level-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--coffee-gradient);
  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(139, 69, 19, 0.3);
}

.level-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);
}

.level-content h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--coffee-gold);
}

.level-content ul {
  list-style: none;
  padding: 0;
}

.level-content li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.level-content li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coffee-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}

/* Success Stories Section */
.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: var(--coffee-gradient);
}

.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: var(--coffee-gradient);
  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: var(--coffee-medium);
}

.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 Section */
.download-apps {
  margin-top: 2rem;
}

.download-apps h4 {
  margin-bottom: 1rem;
  color: white;
  font-size: 1.1rem;
}

.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);
  font-size: 0.9rem;
}

.app-btn:hover {
  background: var(--gold-gradient);
  color: var(--coffee-brown);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

/* Footer Links */
.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;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .courses-comparison {
    grid-template-columns: 1fr;
  }

  .course-card.featured {
    transform: none;
  }

  .curriculum-timeline::before {
    left: 40px;
  }

  .skill-level,
  .skill-level:nth-child(even) {
    flex-direction: row;
    text-align: left;
  }

  .level-number {
    width: 60px;
    height: 60px;
    font-size: 1rem;
    margin-right: 2rem;
    flex-shrink: 0;
  }

  .level-content {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .barista-hero {
    min-height: 90vh;
    text-align: center;
    padding: 2rem 0;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .courses-comparison {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .course-card {
    padding: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .instructors-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .curriculum-timeline::before {
    left: 30px;
  }

  .level-number {
    width: 50px;
    height: 50px;
    font-size: 0.9rem;
    margin-right: 1.5rem;
  }

  .level-content {
    padding: 1.5rem;
  }

  .app-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .course-card {
    padding: 1.5rem;
  }

  .barista-hero .hero-title {
    font-size: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .courses-comparison {
    gap: 1.5rem;
  }

  .curriculum-timeline::before {
    display: none;
  }

  .skill-level {
    flex-direction: column;
    text-align: center;
  }

  .level-number {
    margin: 0 0 1rem 0;
  }
}

/* Animation Classes for JavaScript */
/*.fade-in {*/
/*    animation: fadeInUp 0.6s ease forwards;*/
/*}*/

/*@keyframes fadeInUp {*/
/*    from {*/
/*        opacity: 0;*/
/*        transform: translateY(30px);*/
/*    }*/
/*    to {*/
/*        opacity: 1;*/
/*        transform: translateY(0);*/
/*    }*/
/*}*/
