:root {
  --primary: #0d3b4c;
  --primary-dark: #082a36;
  --accent: #1a6b7a;
  --teal: #0e7490;
  --ocean: #0891b2;
  --sand: #f7f3ee;
  --cream: #faf8f5;
  --text: #1e293b;
  --text-light: #475569;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
}

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

.nav a {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--teal);
}

.nav a.active {
  border-bottom: 2px solid var(--teal);
  padding-bottom: 4px;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 47, 73, 0.75) 0%, rgba(8, 47, 73, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 0;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: #f1f5f9;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid white;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

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

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

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 500;
}

/* Destination Circles */
.destinations-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

.destinations-row::-webkit-scrollbar {
  display: none;
}

.dest-circle {
  text-align: center;
  min-width: 110px;
  cursor: pointer;
}

.dest-circle img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid white;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.dest-circle:hover img {
  transform: scale(1.05);
}

.dest-circle h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.dest-circle p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Resort Grid */
.resort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.resort-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.resort-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.resort-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.resort-card-body {
  padding: 20px;
}

.resort-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.resort-card .location {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.resort-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

.resort-card .view-link {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Sandals Page Specific */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

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

.island-group {
  margin-bottom: 64px;
}

.island-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 20px;
}

.island-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary);
}

.island-header p {
  max-width: 400px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.resort-stats {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 12px 0 16px;
  flex-wrap: wrap;
}

.resort-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 60px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Search */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

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

.search-box {
  background: white;
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.search-box input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--teal);
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .resort-grid {
    grid-template-columns: 1fr;
  }
  .island-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
