/* ============================================================
   Lost & Free – Shared Stylesheet  (style.css)
   ============================================================ */

:root {
  --forest: #313A31;
  --moss:   #2C352D;
  --earth:  #384238;
  --olive:  #314033;
  --cream:  #FAF8E6;
  --terra:  #e35336;
  --sand:   #d2b48c;
  --ocean:  #4f798c;
  --white:  #ffffff;
  --dark:   #1a1f1a;
  --nav-height: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: 'Jost', sans-serif; background: var(--cream); color: var(--forest); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

/* ── TOPBAR ── */
.topbar { background: var(--moss); color: var(--cream); padding: 8px 40px; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; letter-spacing: 0.05em; }
.topbar a { color: var(--sand); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--terra); }
.topbar-left { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 10px; align-items: center; }
.topbar-right a { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(250,248,230,.25); display: flex; align-items: center; justify-content: center; color: var(--cream); font-size: 0.72rem; transition: background .2s, border-color .2s; }
.topbar-right a:hover { background: var(--terra); border-color: var(--terra); }
@media(max-width:768px) { .topbar { display: none; } }

/* ── NAVBAR ── */
.navbar { position: sticky; top: 0; z-index: 1000; background: rgba(49,58,49,0.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 0 28px; display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); border-bottom: 1px solid rgba(250,248,230,.08); transition: box-shadow .3s; }
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.35); }

/* Brand / Logo */
.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 52px; width: auto; max-width: 160px; object-fit: contain; }
.brand-icon { width: 38px; height: 38px; flex-shrink: 0; background: var(--terra); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.brand-text { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--cream); letter-spacing: 0.02em; white-space: nowrap; }
.brand-text span { color: var(--terra); }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; flex-wrap: nowrap; }
.nav-links a { color: var(--cream); text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 10px; border-radius: 4px; transition: color .2s, background .2s; position: relative; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--terra); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--forest); border-radius: 8px; min-width: 210px; padding: 8px 0; box-shadow: 0 16px 40px rgba(0,0,0,.4); border: 1px solid rgba(250,248,230,.08); }
.nav-links .dropdown:hover .dropdown-menu { display: block; }
.nav-links .dropdown-menu a { display: block; padding: 10px 18px; font-size: 0.8rem; color: var(--cream); text-transform: none; border-radius: 0; letter-spacing: 0.04em; }
.nav-links .dropdown-menu a:hover { background: rgba(227,83,54,.15); color: var(--terra); }
.nav-cta { background: var(--terra); color: #fff !important; padding: 8px 18px !important; border-radius: 30px !important; font-weight: 600 !important; letter-spacing: 0.05em !important; transition: transform .2s, box-shadow .2s !important; margin-left: 4px; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(227,83,54,.4) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; flex-shrink: 0; }
.hamburger span { width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: .3s; display: block; }

/* Tighter navbar on medium-large screens to prevent overflow */
@media(max-width:1280px) {
  .navbar { padding: 0 16px; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 0.72rem; padding: 8px 7px; letter-spacing: 0.03em; }
  .nav-cta { padding: 7px 12px !important; margin-left: 2px; }
}
@media(max-width:1100px) {
  .navbar { padding: 0 14px; }
  .nav-links a { font-size: 0.70rem; padding: 8px 6px; letter-spacing: 0.02em; }
  .nav-cta { padding: 6px 10px !important; }
  .brand-logo img { height: 44px; }
}

/* Mobile nav */
@media(max-width:960px) {
  .navbar { padding: 0 20px; }
  .hamburger { display: flex; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; gap: 0; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--moss); padding: 8px 0 24px; border-bottom: 2px solid var(--terra); max-height: calc(100vh - var(--nav-height)); overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 999; box-shadow: 0 8px 32px rgba(0,0,0,.4); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; font-size: 0.9rem; border-radius: 0; border-bottom: 1px solid rgba(250,248,230,.06); letter-spacing: 0.06em; }
  .nav-links .dropdown-menu { position: static; box-shadow: none; border: none; background: rgba(0,0,0,.2); border-radius: 0; min-width: unset; padding: 4px 0; display: none; }
  .nav-links .dropdown.open .dropdown-menu { display: block; }
  .nav-links .dropdown-menu a { padding: 10px 40px; }
  .nav-cta { margin: 12px 20px 0; text-align: center; border-radius: 30px !important; display: block; padding: 12px 24px !important; }
}
@media(max-width:480px) { .navbar { padding: 0 16px; } }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--dark); position: relative; overflow: hidden; padding: 100px 24px 80px; text-align: center; }
.page-hero-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.page-hero-eyebrow { font-family: 'Dancing Script', cursive; font-size: 1.4rem; color: var(--sand); margin-bottom: 12px; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem,6vw,4.8rem); font-weight: 300; color: var(--cream); line-height: 1.1; margin-bottom: 18px; }
.page-hero h1 em { font-style: italic; color: var(--terra); }
.page-hero p { font-size: 1.05rem; color: rgba(250,248,230,.8); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.breadcrumb { display: flex; gap: 8px; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumb a { color: var(--sand); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb span { color: rgba(250,248,230,.4); }

/* ── SECTIONS ── */
section { padding: 90px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media(max-width:768px) { section { padding: 64px 0; } }
@media(max-width:480px) { section { padding: 48px 0; } .container { padding: 0 16px; } }

.section-label { display: inline-block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra); font-weight: 600; border-bottom: 2px solid var(--terra); padding-bottom: 4px; margin-bottom: 14px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem,4vw,3rem); font-weight: 300; line-height: 1.2; color: var(--forest); }
.section-title em { font-style: italic; color: var(--terra); }
.section-intro { font-size: 1.05rem; color: #556055; max-width: 640px; line-height: 1.7; margin-top: 14px; }

/* ── BUTTONS ── */
.btn-primary { background: var(--terra); color: #fff; padding: 13px 34px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--terra); transition: all .25s; display: inline-block; }
.btn-primary:hover { background: transparent; color: var(--terra); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227,83,54,.35); }
.btn-outline { background: transparent; color: var(--cream); padding: 13px 34px; border-radius: 30px; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: 2px solid rgba(250,248,230,.6); transition: all .25s; display: inline-block; }
.btn-outline:hover { background: var(--cream); color: var(--forest); }

/* ── DESTINATION / EXPERIENCE CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 48px; }
.dest-card { border-radius: 8px; overflow: hidden; background: var(--white); box-shadow: 0 2px 16px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s; }
.dest-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,.15); }
.dest-card-img { height: 230px; overflow: hidden; }
.dest-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest-card:hover .dest-card-img img { transform: scale(1.06); }
/* CENTRALLY ALIGNED card body – applies across ALL pages */
.dest-card-body { padding: 16px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.dest-card-body h5 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--forest); text-align: center; }
.dest-card-tag { display: inline-block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(227,83,54,.1); color: var(--terra); padding: 3px 10px; border-radius: 20px; margin-bottom: 6px; }
@media(max-width:960px) { .cards-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px) { .cards-grid { grid-template-columns: 1fr; } }

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #617061; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid #ddd; border-radius: 8px; font-family: 'Jost', sans-serif; color: var(--forest); background: var(--cream); transition: border-color .2s; outline: none; font-size: max(16px, 0.9rem); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--terra); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:560px) { .form-row { grid-template-columns: 1fr; } }
.form-submit { width: 100%; padding: 14px; background: var(--terra); color: #fff; border: none; border-radius: 30px; cursor: pointer; font-family: 'Jost', sans-serif; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: transform .2s, box-shadow .2s; }
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(227,83,54,.4); }

/* ── CONTACT ── */
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: rgba(227,83,54,.1); display: flex; align-items: center; justify-content: center; color: var(--terra); font-size: 1rem; }
.contact-item h5 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--forest); text-decoration: none; }
.contact-item a:hover { color: var(--terra); }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; padding: 13px 28px; border-radius: 30px; font-weight: 600; text-decoration: none; font-size: 0.88rem; letter-spacing: 0.05em; margin-top: 10px; transition: transform .2s, box-shadow .2s; }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(250,248,230,.7); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  /* Prevent any column from overflowing */
  min-width: 0;
}
.footer-grid > * { min-width: 0; overflow: hidden; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin: 14px 0 20px; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social a { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(250,248,230,.2); display: flex; align-items: center; justify-content: center; color: rgba(250,248,230,.7); font-size: 0.75rem; transition: all .2s; }
.footer-social a:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.footer-col h4 { color: var(--cream); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; white-space: nowrap; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(250,248,230,.6); text-decoration: none; font-size: 0.85rem; transition: color .2s; word-break: break-word; }
.footer-col ul li a:hover { color: var(--terra); }
.newsletter-form { display: flex; gap: 6px; margin-top: 12px; flex-wrap: nowrap; }
.newsletter-form input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 6px; border: 1px solid rgba(250,248,230,.15); background: rgba(250,248,230,.07); color: var(--cream); font-family: 'Jost', sans-serif; font-size: 0.82rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(250,248,230,.35); }
.newsletter-form button { flex-shrink: 0; padding: 9px 14px; background: var(--terra); color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transition: background .2s; white-space: nowrap; }
.newsletter-form button:hover { background: #c43c23; }
.footer-bottom { margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(250,248,230,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.78rem; }
.footer-bottom a { color: var(--terra); text-decoration: none; }
/* Footer responsive – 2 cols at ≤900px, 1 col at ≤560px */
@media(max-width:1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; } .footer-grid .footer-brand { grid-column: 1 / -1; } }
@media(max-width:768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .footer-grid .footer-brand { grid-column: 1 / -1; } }
@media(max-width:480px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ── FLOATING WA ── */
.floating-wa { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,.5); animation: waPulse 2.5s infinite; }
@media(max-width:480px) { .floating-wa { width: 48px; height: 48px; font-size: 1.3rem; bottom: 20px; right: 16px; } }
@keyframes waPulse { 0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); } 50% { box-shadow: 0 4px 32px rgba(37,211,102,.8), 0 0 0 8px rgba(37,211,102,.12); } }

/* ── BACK TO TOP ── */
.back-top { position: fixed; bottom: 90px; right: 30px; z-index: 999; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.back-top.show { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--terra); transform: translateY(-2px); }
@media(max-width:480px) { .back-top { right: 16px; bottom: 80px; } }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── UTILITIES ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }

/* Touch devices */
@media (hover: none) {
  .nav-links .dropdown-menu { display: none; }
  .nav-links .dropdown.open .dropdown-menu { display: block; }
}

@supports (-webkit-touch-callout: none) {
  .hero { min-height: -webkit-fill-available; }
}
