/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== GEOMETRIC DECORATIONS ===== */
.geo-shape {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}
.geo-circle-1 {
  width: 600px; height: 600px;
  border-radius: 50%;
  background: #10b981;
  top: -200px; right: -200px;
}
.geo-square-1 {
  width: 300px; height: 300px;
  background: #059669;
  bottom: 15%; left: -80px;
  transform: rotate(25deg);
}
.geo-triangle-1 {
  width: 0; height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid #34d399;
  top: 45%; right: -60px;
  transform: rotate(-15deg);
}
.geo-circle-2 {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: #6ee7b7;
  bottom: 10%; right: 10%;
}
.geo-dots {
  width: 120px; height: 120px;
  top: 60%; left: 5%;
  background-image: radial-gradient(circle, #059669 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.15;
}

@media (max-width: 768px) {
  .geo-circle-1 { width: 300px; height: 300px; }
  .geo-square-1 { width: 150px; height: 150px; }
  .geo-triangle-1 { border-left-width: 80px; border-right-width: 80px; border-bottom-width: 140px; }
  .geo-circle-2 { width: 100px; height: 100px; }
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(2, 44, 34, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-logo-em { color: #6ee7b7; }
.nav-logo-ippi { color: #f5f5f4; }
.nav-logo-chix { color: #34d399; font-style: italic; }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #d1fae5;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #34d399;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #34d399; }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: #d1fae5;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px; height: 100vh;
    background: #022c22;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
  }
  .nav-overlay.active { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 25%, #047857 50%, #059669 75%, #10b981 100%);
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(110, 231, 183, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(52, 211, 153, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.hero-badge svg { flex-shrink: 0; }

.hero-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #f5f5f4;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #d1fae5;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

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

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(110, 231, 183, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll svg { opacity: 0.6; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #10b981;
  color: #022c22;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}
.btn-primary:hover {
  background: #34d399;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #d1fae5;
  border: 2px solid rgba(110, 231, 183, 0.4);
}
.btn-secondary:hover {
  border-color: #34d399;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}
.max-w-7xl { position: relative; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #022c22;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #374151;
}

/* ===== ABOUT ===== */
.about-grid { align-items: center; }
.about-image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}
.about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
}
.about-image-accent {
  position: absolute;
  inset: 1.5rem -1rem -1rem 1.5rem;
  border: 3px solid #10b981;
  border-radius: 1.5rem;
  z-index: -1;
  opacity: 0.3;
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  color: #059669;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ===== FINDS (Cards) ===== */
.finds {
  background: linear-gradient(180deg, #fefdf8 0%, #ecfdf5 100%);
}
.card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(16, 185, 129, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(5, 150, 105, 0.12);
}
.card-icon-wrap {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #059669, #10b981);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.25rem;
}
.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #022c22;
  margin-bottom: 0.5rem;
}
.card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #6b7280;
}

/* ===== GALLERY ===== */
.gallery { background: #fefdf8; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
.gallery-item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 3; }
.gallery-item:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 1 / 2; grid-row: 2 / 3; }
.gallery-item:nth-child(6) { grid-column: 2 / 3; grid-row: 1 / 3; }

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(n) { grid-column: auto; grid-row: auto; }
  .gallery-item img { aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { aspect-ratio: 16/10; }
}

/* ===== VISIT ===== */
.visit {
  background: linear-gradient(135deg, #022c22, #047857);
  color: white;
  overflow: hidden;
}
.visit-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.visit-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: #34d399;
}
.visit-shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; }
.visit-shape-2 { width: 300px; height: 300px; bottom: -100px; left: -50px; }
.visit-shape-3 { width: 150px; height: 150px; top: 40%; left: 45%; background: #6ee7b7; }

.visit-info { }
.visit-info-item { }
.visit-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(110, 231, 183, 0.6);
  margin-bottom: 0.25rem;
}
.visit-info-value {
  font-size: 1.05rem;
  color: #f5f5f4;
  font-weight: 500;
  transition: color 0.2s ease;
}
.visit-info-value:hover { color: #6ee7b7; }
.visit-info-value svg { vertical-align: middle; margin-right: 0.35rem; }
.visit-map-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* ===== CONTACT ===== */
.contact { background: #fefdf8; }
.contact-form {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(16, 185, 129, 0.12);
  box-shadow: 0 10px 40px rgba(5, 150, 105, 0.06);
}
.form-group { }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: #10b981;
  background: white;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: #9ca3af; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-success {
  font-size: 0.95rem;
  font-weight: 600;
  color: #059669;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.form-success.visible { opacity: 1; }

/* ===== FOOTER ===== */
.footer {
  background: #022c22;
  color: white;
}
.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-desc { line-height: 1.7; }
.footer-heading { color: #d1fae5; }
.footer-links { }
.footer-link {
  font-size: 0.9rem;
  color: rgba(209, 250, 229, 0.6);
  transition: color 0.2s ease;
  display: inline-block;
}
.footer-link:hover { color: #34d399; }
.footer-bottom { }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Default state: visible (no JS required) */
.reveal { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}
