/* ==========================================================================
   Party Yachts Miami: Landing Page Styles
   Theme "Miami Sunset": dusk indigo base, coral-orange CTAs, peach
   highlights, soft sky blue secondary. Edit colors under :root below.
   ========================================================================== */

:root {
  --dusk-950: #0a0d1e;
  --dusk-900: #0d1224;
  --dusk-800: #161d33;
  --dusk-700: #232b47;
  --plum-900: #131021;
  --accent: #ff7a4d;
  --accent-light: #ff9d6b;
  --accent-soft: rgba(255, 122, 77, 0.14);
  --peach: #ffbe80;
  --sky: #7cc4e8;
  --sky-soft: rgba(124, 196, 232, 0.4);
  --white: #ffffff;
  --ink: #f7f2ea;
  --muted: #a9b3c9;
  --green-wa: #25d366;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dusk-900);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 0.9rem;
}

.section-intro {
  max-width: 640px;
  color: var(--muted);
  margin-top: 1rem;
  font-size: 1.05rem;
}

section { padding: 4.5rem 0; }

.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head.center .section-intro { margin-left: auto; margin-right: auto; }

.section-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ---------- Carousels ---------- */

.carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--dusk-700) transparent;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: transparent; }
.carousel::-webkit-scrollbar-thumb { background: var(--dusk-700); border-radius: 999px; }

.carousel > * {
  flex: 0 0 min(330px, 82vw);
  scroll-snap-align: start;
}

.carousel-nav { display: flex; gap: 0.6rem; flex-shrink: 0; }

.car-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 122, 77, 0.55);
  background: transparent;
  color: var(--accent-light);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.car-btn:hover { background: var(--accent-soft); transform: translateY(-2px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #331309;
  box-shadow: 0 10px 30px rgba(255, 122, 77, 0.35);
}

.btn-whatsapp {
  background: var(--green-wa);
  color: #06240f;
}

.btn-outline {
  background: transparent;
  color: #cfe4f2;
  border: 1px solid var(--sky-soft);
}

.btn-outline:hover { border-color: var(--sky); color: var(--sky); }

.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 18, 36, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo span { color: var(--accent); }

.main-nav { display: flex; gap: 1.8rem; }

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--sky); }

.header-cta { display: flex; align-items: center; gap: 0.8rem; }

.header-phone {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.header-phone:hover { color: var(--accent-light); }

.lang-toggle {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lang-toggle:hover { color: var(--sky); border-color: var(--sky); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 6rem;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 65%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(13, 18, 36, 1) 0%, rgba(13, 18, 36, 0) 18%),
    linear-gradient(
      100deg,
      rgba(13, 18, 36, 0.95) 0%,
      rgba(13, 18, 36, 0.74) 45%,
      rgba(64, 28, 44, 0.5) 75%,
      rgba(158, 66, 50, 0.42) 100%
    );
}

.hero-content { max-width: 680px; }

.hero h1 em {
  font-style: italic;
  color: var(--accent-light);
}

.hero-sub {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  color: #dcdfe8;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 190, 128, 0.25);
}

.hero-badge { font-size: 0.9rem; color: var(--muted); }

.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--peach);
}

.hero-badge .stars { color: var(--peach); letter-spacing: 2px; }

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--dusk-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.6rem 0;
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.trust-item svg { width: 20px; height: 20px; color: var(--peach); flex-shrink: 0; }

/* ---------- Fleet ---------- */

.fleet { background: var(--dusk-900); }

.yacht-card {
  background: var(--dusk-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.yacht-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 77, 0.5);
  box-shadow: var(--shadow);
}

.yacht-card.featured { border-color: rgba(255, 122, 77, 0.45); }

.yacht-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.yacht-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.yacht-card:hover .yacht-photo img { transform: scale(1.05); }

.yacht-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(13, 18, 36, 0.85);
  color: var(--peach);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 128, 0.4);
}

.yacht-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex-grow: 1;
}

.yacht-body h3 { font-size: 1.3rem; }

.yacht-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-size: 0.85rem;
  color: var(--sky);
}

.yacht-specs span { display: inline-flex; align-items: center; gap: 0.35rem; }

.yacht-desc { font-size: 0.92rem; color: var(--muted); flex-grow: 1; }

.yacht-cta {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.6rem;
}

.yacht-cta .btn {
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
  flex: 1;
}

.fleet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

/* ---------- Included / info sections ---------- */

.included { background: var(--dusk-950); }

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.included-card {
  background: var(--dusk-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.included-card svg { width: 28px; height: 28px; color: var(--peach); margin-bottom: 0.9rem; }

.included-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.included-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- How it works ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--dusk-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.7rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent-soft);
  -webkit-text-stroke: 1px var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}

.step h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Experiences / routes ---------- */

.experiences { background: var(--dusk-900); }

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}

.exp-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.exp-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.4s ease;
}

.exp-card:hover img { transform: scale(1.06); }

.exp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(19, 16, 33, 0.94) 15%, rgba(64, 28, 44, 0.15) 65%);
}

.exp-card-body { padding: 1.5rem; }
.exp-card-body h3 { margin-bottom: 0.35rem; }
.exp-card-body p { font-size: 0.9rem; color: #d5d3de; }

/* ---------- Reviews ---------- */

.reviews { background: var(--dusk-950); }

.reviews-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.6rem;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--dusk-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
}

.google-rating .g-mark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.6rem;
  background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.google-rating .score { font-size: 1.6rem; font-weight: 700; }
.google-rating .stars { color: var(--peach); letter-spacing: 2px; font-size: 1.05rem; }
.google-rating small { display: block; color: var(--muted); }

.review-card {
  background: var(--dusk-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.review-card .stars { color: var(--peach); letter-spacing: 2px; }
.review-card p { font-size: 0.94rem; color: #dcdfe8; flex-grow: 1; }

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.review-author strong { display: block; font-size: 0.92rem; }
.review-author small { color: var(--muted); font-size: 0.8rem; }

/* ---------- About ---------- */

.about { background: var(--dusk-950); }

/* ---------- Final CTA strip ---------- */

.final-cta {
  background: var(--plum-900);
  text-align: center;
}

.final-cta h2 { margin-bottom: 0.6rem; }
.final-cta p { color: var(--muted); margin-bottom: 1.8rem; }

.final-cta .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-copy p { color: var(--muted); margin-top: 1.1rem; font-size: 1.02rem; }
.about-copy p strong { color: var(--ink); }

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-list details {
  background: var(--dusk-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p {
  padding: 0 1.5rem 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Booking form ---------- */

.booking { background: var(--plum-900); }

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.booking-side h2 { margin-bottom: 1rem; }
.booking-side p { color: var(--muted); margin-bottom: 1.8rem; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }

.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  font-weight: 600;
  padding: 0.9rem 1.1rem;
  background: var(--dusk-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.contact-list a:hover { border-color: var(--accent); transform: translateX(4px); }

.contact-list svg { width: 22px; height: 22px; color: var(--accent-light); flex-shrink: 0; }
.contact-list a small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }

.booking-form {
  background: var(--dusk-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field { margin-bottom: 1.1rem; }

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--dusk-900);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sky);
}

.form-field select { appearance: none; }

.form-field textarea { resize: vertical; min-height: 100px; }

.booking-form .btn { width: 100%; margin-top: 0.4rem; }

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
}

.form-status.success {
  display: block;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #7fe8a8;
}

.form-status.error {
  display: block;
  background: rgba(234, 67, 53, 0.12);
  border: 1px solid rgba(234, 67, 53, 0.4);
  color: #f0a29a;
}

/* ---------- Thank-you popup ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 13, 30, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.modal-overlay[hidden] { display: none; }

.modal-card {
  position: relative;
  background: var(--dusk-800);
  border: 1px solid rgba(255, 190, 128, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.6rem 2.2rem 2.2rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
}

.modal-card h3 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.modal-card p { color: var(--muted); margin-bottom: 1.6rem; }

.modal-check {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-size: 1.7rem;
  line-height: 56px;
}

.modal-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.3rem;
}

.modal-close:hover { color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dusk-950);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3rem 0 7rem; /* bottom padding clears the mobile sticky bar */
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid .logo { font-size: 1.15rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--accent-light); }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  font-size: 0.82rem;
}

/* ---------- Sticky mobile CTA bar ---------- */

.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(13, 18, 36, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 190, 128, 0.18);
}

.mobile-cta-bar .btn {
  flex: 1;
  padding: 0.8rem 0.5rem;
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .main-nav { display: none; }
  .about-grid, .booking-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo { order: -1; }
  section { padding: 4rem 0; }
}

@media (max-width: 640px) {
  .header-cta .btn { display: none; }
  .carousel-nav { display: none; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .included-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .included-card { padding: 1.1rem; }
  .included-card p { font-size: 0.84rem; }
  .hero { min-height: 78vh; padding: 5rem 0 4rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-badges { gap: 1.2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .booking-form { padding: 1.6rem; }
  .final-cta .cta-row .btn { width: 100%; }
  .mobile-cta-bar { display: flex; }
  .reviews-head-row { flex-direction: column; align-items: flex-start; }
}
