/* ============================================ */
/* CURRENT TOURS PAGE STYLES                     */
/* Requires: main.css                            */
/* Mobile-first — base styles are for mobile,   */
/* breakpoints add tablet/desktop enhancements. */
/* Breakpoints: 600px | 768px | 1024px           */
/* ============================================ */


/* ============================================ */
/* TUNNEL HERO — SCROLL DRIVER                   */
/* ============================================ */
.hero-driver {
    height: 200vh;
    position: relative;
    background: #fff;
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.stadium-layer,
.tunnel-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stadium-layer img,
.tunnel-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stadium-layer {
    z-index: 1;
    clip-path: inset(0% round 2px);
    opacity: 0.2;
}

.stadium-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.30) 40%,
        transparent 70%
    );
    z-index: 2;
    pointer-events: none;
}

.stadium-layer img {
    transform-origin: center center;
    will-change: transform;
}

.tunnel-layer {
    z-index: 2;
    transform-origin: center center;
    will-change: transform;
}

.roar-overlay {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    z-index: 3;
    pointer-events: none;
}


/* ============================================ */
/* HERO TYPOGRAPHY                               */
/* ============================================ */
.tunnel-text,
.stadium-text {
    position: absolute;
    bottom: clamp(80px, 14vh, 160px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    z-index: 4;
    pointer-events: none;
    padding: 0 24px;
    box-sizing: border-box;
}

.tunnel-text  { opacity: 1; }
.stadium-text { opacity: 0; }

.tunnel-eyebrow {
    display: block;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-on-primary);
    margin-bottom: 0.5rem;
}

.tunnel-headline {
    font-family: var(--label-font);
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    color: var(--text-on-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 0.95;
    margin: 0 0 20px;
    text-shadow: 0 2px 40px rgba(0, 0, 20, 0.5);
}

.tunnel-headline em {
    font-style: normal;
    color: var(--accent-color);
}

.stadium-text h2 {
    font-family: var(--label-font);
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    color: var(--text-on-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 0.95;
    margin: 0 0 20px;
    text-shadow: 0 2px 40px rgba(0, 0, 20, 0.5);
}

.stadium-text h2 span {
    font-family: var(--label-font);
    color: var(--text-on-primary);
}

/* Word-by-word slide-in */
.stadium-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stadium-text .word.slide-in {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================ */
/* LENS FLARE                                    */
/* ============================================ */
.lens-flare {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 6;
    opacity: 0;
    will-change: opacity, transform;
}

.lens-flare-main {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle,
        rgba(255, 255, 240, 0.95) 0%,
        rgba(255, 220, 100, 0.50) 25%,
        rgba(255, 180,  50, 0.20) 55%,
        transparent 75%
    );
    border-radius: 50%;
    filter: blur(6px);
}

@media (min-width: 768px) {
    .lens-flare-main { width: 320px; height: 320px; }
}

.lens-flare-main::before {
    content: '';
    position: absolute;
    inset: -20px;
    background:
        linear-gradient(  0deg, transparent 49%, rgba(255, 255, 200, 0.6) 49.5%, transparent 50.5%),
        linear-gradient( 45deg, transparent 49%, rgba(255, 255, 200, 0.4) 49.5%, transparent 50.5%),
        linear-gradient( 90deg, transparent 49%, rgba(255, 255, 200, 0.6) 49.5%, transparent 50.5%),
        linear-gradient(135deg, transparent 49%, rgba(255, 255, 200, 0.4) 49.5%, transparent 50.5%);
    border-radius: 50%;
}

.lens-flare-orb {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle,
        rgba(180, 220, 255, 0.8) 0%,
        rgba(100, 180, 255, 0.3) 50%,
        transparent 75%
    );
    border-radius: 50%;
    filter: blur(4px);
    transform: translate(calc(-50% + 140px), calc(-50% - 80px));
}

.lens-flare-orb2 {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle,
        rgba(255, 240, 180, 0.9) 0%,
        rgba(255, 200,  80, 0.4) 50%,
        transparent 75%
    );
    border-radius: 50%;
    filter: blur(3px);
    transform: translate(calc(-50% - 190px), calc(-50% + 100px));
}


/* ============================================ */
/* SCROLL CUE                                    */
/* ============================================ */
.ph-scroll-cue {
    position: absolute;
    bottom: clamp(18px, 3vh, 32px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.ph-scroll-cue.show { opacity: 0.9; }
.ph-scroll-cue.hide { opacity: 0; }

.ph-scroll-cue span {
    font-family: var(--label-font);
    font-size: 0.9rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #fff;
}

.ph-scroll-cue-line {
    width: 2px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
    animation: ph-line-drop 2s ease-in-out infinite;
}

@keyframes ph-line-drop {
    0%, 100% { transform: scaleY(1);   opacity: 0.5; }
    50%       { transform: scaleY(0.6); opacity: 1; }
}


/* ============================================ */
/* TOURS SECTION                                 */
/* ============================================ */
.tours-section {
    position: relative;
    z-index: 10;
    width: 100%;
    background: #f4f4f4;
    padding: 60px 20px;
    margin-top: -1px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .tours-section { padding: 80px 32px; }
}

@media (min-width: 1024px) {
    .tours-section { padding: 100px 40px; }
}


/* ============================================ */
/* SECTION HEADER                                */
/* ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .section-header { margin-bottom: 56px; }
}

.section-header h2 {
    font-family: var(--label-font);
    font-size: var(--text-sub-title);
    color: var(--secondary-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.section-header h2 span {
    color: var(--accent-color);
    font-family: var(--accent-font), var(--label-font);
    font-size: var(--text-title-accent);
}

.section-header p {
    font-family: var(--main-font);
    font-size: var(--text-base-new);
    color: var(--bodyfont-light-bg);
    letter-spacing: 0.05em;
    line-height: 1.7;
}


/* ============================================ */
/* LAYOUT — CARDS + FORM                         */
/* ============================================ */
.tours-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .tours-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
    }
}


/* ============================================ */
/* CARDS COLUMN                                  */
/* ============================================ */
.cards-column {
    width: 100%;
}

@media (min-width: 768px) {
    .cards-column { flex: 2; }
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tour-card {
    width: 100%;
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 600px) {
    .tour-card { width: 90%; margin: 0 auto; }
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.tour-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #ccc;
}

@media (min-width: 768px) {
    .tour-card-image { height: 220px; }
}

.tour-card-image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--main-font);
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px)  { .tour-card-image-placeholder { height: 220px; } }
@media (min-width: 1024px) { .tour-card-image-placeholder { height: 260px; } }

.tour-card-image-placeholder.bg1 { background-image: url("../assets/tours-img/sofi.jpg");        background-position: center;}
.tour-card-image-placeholder.bg2 { background-image: url("../assets/tours-img/final4.jpg");      background-position: center; }
.tour-card-image-placeholder.bg3 { background-image: url("../assets/tours-img/hole12.jpg");      background-position: center; }
.tour-card-image-placeholder.bg4 { background-image: url("../assets/tours-img/kentuderby.jpg");  background-position: bottom;  }
.tour-card-image-placeholder.bg5 { background-image: url("../assets/tours-img/usopennyc.jpg");   background-position: bottom;  }
.tour-card-image-placeholder.bg6 { background-image: url("../assets/tours-img/parade-img.jpg");  background-position: center; }
.tour-card-image-placeholder.bg7 { background-image: url("../assets/tours-img/cfpchamp.jpg");    background-position: bottom;  }
.tour-card-image-placeholder.bg8 { background-image: url("../assets/tours-img/hockey.jpg");      background-position: center; }

.tour-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .tour-card-body { padding: 24px 28px 28px; }
}

.tour-card-title {
    font-family: var(--label-font);
    font-size: var(--text-sub);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin: 0 0 12px;
}

.tour-card-description {
    font-family: var(--main-font);
    font-size: var(--text-base-new);
    line-height: 1.65;
    color: var(--bodyfont-light-bg);
    margin: 0 0 24px;
    flex: 1;
}

.tour-card-btn,
.tour-card-btn-open {
    display: inline-block;
    align-self: flex-start;
    background: #111;
    color: var(--text-on-primary);
    text-decoration: none;
    font-family: var(--label-font);
    font-size: var(--text-sm);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 2px solid #111;
    border-radius: var(--radius-sm);
    transition: background 0.25s ease, color 0.25s ease;
    cursor: pointer;
}

.tour-card-btn:hover,
.tour-card-btn-open:hover {
    background: transparent;
    color: #111;
}


/* ============================================ */
/* CONTACT FORM COLUMN                           */
/* ============================================ */
.form-column {
    width: 100%;
}

@media (min-width: 768px) {
    .form-column {
        flex: 1;
        position: sticky;
        top: 24px;
    }
}

.contact-form-wrapper {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    padding: 28px 24px;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
    .contact-form-wrapper { padding: 36px 32px; }
}

.contact-form-title {
    font-family: var(--label-font);
    font-size: var(--text-sub);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin: 0 0 8px;
}

.contact-form-subtitle {
    font-family: var(--main-font);
    font-size: var(--text-sm);
    color: var(--bodyfont-light-bg);
    line-height: 1.5;
    margin: 0 0 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--label-font);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--main-font);
    font-size: var(--text-sm);
    color: #111;
    background: #fafafa;
    border: 1.5px solid #ddd;
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #111;
    background: #fff;
}

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

.form-submit-btn {
    background: #111;
    color: #fff;
    font-family: var(--label-font);
    font-size: var(--text-sm);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 2px solid #111;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    margin-top: 4px;
}

.form-submit-btn:hover {
    background: transparent;
    color: #111;
}

.form-note {
    font-family: var(--main-font);
    font-size: var(--text-xs);
    color: #aaa;
    margin-top: 4px;
}


/* ============================================ */
/* FORM MODAL OVERLAY                            */
/* ============================================ */
.form-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0);
    transition: background 0.35s ease;
    pointer-events: none;
}

.form-modal-overlay.is-open {
    display: block;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: all;
}

.form-modal-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

.form-modal-panel.is-open {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .form-modal-panel {
        width: 60%;
        max-width: 720px;
    }
}

.form-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

@media (min-width: 768px) {
    .form-modal-header { padding: 24px 32px 20px; }
}

.form-modal-header-title {
    font-family: var(--label-font);
    font-size: var(--text-sub);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin: 0;
}

.form-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: color 0.2s ease;
    line-height: 1;
}

.form-modal-close:hover { color: #111; }

.form-modal-close svg {
    width: 22px;
    height: 22px;
    display: block;
}

.form-modal-body {
    padding: 24px 24px 40px;
    flex: 1;
}

@media (min-width: 768px) {
    .form-modal-body { padding: 32px 32px 48px; }
}

.form-modal-body .contact-form-subtitle {
    margin-bottom: 28px;
}


/* ============================================ */
/* SCROLL REVEAL ANIMATIONS                      */
/* ============================================ */
.from-left,
.from-right,
.from-bottom,
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.from-left   { transform: translateX(-30px); }
.from-right  { transform: translateX(30px); }
.from-bottom { transform: translateY(30px); }
.fade-in     { transform: none; }

.from-left.appear,
.from-right.appear,
.from-bottom.appear,
.fade-in.appear {
    opacity: 1;
    transform: none;
}
