/* ================================================
   WOMAD Navbar - Pill Button Style
   ================================================ */

#mainNav {
    border-bottom: none;
    padding-top: 12px;
    padding-bottom: 12px;
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Remove default nav-link styles */
#mainNav #inner-header-menu .nav-link {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #000000;
    border-radius: 50px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000000;
    background-color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

#mainNav #inner-header-menu .nav-link:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Last nav item — filled black pill */
#mainNav #inner-header-menu .nav-item:last-child .nav-link {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

#mainNav #inner-header-menu .nav-item:last-child .nav-link:hover {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
}

/* Space between pill items */
#mainNav #inner-header-menu .nav-item {
    margin-right: 6px;
}

#mainNav #inner-header-menu .nav-item:last-child {
    margin-right: 0;
}

ul.auth-links {
    display: none;
}

ul#inner-header-menu {
    margin-top:0px !important;
}

ul#inner-header-menu li {
    border-right: none !important;
}
/* Push the main nav items to the right */
#mainNav #inner-header-menu {
    margin-left: auto !important;
    margin-right: 0 !important;
}

@media(max-width:1200px) {
    ul#inner-header-menu li {
        margin:10px 0;
    }
    #mainNav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        height:100px;
    }

    #mainNav .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        z-index: 1000;
        padding: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    div#main-inner-events-list {
        margin-top:40px;
    }

    main {
        margin-top:37px;
        padding-top:40px;
    }
}

/* ================================================
   WOMAD Homepage Styles
   ================================================ */

/* ---- Hero Banner ---- */
.home-banner {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    position: relative;
}

.home-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
}

.home-banner .container {
    position: relative;
    z-index: 1;
}

.home-banner .container .row {
    align-items: center;
}

.home-banner .welcome-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
    margin: 0;
}

@media(max-width:768px) {
    .home-banner {
        text-align: center;
    }
    .step-2-welcome-title {
        display:inline-block;
        margin:40px 0;
    }
}

/* ---- Events Section ---- */
#main-inner-events-list {
    padding-top: 52px;
    padding-bottom: 52px;
}

#main-inner-events-list h2 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    margin-bottom: 12px;
}

#main-inner-events-list p {
    font-size: 15px;
    color: #444444;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 760px;
}

/* ---- Event Cards ---- */
#main-inner-events-list .card {
    border: 2px solid #000000;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#main-inner-events-list .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

#main-inner-events-list .card-img-top {
    height: 180px;
    object-fit: cover;
    background-color: #f1efe8;
}

#main-inner-events-list .card-body {
    padding: 20px;
}

#main-inner-events-list .card-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    margin-bottom: 10px;
}

#main-inner-events-list .card-text {
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
}

#main-inner-events-list .card-footer {
    padding: 0 20px 20px;
}

#main-inner-events-list .event_dates {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---- Parking Permit Button ---- */
.silverstone-button,
.btn.silverstone-button {
    background-color: #000000;
    color: #ffffff !important;
    border: 2px solid #000000;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 24px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.silverstone-button:hover,
.btn.silverstone-button:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

/* ---- Main Container ---- */
#main-container {
    min-height: 0;
    padding: 0;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
    .home-banner {
        min-height: 320px;
        padding-bottom: 40px;
    }

    .home-banner .welcome-title {
        font-size: 42px;
    }

    #main-inner-events-list {
        padding-top: 32px;
    }

    #main-inner-events-list h2 {
        font-size: 20px;
    }
}
/* ---- Events Section Header ---- */
#main-inner-events-list h2 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
    color: #000000;
    margin-bottom: 40px;
    display: inline-block;
}

#main-inner-events-list h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #000000;
    margin-top: 14px;
}

#main-inner-events-list p.silverstone-font {
    font-size: 15px;
    color: #555555;
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 36px;
    border-left: 3px solid #000000;
    padding-left: 16px;
}

/* ================================================
   WOMAD Step 1 - Order Form
   ================================================ */

p.to-register {
    font-size: 15px;
    color: #555555;
    line-height: 1.8;
    border-left: 3px solid #000000;
    padding-left: 16px;
    margin-top:40px;
    margin-bottom: 28px;
}

.silverstone-form-one thead.bg-blue {
    background-color: #000000 !important;
    color: #ffffff;
}

.silverstone-form-one thead th {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 16px;
}

.silverstone-form-one {
    border: 2px solid #000000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.silverstone-form-one tbody tr td {
    padding: 14px 16px;
    vertical-align: middle;
}

.silverstone-form-one tbody tr td p.silverstone-font {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    border-left: none;
    padding-left: 0;
}

.silverstone-font:not(table p):not(td p) {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f1efe8;
    padding: 12px 16px;
    border-radius: 6px;
}

.silverstone-form-one tbody tr.bg-light-grey {
    background-color: #f5f5f5 !important;
}

.silverstone-form-one .form-control {
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    color: #000000;
    outline: none;
    box-shadow: none;
}

.silverstone-form-one .form-control:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* ================================================
   WOMAD Step 2 - Vehicle Registration
   ================================================ */

.step-two-content {
    padding-top: 40px;
    padding-bottom: 60px;
}

.step-two-content > .row:first-child p.silverstone-font {
    font-size: 15px;
    color: #555555;
    line-height: 1.8;
    border-left: 3px solid #000000;
    padding-left: 16px;
    background-color: #f1efe8;
    padding: 16px 16px 16px 20px;
    border-radius: 6px;
    margin-bottom: 0;
}

/* ---- Order Details Table ---- */
.step-two-table {
    border: 2px solid #000000 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin-bottom: 0;

}

.step-two-table thead.bg-blue {
    background-color: #000000 !important;
}

.step-two-table thead th {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 16px;
    color: #ffffff;
}

.step-two-table tbody td {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    vertical-align: middle;
    padding: 10px 16px;
    border-bottom: 1px solid #eeeeee;
}

.step-two-table tbody tr:last-child td {
    border-bottom: none;
}

/* Readonly order detail inputs */
.step-two-table tbody .form-control[readonly] {
    background-color: #f1efe8;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 13px;
    color: #000000;
    font-weight: 600;
}

/* Note rows */
.step-two-table tbody tr td[colspan] {
    font-size: 12px;
    color: #777777;
    font-style: italic;
    background-color: #f9f9f9;
    padding: 8px 16px;
    border-top: none;
}

/* ---- Number Plate Input ---- */
.vehicle-number-plate .input-group-text {
    background-color: #f5c800 !important;
    border-color: #000000 !important;
    font-weight: 700;
}

.vehicle-number-plate .form-control {
    background-color: #f5c800 !important;
    border-color: #000000 !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0 6px 6px 0 !important;
}

.vehicle-number-plate .form-control:focus {
    box-shadow: 0 0 0 3px rgba(245, 200, 0, 0.4);
    border-color: #000000 !important;
}

/* ---- Order Details Wrapper ---- */
.order-details-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    margin-bottom: 24px;
}

/* ---- Complete Parking Button ---- */
.step-two-content .silverstone-button,
.step-two-content .btn.silverstone-button {
    background-color: #000000;
    color: #ffffff !important;
    border: 2px solid #000000;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 32px;
    margin-top: 20px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.step-two-content .silverstone-button:hover,
.step-two-content .btn.silverstone-button:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
    .step-two-table thead th,
    .step-two-table tbody td {
        font-size: 12px;
        padding: 10px 10px;
    }
}
img.arrow-right {
    display: none !important;
}
@media (max-width: 992px) {
    .step-two-table.choose-products th:nth-child(2),
    .step-two-table.choose-products th:nth-child(3),
    .step-two-table.choose-products th:nth-child(4),
    .step-two-table.choose-products td:nth-child(2),
    .step-two-table.choose-products td:nth-child(3),
    .step-two-table.choose-products td:nth-child(4) {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .step-two-table.choose-products th:nth-child(3),
    .step-two-table.choose-products td:nth-child(3) {
        display: none !important;
    }
}

/* ================================================
   WOMAD Step 2 - Multi-day Vehicle Rows (updated)
   ================================================ */

/* Radio button row */
.step-two-table tbody tr.bg-transparent > td[colspan] .form-check-inline {
    margin-right: 16px;
}

.step-two-table tbody tr.bg-transparent > td[colspan] .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #000000;
    cursor: pointer;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

.step-two-table tbody tr.bg-transparent > td[colspan] .form-check-input:checked {
    background-color: #000000;
    border-color: #000000;
}

.step-two-table tbody tr.bg-transparent > td[colspan] .form-check-label {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    vertical-align: middle;
}

/* Per-day rows - label cell */
.step-two-table tbody tr[data-product-group-id] td.text-start {
    font-size: 13px;
    font-weight: 600;
    color: #555555;
    vertical-align: middle;
    padding: 10px 16px;
    border-left: 3px solid #000000;
    background-color: #f9f9f9;
}

/* Per-day rows - empty middle cells */
.step-two-table tbody tr[data-product-group-id] td.d-none {
    background-color: #f9f9f9;
}

/* Per-day rows - number plate cell */
.step-two-table tbody tr[data-product-group-id] td:last-child {
    background-color: #f9f9f9;
    padding: 8px 16px;
    vertical-align: middle;
    min-width:100px;
}

/* Row separator */
.step-two-table tbody tr[data-product-group-id] {
    border-bottom: 1px solid #eeeeee;
}

/* ================================================
   WOMAD Step 2 - Page Title
   ================================================ */

h1.step-2-welcome-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
    color: #fff;
    margin-bottom: 32px;
}

h1.step-2-welcome-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #fff;
    margin-top: 16px;
}

/* ================================================
   WOMAD Vehicle Hanger - Step 1
   ================================================ */

.hanger-card-step-one {
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid #000000 !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.hanger-card-step-one .card-header {
    background-color: #000000 !important;
    padding: 14px 20px;
}

.hanger-card-step-one .card-header .card-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.hanger-card-step-one .card-body {
    background-color: #f1efe8;
    padding: 28px 24px;
}

.hanger-card-step-one .form-label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
    display: block;
}

.hanger-card-step-one .form-control-lg {
    border: 2px solid #000000;
    border-radius: 50px 0 0 50px !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #000000;
    background-color: #ffffff;
    padding: 12px 20px;
}

.hanger-card-step-one .form-control-lg:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.hanger-card-step-one .silverstone-button {
    background-color: #000000;
    color: #ffffff !important;
    border: 2px solid #000000;
    border-radius: 0 50px 50px 0 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hanger-card-step-one .silverstone-button:hover {
    background-color: #ffffff;
    color: #000000 !important;
    border-color: #000000;
}

/* ================================================
   WOMAD Vehicle Hanger - Step 2
   ================================================ */

.event-detail-panel {
    border: 2px solid #000000;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    margin-top:40px;
}

.event-detail-panel__body {
    padding: 24px;
    background-color: #f1efe8;
}

.event-detail-panel__title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #000000;
    margin-bottom: 8px;
}

.event-detail-panel__description {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 16px;
}

.event-detail-panel__dates {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #000000;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
}

.event-detail-panel__divider {
    margin: 0;
    border-color: #000000;
    opacity: 1;
}

.event-detail-panel__carpark {
    padding: 24px;
}

.event-detail-panel__section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 6px;
}

.event-detail-panel__carpark-name {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
    margin-bottom: 12px;
}

.event-detail-panel__carpark-address {
    font-size: 14px;
    color: #555555;
    line-height: 1.8;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.event-detail-panel__carpark-address svg {
    margin-top: 4px;
    flex-shrink: 0;
    color: #000000;
}

.event-detail-panel__map {
    width: 100%;
    height: 220px;
    border: 2px solid #000000;
    border-radius: 8px;
    display: block;
}
/* ================================================
   WOMAD Step 1 - Side Images
   ================================================ */

.step_1_image {
    width: 100%;
    border-radius: 12px;
    border: 2px solid #000000;
    display: block;
    margin-bottom: 16px;
    object-fit: cover;
}
.step_1_image:first-child {
    margin-top:40px;
}
.step_1_image:last-child {
    margin-bottom: 0;
}
