/* popAmiga - Pastry School Styles */
/* Custom Styles with Bootstrap 5 */

:root {
  --primary-color: #e91e63;
  --primary-dark: #c2185b;
  --primary-light: #f8bbd9;
  --secondary-color: #ffab91;
  --accent-color: #ffd54f;
  --cream-color: #fff8e1;
  --chocolate-color: #5d4037;
  --dark-color: #3e2723;
  --light-color: #fafafa;
  --gradient-primary: linear-gradient(135deg, #e91e63 0%, #f48fb1 100%);
  --gradient-sweet: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  --shadow-soft: 0 10px 40px rgba(233, 30, 99, 0.15);
  --shadow-medium: 0 15px 50px rgba(0, 0, 0, 0.1);
  --border-radius: 20px;
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--cream-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  z-index: 1000;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 2rem;
  font-weight: 800;
  color: white !important;
}

.navbar.scrolled .navbar-brand {
  color: var(--primary-color) !important;
}

.navbar-brand span {
  color: var(--accent-color);
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0.5rem;
  position: relative;
  transition: var(--transition);
}

.navbar.scrolled .nav-link {
  color: var(--dark-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-lang {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.navbar.scrolled .btn-lang {
  background: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-lang:hover {
  background: var(--primary-color);
  color: white;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(62, 39, 35, 0.85) 0%, rgba(233, 30, 99, 0.85) 100%),
              url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?w=1920&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title span {
  background: linear-gradient(135deg, #ffd54f 0%, #ffab91 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.btn-primary-custom {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(233, 30, 99, 0.5);
  color: white;
}

.btn-outline-custom {
  background: transparent;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: white;
  color: var(--primary-color);
  border-color: white;
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
  background: white;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--cream-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-weight: 500;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Course Cards */
.courses-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--cream-color) 0%, white 100%);
}

.course-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  background: white;
  height: 100%;
  border: 2px solid transparent;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-light);
}

.course-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.course-card:hover .course-img img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.course-level {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-color);
  color: var(--dark-color);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.course-content {
  padding: 1.5rem;
}

.course-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.course-meta i {
  color: var(--primary-color);
}

.course-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.course-desc {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.course-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Recipe Cards */
.recipes-section {
  padding: 6rem 0;
  background: white;
}

.recipe-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  background: white;
  position: relative;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.recipe-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.recipe-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.recipe-card:hover .recipe-img img {
  transform: scale(1.05);
}

.recipe-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 1.5rem;
  color: white;
}

.recipe-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.recipe-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.recipe-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Why Choose Us Section */
.why-us-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--chocolate-color) 0%, var(--dark-color) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.why-us-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.why-us-section .section-title,
.why-us-section .section-subtitle {
  color: white;
}

.why-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  height: 100%;
  text-align: center;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.why-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.why-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.why-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
  padding: 6rem 0;
  background: var(--cream-color);
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
  margin: 1rem;
}

.testimonial-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-light);
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-size: 1.1rem;
  color: #555;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-name {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.3rem;
}

.testimonial-role {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.testimonial-stars {
  color: #ffc107;
  margin-bottom: 1rem;
}

/* Community Section */
.community-section {
  padding: 6rem 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.community-content {
  position: relative;
  z-index: 2;
}

.community-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.community-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 3rem;
}

.community-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.community-stat {
  text-align: center;
}

.community-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
}

.community-stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.btn-community {
  background: white;
  color: var(--primary-color);
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  transition: var(--transition);
}

.btn-community:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Newsletter */
.newsletter-section {
  padding: 5rem 0;
  background: white;
}

.newsletter-box {
  background: var(--gradient-primary);
  border-radius: var(--border-radius);
  padding: 4rem;
  color: white;
  text-align: center;
}

.newsletter-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-subtitle {
  opacity: 0.9;
  margin-bottom: 2rem;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form .input-group {
  background: white;
  border-radius: 50px;
  padding: 0.4rem;
  overflow: hidden;
}

.newsletter-form input {
  border: none;
  padding: 1rem 1.5rem;
}

.newsletter-form input:focus {
  box-shadow: none;
}

.newsletter-form button {
  background: var(--accent-color);
  color: var(--dark-color);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-brand {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--accent-color);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Page Header */
.page-header {
  padding: 10rem 0 5rem;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* About Page */
.about-content {
  padding: 5rem 0;
}

.about-img {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.about-img img {
  width: 100%;
  height: auto;
}

.team-card {
  text-align: center;
  margin-bottom: 2rem;
}

.team-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--primary-light);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.team-role {
  color: var(--primary-color);
  font-size: 0.95rem;
}

/* Contact Page */
.contact-section {
  padding: 5rem 0;
}

.contact-info-card {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-form-card {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.form-control-custom {
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  transition: var(--transition);
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.15);
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .community-stats {
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 8rem 0 4rem;
    min-height: auto;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .community-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .newsletter-box {
    padding: 2rem;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
}
