/* ==============================
   VARIABLES & THEME
   ============================== */
:root {
  /* Colors */
  --color-primary: #10B981; /* Emerald Green */
  --color-primary-dark: #047857;
  --color-secondary: #0F172A; /* Slate navy */
  --color-accent: #F59E0B; /* Amber */
  --color-text-main: #334155;
  --color-text-muted: #64748B;
  --color-bg-body: #FFFFFF;
  --color-bg-light: #F8FAFC;
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;

  /* Typography */
  --font-family-main: 'Outfit', sans-serif;
  
  /* Shadow & Radius */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Layout */
  --container-max-width: 1200px;
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

/* ==============================
   RESET & BASE 
   ============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--color-secondary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

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

.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==============================
   TYPOGRAPHY & UTILS
   ============================== */
.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.title-underline {
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}

/* Base Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 9999px; /* Pill shape */
}

/* ==============================
   NAVIGATION
   ============================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.logo span {
  color: var(--color-primary);
}

.logo-img {
  max-height: 45px;
  width: auto;
  display: block;
}

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

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

.nav-links a:not(.btn) {
  font-weight: 600;
  color: var(--color-text-main);
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--color-primary);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  bottom: -4px;
  left: 0;
  transition: width var(--transition-fast);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    clip-path: circle(0% at 100% 0);
    transition: all 0.4s ease-out;
  }
  .nav-links.active {
    clip-path: circle(150% at 100% 0);
  }
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding-top: 80px; /* Offset for navbar */
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 10s linear;
  transform: scale(1.05); /* Slight zoom out effect */
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

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

.hero h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}

/* ==============================
   ABOUT SECTION
   ============================== */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-list {
  margin-top: 1.5rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--color-secondary);
}

.features-list span {
  color: var(--color-primary);
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.image-wrapper img {
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image {
    order: -1;
  }
}

/* ==============================
   PACKAGES SECTION
   ============================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.package-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.package-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.package-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.package-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.package-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.package-meta .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--color-primary);
}

.package-desc {
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.package-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.package-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* ==============================
   GALLERY SECTION
   ============================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  background: var(--color-bg-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin: 0;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

/* ==============================
   TESTIMONIALS SECTION
   ============================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--color-bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: serif;
  color: rgba(16, 185, 129, 0.1);
  line-height: 1;
}

.stars {
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.stars .material-symbols-outlined {
  font-size: 1.25rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==============================
   FAQ SECTION
   ============================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.faq-question .material-symbols-outlined {
  transition: transform var(--transition-normal);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  padding: 0 1.5rem;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
}

.faq-item.active .faq-question .material-symbols-outlined {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* arbitrary max height for animation */
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background-color: var(--color-secondary);
  color: #CBD5E1;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact .material-symbols-outlined {
  color: var(--color-primary);
}

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

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

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

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   FLOATING WHATSAPP
   ============================== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.wa-float:hover {
  background-color: #128C7E;
  transform: scale(1.05);
  color: white;
}

.wa-text {
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .wa-float {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem;
  }
  .wa-text {
    display: none;
  }
}

/* ==============================
   ANIMATIONS & STATES
   ============================== */
.loading-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--color-white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s infinite;
  min-height: 300px;
  border-radius: var(--radius-lg);
}

@keyframes skeletonLoading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #EF4444;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
