/* ============================================
   IslandSummerExperience.com — Shared Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --ocean:    #0077B6;
  --teal:     #00B4D8;
  --teal-lt:  #48CAE4;
  --sky:      #CAF0F8;
  --sand:     #F9C74F;
  --sand-dk:  #F3A83E;
  --white:    #FFFFFF;
  --light:    #F0F9FF;
  --dark:     #0D2137;
  --text:     #1E3A52;
  --muted:    #5B7A90;
  --border:   #D0EAF5;
  --radius:   14px;
  --radius-lg:22px;
  --shadow:   0 4px 24px rgba(0,119,182,.11);
  --shadow-lg:0 8px 40px rgba(0,119,182,.18);
  --transition: .3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Syne', sans-serif;
  color: var(--dark);
  line-height: 1.25;
}

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

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ── NOTIFICATION ── */
#toast-container {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 9999; display: flex; flex-direction: column; gap: 12px;
}
.toast {
  background: var(--dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: .92rem;
  box-shadow: var(--shadow-lg);
  animation: toastIn .35s ease forwards;
  max-width: 320px;
}
.toast.success { border-left: 4px solid var(--sand); }
.toast.info    { border-left: 4px solid var(--teal); }
@keyframes toastIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
@keyframes toastOut { to{opacity:0;transform:translateY(20px)} }

/* ── TOPBAR ── */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  padding: 7px 0;
  text-align: center;
  letter-spacing: .02em;
}

/* ── HEADER ── */
.site-header {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,119,182,.07);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

/* LOGO */
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,180,216,.35);
}
.logo-icon svg { width: 28px; height: 28px; }
.logo-text-block { line-height: 1; }
.logo-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--dark);
  letter-spacing: -.01em;
}
.logo-sub {
  font-size: .7rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* NAV */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  padding: 7px 13px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--sky);
  color: var(--ocean);
}

.btn-cta {
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(0,119,182,.3);
}
.btn-cta:hover { opacity: .9; background: linear-gradient(135deg,var(--teal),var(--ocean)) !important; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* MOBILE NAV */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px;
  gap: 4px;
}
.mobile-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .94rem;
  transition: background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--sky);
  color: var(--ocean);
}
.mobile-nav.open { display: flex; }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, var(--dark) 0%, #0a4a72 60%, #0077B6 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='320'%3E%3Cpath fill='rgba(0,180,216,.15)' d='M0,192L48,186.7C96,181,192,171,288,181.3C384,192,480,224,576,213.3C672,203,768,149,864,144C960,139,1056,181,1152,197.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L0,320Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
  opacity: .5;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--sand);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.15;
}
.hero h1 span { color: var(--sand); }
.hero p {
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  margin-bottom: 34px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--sand);
  color: var(--dark);
  box-shadow: 0 6px 20px rgba(249,199,79,.4);
}
.btn-primary:hover { background: var(--sand-dk); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(249,199,79,.5); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrap img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); }

/* ── SECTION COMMON ── */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-ocean { background: linear-gradient(135deg, var(--ocean) 0%, #005A8E 100%); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
.section-header p { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* ── CARDS ── */
.cards-grid { display: grid; gap: 28px; }
.cards-grid-3 { grid-template-columns: repeat(3,1fr); }
.cards-grid-2 { grid-template-columns: repeat(2,1fr); }
.cards-grid-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: var(--sky);
}
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .92rem; line-height: 1.65; }

.card-img {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card-img:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img-thumb { width: 100%; height: 220px; object-fit: cover; border-radius: 0; }
.card-img-body { padding: 26px 24px; }
.card-img-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card-img-body p { color: var(--muted); font-size: .9rem; }

/* ── FEATURE SPLIT ── */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-text .eyebrow {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); display: block; margin-bottom: 14px;
}
.feature-text h2 { font-size: clamp(1.6rem,2.5vw,2.2rem); margin-bottom: 18px; }
.feature-text p { color: var(--muted); font-size: 1rem; margin-bottom: 14px; }
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; font-size: .95rem; color: var(--text);
}
.feature-list li::before {
  content: '✓';
  min-width: 24px; height: 24px;
  background: var(--sky);
  color: var(--ocean);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.feature-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-img img { width: 100%; height: 380px; object-fit: cover; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--dark);
  padding: 50px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 30px; text-align: center;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  color: var(--sand); display: block;
}
.stat-label { color: rgba(255,255,255,.65); font-size: .88rem; }

/* ── BREADCRUMB ── */
.breadcrumb-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: .84rem; color: var(--muted);
}
.breadcrumb a { color: var(--ocean); }
.breadcrumb span { color: var(--muted); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--ocean) 100%);
  padding: 80px 0 70px;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem,3.5vw,3rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ── ARTICLE CARD ── */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article-thumb { width: 100%; height: 210px; object-fit: cover; border-radius: 0; }
.article-meta {
  display: flex; gap: 14px; align-items: center;
  padding: 20px 24px 0;
  font-size: .8rem; color: var(--muted);
}
.article-tag {
  background: var(--sky); color: var(--ocean);
  padding: 3px 10px; border-radius: 50px; font-weight: 600;
  font-size: .75rem;
}
.article-body { padding: 14px 24px 26px; flex: 1; }
.article-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.article-body p { color: var(--muted); font-size: .9rem; }
.article-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: .88rem; font-weight: 600;
  color: var(--ocean);
}

/* ── ACCORDION ── */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%; text-align: left;
  background: var(--white); border: none; cursor: pointer;
  padding: 20px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--dark);
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition);
}
.accordion-btn:hover { background: var(--light); }
.accordion-btn.active { background: var(--light); color: var(--ocean); }
.accordion-btn span.acc-icon { font-size: 1.3rem; transition: transform var(--transition); }
.accordion-btn.active span.acc-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted); font-size: .95rem; line-height: 1.7;
}
.accordion-body.open { display: block; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 7px;
  font-weight: 600; font-size: .9rem; color: var(--dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: .95rem; color: var(--text);
  background: var(--white);
  transition: border var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,216,.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 50px;
}
.footer-brand .logo-name { color: #fff; }
.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .88rem; line-height: 1.7; margin-top: 14px;
}
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  color: #fff; font-size: .95rem; margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.6); font-size: .88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--sand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex; align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-bottom .footer-links {
  display: flex; gap: 20px;
}
.footer-bottom .footer-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom .footer-links a:hover { color: var(--sand); }
.footer-disclaimer {
  background: rgba(0,0,0,.2);
  padding: 18px 24px;
  border-radius: var(--radius);
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── TAG BADGE ── */
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 50px;
  font-size: .75rem; font-weight: 600;
}
.badge-teal  { background: var(--sky); color: var(--ocean); }
.badge-sand  { background: #FEF3CD; color: #856404; }
.badge-green { background: #d1fae5; color: #065f46; }

/* ── INFO BOX ── */
.info-box {
  border-left: 4px solid var(--teal);
  background: var(--light);
  padding: 20px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-size: .94rem; color: var(--text);
}

/* ── TABLE ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th {
  background: var(--dark); color: #fff;
  padding: 14px 18px; text-align: left;
  font-family: 'Syne', sans-serif; font-weight: 600;
}
td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--text); }
tr:nth-child(even) td { background: var(--light); }

/* ── BREADCRUMB NAV ── */
nav.breadcrumb a { color: var(--ocean); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; direction: ltr; }
  .feature-split .feature-img { order: -1; }
  .feature-img img { height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .section { padding: 60px 0; }
}

/* Contact grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

@media (max-width: 520px) {
  .cards-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 70px 0 60px; }
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
}
