/* =============================================================
   CARIBBEAN GOLF COURSE — Main Stylesheet
   Content site: caribbeangolfcourse.com
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --navy:     #0A1628;
  --navy-mid: #112240;
  --teal:     #0E4D64;
  --gold:     #C9A84C;
  --gold-lt:  #E8C96A;
  --cream:    #F5F0E8;
  --ivory:    #FDFAF5;
  --white:    #FFFFFF;
  --gray:     #8A8A8A;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', sans-serif;
  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-lg:    0 24px 60px rgba(0,0,0,0.35);
  --shadow-gold:  0 8px 32px rgba(201,168,76,0.3);
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background: var(--ivory); color: var(--navy); overflow-x: hidden; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
p { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 300; color: #3a3a3a; }
.overline { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }

/* ─── GOLD DIVIDER ───────────────────────────────────────────── */
.gold-divider { width: 60px; height: 2px; background: var(--gold); margin: 20px 0 28px; }
.gold-divider.center { margin: 20px auto 28px; }

/* ─── NAVIGATION ─────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 4vw; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.site-nav.scrolled { background: var(--navy); box-shadow: 0 2px 40px rgba(0,0,0,0.5); height: 64px; }
.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .logo-top { font-family: var(--font-display); font-size: 1.35rem; color: var(--white); letter-spacing: 0.04em; }
.nav-logo .logo-sub { font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.85); transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; padding: 9px 20px !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--gold-lt) !important; }

/* ─── HAMBURGER ──────────────────────────────────────────────── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: white; transition: var(--transition); }

/* ─── MOBILE MENU ────────────────────────────────────────────── */
.mobile-menu { position: fixed; inset: 0; background: var(--navy); z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.8rem; color: white; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 24px; right: 24px; font-size: 2rem; background: none; border: none; color: white; cursor: pointer; }

/* ─── PAGE HERO (text-only, no image) ────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 140px 5vw 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 65%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 800px; }
.page-hero .overline { display: block; margin-bottom: 16px; }
.page-hero h1 { color: white; margin-bottom: 20px; }
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 600px; font-size: 1.2rem; }

/* ─── HERO (homepage full-height) ───────────────────────────── */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,0.12) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(14,77,100,0.3) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; padding: 0 6vw; max-width: 860px; }
.hero-content .overline { display: block; margin-bottom: 20px; }
.hero-content h1 { color: white; margin-bottom: 20px; }
.hero-content h1 em { color: var(--gold); font-style: italic; }
.hero-content > p { color: rgba(255,255,255,0.75); max-width: 560px; margin-bottom: 36px; font-size: 1.2rem; }
.hero-stats { display: flex; gap: 40px; margin-bottom: 44px; flex-wrap: wrap; }
.hero-stat .num { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.hero-stat .lbl { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 15px 34px; transition: var(--transition); cursor: pointer; border: none; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-outline { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.45); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }

/* ─── STATS STRIP ────────────────────────────────────────────── */
.stats-strip { background: var(--navy); padding: 28px 0; }
.stats-strip .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.stat-item { text-align: center; }
.stat-item .num { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); line-height: 1; }
.stat-item .lbl { font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb { padding: 14px 5vw; background: var(--cream); border-bottom: 1px solid rgba(0,0,0,0.06); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; max-width: 1200px; margin: 0 auto; }
.breadcrumb li { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--gray); }
.breadcrumb li a { color: var(--navy); transition: color 0.2s; }
.breadcrumb li a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }

/* ─── ARTICLE CONTENT ────────────────────────────────────────── */
.article-body { padding: 80px 0 60px; background: var(--ivory); }
.article-body .container { display: grid; grid-template-columns: 1fr 320px; gap: 72px; align-items: start; }
.article-main {}
.article-section { margin-bottom: 56px; }
.article-section h2 { margin-bottom: 18px; }
.article-section h2 em { color: var(--gold); font-style: italic; }
.article-section p { margin-bottom: 16px; line-height: 1.8; }
.article-section ul.content-list { margin: 16px 0 16px 0; }
.article-section ul.content-list li { font-family: var(--font-serif); font-size: 1.1rem; color: #3a3a3a; padding: 6px 0 6px 20px; position: relative; border-bottom: 1px solid rgba(0,0,0,0.05); }
.article-section ul.content-list li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; top: 10px; }

/* ─── SIDEBAR ────────────────────────────────────────────────── */
.article-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: white; border: 1px solid rgba(0,0,0,0.08); padding: 32px 28px; margin-bottom: 24px; }
.sidebar-card:hover { border-color: var(--gold); }
.sidebar-card h4 { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--navy); margin-bottom: 16px; border-bottom: 2px solid var(--gold); padding-bottom: 10px; }
.sidebar-card ul { display: flex; flex-direction: column; gap: 10px; }
.sidebar-card ul li a { font-family: var(--font-sans); font-size: 0.8rem; color: var(--navy); transition: color 0.2s; display: flex; gap: 8px; align-items: center; }
.sidebar-card ul li a::before { content: '→'; color: var(--gold); font-size: 0.7rem; flex-shrink: 0; }
.sidebar-card ul li a:hover { color: var(--gold); }
.sidebar-cta { background: var(--navy); border: none; padding: 32px 28px; }
.sidebar-cta p { font-size: 0.9rem !important; color: rgba(255,255,255,0.65) !important; margin-bottom: 20px; }
.sidebar-cta h4 { color: white; border-bottom-color: var(--gold); }

/* ─── INTRO SECTION ──────────────────────────────────────────── */
.intro-section { padding: 100px 0; background: var(--ivory); }
.intro-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.intro-text h2 em { color: var(--gold); font-style: italic; }
.intro-text p { margin-bottom: 16px; }
.intro-badges { display: flex; flex-direction: column; gap: 18px; }
.intro-badge { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid rgba(0,0,0,0.08); background: white; transition: border-color 0.3s, box-shadow 0.3s; }
.intro-badge:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.badge-icon { font-size: 1.6rem; flex-shrink: 0; }
.badge-text strong { display: block; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 4px; }
.badge-text span { font-family: var(--font-serif); font-size: 0.92rem; color: var(--gray); }

/* ─── DESTINATION GRID ───────────────────────────────────────── */
.dest-section { padding: 100px 0; background: var(--cream); }
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.dest-card { background: white; padding: 36px 28px; border-bottom: 3px solid transparent; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.dest-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dest-card .dest-icon { font-size: 1.8rem; margin-bottom: 16px; }
.dest-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.dest-card h3 a { color: var(--navy); transition: color 0.2s; }
.dest-card h3 a:hover { color: var(--gold); }
.dest-card p { font-size: 0.95rem; margin-bottom: 16px; }
.dest-card .dest-link { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* ─── FEATURES GRID ──────────────────────────────────────────── */
.features-section { padding: 100px 0; background: var(--cream); }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header h2 em { color: var(--gold); font-style: italic; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: white; padding: 36px 28px; border-bottom: 3px solid transparent; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.feature-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 1.8rem; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* ─── COURSE LIST ────────────────────────────────────────────── */
.course-list { display: flex; flex-direction: column; gap: 2px; margin-top: 40px; }
.course-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 24px; align-items: center; background: white; padding: 22px 28px; transition: background 0.2s, border-left 0.2s; border-left: 3px solid transparent; }
.course-row:hover { border-left-color: var(--gold); background: var(--ivory); }
.course-rank { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); opacity: 0.4; line-height: 1; }
.course-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.course-info h3 a { color: var(--navy); transition: color 0.2s; }
.course-info h3 a:hover { color: var(--gold); }
.course-info span { font-family: var(--font-sans); font-size: 0.68rem; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; }
.course-meta { text-align: right; }
.course-meta .designer { font-family: var(--font-sans); font-size: 0.7rem; color: var(--gray); }
.course-meta .rating { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); }

/* ─── DARK CTA BAND ──────────────────────────────────────────── */
.cta-band { background: var(--navy); padding: 80px 0; text-align: center; }
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band h2 em { color: var(--gold); font-style: italic; }
.cta-band p { color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 36px; font-family: var(--font-serif); font-size: 1.1rem; }

/* ─── GOLD CTA BAND ──────────────────────────────────────────── */
.cta-gold { background: var(--gold); padding: 72px 0; text-align: center; }
.cta-gold h2 { color: var(--navy); margin-bottom: 16px; }
.cta-gold p { color: rgba(10,22,40,0.72); max-width: 520px; margin: 0 auto 32px; }

/* ─── RELATED PAGES ──────────────────────────────────────────── */
.related-section { padding: 80px 0; background: var(--ivory); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.related-card { background: white; padding: 28px 24px; border: 1px solid rgba(0,0,0,0.07); transition: border-color 0.3s, transform 0.3s; }
.related-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.related-card span.overline { display: block; margin-bottom: 8px; }
.related-card h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; margin-bottom: 10px; }
.related-card h4 a { color: var(--navy); transition: color 0.2s; }
.related-card h4 a:hover { color: var(--gold); }
.related-card p { font-size: 0.9rem; }

/* ─── REVIEWS ────────────────────────────────────────────────── */
.reviews-section { padding: 100px 0; background: var(--navy); }
.reviews-section .section-header h2 { color: white; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 36px 28px; transition: border-color 0.3s; }
.review-card:hover { border-color: var(--gold); }
.review-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 18px; letter-spacing: 4px; }
.review-text { color: rgba(255,255,255,0.72) !important; font-size: 0.98rem !important; font-style: italic; margin-bottom: 22px; }
.review-author strong { display: block; color: white; font-family: var(--font-sans); font-size: 0.78rem; }
.review-author span { color: rgba(255,255,255,0.38); font-family: var(--font-sans); font-size: 0.68rem; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 80px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 5vw 60px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo-top { display: block; font-family: var(--font-display); font-size: 1.5rem; color: white; margin-bottom: 4px; }
.footer-brand .logo-sub { display: block; font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.88rem; }
.footer-col h4 { color: white; font-size: 0.68rem; letter-spacing: 0.2em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-family: var(--font-sans); font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 5vw; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-family: var(--font-sans); font-size: 0.68rem; color: rgba(255,255,255,0.28); }
.footer-bottom a { color: var(--gold); }

/* ─── FADE-UP ANIMATION ──────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .features-grid, .dest-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .article-body .container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .intro-section .container { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .dest-grid, .reviews-grid, .related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .course-row { grid-template-columns: 36px 1fr; }
  .course-meta { display: none; }
}
