/* ═══ SHARED STYLES — SharedShoreExcursions ═══════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terracotta: #C2593A;
  --terracotta-light: #D97B5A;
  --terracotta-dark: #8C3920;
  --cream: #F5F0E8;
  --cream-dark: #EDE5D5;
  --olive: #5C6B3A;
  --olive-light: #7A8C52;
  --stone: #6B6259;
  --stone-light: #9A8E84;
  --ink: #1E1A17;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--cream); color: var(--ink); font-size: 16px; line-height: 1.7; font-weight: 300; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: rgba(30,26,23,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo { font-family: var(--font-serif); font-size: 22px; font-weight: 300; color: var(--cream); letter-spacing: 0.05em; text-decoration: none; }
.nav-logo span { color: var(--terracotta-light); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-family: var(--font-sans); font-size: 13px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,240,232,0.75); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--cream); }
.nav-cta { font-size: 12px !important; padding: 8px 20px; border: 1px solid rgba(194,89,58,0.6); border-radius: 2px; color: var(--terracotta-light) !important; transition: background 0.2s, color 0.2s !important; }
.nav-cta:hover { background: var(--terracotta) !important; color: var(--white) !important; }

/* Nav ports dropdown */
.nav-port-wrap { position: relative; }
.nav-port-btn { cursor: pointer; }
.nav-port-dropdown {
  display: none; position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%);
  background: rgba(30,26,23,0.97); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px; min-width: 190px; z-index: 400;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4); backdrop-filter: blur(12px);
}
.nav-port-dropdown.open { display: block; }
.nav-port-dropdown a { display: block; padding: 11px 18px; font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,240,232,0.65) !important; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.15s, color 0.15s; }
.nav-port-dropdown a:last-child { border-bottom: none; }
.nav-port-dropdown a:hover { background: rgba(194,89,58,0.15); color: var(--cream) !important; }

/* ─── BUTTONS ─── */
.btn-primary { display: inline-block; padding: 14px 36px; background: var(--terracotta); color: var(--white); text-decoration: none; font-size: 13px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; font-family: var(--font-sans); }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.btn-olive { display: inline-block; padding: 14px 36px; background: var(--olive-light); color: var(--white); text-decoration: none; font-size: 13px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; font-family: var(--font-sans); }
.btn-olive:hover { background: var(--olive); transform: translateY(-1px); }
.btn-outline { display: inline-block; padding: 13px 36px; border: 1px solid rgba(245,240,232,0.55); color: rgba(245,240,232,0.9); text-decoration: none; font-size: 13px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; transition: background 0.2s, border-color 0.2s; }
.btn-outline:hover { background: rgba(245,240,232,0.12); border-color: rgba(245,240,232,0.9); }
.btn-book { display: inline-block; padding: 10px 22px; background: var(--terracotta); color: var(--white); text-decoration: none; font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; transition: background 0.2s; }
.btn-book:hover { background: var(--terracotta-dark); }

/* ─── SECTION COMMONS ─── */
section { padding: 96px 48px; }
.section-label { font-size: 11px; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px; }
.section-title { font-family: var(--font-serif); font-size: clamp(34px, 4vw, 54px); font-weight: 300; line-height: 1.15; color: var(--ink); margin-bottom: 20px; }
.section-title em { font-style: italic; }
.section-body { font-size: 16px; font-weight: 300; color: var(--stone); max-width: 580px; line-height: 1.75; margin-bottom: 48px; }
.container { max-width: 1200px; margin: 0 auto; }

/* ─── TRUST BAR ─── */
.trust-bar { background: var(--ink); padding: 0 48px; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid rgba(255,255,255,0.08); }
.trust-item { padding: 32px 36px; border-right: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 16px; }
.trust-icon { font-size: 24px; flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.trust-text strong { display: block; font-size: 14px; font-weight: 400; color: var(--cream); letter-spacing: 0.03em; margin-bottom: 2px; }
.trust-text span { font-size: 12px; color: rgba(245,240,232,0.45); letter-spacing: 0.02em; }

/* ─── TOUR CARDS ─── */
.tours-section { background: var(--cream-dark); }
.tours-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.tours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.tour-card { background: var(--white); border-radius: 4px; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
.tour-card:hover { box-shadow: 0 12px 40px rgba(30,26,23,0.12); transform: translateY(-4px); }
.tour-img { height: 220px; position: relative; overflow: hidden; }
.tour-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tour-card:hover .tour-img img { transform: scale(1.05); }
.tour-port { position: absolute; top: 16px; left: 16px; background: rgba(30,26,23,0.75); color: rgba(245,240,232,0.9); font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; }
.tour-body { padding: 28px 28px 24px; }
.tour-name { font-family: var(--font-serif); font-size: 22px; font-weight: 300; color: var(--ink); margin-bottom: 8px; line-height: 1.25; }
.tour-meta { display: flex; gap: 20px; font-size: 13px; color: var(--stone-light); margin-bottom: 16px; font-weight: 300; }
.tour-desc { font-size: 14px; color: var(--stone); line-height: 1.65; margin-bottom: 24px; font-weight: 300; }
.tour-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--cream-dark); padding-top: 20px; }
.tour-price { font-family: var(--font-serif); font-size: 26px; font-weight: 300; color: var(--ink); }
.tour-price small { font-family: var(--font-sans); font-size: 11px; color: var(--stone-light); display: block; margin-bottom: 2px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── CONTACT ─── */
.contact-section { background: var(--ink); padding: 96px 48px; }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-section .section-label { color: var(--terracotta-light); }
.contact-section .section-title { color: var(--cream); }
.contact-section .section-body { color: rgba(245,240,232,0.55); }
.contact-ways { display: flex; flex-direction: column; gap: 16px; }
.contact-way { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border: 1px solid rgba(255,255,255,0.08); border-radius: 2px; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.contact-way:hover { border-color: rgba(194,89,58,0.5); background: rgba(194,89,58,0.05); }
.cw-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.cw-icon.green { background: rgba(37,211,102,0.15); }
.cw-icon.mail  { background: rgba(194,89,58,0.15); }
.cw-icon.phone { background: rgba(245,240,232,0.08); }
.cw-text strong { display: block; font-size: 14px; font-weight: 400; color: var(--cream); margin-bottom: 2px; }
.cw-text span { font-size: 13px; color: rgba(245,240,232,0.4); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,232,0.45); }
.form-group input, .form-group textarea, .form-group select { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 2px; padding: 12px 16px; font-family: var(--font-sans); font-size: 14px; font-weight: 300; color: var(--cream); outline: none; transition: border-color 0.2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(245,240,232,0.25); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: rgba(194,89,58,0.5); }
.form-group select { color: rgba(245,240,232,0.6); }
.form-group select option { background: #2a2420; }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-send { padding: 14px 36px; align-self: flex-start; background: var(--terracotta); color: var(--white); border: none; cursor: pointer; font-family: var(--font-sans); font-size: 12px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; border-radius: 2px; transition: background 0.2s, transform 0.15s; }
.btn-send:hover { background: var(--terracotta-light); transform: translateY(-1px); }
.time-note { font-size: 12px; color: rgba(245,240,232,0.3); margin-top: 24px; line-height: 1.6; }
.time-note strong { color: rgba(245,240,232,0.5); }

/* ─── FOOTER ─── */
footer { background: #12100E; padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: var(--font-serif); font-size: 18px; font-weight: 300; color: rgba(245,240,232,0.5); }
.footer-logo span { color: var(--terracotta); }
.footer-copy { font-size: 12px; color: rgba(245,240,232,0.25); letter-spacing: 0.04em; }

/* ─── MODAL ─── */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(20,15,10,0.72); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: 4px; padding: 44px 48px; max-width: 500px; width: 92%; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.3); }
.modal-close { position: absolute; top: 18px; right: 22px; font-size: 20px; color: var(--stone-light); cursor: pointer; background: none; border: none; line-height: 1; transition: color 0.2s; }
.modal-close:hover { color: var(--ink); }
.modal-label { font-size: 11px; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px; }
.modal-title { font-family: var(--font-serif); font-size: 32px; font-weight: 300; font-style: italic; color: var(--ink); margin-bottom: 6px; }
.modal-sub { font-size: 14px; font-weight: 300; color: var(--stone); margin-bottom: 28px; line-height: 1.6; }
.modal-fields { display: flex; flex-direction: column; gap: 16px; }
.modal-fields label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); display: block; margin-bottom: 5px; }
.modal-fields input, .modal-fields select { width: 100%; padding: 11px 14px; border: 1px solid rgba(107,98,89,0.28); border-radius: 2px; font-family: var(--font-sans); font-size: 14px; font-weight: 300; color: var(--ink); background: var(--cream); outline: none; transition: border-color 0.2s; }
.modal-fields input:focus, .modal-fields select:focus { border-color: var(--terracotta); }
.modal-cta { margin-top: 8px; width: 100%; padding: 14px; background: var(--terracotta); color: var(--white); font-family: var(--font-sans); font-size: 12px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; border: none; border-radius: 2px; cursor: pointer; transition: background 0.2s; }
.modal-cta:hover { background: var(--terracotta-dark); }

/* ─── PORT PAGE HERO ─── */
.port-hero { height: 55vh; min-height: 380px; position: relative; display: flex; align-items: flex-end; padding-bottom: 60px; overflow: hidden; }
.port-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.port-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,15,10,0.2) 0%, rgba(20,15,10,0.75) 100%); }
.port-hero-inner { position: relative; z-index: 2; padding: 0 48px; max-width: 1200px; margin: 0 auto; width: 100%; }
.port-breadcrumb { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,232,0.5); margin-bottom: 14px; }
.port-breadcrumb a { color: rgba(245,240,232,0.5); text-decoration: none; }
.port-breadcrumb a:hover { color: var(--cream); }
.port-hero-title { font-family: var(--font-serif); font-size: clamp(40px, 6vw, 72px); font-weight: 300; color: var(--white); line-height: 1.08; margin-bottom: 12px; }
.port-hero-title em { font-style: italic; color: var(--cream); }
.port-hero-sub { font-size: 16px; font-weight: 300; color: rgba(245,240,232,0.75); max-width: 540px; }

/* ─── PORT DATE FILTER ─── */
.port-filter { background: var(--cream-dark); border-top: 1px solid #d5cdc4; border-bottom: 1px solid #d5cdc4; padding: 0 48px; }
.port-filter-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 20px 0; flex-wrap: wrap; }
.port-filter label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.port-filter input[type="date"], .port-filter select { background: var(--white); border: 1px solid #d5cdc4; border-radius: 2px; padding: 9px 14px; font-family: var(--font-sans); font-size: 13px; color: var(--ink); outline: none; transition: border-color 0.2s; }
.port-filter input[type="date"]:focus, .port-filter select:focus { border-color: var(--terracotta); }
.port-filter select option { background: var(--white); }
.port-filter-sep { width: 1px; height: 28px; background: #d5cdc4; }
.port-filter-note { font-size: 12px; color: var(--stone-light); margin-left: auto; font-style: italic; }

/* ─── JOIN GROUP BANNER ─── */
.join-banner { background: var(--olive); padding: 48px; }
.join-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.join-banner h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 300; font-style: italic; color: var(--white); margin-bottom: 6px; }
.join-banner p { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.75); max-width: 500px; line-height: 1.65; }
.btn-white-outline { display: inline-block; padding: 13px 32px; border: 1px solid rgba(255,255,255,0.6); color: var(--white); text-decoration: none; font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px; transition: background 0.2s, border-color 0.2s; white-space: nowrap; }
.btn-white-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ─── SCROLL HINT ─── */
.scroll-hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(245,240,232,0.5); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.scroll-hint::after { content: ''; display: block; width: 1px; height: 40px; background: rgba(245,240,232,0.3); animation: lineGrow 2s ease-in-out infinite; }
@keyframes lineGrow { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links a:not(.nav-cta) { display: none; }
  section { padding: 64px 24px; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-section { padding: 64px 24px; }
  footer { padding: 24px; flex-direction: column; align-items: flex-start; }
  .port-hero-inner { padding: 0 24px; }
  .port-filter { padding: 0 24px; }
  .join-banner { padding: 36px 24px; }
  .join-banner-inner { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
}
