/* ===== Anegada Tours — Brand Layer ===== */
:root{
  --brand-primary:#00B3C6;   /* Ocean */
  --brand-accent:#FF6B6B;    /* Coral */
  --brand-navy:#0B2354;      /* Deep Sea */
  --brand-sand:#F7E9D7;      /* Sand */
  --brand-ink:#0f172a;       /* Text */
  --brand-muted:#64748b;     /* Muted text */
  --radius:14px;
  --shadow:0 8px 30px rgba(11,35,84,0.15);
}

/* Page background: soft gradient + subtle wave SVG pattern */
html, body{
  height: 100%;
}
body{
  color: var(--brand-ink);
  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(0,179,198,0.18), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(255,107,107,0.16), transparent 55%),
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'>\
<defs>\
  <linearGradient id='g' x1='0' y1='0' x2='1' y2='1'>\
    <stop stop-color='%2300B3C6' stop-opacity='0.14' offset='0%'/>\
    <stop stop-color='%230B2354' stop-opacity='0.12' offset='100%'/>\
  </linearGradient>\
</defs>\
<path d='M-10 80 Q 40 60 80 80 T 170 80 V 160 H -10 Z' fill='url(%23g)'/>\
<path d='M-10 100 Q 40 80 80 100 T 170 100' fill='none' stroke='%230B2354' stroke-width='0.6' stroke-opacity='0.16'/>\
</svg>");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: cover, cover, 320px 320px;
  background-attachment: fixed, fixed, fixed;
}

/* Container polish */
.container, .wrapper, main, .content, .section{
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(120%) blur(6px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 28px);
}

/* Headings */
h1,h2,h3{
  color: var(--brand-navy);
  letter-spacing: 0.2px;
}
h1{ font-weight: 800; }
h2,h3{ font-weight: 700; }

/* Links & buttons */
a{ color: var(--brand-primary); }
a:hover{ color: #0894a1; }

button, .btn, a.button, .button, input[type=submit]{
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, var(--brand-primary), #00a2b2);
  color: white !important;
  box-shadow: 0 6px 20px rgba(0,179,198,0.35);
  cursor: pointer;
  transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
}
button:hover, .btn:hover, a.button:hover, .button:hover, input[type=submit]:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}
button:active, .btn:active, a.button:active, .button:active, input[type=submit]:active{
  transform: translateY(0);
}

/* Secondary buttons */
.btn--secondary, .button.secondary, .btn.secondary{
  background: linear-gradient(135deg, var(--brand-accent), #ff5a5a);
  box-shadow: 0 6px 20px rgba(255,107,107,0.35);
}

/* Badges / pills */
.badge, .pill{
  display:inline-block;
  background: var(--brand-sand);
  color: var(--brand-navy);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight:600;
}

/* Cards */
.card, .tile, .panel, .box{
  background: white;
  border-radius: calc(var(--radius) - 4px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,35,84,0.06);
  overflow: hidden;
}
.card .card-header{ background: linear-gradient(180deg, rgba(0,179,198,0.08), transparent); }
.card .card-title{ color: var(--brand-navy); font-weight: 800; }
.card .card-subtitle{ color: var(--brand-muted); }

/* Nav */
header, .site-header, nav{
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid rgba(11,35,84,0.08);
}
nav a, .nav a{
  font-weight:600;
}

/* Footer */
footer{
  background: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(11,35,84,0.08);
  color: var(--brand-muted);
}

/* Forms */
input, select, textarea{
  border: 1px solid rgba(11,35,84,0.15);
  border-radius: 12px;
  padding: 10px 12px;
}
input:focus, select:focus, textarea:focus{
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0,179,198,0.25);
}

/* Utilities */
.bg-ocean{ background: linear-gradient(135deg, var(--brand-primary), #00a2b2) !important; color:white !important; }
.bg-coral{ background: linear-gradient(135deg, var(--brand-accent), #ff5a5a) !important; color:white !important; }
.text-navy{ color: var(--brand-navy) !important; }
.round{ border-radius: var(--radius) !important; }
.shadow{ box-shadow: var(--shadow) !important; }

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}

/* ===== Booking Form Branding ===== */
form.booking-form, .booking-section form {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow);
}

form.booking-form h2, .booking-section form h2 {
  color: var(--brand-navy);
  font-weight: 800;
  margin-bottom: 16px;
}

form.booking-form label, .booking-section form label {
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 6px;
  display: block;
}

form.booking-form input, 
form.booking-form select, 
form.booking-form textarea,
.booking-section form input, 
.booking-section form select, 
.booking-section form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(11,35,84,0.15);
  font-size: 1rem;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

form.booking-form input:focus, 
form.booking-form select:focus, 
form.booking-form textarea:focus,
.booking-section form input:focus, 
.booking-section form select:focus, 
.booking-section form textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0,179,198,0.25);
}

form.booking-form button[type=submit], 
.booking-section form button[type=submit] {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-primary), #00a2b2);
  color: white;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(0,179,198,0.35);
  cursor: pointer;
}

form.booking-form button[type=submit]:hover, 
.booking-section form button[type=submit]:hover {
  filter: brightness(1.05);
}


/* --- Site-wide blurred background with overlay --- */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/assets/background/site-bg.jpg') center/cover no-repeat fixed;
  filter: blur(8px);
  transform: scale(1.05);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: -1;
}


/* ===== Availability Calendar — Polished Theme ===== */
.cal-wrap .cal-head{
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 12px;
}
.cal-wrap .toolbar #monthlabel{ font-size: clamp(18px, 2.8vw, 22px); }

.cal-wrap .cal{
  backdrop-filter: saturate(120%) blur(6px);
}
.cal-wrap .cell{
  position: relative;
  transition: transform .08s ease, box-shadow .2s ease;
  border: 1px solid rgba(11,35,84,0.06);
}
.cal-wrap .cell:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(11,35,84,0.15);
}
.cal-wrap .cell .d{
  display:flex;align-items:center;justify-content:space-between;
}
.cal-wrap .cell .d::after{
  content:"";
  width:8px; height:8px;
  border-radius:50%;
  background: transparent;
}
/* Today badge ring */
.cal-wrap .cell.today{
  outline: 2px solid rgba(0,179,198,0.35);
  outline-offset: 0;
}
.cal-wrap .cell.today .d::after{
  background: var(--brand-primary);
}

/* Buttons compact on small screens */
@media (max-width:720px){
  .cal-wrap .cell .btn{ padding: 8px 10px; font-size: 12px; }
}

/* Subtle empty-state styling (if ever used here) */
.cal-wrap .empty{
  text-align:center;color:var(--brand-muted);font-weight:700;margin:18px 0;
}
