/* css/styles.css - Component specific styles */

/* ---------- HEADER & NAVIGATION ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  max-width: 1400px;
  margin: 0 auto;
  padding-right: var(--spacing-lg);
}

.logo-wrapper {
  background-color: var(--cream);
  height: 100px;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.logo svg {
  margin-bottom: 0.25rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: var(--font-serif);
  color: var(--primary);
}

.logo-text span.top {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.logo-text span.bottom {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none; 
  }
  .nav-right .btn-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .logo-wrapper {
    padding: 0 1.5rem;
  }
}

/* ---------- HERO SECTION ---------- */
.hero {
  padding-top: calc(100px + var(--spacing-xl));
  padding-bottom: var(--spacing-xl);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  position: relative;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; width: 50vw;
  background: linear-gradient(225deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.1;
  color: white;
}

.hero-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--spacing-md);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-xl);
}

.scroll-mouse {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  animation: scroll 2s infinite;
}

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

/* ---------- ABOUT SECTION ---------- */
.about-section {
  background-color: var(--primary);
  padding: var(--spacing-xxl) 0;
  color: white;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
  }
}

.about-text h2 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.about-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: var(--spacing-md);
  max-width: 90%;
}

.about-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  border-left: 3px solid var(--secondary);
  padding-left: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.value-icon {
  color: var(--secondary);
  margin-bottom: 1rem;
}
.value-icon svg { width: 32px; height: 32px; }

/* ---------- COURSES CARDS ---------- */
.course-icon {
  width: 60px;
  height: 60px;
  background: rgba(26, 39, 68, 0.05); /* very light primary */
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
}

.course-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.card:hover .course-icon {
  background: var(--primary);
  color: var(--secondary);
  transition: all var(--transition-normal);
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--border);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary);
}

.author-meta h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.author-meta p {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- FOOTER ---------- */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-xxl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer h3 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* ---------- WHATSAPP FLOATING BTN ---------- */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform var(--transition-fast);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  color: white;
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}
