/* --- Design Tokens --- */
:root {
  /* Extracted from Logo */
  --color-primary: #0F3D24; /* Dark Green */
  --color-primary-light: #1a5c38;
  --color-background: #F9F6F0; /* Cream / Off-white */
  --color-background-alt: #f1ebd8;
  
  --color-text: #2f2f2f;
  --color-text-light: #5f5f5f;
  --color-white: #ffffff;
  
  --color-accent: #c4a77d; /* Soft gold for contrast */

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-alternate {
  background-color: var(--color-white);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid var(--color-primary);
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 61, 36, 0.15);
}

.btn-primary.outline {
  background-color: transparent;
  color: var(--color-primary) !important;
}
.btn-primary.outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
}

.btn-primary.secondary.outline {
  border-color: var(--color-text-light);
  color: var(--color-text) !important;
}
.btn-primary.secondary.outline:hover {
  border-color: var(--color-primary);
  color: var(--color-white) !important;
  background-color: var(--color-primary);
}

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

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(249, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo-img {
  height: 50px;
  width: auto;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.navbar:not(.scrolled) .nav-links a {
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.navbar:not(.scrolled) .logo-text {
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}
.navbar:not(.scrolled) .mobile-menu-btn span {
  background-color: var(--color-white);
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Placeholder for JS dynamic bg loading */
.hero.bg-loaded {
  background-image: url('hero_background.webp');
}
.hero:not(.bg-loaded) {
  /* Temporary gradient while loading image */
  background: linear-gradient(135deg, #0F3D24, #1a5c38);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 61, 36, 0.4);
  background: linear-gradient(to bottom, rgba(15,61,36,0.3) 0%, rgba(15,61,36,0.7) 100%);
  z-index: 1;
}

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

.hero-title {
  font-size: 4rem;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-title .highlight {
  color: var(--color-background);
  font-weight: 300;
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image {
  height: 600px;
  background-color: var(--color-primary-light);
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--color-white);
  padding: 15px 30px;
  border-radius: 5px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-primary);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: rotate(-5deg);
}

/* --- Packages --- */
.filter-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.package-card {
  background: var(--color-background);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.05);
}

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

.package-image {
  height: 250px;
  background-color: #ddd;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: var(--transition-slow);
}

.package-card:hover .package-image {
  transform: scale(1.05);
}

.package-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.9);
  color: var(--color-primary);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
}

.package-content {
  padding: 30px;
  background: var(--color-background);
  position: relative;
  z-index: 2;
}

.package-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.package-content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  min-height: 48px;
}

.btn-text {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.btn-text:hover {
  color: var(--color-accent);
}

.view-all-container {
  text-align: center;
  margin-top: 50px;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  gap: 15px;
  grid-auto-flow: dense;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
  transition: var(--transition-normal);
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(0.98);
  opacity: 0.9;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding: 20px;
  background: var(--color-background);
  border-radius: 15px;
  transition: var(--transition-fast);
}

.contact-item:hover {
  transform: translateX(10px);
  background: var(--color-background-alt);
}

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

.contact-form {
  background: var(--color-background);
  padding: 40px;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-family: var(--font-body);
  background: var(--color-white);
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 61, 36, 0.1);
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 20px;
  color: rgba(255,255,255,0.7);
  max-width: 300px;
}

.footer-links h4 {
  color: var(--color-white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.footer-links a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* --- Floating WA button --- */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-normal);
  animation: pulse 2s infinite;
}

.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Animations & Utilities --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-title { font-size: 3rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrapper { order: -1; }
  .about-image { height: 400px; }
  .experience-badge { left: 10px; bottom: 10px; padding: 10px 20px; font-size: 0.9rem; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-menu-btn { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-background);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition-normal);
  }
  
  .navbar.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
  }
  
  .navbar.menu-open .nav-links a { color: var(--color-text); text-shadow: none; }
  .navbar.menu-open { background: var(--color-background); }
  .navbar.menu-open .logo-text { color: var(--color-primary); text-shadow: none; }
  .navbar.menu-open .mobile-menu-btn span { background-color: var(--color-primary); }

  .hero-title { font-size: 2.2rem; }
  .packages-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
}
