/* Maldives Diving - Main Stylesheet */

/* ===== CSS Variables ===== */
:root {
  --primary: #0369a1;
  --primary-dark: #075985;
  --secondary: #0d9488;
  --secondary-dark: #0f766e;
  --accent: #06b6d4;
  --dark: #0c1e29;
  --dark-light: #1a3a4a;
  --light: #f0f9ff;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --text: #1e293b;
  --text-light: #64748b;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background-color: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.75rem; }
}

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

a:hover {
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

/* ===== Utility Classes ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

/* Section Background Variants */
.bg-white {
  background-color: #fff;
}

.section-gray {
  background-color: #F8FAFC;
}

.section-dark {
  background-color: #0F172A;
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2,
.section-title {
  font-size: 1.75rem;
  color: #0F172A;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-header h2,
  .section-title {
    font-size: 2rem;
  }
}

.section-header p,
.section-subtitle {
  color: #64748B;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

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

.btn-white:hover {
  background-color: var(--gray-100);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background-color: var(--light);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: var(--transition);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background-color: var(--light);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-select {
  display: none;
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  background-color: var(--white);
  cursor: pointer;
}

@media (min-width: 768px) {
  .lang-select {
    display: block;
  }
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--white);
  z-index: 999;
  padding: 5rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: var(--transition);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1rem 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

/* ===== Search Box ===== */
.search-box {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  margin-top: 2rem;
}

.search-form {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .search-form {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .search-form {
    grid-template-columns: repeat(4, 1fr) auto;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group select,
.form-group input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  background-color: var(--white);
  transition: var(--transition);
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.search-btn {
  align-self: flex-end;
  width: 100%;
}

@media (min-width: 1024px) {
  .search-btn {
    width: auto;
  }
}

/* ===== Featured Section ===== */
.featured {
  background-color: var(--white);
}

.featured-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  background-color: var(--gray-100);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

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

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 480px) {
  .card-grid {
    gap: 2rem;
  }
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Package & Activity Cards ===== */
.card {
  background: #fff;
  border: 1px solid #94A3B8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(12,74,110,.15);
  border-color: #64748B;
  cursor: pointer;
}

.card-image {
  position: relative;
  aspect-ratio: 16/9;
  background: #CBD5E1;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0ea5e9;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.badge-package {
  background: #0369a1;
}

.badge-activity {
  background: #0d9488;
}

.card-body {
  padding: 20px;
}

.card-atoll {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: #64748B;
  margin-bottom: 6px;
}

.card-atoll svg {
  color: #0369a1;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: #0369a1;
}

.card-description {
  font-size: .88rem;
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating-stars {
  display: flex;
  gap: 1px;
  color: #F59E0B;
}

.rating-count {
  font-size: .85rem;
  color: #94A3B8;
  font-weight: 400;
}

.card-price {
  text-align: right;
}

.price-label {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  color: #94A3B8;
}

.price-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0369a1;
}

/* ===== Why Choose Us ===== */
.why-us {
  background-color: var(--gray-100);
}

.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light);
  border-radius: 50%;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* ===== Atolls Section ===== */
.atolls-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .atolls-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .atolls-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.atoll-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.atoll-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.atoll-card:hover img {
  transform: scale(1.1);
}

.atoll-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.atoll-card h3 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.atoll-card p {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark-light);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: var(--transition);
}

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

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--dark-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
}

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

/* ===== Page Headers ===== */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: 8rem 1rem 4rem;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--gray-300);
}

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

.breadcrumb span {
  color: var(--gray-400);
}

/* ===== Filters Section ===== */
.filters-section {
  background-color: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.filters-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
  min-width: 150px;
}

.filter-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-group select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text);
  background-color: var(--white);
}

.filter-actions {
  display: flex;
  gap: 0.5rem;
}

/* ===== Listings Grid ===== */
.listings-section {
  padding: 3rem 0;
}

.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.listings-count {
  color: var(--text-light);
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

/* ===== Page Hero (for subpages) ===== */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.page-hero-small {
  min-height: 280px;
  padding: 3rem 0;
}

.page-hero-medium {
  min-height: 360px;
  padding: 4rem 0;
}

.page-hero-large {
  min-height: 480px;
  padding: 5rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .hero-content {
  max-width: 700px;
}

.page-hero .hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

@media (min-width: 768px) {
  .page-hero .hero-title {
    font-size: 2.5rem;
  }
}

.page-hero .hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.6;
  color: #fff;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 1rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  opacity: 0.5;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb [aria-current="page"] {
  color: #fff;
  font-weight: 500;
}

/* ===== Detail Page ===== */
.detail-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
}

.detail-content {
  padding: 3rem 0;
}

.detail-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .detail-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.detail-main h1 {
  margin-bottom: 1rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}

.detail-section {
  margin-bottom: 2.5rem;
}

.detail-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.detail-section p {
  color: var(--text-light);
  line-height: 1.8;
}

.detail-list {
  display: grid;
  gap: 0.75rem;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-light);
}

.detail-list li svg {
  flex-shrink: 0;
  color: var(--secondary);
  margin-top: 0.25rem;
}

/* Booking Card */
.booking-card {
  position: sticky;
  top: 100px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.booking-price {
  margin-bottom: 1.5rem;
}

.booking-price .price-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

.booking-price .price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.booking-price .price-unit {
  font-size: 1rem;
  color: var(--text-light);
}

.booking-details {
  margin-bottom: 1.5rem;
}

.booking-detail {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.booking-detail:last-child {
  border-bottom: none;
}

.booking-detail .label {
  color: var(--text-light);
}

.booking-detail .value {
  font-weight: 500;
}

.booking-card .btn {
  width: 100%;
  margin-bottom: 0.75rem;
}

.booking-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  text-align: center;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--gray-100);
  padding: 3rem 0;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.reviewer-info h4 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.125rem;
}

.reviewer-info p {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.review-rating {
  color: #fbbf24;
}

.review-content {
  color: var(--text-light);
  line-height: 1.7;
}

/* Related Section */
.related-section {
  padding: 4rem 0;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 150px;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-content p {
  color: var(--text-light);
}

/* ===== Blog Page ===== */
.section-compact {
  padding: 1.5rem 0;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.category-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  font-size: 0.875rem;
  color: #64748B;
  text-decoration: none;
  transition: all 0.2s;
}

.category-tag:hover,
.category-tag.active {
  background: #0369a1;
  border-color: #0369a1;
  color: #fff;
}

/* Featured Blog Post */
.blog-featured {
  display: grid;
  gap: 2rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .blog-featured {
    grid-template-columns: 1.2fr 1fr;
  }
}

.featured-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

@media (min-width: 768px) {
  .featured-image {
    aspect-ratio: auto;
    min-height: 400px;
  }
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.featured-image:hover img {
  transform: scale(1.02);
}

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #0369a1;
  color: #fff;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
}

.featured-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.blog-category {
  color: #0369a1;
  font-weight: 600;
}

.blog-date {
  color: #64748B;
}

.featured-content h2 {
  font-size: 1.75rem;
  color: #0F172A;
  margin-bottom: 1rem;
}

.featured-content h2 a {
  color: inherit;
  text-decoration: none;
}

.featured-content h2 a:hover {
  color: #0369a1;
}

.featured-content > p {
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.blog-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #0F172A;
  font-size: 0.9rem;
}

.author-title {
  font-size: 0.8rem;
  color: #64748B;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  font-size: 1.125rem;
  color: #0F172A;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: #0369a1;
}

.blog-card p {
  color: #64748B;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0369a1;
  text-decoration: none;
  transition: color 0.2s;
}

.read-more:hover {
  color: #0d9488;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #0369a1 0%, #0d9488 100%);
  padding: 4rem 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.newsletter-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.newsletter-content > p {
  opacity: 0.9;
  margin-bottom: 2rem;
}

.newsletter-form-large {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 1rem;
}

@media (max-width: 640px) {
  .newsletter-form-large {
    flex-direction: column;
  }
}

.newsletter-form-large input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form-large input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form-large .btn {
  white-space: nowrap;
}

.newsletter-note {
  font-size: 0.8rem;
  opacity: 0.8;
}

.newsletter-note a {
  color: inherit;
  text-decoration: underline;
}

/* ===== List Service Page ===== */
.list-service-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.form-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.form-section h3 {
  margin-bottom: 1rem;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.radio-option {
  flex: 1;
  min-width: 150px;
}

.radio-option input {
  display: none;
}

.radio-option label {
  display: block;
  padding: 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.radio-option input:checked + label {
  border-color: var(--primary);
  background-color: var(--light);
}

.dynamic-fields {
  display: none;
  margin-top: 1.5rem;
}

.dynamic-fields.active {
  display: block;
}

.admin-notice {
  background-color: var(--light);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1.5rem;
}

.admin-notice p {
  color: var(--primary);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Content Intro Section ===== */
.content-intro {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .content-intro {
    grid-template-columns: 1.5fr 1fr;
  }
}

.intro-text h2 {
  font-size: 1.75rem;
  color: #0F172A;
  margin-bottom: 1.5rem;
}

.intro-text p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-item {
  background: linear-gradient(135deg, #0369a1 0%, #0d9488 100%);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ===== Atoll Detail Page ===== */
.atoll-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding: 4rem 0;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.atoll-hero-content {
  max-width: 800px;
}

.atoll-hero .atoll-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.atoll-hero h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .atoll-hero h1 {
    font-size: 3rem;
  }
}

.atoll-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.atoll-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.atoll-stats .stat {
  text-align: center;
}

.atoll-stats .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.atoll-stats .stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.atoll-intro {
  background: #fff;
}

.atoll-intro-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .atoll-intro-grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

.atoll-intro-text h2 {
  font-size: 1.75rem;
  color: #0F172A;
  margin-bottom: 1.5rem;
}

.atoll-intro-text p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Atoll Features */
.atoll-features {
  display: grid;
  gap: 1rem;
}

.atoll-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #F8FAFC;
  border-radius: 12px;
}

.atoll-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0369a1 0%, #0d9488 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.atoll-feature-content h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.atoll-feature-content p {
  font-size: 0.875rem;
  color: #64748B;
  margin: 0;
}

/* Atoll Map Section */
.atoll-map {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.atoll-map img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ===== Courses Page ===== */
.courses-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.course-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.course-card.course-featured {
  border: 2px solid #0369a1;
  position: relative;
}

.course-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-level {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.featured-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #0369a1;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.course-content {
  padding: 1.5rem;
}

.course-badge {
  margin-bottom: 1rem;
}

.course-badge img {
  height: 30px;
  width: auto;
}

.course-content h3 {
  font-size: 1.25rem;
  color: #0F172A;
  margin-bottom: 0.75rem;
}

.course-content > p {
  color: #64748B;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.course-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: grid;
  gap: 0.5rem;
}

.course-details li {
  font-size: 0.875rem;
  color: #475569;
  display: flex;
  gap: 0.5rem;
}

.course-details li strong {
  color: #0F172A;
  min-width: 100px;
}

.course-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

.course-price .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0369a1;
}

/* ===== Benefits Grid ===== */
.benefits-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0369a1 0%, #0d9488 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
}

.benefit-card h3 {
  font-size: 1.125rem;
  color: #0F172A;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: #64748B;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Atolls Page ===== */
.atolls-featured {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.atoll-feature-card {
  display: grid;
  gap: 2rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .atoll-feature-card {
    grid-template-columns: 1fr 1fr;
  }
  
  .atoll-feature-reverse {
    direction: rtl;
  }
  
  .atoll-feature-reverse > * {
    direction: ltr;
  }
}

.atoll-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

@media (min-width: 768px) {
  .atoll-image {
    aspect-ratio: auto;
    min-height: 350px;
  }
}

.atoll-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atoll-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #0369a1;
  color: #fff;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
}

.atoll-badge.badge-accent {
  background: #0d9488;
}

.atoll-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.atoll-content h3 {
  font-size: 1.5rem;
  color: #0F172A;
  margin-bottom: 1rem;
}

.atoll-description {
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.atoll-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
}

.highlight svg {
  color: #0d9488;
  flex-shrink: 0;
}

.atoll-marine {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.marine-tag {
  background: #F0F9FF;
  color: #0369a1;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Atolls Grid */
.atolls-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .atolls-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .atolls-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.atoll-card {
  display: block;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.atoll-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #0369a1;
}

.atoll-card h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.atoll-card p {
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 0.75rem;
}

.atoll-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.atoll-card-tags span {
  font-size: 0.7rem;
  background: #F1F5F9;
  color: #64748B;
  padding: 3px 8px;
  border-radius: 12px;
}

/* ===== Dive Sites Page ===== */
.filter-section {
  background: #fff;
  padding: 1.5rem 0;
  border-bottom: 1px solid #E2E8F0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-group {
  flex: 1;
  min-width: 150px;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.filter-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #0F172A;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.filter-select:focus {
  outline: none;
  border-color: #0369a1;
}

.dive-sites-featured {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.dive-site-feature {
  display: grid;
  gap: 2rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .dive-site-feature {
    grid-template-columns: 1fr 1.2fr;
  }
  
  .dive-site-feature-reverse {
    direction: rtl;
  }
  
  .dive-site-feature-reverse > * {
    direction: ltr;
  }
}

.dive-site-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

@media (min-width: 768px) {
  .dive-site-image {
    aspect-ratio: auto;
    min-height: 320px;
  }
}

.dive-site-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dive-site-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dive-site-badges .badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background: #0369a1;
  color: #fff;
}

.badge-secondary {
  background: #475569;
  color: #fff;
}

.badge-accent {
  background: #dc2626;
  color: #fff;
}

.dive-site-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dive-site-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.dive-site-atoll {
  color: #0369a1;
  font-weight: 600;
}

.dive-site-type {
  color: #64748B;
}

.dive-site-content h3 {
  font-size: 1.5rem;
  color: #0F172A;
  margin-bottom: 1rem;
}

.dive-site-content > p {
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.dive-site-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .dive-site-specs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.spec {
  text-align: center;
  padding: 1rem;
  background: #F8FAFC;
  border-radius: 8px;
}

.spec-label {
  display: block;
  font-size: 0.7rem;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.spec-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F172A;
}

/* Dive Sites Grid */
.dive-sites-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .dive-sites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dive-sites-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dive-site-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dive-site-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.dive-site-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.dive-site-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dive-site-card-body {
  padding: 1.25rem;
}

.dive-site-card h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.dive-site-card h4 a {
  color: inherit;
  text-decoration: none;
}

.dive-site-card h4 a:hover {
  color: #0369a1;
}

.dive-site-card-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748B;
}

/* ===== Blog Article Detail ===== */
.breadcrumb-section {
  background: #F8FAFC;
  padding: 1rem 0;
  border-bottom: 1px solid #E2E8F0;
}

.breadcrumb-section .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.breadcrumb-section .breadcrumb li {
  display: flex;
  align-items: center;
  color: #64748B;
}

.breadcrumb-section .breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: #CBD5E1;
}

.breadcrumb-section .breadcrumb a {
  color: #64748B;
  text-decoration: none;
}

.breadcrumb-section .breadcrumb a:hover {
  color: #0369a1;
}

.blog-article {
  padding: 3rem 0;
  background: #fff;
}

.article-layout {
  display: grid;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .article-layout {
    max-width: 900px;
  }
}

.article-header {
  text-align: center;
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.article-category {
  background: #0369a1;
  color: #fff;
  padding: 4px 12px;
  border-radius: 16px;
  font-weight: 500;
}

.article-read-time {
  color: #64748B;
}

.article-header h1 {
  font-size: 2rem;
  color: #0F172A;
  margin-bottom: 1rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .article-header h1 {
    font-size: 2.5rem;
  }
}

.article-excerpt {
  font-size: 1.125rem;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.article-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: #0F172A;
}

.author-title {
  font-size: 0.875rem;
  color: #64748B;
}

.article-featured-image {
  margin: 0 0 2rem 0;
}

.article-featured-image img {
  width: 100%;
  border-radius: 12px;
}

.article-featured-image figcaption {
  font-size: 0.875rem;
  color: #64748B;
  text-align: center;
  margin-top: 0.75rem;
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #334155;
}

.article-body h2 {
  font-size: 1.5rem;
  color: #0F172A;
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.25rem;
  color: #0F172A;
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body .lead {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 2rem;
}

.article-body ul,
.article-body ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.info-box {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.info-box h3 {
  font-size: 1.125rem;
  color: #0369a1;
  margin: 0 0 1rem 0;
}

.info-box ul {
  margin: 0;
  padding-left: 1.25rem;
}

.info-box li {
  margin-bottom: 0.5rem;
  color: #334155;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span,
.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}

.pagination a,
.pagination-btn {
  background: #fff;
  color: #334155;
  border: 1px solid #E2E8F0;
}

.pagination a:hover,
.pagination a.active,
.pagination-btn:hover,
.pagination-btn.active {
  background: #0369a1;
  color: #fff;
  border-color: #0369a1;
}

.pagination span {
  color: #64748B;
}

.pagination-next {
  padding: 0 1rem;
}

/* ===== Responsive Utilities ===== */
@media (max-width: 1023px) {
  .hide-mobile {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hide-desktop {
    display: none;
  }
}

/* ===== Map Section ===== */
.map-section {
  background: #fff;
}

.map-container {
  display: grid;
  gap: 3rem;
  align-items: start;
}

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

.map-wrapper {
  position: relative;
}

.maldives-map {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.atoll-group {
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.atoll-group:hover {
  opacity: 1 !important;
  transform: scale(1.05);
}

.dive-marker {
  cursor: pointer;
}

.dive-marker.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.map-legend {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
}

.map-legend h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #0F172A;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 0.5rem;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.map-info h3 {
  font-size: 1.5rem;
  color: #0F172A;
  margin-bottom: 1rem;
}

.map-info p {
  color: #64748B;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.map-highlights {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.map-highlights li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #E2E8F0;
  color: #475569;
}

.map-highlights li strong {
  color: #0369a1;
}

/* ===== Video Section ===== */
.video-section {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16/9;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.video-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0369a1;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== Gallery Section ===== */
.gallery-section {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.3s;
}

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

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

.gallery-item-large img {
  aspect-ratio: auto;
  height: 100%;
}

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

.gallery-item-wide img {
  aspect-ratio: 2/1;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.gallery-overlay span {
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===== FAQ Section ===== */
.faq-section {
  background: #f8fafc;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #0F172A;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question svg {
  flex-shrink: 0;
  color: #64748B;
  transition: transform 0.2s;
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: #64748B;
  line-height: 1.7;
}

.faq-answer p a {
  color: #0369a1;
  text-decoration: underline;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.faq-category {
  padding: 0.5rem 1.25rem;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  font-size: 0.875rem;
  color: #64748B;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-category:hover,
.faq-category.active {
  background: #0369a1;
  border-color: #0369a1;
  color: #fff;
}

/* Contact Cards Simple */
.contact-cards {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card-simple {
  text-align: center;
  padding: 2rem;
  background: #F8FAFC;
  border-radius: 12px;
}

.contact-card-simple svg {
  color: #0369a1;
  margin-bottom: 1rem;
}

.contact-card-simple h3 {
  font-size: 1.125rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.contact-card-simple a {
  color: #0369a1;
  text-decoration: none;
  font-weight: 500;
}

.contact-card-simple a:hover {
  text-decoration: underline;
}

/* ===== Course Detail Pages ===== */
.course-detail-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .course-detail-layout {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
}

.course-detail-main .content-block {
  margin-bottom: 3rem;
}

.course-detail-main h2 {
  font-size: 1.5rem;
  color: #0F172A;
  margin-bottom: 1rem;
}

.course-detail-main .lead {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-item {
  padding: 1.5rem;
  background: #F8FAFC;
  border-radius: 12px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0369a1 0%, #0d9488 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.feature-item h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: #64748B;
  margin: 0;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E2E8F0;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  width: 32px;
  height: 32px;
  background: #0369a1;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.timeline-content h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #64748B;
  font-size: 0.9rem;
  margin: 0;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: #334155;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Course Booking Card */
.course-booking-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.course-price-display {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 1.5rem;
}

.price-label {
  display: block;
  font-size: 0.8rem;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.price-amount {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0369a1;
}

.price-note {
  display: block;
  font-size: 0.875rem;
  color: #64748B;
}

.course-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.course-includes li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #334155;
  font-size: 0.9rem;
}

.course-includes svg {
  width: 18px;
  height: 18px;
  color: #0d9488;
  flex-shrink: 0;
}

.course-details-quick {
  background: #F8FAFC;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #E2E8F0;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  color: #64748B;
  font-size: 0.875rem;
}

.detail-value {
  color: #0F172A;
  font-weight: 600;
  font-size: 0.875rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 0.75rem;
}

.btn-block:last-child {
  margin-bottom: 0;
}

/* Course Card Simple */
.course-card-simple {
  display: block;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.2s;
}

.course-card-simple:hover {
  border-color: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.course-card-simple h3 {
  font-size: 1.125rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.course-card-simple p {
  color: #64748B;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.course-link {
  color: #0369a1;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Adventure Dives */
.adventure-dives {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .adventure-dives {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dive-option {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.dive-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 12px;
  background: #0369a1;
  color: #fff;
  margin-bottom: 0.75rem;
}

.dive-badge.elective {
  background: #64748B;
}

.dive-option h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.dive-option p {
  color: #64748B;
  font-size: 0.875rem;
  margin: 0;
}

/* Level Professional Badge */
.level-professional {
  background-color: #7c3aed;
  color: #fff;
}

/* Marine Grid */
.marine-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .marine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .marine-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.marine-card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.marine-card h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.marine-card p {
  color: #64748B;
  font-size: 0.875rem;
  margin: 0;
}

/* ===== Dive Site Detail Pages ===== */
.dive-site-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  padding: 3rem 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.dive-site-hero .container {
  position: relative;
  z-index: 2;
}

.dive-site-hero .breadcrumb {
  margin-bottom: 1.5rem;
}

.dive-site-hero .breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dive-site-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.dive-site-hero .breadcrumb a:hover {
  color: #fff;
}

.dive-site-hero .breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.dive-site-hero-content {
  max-width: 700px;
}

.dive-site-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dive-site-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dive-site-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.dive-site-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.dive-site-quick-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.dive-site-quick-info svg {
  width: 18px;
  height: 18px;
}

.dive-site-content {
  padding: 3rem 0;
}

.dive-site-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .dive-site-layout {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
}

.dive-site-main .content-block {
  margin-bottom: 3rem;
}

.dive-site-main h2 {
  font-size: 1.5rem;
  color: #0F172A;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #E2E8F0;
}

.dive-site-main .lead {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.dive-site-main p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Marine Life List */
.marine-life-list {
  display: grid;
  gap: 1rem;
}

.marine-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #F8FAFC;
  border-radius: 12px;
  align-items: flex-start;
}

.marine-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.marine-item h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.marine-item p {
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 0.5rem;
}

.sighting-frequency {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #0d9488;
  color: #fff;
  border-radius: 4px;
}

/* Planning Grid */
.planning-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .planning-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.planning-card {
  padding: 1.25rem;
  background: #F8FAFC;
  border-radius: 12px;
  border-left: 4px solid #0369a1;
}

.planning-card h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.planning-card p {
  font-size: 0.875rem;
  color: #64748B;
  margin: 0 0 0.5rem 0;
}

.planning-card p:last-child {
  margin-bottom: 0;
}

/* Tips List */
.tips-list {
  display: grid;
  gap: 1rem;
}

.tip-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.tip-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0369a1 0%, #0d9488 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.tip-item h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.tip-item p {
  font-size: 0.875rem;
  color: #64748B;
  margin: 0;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.05) 0%, rgba(13, 148, 136, 0.05) 100%);
  border: 1px solid rgba(3, 105, 161, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box h3 {
  font-size: 1.125rem;
  color: #0F172A;
  margin-bottom: 1rem;
}

.highlight-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-box li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #475569;
  font-size: 0.9rem;
}

.highlight-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  background: #0d9488;
  border-radius: 50%;
}

/* Dive Site Gallery */
.dive-site-gallery {
  margin: 2rem 0;
}

.gallery-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.gallery-thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.gallery-thumbs img:hover {
  opacity: 1;
}

/* Dive Site Sidebar */
.dive-site-sidebar {
  position: sticky;
  top: 100px;
}

.dive-site-info-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dive-site-info-card h3 {
  font-size: 1.125rem;
  color: #0F172A;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E2E8F0;
}

.info-list {
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #F1F5F9;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  color: #64748B;
  font-size: 0.875rem;
}

.info-value {
  color: #0F172A;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Badge Variants */
.badge-featured {
  background: linear-gradient(135deg, #0369a1 0%, #0d9488 100%);
  color: #fff;
}

.badge-difficulty {
  font-weight: 600;
}

.badge-difficulty.easy {
  background: #10b981;
  color: #fff;
}

.badge-difficulty.intermediate {
  background: #f59e0b;
  color: #fff;
}

.badge-difficulty.advanced {
  background: #ef4444;
  color: #fff;
}

/* ===== Blog Article Pages ===== */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-article .article-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
}

.blog-article .publish-date,
.blog-article .read-time {
  font-size: 0.875rem;
  color: #64748B;
}

.blog-article h2 {
  font-size: 1.75rem;
  color: #0F172A;
  margin: 2rem 0 1rem;
}

.blog-article h3 {
  font-size: 1.25rem;
  color: #0F172A;
  margin: 1.5rem 0 0.75rem;
}

.blog-article p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.blog-article ul,
.blog-article ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #475569;
  line-height: 1.8;
}

.blog-article li {
  margin-bottom: 0.5rem;
}

.blog-article .highlight-box {
  background: #F8FAFC;
  border-left: 4px solid #0369a1;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 12px 12px 0;
}

.blog-article .highlight-box p {
  margin: 0.5rem 0;
}

.blog-article .cta-box {
  background: linear-gradient(135deg, #0369a1 0%, #0d9488 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  margin: 2rem 0;
}

.blog-article .cta-box h3 {
  color: #fff;
  margin: 0 0 0.5rem;
}

.blog-article .cta-box p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

.blog-article .cta-box .btn {
  background: #fff;
  color: #0369a1;
}

.blog-article .month-guide {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .blog-article .month-guide {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-article .month-item {
  background: #F8FAFC;
  padding: 1.25rem;
  border-radius: 12px;
}

.blog-article .month-item h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.blog-article .month-item p {
  font-size: 0.875rem;
  margin: 0;
}

/* ===== Video Container ===== */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  margin: 1.5rem 0;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.video-placeholder-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.video-placeholder-content svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.video-placeholder-content p {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* ===== Course Cards Grid ===== */
.course-cards-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .course-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .course-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Course Featured Image ===== */
.course-featured-image {
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.course-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Image Placeholder ===== */
.image-placeholder {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 300px;
  text-align: center;
}

.image-placeholder svg {
  width: 48px;
  height: 48px;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.image-placeholder p {
  color: #64748B;
  font-size: 0.875rem;
  margin: 0;
}

/* ===== Photo Gallery ===== */
.photo-gallery {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.photo-gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 2rem 1rem 1rem;
  font-size: 0.875rem;
}

/* ===== Hero with Background Image ===== */
.page-hero-medium {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.page-hero-medium .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-medium .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-medium .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,20,50,0.5), rgba(0,30,60,0.7));
  z-index: 1;
}

.page-hero-medium .container {
  position: relative;
  z-index: 2;
}

.page-hero-medium .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-medium .breadcrumb {
  margin-bottom: 1.5rem;
}

.page-hero-medium .breadcrumb ol {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-hero-medium .breadcrumb a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.page-hero-medium .breadcrumb a:hover {
  color: #fff;
}

.page-hero-medium .breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: rgba(255,255,255,0.5);
}

.page-hero-medium .hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .page-hero-medium .hero-title {
    font-size: 3rem;
  }
}

.page-hero-medium .hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: #0F172A;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: #64748B;
  font-size: 1.125rem;
}

/* ===== Section Gray Background ===== */
.section-gray {
  background: #F8FAFC;
}

/* ===== Blog Article Layout ===== */
.article-layout {
  display: grid;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #64748B;
}

.article-category {
  background: #0369a1;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.article-header h1 {
  font-size: 2.25rem;
  color: #0F172A;
  line-height: 1.3;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .article-header h1 {
    font-size: 2.75rem;
  }
}

.article-excerpt {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #0F172A;
}

.author-title {
  font-size: 0.875rem;
  color: #64748B;
}

.article-featured-image {
  margin: 2rem 0;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.article-featured-image figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: #64748B;
  margin-top: 0.75rem;
}

.article-body {
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.5rem;
  color: #0F172A;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #E2E8F0;
}

.article-body h3 {
  font-size: 1.25rem;
  color: #0F172A;
  margin: 2rem 0 0.75rem;
}

.article-body p {
  color: #475569;
  margin-bottom: 1rem;
}

.article-body .lead {
  font-size: 1.125rem;
  color: #334155;
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #475569;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  background: #F8FAFC;
  border-left: 4px solid #0369a1;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
}

.article-body blockquote p {
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.article-body blockquote cite {
  font-size: 0.875rem;
  color: #64748B;
  font-style: normal;
}

/* Info Boxes */
.info-box {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.info-box h3 {
  font-size: 1.125rem;
  color: #0369a1;
  margin: 0 0 1rem;
}

.info-box ul {
  margin: 0;
  padding-left: 1.25rem;
}

.info-box li {
  margin-bottom: 0.5rem;
  color: #334155;
}

.info-box-secondary {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.info-box-secondary h3 {
  color: #334155;
}

/* Season Calendar */
.season-calendar {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .season-calendar {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calendar-item {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem;
}

.calendar-item h4 {
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0369a1;
}

.calendar-item p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* Article Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}

.tags-label {
  font-weight: 600;
  color: #64748B;
  font-size: 0.875rem;
}

.tag {
  background: #F1F5F9;
  color: #475569;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s;
}

.tag:hover {
  background: #0369a1;
  color: #fff;
}

/* Article Share */
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #F8FAFC;
  border-radius: 12px;
  margin: 2rem 0;
}

.share-label {
  font-weight: 600;
  color: #0F172A;
  font-size: 0.875rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s;
}

.share-btn:hover {
  transform: scale(1.1);
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-linkedin { background: #0077b5; }
.share-email { background: #64748B; }

/* Breadcrumb Section */
.breadcrumb-section {
  background: #F8FAFC;
  padding: 1rem 0;
}

.breadcrumb-section .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-section .breadcrumb a {
  color: #64748B;
  text-decoration: none;
  font-size: 0.875rem;
}

.breadcrumb-section .breadcrumb a:hover {
  color: #0369a1;
}

.breadcrumb-section .breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: #CBD5E1;
}

.breadcrumb-section .breadcrumb li:last-child span {
  color: #0F172A;
  font-weight: 500;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.modal h2 {
  font-size: 1.5rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.modal > p {
  color: #64748B;
  margin-bottom: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #64748B;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.modal-close:hover {
  background: #f1f5f9;
  color: #0F172A;
}

/* ===== Form Styles ===== */
.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 1rem;
  color: #0F172A;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0369a1;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94A3B8;
}

.form-note {
  text-align: center;
  font-size: 0.875rem;
  color: #64748B;
  margin-top: 1rem;
}

/* ===== Write Review Section ===== */
.write-review-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}

.write-review-section h3 {
  font-size: 1.25rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.write-review-section > p {
  color: #64748B;
  margin-bottom: 1.5rem;
}

.review-form {
  max-width: 600px;
}

.star-rating-input {
  display: flex;
  gap: 0.25rem;
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #CBD5E1;
  transition: color 0.15s, transform 0.15s;
}

.star-btn:hover,
.star-btn.active {
  color: #F59E0B;
}

.star-btn:hover {
  transform: scale(1.1);
}

.star-btn svg {
  display: block;
}

.star-btn.active svg {
  fill: #F59E0B;
}

/* ===== Location Map Section ===== */
.location-map-container {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .location-map-container {
    grid-template-columns: 1.2fr 1fr;
  }
}

.location-map {
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
}

.location-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.location-info h3 {
  font-size: 1.25rem;
  color: #0F172A;
  margin-bottom: 1.5rem;
}

.location-list {
  list-style: none;
  padding: 0;
}

.location-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #E2E8F0;
}

.location-list li:last-child {
  border-bottom: none;
}

.location-list li strong {
  display: block;
  color: #0369a1;
  margin-bottom: 0.25rem;
}

.location-list li p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748B;
}

/* ===== Success Message ===== */
.success-message {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
}
