/* CSS Variables */
:root {
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-accent: #e8aa4a;
  --color-accent-light: #f0c068;
  --color-text: #1a1a1a;
  --color-text-light: #6b7280;
  --color-bg: #f8f7f4;
  --color-bg-alt: #f1f0ed;
  --color-white: #ffffff;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.nav-scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.nav-scrolled .nav-logo {
  color: var(--color-text);
}

.logo-icon {
  font-size: 2rem;
  color: var(--color-accent);
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-scrolled .nav-link {
  color: var(--color-text-light);
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

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

.nav-link-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  background: var(--color-accent-light);
}

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-scrolled .lang-switch {
  border-left-color: rgba(0, 0, 0, 0.1);
}

.lang-btn {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.nav-scrolled .lang-btn {
  color: var(--color-text-light);
}

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

.nav-scrolled .lang-btn:hover {
  color: var(--color-primary);
}

.lang-btn-active {
  color: var(--color-accent) !important;
  background: rgba(232, 170, 74, 0.1);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}

.nav-scrolled .lang-divider {
  color: rgba(0, 0, 0, 0.2);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
}

.nav-scrolled .menu-toggle span {
  background: var(--color-text);
}

.menu-toggle-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-white);
  padding: 0 2rem;
  max-width: 900px;
}

.hero-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  color: var(--color-accent);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center; /* center horizontally */
  align-items: center; /* center vertically */
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-text);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  opacity: 0.7;
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-white), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(0.5);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Stats Bar */
.stats-bar {
  background: var(--color-primary);
  padding: 3rem 0;
}

.stats-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat {
  text-align: center;
  color: var(--color-white);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* Section Styles */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-subtitle-light {
  color: var(--color-accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title-light {
  color: var(--color-white);
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Courses Section */
.courses {
  padding: 6rem 0;
  background: var(--color-white);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.course-card {
  background: var(--color-bg);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.course-card-featured {
  background: var(--color-primary);
  color: var(--color-white);
}

.course-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.course-badge-featured {
  background: var(--color-accent);
  color: var(--color-white);
}

.course-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.course-duration {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.course-card-featured .course-duration {
  color: rgba(255, 255, 255, 0.8);
}

.course-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.course-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.course-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
}

.course-card-featured .course-features li {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.course-card-featured .course-features li::before {
  color: var(--color-accent);
}

.course-price {
  margin-bottom: 1.5rem;
}

.price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
}

.price-unit {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Courses Extra */
.courses-extra {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.rental-box,
.accommodation-box {
  background: var(--color-bg);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
}

.rental-box h3,
.accommodation-box h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
}

.rental-price {
  margin: 1.5rem 0;
}

.accommodation-highlight {
  margin: 1.25rem 0;
  font-weight: 600;
  color: var(--color-primary);
}

.accommodation-preview {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.accommodation-thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.accommodation-thumb:hover {
  transform: scale(1.05);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-image {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
}

.lightbox {
  text-align: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 16px;
}

.lightbox-close {
  margin-bottom: 1rem;
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.course-card-featured .price-unit {
  color: rgba(255, 255, 255, 0.8);
}

.btn-course {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-course:hover {
  background: var(--color-primary-dark);
}

.btn-course-featured {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-course-featured:hover {
  background: var(--color-bg);
}

.btn-outline {
  border: 1px solid var(--color-accent);
  margin-bottom: 0.5rem;
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* ===== Course Program Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.modal-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  margin: 5vh auto;
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.program-step {
  margin-top: 2rem;
}

.program-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 4px 12px;
  font-size: 0.85rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
}

.program-advanced {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(0,0,0,0.04);
}

.program-note {
  margin-top: 2.5rem;
  font-style: italic;
  opacity: 0.85;
}

/* Weather Section (Windy iframe) */
.weather {
  padding: 6rem 0;
  background: var(--color-bg);
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.weather-card iframe {
  width: 100%;
  height: 380px;
  border-radius: 16px;
}

.weather-card h3 {
  margin-bottom: 8px;
  text-align: center;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
  height: 500px;
}

.about-img {
  position: absolute;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-img-1 {
  width: 70%;
  height: 80%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.about-img-2 {
  width: 50%;
  height: 50%;
  object-fit: cover;
  bottom: 0;
  right: 0;
  border: 5px solid var(--color-bg);
}

.about-content .section-subtitle,
.about-content .section-title {
  text-align: left;
}

.about-text {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.feature-text h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Location Section */
.location {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.location-bg {
  position: absolute;
  inset: 0;
}

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

.location-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.location-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-white);
  padding: 0 2rem;
  max-width: 800px;
}

.location-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.location-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.location-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.location-feature-icon {
  color: var(--color-accent);
  font-size: 1.5rem;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: var(--color-bg);
}

.contact-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-description {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-details-centered {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.social-links-centered {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.social-link svg {
  width: 20px;
  height: 20px;
}
svg {
  vertical-align: middle;
}

.whatsapp {
  background-color: #25D366;
  color: white;
  padding: 0.75rem 2rem;
}

.whatsapp:hover {
  background-color: #1DA851;
}

.inline {
  display: inline;
}

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

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-left: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-extras {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.footer-column button,
.footer-column a,
.footer-column p {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
  text-align: left;
}

.footer-column button:hover,
.footer-column a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: max-content;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-images {
    height: 400px;
    order: -1;
  }

  .footer-main {
    grid-template-columns: 1.5fr 2fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--color-primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }

  .nav-links-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .lang-btn {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .lang-btn:hover,
  .lang-btn-active {
    color: var(--color-accent) !important;
  }

  .lang-divider {
    color: rgba(255, 255, 255, 0.3);
  }
  
  .courses-grid,
  .courses-extra {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 2rem 1.5rem;
  }

  .weather-grid {
    grid-template-columns: 1fr;
  }

  .weather-card iframe {
    height: 300px;
  }

  .contact-details-centered {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .nav-link:hover {
    color: var(--color-white) !important;
  }

  .nav-link-cta {
    margin-top: 1rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr;
  } 

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .location-features {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-images {
    height: 300px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

