/* ════════════════════════════════════════════════════════════════
   YACHT CHARTER FLORIDA · DESIGN SYSTEM
   Global entry point — consumers link this one file.
   Contains @import lines only.
   ════════════════════════════════════════════════════════════════ */
@import url('tokens/fonts.css');
@import url('tokens/colors.css');
@import url('tokens/typography.css');
@import url('tokens/spacing.css');
@import url('tokens/effects.css');
@import url('tokens/motion.css');
@import url('tokens/base.css');

/* ── Page-to-page navigation ─────────────────────────────────────────
   Cross-document view transitions (Chrome/Edge 126+, Safari 18.2+): the
   browser keeps the old page on screen and crossfades into the new one
   instead of blanking between them. Other browsers navigate as usual. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* button hover animations */
.site-btn { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.site-btn [data-lucide] { transition: transform .3s var(--ease-out); }
@media (hover: hover) {
  .site-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .site-btn:hover [data-lucide] { transform: translateX(4px); }
  .site-btn--solid:hover { background: var(--brass-500) !important; color: var(--navy-950) !important; }
  .site-btn--outline:hover { border-color: var(--brass-500) !important; color: var(--brass-500) !important; }
  .site-btn--light:hover { background: var(--brass-400) !important; color: var(--navy-950) !important; }
  .site-btn--glass:hover { background: rgba(245,239,226,0.22) !important; border-color: var(--brass-400) !important; }
  .site-btn--frost:hover { background: linear-gradient(160deg, rgba(120,180,200,0.3), rgba(47,111,114,0.16)) !important; border-color: var(--brass-400) !important; }
}
.site-btn:active { transform: translateY(0) scale(0.96); transition-duration: .15s; }

/* inquiry modal + form */
.inq-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: clamp(16px,4vw,40px); background: rgba(11,22,32,0.62); backdrop-filter: blur(8px); animation: inq-fade .28s var(--ease-out); }
.inq-card { width: 100%; max-width: 600px; max-height: 90vh; overflow: auto; background: var(--sand-50); border: 1px solid var(--brass-500); border-radius: 5px; box-shadow: var(--shadow-xl); animation: inq-rise .4s var(--ease-luxe); }
.inq-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 540px) { .inq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .inq-grid .inq-col2 { grid-column: 1 / -1; } }
/* date/time pickers carry an intrinsic min-width (and iOS Safari ignores
   width:100% on them), which pushed them past the modal on phones: let the
   grid cells shrink, drop the native chrome, and keep the field height */
.inq-grid > div { min-width: 0; }
.inq-input[type="date"], .inq-input[type="time"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: 46px; line-height: 1.4; text-align: left; }
.inq-input[type="date"]::-webkit-date-and-time-value, .inq-input[type="time"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.inq-label { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-600); margin-bottom: 7px; }
.inq-input, .inq-select, .inq-textarea { width: 100%; box-sizing: border-box; font-family: var(--font-sans); font-size: 15px; color: var(--text-strong); background: var(--surface-card); border: 1px solid var(--line-hairline); border-radius: 3px; padding: 11px 13px; transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.inq-input::placeholder, .inq-textarea::placeholder { color: var(--ink-400); }
.inq-input:focus, .inq-select:focus, .inq-textarea:focus { outline: none; border-color: var(--brass-500); box-shadow: 0 0 0 3px rgba(191,157,94,0.18); }
.inq-textarea { resize: vertical; min-height: 96px; }
@keyframes inq-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes inq-rise { from { opacity: 0; transform: translateY(16px) scale(0.99); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .inq-overlay, .inq-card { animation: none; } }

/* deep-blue sections: a soft fall of light from the top right, deepening
   toward the bottom left, under a fine brass diamond lattice that fades out
   from one corner. Static, nothing animated. --deep-pos sets where the
   lattice is strongest, so neighbouring sections don't repeat the same look. */
.deep { position: relative; isolation: isolate; }
.deep::before, .deep::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.deep::before {
  background:
    radial-gradient(75% 65% at 100% 0%, rgba(61,138,141,0.16), transparent 70%),
    radial-gradient(85% 75% at 0% 100%, rgba(2,10,15,0.5), transparent 72%); }
.deep::after {
  background: url('assets/diamonds.svg') center / 48px 72px repeat;
  -webkit-mask-image: radial-gradient(90% 85% at var(--deep-pos, 100% 0%), #000, rgba(0,0,0,0.3) 55%, transparent 90%);
  mask-image: radial-gradient(90% 85% at var(--deep-pos, 100% 0%), #000, rgba(0,0,0,0.3) 55%, transparent 90%); }
