/*
Theme Name: Island VIP Transfers
Theme URI: https://example.com/
Author: Your Name
Description: A luxury theme for a VIP taxi and chauffeur service in Sint Maarten / Saint Martin. Includes a services post type, booking form, fleet and routes shortcodes, and auto-created demo pages.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: island-vip
*/

:root {
  --ink: #0b0f14;
  --ink-2: #131a22;
  --ink-3: #1c2631;
  --gold: #c8a45c;
  --gold-2: #e2c98a;
  --sea: #1fa7b4;
  --ivory: #f7f3ea;
  --text: #e9e6df;
  --muted: #9aa5b1;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { font-family: var(--font-head); color: #fff; line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.screen-reader-text { position: absolute; left: -9999px; }

/* Buttons */
.btn {
  display: inline-block; padding: .85em 1.8em; border-radius: 999px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; border: 1px solid var(--gold);
  cursor: pointer; transition: all .25s ease; font-family: var(--font-body);
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1405; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(200, 164, 92, .35); color: #1a1405; }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: #1a1405; }

/* Top bar + header */
.topbar { background: #070a0e; font-size: .82rem; color: var(--muted); border-bottom: 1px solid #1a222c; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.topbar a { color: var(--gold-2); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 15, 20, .92); backdrop-filter: blur(10px); border-bottom: 1px solid #1a222c; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1.5rem; }
.brand { font-family: var(--font-head); font-size: 1.55rem; color: #fff; letter-spacing: .02em; }
.brand span { color: var(--gold); }
.brand small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; align-items: center; }
.main-nav a { color: var(--text); font-size: .92rem; letter-spacing: .03em; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--gold); color: var(--gold); border-radius: 8px; padding: .4rem .8rem; font-size: 1rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(11, 15, 20, .55), rgba(11, 15, 20, .95)),
    radial-gradient(circle at 80% 20%, rgba(31, 167, 180, .35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(200, 164, 92, .25), transparent 40%),
    var(--ink-2);
  background-size: cover; background-position: center;
}
.hero .container { padding: 5rem 0; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .32em; font-size: .78rem; margin-bottom: 1rem; display: block; }
.hero h1 { max-width: 15ch; }
.hero p.lead { max-width: 56ch; color: #cfd6de; font-size: 1.15rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-top: 3.5rem; }
.trust div { border-left: 2px solid var(--gold); padding-left: .9rem; font-size: .9rem; color: #cfd6de; }
.trust strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; }

/* Page hero */
.page-hero { padding: 5rem 0 3.5rem; text-align: center; background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-bottom: 1px solid #1a222c; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { color: var(--muted); max-width: 60ch; margin-inline: auto; }

/* Sections */
.section { padding: 5.5rem 0; }
.section.alt { background: var(--ink-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); }

/* Cards / grids */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid #243140; border-radius: var(--radius);
  padding: 2rem; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; height: 100%;
}
.card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.card .icon { font-size: 2rem; display: inline-flex; width: 3.4rem; height: 3.4rem; align-items: center; justify-content: center; background: rgba(200, 164, 92, .12); border: 1px solid rgba(200, 164, 92, .4); border-radius: 50%; margin-bottom: 1rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card .more { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.card h3 a { color: #fff; }

/* Fleet */
.fleet-card { text-align: center; }
.fleet-card .badge { display: inline-block; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--sea); border: 1px solid var(--sea); border-radius: 999px; padding: .15em .8em; margin-bottom: .8rem; }
.fleet-card ul { list-style: none; padding: 0; margin: 1rem 0 0; color: var(--muted); font-size: .92rem; }
.fleet-card li { padding: .35rem 0; border-top: 1px solid #243140; }

/* Routes table */
.routes { width: 100%; border-collapse: collapse; background: var(--ink-3); border-radius: var(--radius); overflow: hidden; }
.routes th, .routes td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid #243140; }
.routes th { background: #0e141b; color: var(--gold); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; }
.routes tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* Feature list */
.feature { display: flex; gap: 1rem; }
.feature .num { font-family: var(--font-head); font-size: 2rem; color: var(--gold); line-height: 1; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #17202a, #0e141b); border-block: 1px solid #243140; text-align: center; padding: 4.5rem 0; }

/* Forms */
.booking-form { background: var(--ink-3); border: 1px solid #243140; border-radius: var(--radius); padding: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.booking-form label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%; background: var(--ink); color: var(--text); border: 1px solid #2a384a; border-radius: 10px; padding: .8rem 1rem; font: inherit;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 164, 92, .2); }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.2rem; }
.notice.ok { background: rgba(31, 167, 180, .15); border: 1px solid var(--sea); }
.notice.err { background: rgba(200, 80, 80, .15); border: 1px solid #c85050; }

/* Content */
.entry { padding: 4rem 0 5rem; }
.entry-content { max-width: 860px; margin-inline: auto; }
.entry-content.wide { max-width: 1180px; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul { padding-left: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content .two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.faq details { background: var(--ink-3); border: 1px solid #243140; border-radius: 12px; padding: 1rem 1.3rem; margin-bottom: .8rem; }
.faq summary { cursor: pointer; font-weight: 600; color: #fff; }
.faq details[open] summary { color: var(--gold); margin-bottom: .6rem; }
.post-card { background: var(--ink-3); border: 1px solid #243140; border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.2rem; }

/* Footer */
.site-footer { background: #070a0e; border-top: 1px solid #1a222c; padding: 4rem 0 1.5rem; margin-top: 0; color: var(--muted); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.copyright { border-top: 1px solid #1a222c; margin-top: 2.5rem; padding-top: 1.2rem; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #25d366; color: #fff; padding: .8rem 1.2rem; border-radius: 999px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); font-size: .9rem; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid #1a222c; padding: 1rem 4%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-header .btn-book { display: none; }
}
