/* ===== TropicSG Escapes — style.css ===== */

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: #1a2e3b;
  background: #ffffff;
  overflow-x: hidden;
}

/* ---------- Variables ---------- */
:root {
  --ocean:  #0077b6;
  --aqua:   #00b4d8;
  --sand:   #e9c46a;
  --green:  #2a9d8f;
  --white:  #ffffff;
  --coral:  #f4a261;
  --radius: 20px;
  --shadow: 0 8px 32px rgba(0,119,182,0.12);
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.08);
}

/* ---------- Typography ---------- */
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { line-height: 1.75; }

a { color: var(--ocean); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Utility ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  transition: opacity .2s, transform .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--ocean), var(--aqua));
  color: var(--white);
}
.btn-primary:hover { opacity: .88; transform: translateY(-2px); text-decoration: none; }
.btn-coral {
  background: linear-gradient(135deg, var(--coral), #e76f51);
  color: var(--white);
}
.btn-coral:hover { opacity: .88; transform: translateY(-2px); text-decoration: none; }
.btn-white {
  background: var(--white);
  color: var(--ocean);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { background: #f0faff; transform: translateY(-2px); text-decoration: none; }
.btn-lg { padding: 18px 48px; font-size: 1.1rem; }
.btn-full { width: 100%; display: block; text-align: center; }

/* ---------- NAV ---------- */
.site-nav {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,119,182,0.08);
  position: sticky;
  top: 0;
  z-index: 900;
}
.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-badge {
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: .5px;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ocean);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: #1a2e3b;
  font-weight: 600;
  font-size: .95rem;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2.5px;
  border-radius: 2px;
  transition: width .25s;
}
.nav-links li:nth-child(odd) a::after  { background: var(--coral); }
.nav-links li:nth-child(even) a::after { background: var(--green); }
.nav-links a:hover::after { width: 100%; text-decoration: none; }
.nav-links a:hover { text-decoration: none; color: var(--ocean); }
.nav-cta .btn { padding: 10px 24px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1516426122078-c23e76319801?w=1600&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,40,80,.45) 0%, rgba(0,119,182,.6) 60%, rgba(0,180,216,.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 24px 80px;
  max-width: 1160px;
  margin: 0 auto;
}
.hero-text { color: var(--white); }
.hero-text .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .5px;
}
.hero-text h1 { margin-bottom: 16px; }
.hero-text p  { font-size: 1.15rem; opacity: .9; margin-bottom: 28px; max-width: 480px; }

/* enrollment form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  padding: 36px 32px;
}
.form-card h3 {
  color: var(--ocean);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.form-card .sub {
  color: #64748b;
  font-size: .9rem;
  margin-bottom: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-card input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #dde5ef;
  border-radius: 12px;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.form-card input:focus { border-color: var(--aqua); }
.form-success {
  display: none;
  background: #d1fae5;
  color: #065f46;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  font-weight: 600;
  margin-top: 14px;
}
.form-note { font-size: .78rem; color: #94a3b8; text-align: center; margin-top: 12px; }

/* ---------- WAVE DIVIDER ---------- */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}
.wave-divider svg { display: block; width: 100%; }

/* ---------- SECTIONS ---------- */
section { padding: 72px 0; }
.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  color: var(--white);
  border-radius: 50px;
  padding: 5px 18px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .6px;
  margin-bottom: 14px;
}
.section-title { margin-bottom: 12px; }
.section-sub  { color: #64748b; font-size: 1.05rem; max-width: 600px; margin: 0 auto 48px; }

/* ---------- MODULES (Tours) ---------- */
.bg-light { background: #f0f8ff; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.module-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.module-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,119,182,.18); }
.module-card-top {
  height: 6px;
}
.module-card:nth-child(3n+1) .module-card-top { background: var(--ocean); }
.module-card:nth-child(3n+2) .module-card-top { background: var(--green); }
.module-card:nth-child(3n+3) .module-card-top { background: var(--coral); }
.module-card-body { padding: 26px 24px; }
.module-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.module-card h3 { color: var(--ocean); margin-bottom: 8px; }
.module-card p  { color: #475569; font-size: .95rem; }

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  padding: 14px 18px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--white);
}
.gallery-item:nth-child(1) .gallery-caption { background: var(--ocean); }
.gallery-item:nth-child(2) .gallery-caption { background: var(--green); }
.gallery-item:nth-child(3) .gallery-caption { background: var(--coral); }

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  margin-top: 48px;
  align-items: start;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured { transform: scale(1.04); box-shadow: 0 20px 56px rgba(0,119,182,.22); }
.price-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.price-header {
  padding: 28px 28px 20px;
  color: var(--white);
}
.price-card:nth-child(1) .price-header { background: linear-gradient(135deg, var(--ocean), var(--aqua)); }
.price-card:nth-child(2) .price-header { background: linear-gradient(135deg, var(--green), #38b2a3); }
.price-card:nth-child(3) .price-header { background: linear-gradient(135deg, var(--coral), #e76f51); }
.price-name { font-size: 1.1rem; font-weight: 600; opacity: .9; margin-bottom: 8px; }
.price-amount { font-size: 2.8rem; font-weight: 600; line-height: 1; }
.price-amount span { font-size: 1rem; vertical-align: top; margin-top: 8px; display: inline-block; }
.price-body { padding: 24px 28px; }
.price-list { list-style: none; }
.price-list li {
  padding: 9px 0;
  border-bottom: 1px solid #f0f4f8;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
}
.price-list li:last-child { border: none; }
.price-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.price-footer { padding: 0 28px 28px; }

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--aqua) 100%);
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
  clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
  margin: 0;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { opacity: .9; font-size: 1.1rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--white);
  border-top: 3px solid var(--aqua);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-badge { margin-bottom: 14px; display: inline-block; }
.footer-brand p { color: #64748b; font-size: .9rem; max-width: 280px; margin-bottom: 12px; }
.footer-company { font-size: .82rem; color: #94a3b8; line-height: 1.7; }
.footer-col h4 { color: var(--ocean); font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #64748b; font-size: .9rem; }
.footer-col ul li a:hover { color: var(--green); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #e2ecf4;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: #94a3b8;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--green); }
.disclaimer {
  background: #f0f8ff;
  border-left: 4px solid var(--aqua);
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  font-size: .82rem;
  color: #64748b;
  margin-top: 16px;
}

/* ---------- COOKIE BANNER ---------- */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.16);
  padding: 20px 28px;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  width: calc(100% - 48px);
  border-top: 3px solid var(--aqua);
}
#cookie-banner p { font-size: .9rem; color: #334155; }
#cookie-banner p a { color: var(--ocean); }
.cookie-btn {
  background: linear-gradient(135deg, var(--green), var(--aqua));
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .25s;
  font-size: 1.7rem;
}
.wa-float:hover { transform: scale(1.12); text-decoration: none; }

/* ---------- CONTACT PAGE ---------- */
.contact-hero {
  background: linear-gradient(135deg, var(--ocean), var(--aqua));
  color: var(--white);
  padding: 80px 24px 60px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  margin-bottom: -30px;
}
.contact-hero h1 { margin-bottom: 12px; }
.contact-hero p { opacity: .9; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 80px 0;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.contact-card h2 { color: var(--ocean); margin-bottom: 24px; }
.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f4f8;
}
.contact-info-row:last-of-type { border: none; }
.info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: .78rem; font-weight: 600; color: #94a3b8; letter-spacing: .4px; text-transform: uppercase; }
.info-value { color: #334155; font-size: .95rem; margin-top: 2px; }
.contact-form label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #dde5ef;
  border-radius: 12px;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  margin-bottom: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--aqua); }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ---------- LEGAL PAGES ---------- */
.legal-hero {
  background: linear-gradient(135deg, var(--ocean), var(--green));
  color: var(--white);
  padding: 72px 24px 56px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: -20px;
}
.legal-hero h1 { margin-bottom: 10px; }
.legal-hero p { opacity: .85; }
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.legal-content h2 {
  color: var(--ocean);
  font-size: 1.25rem;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2ecf4;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p  { color: #334155; margin-bottom: 14px; font-size: .97rem; }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }
.legal-content ul li { color: #334155; font-size: .97rem; margin-bottom: 6px; line-height: 1.6; }
.legal-content .updated-date {
  display: inline-block;
  background: #f0f8ff;
  color: #64748b;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: .83rem;
  margin-bottom: 28px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-text p  { max-width: 100%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section { clip-path: none; }
  .price-card.featured { transform: none; }
}
