/* SwimmingWithTurtles.com - Lively Light Oceanic Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --primary: #0D9488;
  --primary-light: #14B8A6;
  --primary-dark: #0F766E;
  --teal-50: #F0FDFA;
  --teal-100: #CCFBF1;
  --teal-500: #14B8A6;
  --teal-700: #0F766E;
  --teal-900: #134E4A;
  
  --secondary: #06B6D4;
  --secondary-light: #22D3EE;
  
  --coral: #FF5A36;
  --coral-hover: #E04826;
  --coral-light: #FFF1EE;
  
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-700: #B45309;
  
  --bg-page: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-sand: #F1F5F9;
  --bg-card: #FFFFFF;
  
  --text-main: #0F172A;
  --navy-900: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --navy-600: #475569;
  --navy-500: #64748B;
  --navy-400: #94A3B8;
  
  --border-subtle: #E2E8F0;
  --border-focus: #0D9488;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.015em; margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1.25rem; color: var(--navy-700); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-coral {
  background-color: var(--coral);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(255, 90, 54, 0.3);
}

.btn-coral:hover {
  background-color: var(--coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 90, 54, 0.4);
}

.btn-teal {
  background-color: var(--primary);
  color: #FFFFFF !important;
}

.btn-teal:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
}

.btn-outline-teal:hover {
  background: var(--teal-50);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-green { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.badge-teal { background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-100); }
.badge-amber { background: var(--amber-50); color: var(--amber-700); border: 1px solid var(--amber-100); }
.badge-coral { background: var(--coral-light); color: var(--coral); border: 1px solid #FFD6CE; }

/* Header & Nav */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 0;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy-900);
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(13, 148, 136, 0.25);
  transition: transform 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-logo .highlight { color: var(--primary); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-700);
}

.nav-link:hover { color: var(--primary); }

.burger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy-900);
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: #FFFFFF;
  z-index: 200;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  padding: 1.5rem;
}

.mobile-nav-drawer.open { display: block; }
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-links { list-style: none; margin-top: 2rem; }
.mobile-nav-links li { margin-bottom: 1.25rem; }
.mobile-nav-links a { font-size: 1.1rem; font-weight: 600; color: var(--navy-900); }

/* STANDARD TOUR CARD (Viator & GetYourGuide) */
.tour-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  margin: 1.5rem 0;
}

.tour-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-500);
}

.tour-card-image-wrap {
  position: relative;
  height: 220px;
  background: #F1F5F9;
  overflow: hidden;
}

.tour-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tour-card:hover .tour-card-image {
  transform: scale(1.03);
}

.tour-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.tour-badge.viator-badge {
  background: rgba(236, 253, 245, 0.95);
  color: #059669;
  box-shadow: var(--shadow-sm);
}

.tour-badge.gyg-badge {
  background: rgba(254, 243, 199, 0.95);
  color: #B45309;
  box-shadow: var(--shadow-sm);
}

.tour-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--navy-500);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tour-rating {
  color: #D97706;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
}

.tour-card-title {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0.25rem 0 0.75rem;
}

.tour-card-title a {
  color: var(--navy-900);
}

.tour-card-title a:hover {
  color: var(--primary);
}

.tour-trust-perks {
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.platform-badge-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.platform-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.platform-pill.viator { background: #ECFDF5; color: #059669; }
.platform-pill.gyg { background: #FEF3C7; color: #B45309; }

.cancellation-perk {
  font-size: 0.82rem;
  color: var(--navy-600);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.tour-summary-text {
  font-size: 0.9rem;
  color: var(--navy-600);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.tour-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.tour-price-wrap {
  display: flex;
  flex-direction: column;
}

.tour-price-label {
  font-size: 0.75rem;
  color: var(--navy-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tour-price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* Stat Grid & Box Shortcodes */
.stat-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-box-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.stat-box-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-box-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
}

.stat-box-sub {
  font-size: 0.78rem;
  color: var(--navy-500);
  margin-top: 0.25rem;
}

/* Alert Boxes */
.alert-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border: 1px solid transparent;
}

.alert-box.alert-info { background: var(--teal-50); border-color: var(--teal-100); color: var(--teal-900); }
.alert-box.alert-warning { background: var(--amber-50); border-color: var(--amber-100); color: var(--amber-700); }
.alert-box.alert-law { background: #FEF2F2; border-color: #FEE2E2; color: #991B1B; }
.alert-box.alert-tip { background: #F0FDF4; border-color: #DCFCE7; color: #166534; }

.alert-icon { font-size: 1.5rem; line-height: 1; }
.alert-content p:last-child { margin-bottom: 0; }

/* Insider Tip Card */
.insider-tip-card {
  background: linear-gradient(135deg, #F0FDFA, #ECFEFF);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-sm);
}

.insider-tip-header { margin-bottom: 0.5rem; }
.tip-badge { font-size: 0.82rem; font-weight: 800; color: var(--primary-dark); text-transform: uppercase; }
.insider-tip-body p:last-child { margin-bottom: 0; }

/* FAQs Accordion */
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: #FFFFFF;
  overflow: hidden;
}

.faq-question {
  padding: 1.15rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-icon { color: var(--primary); font-size: 1.25rem; font-weight: 800; }
.faq-answer { padding: 0 1.25rem 1.25rem; color: var(--navy-700); font-size: 0.95rem; }

/* Timeline */
.timeline-container {
  border-left: 2px solid var(--primary-light);
  margin: 2rem 0 2rem 1rem;
  padding-left: 1.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.95rem;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #FFFFFF;
}

.timeline-time {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* Seasonality Bar */
.seasonality-bar {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.35rem;
  margin: 1.25rem 0;
}

.season-month {
  padding: 0.5rem 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.season-peak { background: #10B981; color: #FFFFFF; }
.season-off { background: #E2E8F0; color: #64748B; }

/* Sticky Mobile Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
  z-index: 90;
  display: none;
}

.sticky-mobile-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.sticky-pricing-info { display: flex; flex-direction: column; }
.sticky-price-label { font-size: 0.72rem; color: var(--navy-500); }
.sticky-price-val { font-size: 1.15rem; font-weight: 800; color: var(--navy-900); }

/* Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

th {
  background: var(--bg-surface);
  color: var(--navy-900);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--navy-700);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--teal-50); }

/* Footer */
.site-footer {
  background: #0F172A;
  color: #F8FAFC;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h4 { color: #FFFFFF; font-size: 1.35rem; margin-bottom: 1rem; }
.footer-column h5 { color: #5EEAD4; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #94A3B8; font-size: 0.88rem; }
.footer-links a:hover { color: #FFFFFF; }
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Media & Photo Styling */
.destination-hero-media {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow-md);
}

.destination-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-attribution {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #E2E8F0;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.media-attribution a {
  color: #5EEAD4;
  text-decoration: underline;
}

.inline-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.inline-photo-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.inline-photo-caption {
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  color: var(--navy-600);
  background: var(--bg-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Layout Grids */
.destination-layout-grid,
.species-layout-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

pre {
  background: var(--navy-900);
  color: #E2E8F0;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 1.5rem 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .destination-layout-grid,
  .species-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.6rem; }
  .main-nav { display: none; }
  .burger-btn { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-mobile-bar { display: block; }
  
  .hud-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .seasonality-bar {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.35rem;
  }
  
  .tour-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-grid-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .destination-hero-media {
    height: 220px;
    border-radius: var(--radius-lg);
    margin: 1rem 0 1.5rem;
  }
  
  .inline-photo-img {
    height: 200px;
  }

  body {
    padding-bottom: 75px; /* Prevent sticky mobile booking bar from covering content */
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  .hud-grid { grid-template-columns: 1fr; }
  .stat-grid-wrapper { grid-template-columns: 1fr; }
  .destination-hero-media { height: 190px; }
}
