/* ==========================================================================
   TOUR BOOKING FUNNEL — thysroes.nl/tour
   Mobile-first. Color palette from main site gradient.
   ========================================================================== */

@font-face {
    font-family: 'DTLNobel';
    src: url(/content/assets/fonts/DTLNobelT-Light.otf);
    font-weight: 100;
    font-display: swap;
}
@font-face {
    font-family: 'DTLNobel';
    src: url(/content/assets/fonts/DTLNobelT.otf);
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'DTLNobel';
    src: url(/content/assets/fonts/DTLNobelT-Bold.otf);
    font-weight: 700;
    font-display: swap;
}

:root {
    --teal: #084c61;
    --red: #9c3632;
    --purple: #372856;
    --light: #f8f9fa;
    --dark: #1e2830;
    --text: #2d2c39;
    --muted: #6c757d;
}

body {
    font-family: 'DTLNobel', 'Lato', sans-serif;
    color: var(--text);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

/* ---------- HERO (inspired by aidanlyon.com depth + thysroes.nl gradient) ---------- */

.tour-hero {
    background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 50%, var(--red) 100%);
    background-size: 300% 200%;
    animation: gradientShift 20s ease infinite;
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow overlay (aidanlyon-style depth) */
.tour-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.tour-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 0.5em;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
    position: relative;
    letter-spacing: -0.02em;
}

.tour-hero .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---------- TOUR CARDS ---------- */

.tour-cards {
    padding: 50px 0;
    background: #fff;
}

.tour-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 100%;
    border: 1px solid rgba(255,255,255,0.6);
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.tour-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.tour-card-img-walk {
    background: linear-gradient(135deg, var(--teal), #0a6b7a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
}

.tour-card-img-bike {
    background: linear-gradient(135deg, var(--purple), #5a3d8a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
}

.tour-card-body {
    padding: 24px;
}

.tour-card-body h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.tour-card-body h2 i {
    margin-right: 8px;
    color: var(--teal);
}

.tour-card-date {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.tour-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 4px;
}

.tour-card-spots {
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

/* ---------- BUTTONS ---------- */

.tour-btn {
    background: linear-gradient(135deg, var(--teal), var(--purple));
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-family: 'DTLNobel', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}

.tour-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(8, 76, 97, 0.3);
    opacity: 0.95;
}

.tour-btn-outline {
    background: transparent;
    color: var(--teal) !important;
    border: 2px solid var(--teal);
    border-radius: 8px;
    padding: 10px 26px;
    font-family: 'DTLNobel', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}

.tour-btn-outline:hover {
    background: var(--teal);
    color: #fff !important;
}

/* ---------- HOW IT WORKS ---------- */

.tour-how-it-works {
    padding: 80px 0;
    background: var(--light);
}

.tour-how-it-works h2 {
    margin-bottom: 10px;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.tour-how-it-works h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.tour-how-it-works p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---------- CONTACT SECTION ---------- */

.tour-contact {
    padding: 50px 0;
    background: #fff;
}

/* ---------- TOUR DETAIL ---------- */

.tour-detail-hero {
    padding: 70px 0 50px;
    color: #fff;
}

.tour-detail-hero-walk {
    background: linear-gradient(135deg, var(--teal), #0a6b7a);
}

.tour-detail-hero-bike {
    background: linear-gradient(135deg, var(--purple), #5a3d8a);
}

.tour-detail-hero h1 {
    font-size: 2.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.tour-detail-hero .lead {
    opacity: 0.9;
    max-width: 700px;
}

.tour-detail-content {
    padding: 40px 0 60px;
}

.tour-description {
    font-size: 1.05rem;
    line-height: 1.7;
}

.tour-description h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.tour-description ul {
    padding-left: 20px;
    margin-bottom: 24px;
}

.tour-description li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.tour-practicalities {
    list-style: none;
    padding-left: 0;
}

.tour-practicalities li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
}

.tour-practicalities li i {
    color: var(--teal);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* ---------- BOOKING SIDEBAR ---------- */

.tour-booking-sidebar {
    background: var(--light);
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 20px;
}

.tour-booking-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.tour-date-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
}

.tour-date-info {
    margin-bottom: 8px;
}

.tour-date-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 4px;
}

.tour-spots {
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 600;
}

.tour-spots-full {
    color: var(--muted);
}

/* ---------- BOOKING FORM ---------- */

.tour-booking {
    padding: 40px 0 60px;
    background: var(--light);
    min-height: 80vh;
}

.booking-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.6);
}

.booking-card h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.booking-tour-summary {
    background: var(--light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    border-left: 4px solid var(--teal);
}

.booking-tour-summary h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.booking-tour-summary p {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.95rem;
}

.booking-price {
    font-size: 1.1rem !important;
    font-weight: 700;
    color: var(--teal) !important;
}

.booking-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin: 20px 0;
    border-top: 2px solid var(--light);
    font-size: 1.3rem;
    font-weight: 700;
}

#booking-total-amount {
    color: var(--teal);
}

.form-control {
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(8, 76, 97, 0.15);
}

/* ---------- CONFIRMATION + TICKET ---------- */

.tour-confirmation {
    padding: 40px 0 60px;
    background: var(--light);
    min-height: 80vh;
}

.confirmation-card {
    margin-bottom: 24px;
}

.confirmation-icon {
    font-size: 3.5rem;
    margin-bottom: 8px;
}

.confirmation-card h1 {
    font-size: 2.2rem;
    color: var(--teal);
}

.ticket-card {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    border: 2px dashed rgba(222,226,230,0.8);
}

.ticket-header {
    background: linear-gradient(135deg, var(--teal), var(--purple));
    color: #fff;
    padding: 20px 24px;
}

.ticket-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.ticket-body {
    padding: 20px 24px;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ticket-row:last-child {
    border-bottom: none;
}

.ticket-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.ticket-value {
    font-weight: 600;
    text-align: right;
}

.ticket-code {
    font-family: 'SF Mono', 'Monaco', monospace;
    font-size: 1.2rem;
    color: var(--teal);
    background: var(--light);
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 2px;
}

.confirmation-info {
    font-size: 0.95rem;
    line-height: 1.7;
}

.confirmation-info p {
    margin-bottom: 8px;
}

/* ---------- ADMIN ---------- */

.tour-admin {
    padding: 30px 0 60px;
    min-height: 80vh;
}

.tour-admin h1 {
    font-size: 1.8rem;
}

.tour-admin h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.admin-stat-card {
    background: var(--light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-admin .table {
    font-size: 0.95rem;
}

.tour-admin .table th {
    border-top: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin login */
.tour-admin-login {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.admin-login-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.5);
}

.admin-login-card h2 {
    text-align: center;
    margin-bottom: 24px;
}

/* Admin form */
.admin-tour-form {
    padding: 30px 0 60px;
}

.admin-tour-form .form-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ---------- FOOTER ---------- */

.tour-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 12px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}

.tour-footer a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.tour-footer a:hover {
    color: #fff !important;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
    .tour-hero {
        padding: 50px 20px 40px;
    }

    .tour-hero h1 {
        font-size: 2rem;
    }

    .tour-hero .lead {
        font-size: 1rem;
    }

    .tour-detail-hero h1 {
        font-size: 1.8rem;
    }

    .tour-cards {
        padding: 30px 0;
    }

    .tour-card-img {
        height: 160px;
    }

    .tour-booking-sidebar {
        position: static;
        margin-top: 30px;
    }

    .booking-card {
        padding: 20px;
    }

    .tour-btn {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .tour-btn-outline {
        width: 100%;
        text-align: center;
    }

    .ticket-row {
        flex-direction: column;
        gap: 4px;
    }

    .ticket-value {
        text-align: left;
    }
}
