/* ==========================================
   GLOBAL STYLES
========================================== */

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

body {
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}


/* ==========================================
   HEADER & NAVIGATION
========================================== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 22px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: rgba(15,15,15,.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    height: 34px;
    width: auto;
    display: block;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    width: 100%;
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    width: 100%;
    transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
    display: none;
}

nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: white;
    text-decoration: none;
    margin-left: 30px;
    transition: opacity .3s;
}

nav a:hover {
    opacity: .75;
}


/* ==========================================
   BUTTONS
========================================== */

button,
.button {
    display: inline-block;
    background: #c9a227;
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: .3s;
}

button:hover,
.button:hover {
    background: #b8921e;
    transform: translateY(-2px);
}


/* ==========================================
   HERO
========================================== */

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slideshow {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background-image: url("images/suburban1.jpg");
}

.slide:nth-child(2) {
    background-image: url("images/cityscape.jpg");
}

.slide:nth-child(3) {
    background-image: url("images/airport.jpg");
}

.slide:nth-child(4) {
    background-image: url("images/montauk.jpg");
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 60px;
    line-height: 1.1;
    max-width: 1500px;
}

.hero p {
    font-size: 24px;
    margin: 30px 0;
}


/* ==========================================
   FEATURES
========================================== */

.features {
    background: #faf8f3;
    padding: 100px 8%;
    text-align: center;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 60px;
}

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a227;
    margin-bottom: 18px;
}

.eyebrow span {
    display: block;
    width: 36px;
    height: 2px;
    background: #c9a227;
}

.section-title h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 42px;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: #555;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.feature-card {
    position: relative;
    background: white;
    padding: 45px 30px 35px;
    border-radius: 16px;
    border: 1px solid #eee8da;
    box-shadow: 0 10px 25px rgba(0,0,0,.04);
    transition: .35s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.09);
    border-color: #c9a227;
}

.icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5e6b8, #c9a227);
    box-shadow: 0 8px 18px rgba(201,162,39,.3);
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 12px;
}

.feature-card p {
    color: #555;
}


/* ==========================================
   ROUTES
========================================== */

.routes {
    background: #efece4;
    padding: 100px 8%;
    text-align: center;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
    margin-top: 10px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.route-card {
    position: relative;
    background: white;
    padding: 35px 40px;
    border-radius: 16px;
    border: 1px solid #e6e2d5;
    border-left: 4px solid #c9a227;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    text-align: left;
    transition: .3s;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(0,0,0,.1);
}

.route-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c9a227;
    background: rgba(201,162,39,.1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.route-path {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    margin-bottom: 22px;
}

.route-arrow {
    font-family: 'Montserrat', sans-serif;
    color: #c9a227;
    font-size: 20px;
}

.route-link {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: .3s;
}

.route-link:hover {
    border-bottom-color: #c9a227;
    color: #c9a227;
}


/* ==========================================
   GENERIC PAGE HERO (About / Contact)
========================================== */

.page-hero {
    position: relative;
    padding: 150px 20px 90px;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.about-hero {
    background:
        linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
        url("images/broadway.jpg");
}

.contact-hero {
    background:
        linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
        url("images/montauk.jpg");
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 56px;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 20px;
    color: #eee;
}


/* ==========================================
   STORY SPLIT SECTION
========================================== */

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 100px 8%;
    background: white;
}

.story-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
}

.story-text p {
    color: #555;
    margin-bottom: 16px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
}


/* ==========================================
   STATS
========================================== */

.stats {
    background: #111;
    color: white;
    padding: 70px 8%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 46px;
    color: #c9a227;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ccc;
    margin-top: 8px;
}


/* ==========================================
   CONTACT PAGE EXTRAS
========================================== */

.feature-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-link {
    color: #111;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: .3s;
}

.contact-link:hover {
    border-bottom-color: #c9a227;
    color: #c9a227;
}


/* ==========================================
   CALL TO ACTION
========================================== */

.cta {
    position: relative;
    background:
        linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
        url("images/night-drive.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.gold-line {
    width: 60px;
    height: 3px;
    background: #c9a227;
    margin: 0 auto 30px;
}

.cta h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 52px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
}


/* ==========================================
   BOOKING PAGE
========================================== */

.booking-hero {
    position: relative;
    padding: 150px 20px 90px;
    text-align: center;
    color: white;
    background:
        linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
        url("images/fleet2.jpg");
    background-size: cover;
    background-position: center;
}

.booking-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.booking-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 56px;
    margin-bottom: 20px;
}

.booking-hero p {
    font-size: 20px;
    color: #eee;
}

.booking {
    background: #eeece5;
    display: flex;
    justify-content: center;
    padding: 70px 20px 80px;
}

.booking-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* ---- Booking Form ---- */

.booking-form {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}

.form-box {
    background: #fdfcf9;
    border: 1px solid #e7e4db;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.form-section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    margin-bottom: 25px;
}

.trip-type {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.radio-pill {
    position: relative;
}

.radio-pill input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.radio-pill span {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 30px;
    background: #fafafa;
    border: 2px solid #eee;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #555;
    transition: .3s;
}

.radio-pill input:checked + span {
    background: #c9a227;
    border-color: #c9a227;
    color: white;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field.span-2 {
    grid-column: span 2;
}

.form-field label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-field input,
.form-field select,
.form-field textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
    color: #111;
    transition: .3s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #c9a227;
    background: white;
}

.form-field textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    font-size: 20px;
    padding: 20px;
}

.form-disclaimer {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-top: 15px;
}

.confirmation-box {
    margin-top: 50px;
    background: #fdfcf9;
    border: 1px solid #e7e4db;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    text-align: center;
}

.confirmation-box h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 34px;
    margin-bottom: 20px;
    color: #c9a227;
}

.confirmation-box p {
    margin-bottom: 30px;
}

.payment-box {
    margin-top: 50px;
    background: #fdfcf9;
    border: 1px solid #e7e4db;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.payment-box h2 {
    margin-bottom: 15px;
}

.payment-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.payment-logo {
    background: #f3f1eb;
    padding: 16px 26px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
}

.payment-logo img {
    max-height: 28px;
    max-width: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}


/* ==========================================
   FOOTER
========================================== */

footer {
    background: black;
    color: white;
    text-align: center;
    padding: 30px;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .nav-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(78%, 320px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 30px;
        padding: 0 40px;
        background: rgba(15,15,15,.98);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: -10px 0 30px rgba(0,0,0,.3);
        transform: translateX(100%);
        transition: transform 0.35s ease;
    }

    nav.open {
        transform: translateX(0);
    }

    nav a {
        margin-left: 0;
        font-size: 22px;
    }

    .nav-overlay.open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 9;
    }

    .hero h1,
    .booking-hero h1,
    .page-hero h1,
    .cta h2,
    .routes h2,
    .section-title h2 {
        font-size: 40px;
    }

    .feature-grid,
    .route-grid,
    .feature-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .story {
        grid-template-columns: 1fr;
        padding: 70px 8%;
    }

    .story-image {
        order: -1;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .route-path {
        font-size: 20px;
        flex-wrap: wrap;
    }

    .payment-options {
        flex-direction: column;
        align-items: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field.span-2 {
        grid-column: span 1;
    }

    .trip-type {
        flex-direction: column;
    }

    header {
        padding: 18px 6%;
    }

    .booking-hero {
        padding: 120px 20px 70px;
    }

}


/* ==========================================
   FORM SUBMISSION STATES
========================================== */

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.submit-button:disabled {
    opacity: .6;
    cursor: wait;
}

.form-error {
    margin-top: 15px;
    padding: 14px 18px;
    border: 1px solid #e3b4ad;
    background: #fdf2f0;
    color: #8a2b1f;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
}

.form-error a {
    color: inherit;
    font-weight: 700;
}


/* ==========================================
   404 PAGE
========================================== */

.notfound-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
        url("images/night-drive.jpg");
    background-size: cover;
    background-position: center;
}

.notfound-hero .button {
    margin-top: 30px;
}
