:root{
  --bg:#0b1120;
  --card:#0f172a;
  --text:#e5e7eb;
  --muted:#94a3b8;
  --brand:#22d3ee;
  --accent:#34d399;
  --warn:#fbbf24;
  --shadow: 0 10px 30px rgba(2,8,23,0.4);

  /* used to offset the mobile sheet under the header */
  --mobile-header-height: 64px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:#0b1220}
html,body{overflow-x:hidden} /* prevent horizontal scroll on small screens */

a{color:var(--brand);text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 1rem}

.btn{display:inline-block;padding:.8rem 1rem;border-radius:14px;font-weight:700;box-shadow:var(--shadow)}
.btn-primary{background:linear-gradient(90deg,var(--brand),var(--accent));color:#041015}
.btn-outline{border:2px solid var(--brand);color:var(--text)}

.list{list-style:none;margin:0;padding:0}

/* Global images (content images) */
img{
  max-width:100%;
  height:auto;
  border-radius:12px;
  box-shadow:var(--shadow);
}

.hide-mobile{display:none}
.logo{display:flex;gap:.5rem;align-items:center;font-weight:800;color:var(--text)}
.logo-mark{font-size:1.2rem}
.logo-text{letter-spacing:.3px}
.phone{font-weight:800}

/* Header */
.site-header{
  position:sticky;top:0;z-index:40;
  background:rgba(11,17,32,.8);
  backdrop-filter:blur(8px);
  border-bottom:1px solid #111827
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 0;min-height:var(--mobile-header-height)}

.nav{display:none;gap:1rem;align-items:center}
.nav a{color:var(--text);opacity:.9}
.cta-group{display:flex;align-items:center;gap:.5rem}
.nav-toggle{background:#111827;border:1px solid #1f2937;border-radius:10px;padding:.5rem .7rem;color:var(--text)}

/* Hero */
.hero{
  padding:4rem 0;
  background:
    linear-gradient(to bottom,rgba(0,0,0,.55),rgba(0,0,0,.75)),
    url('/assets/img/hero.jpg') center/cover no-repeat;
  border-bottom:1px solid #111827
}
.hero h1{font-size:2.1rem;margin:.2rem 0 0;font-weight:800}
.hero p{color:var(--muted);margin:0.5rem 0 1rem}
.hero .actions{display:flex;gap:.7rem;flex-wrap:wrap}

/* Cards / sections */
.section{padding:2.2rem 0;border-bottom:1px solid #111827}
.grid-3{display:grid;grid-template-columns:1fr;gap:1rem}
.card{background:var(--card);padding:1rem;border:1px solid #111827;border-radius:16px;box-shadow:var(--shadow)}
.card h3{margin-top:0}

/* Booking form */
.form{display:grid;gap:.8rem}
input,select,textarea{width:100%;background:#0b152a;border:1px solid #1f2937;border-radius:12px;padding:.9rem;color:var(--text)}
label{font-weight:600;font-size:.9rem}
.field{display:grid;gap:.4rem}
.form-2{display:grid;grid-template-columns:1fr;gap:.8rem}
.form-actions{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center}

/* Footer */
.site-footer{background:#0b0f1c;padding:2rem 0;border-top:1px solid #111827;margin-top:2rem}
.legal{border-top:1px solid #111827;margin-top:1rem;padding-top:1rem;text-align:center;color:var(--muted)}

/* Reviews */
.stars{color:#fbbf24}

/* Social icons (if images) */
.social-icon{
  width:25px;height:25px;
  vertical-align:middle;
  transition:opacity .2s;
}
.social-icon:hover{opacity:.8}

/* --- OVERRIDES (place AFTER global img rule) --- */
/* Header logo image: override global img rounding/shadow and set size */
.logo .logo-img{
  height:55px;
  width:auto;
  max-width:none;
  border-radius:0;
  box-shadow:none;
  display:block;
}

/* Footer credit line */
.site-footer > p:last-of-type{
  text-align:center;
  margin:1rem 0 0;
  color: var(--muted);
}
.site-footer > p:last-of-type a{
  color: var(--text);
  font-weight:700;
}
.site-footer > p:last-of-type a:hover{
  color: var(--brand);
  text-decoration: underline;
}

/* Disable page scroll when mobile menu is open (JS toggles .no-scroll on body) */
.no-scroll{ overflow:hidden; }

/* =============================== */
/* ======= MOBILE LAYOUT ========= */
/* =============================== */
@media (max-width: 767px){
  /* Header: logo | CTA | burger */
  .header-inner{
    display:grid;
    grid-template-columns:auto 1fr auto;
    grid-template-areas:"logo cta burger";
    align-items:center;
    gap:.5rem;
  }
  .logo{ grid-area:logo; }
  .cta-group{ grid-area:cta; justify-self:center; display:flex; gap:.5rem; }
  .nav-toggle{ grid-area:burger; justify-self:end; }

  /* Hide phone on mobile; keep CTA compact */
  .cta-group .phone{ display:none; }
  .cta-group .btn{ padding:.55rem .9rem; border-radius:12px; }

  /* Slightly smaller text/logo to avoid wrapping */
  .logo .logo-text{ font-size:1.1rem; }
  .logo .logo-img{ height:44px; }

  /* Mobile dropdown menu (centered sheet) */
  .nav{
    position:fixed;
    top:calc(var(--mobile-header-height) + 10px);
    left:50%;
    transform:translateX(-50%);
    width:min(92vw, 420px);
    max-height:calc(100vh - var(--mobile-header-height) - 24px);
    overflow:auto;

    display:none;              /* shown via .open */
    flex-direction:column;
    gap:.7rem;
    padding:.9rem;

    background:rgba(11,17,32,.98);
    backdrop-filter:blur(8px);
    border:1px solid #1f2937;
    border-radius:16px;
    box-shadow:var(--shadow);
    z-index:100;               /* above header (40) */
  }
  .nav.open{ display:flex; animation:navPop .18s ease-out; }
  @keyframes navPop{
    from { opacity:0; transform: translate(-50%, -8px); }
    to   { opacity:1; transform: translate(-50%, 0); }
  }
  .nav a{
    display:block;
    width:100%;
    padding:.95rem 1rem;
    text-align:center;
    font-weight:700;
    letter-spacing:.2px;

    color:var(--text);
    background:#0f172a;
    border:1px solid #1f2937;
    border-radius:14px;
    box-shadow:var(--shadow);
    opacity:1; /* override earlier opacity */
  }

  /* Burger button: comfy tap area */
  .nav-toggle{
    line-height:1;
    font-size:1.1rem;
    padding:.55rem .75rem;
  }
}

/* =============================== */
/* ======= DESKTOP LAYOUT ======== */
/* =============================== */
@media (min-width: 768px){
  .hide-mobile{display:initial}
  .nav{
    position:static;
    transform:none;
    width:auto;
    max-height:none;
    overflow:visible;
    display:flex;
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    z-index:auto;
  }
  .nav a{
    background:transparent;
    border:0;
    border-radius:8px;
    padding:.4rem .6rem;
    box-shadow:none;
    text-align:left;
    opacity:.9;
  }
  .hero{padding:6rem 0}
  .hero h1{font-size:3rem}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .form-2{grid-template-columns:repeat(2,1fr)}
}
