/**
    Footer CSS
 */

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background:#e8e8e8 !important;
}

footer {
    margin-top:0 !important;
}

/* ── Utility: flow (CSS custom property spacing) ── */
.flow > * + * {
    margin-top: var(--flow, 1em);
}

/* ── Utility: flex helpers ── */
.flex          { display: flex; }
.items-end     { align-items: flex-end; }
.justify-end   { justify-content: flex-end; }
.mb-4          { margin-bottom: 1rem; }
.mb-2          { margin-bottom: 0.5rem; }

/* ── Utility: inline-list (socials row) ── */
.inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--flow-l, 15px);
    list-style: none;
    padding: 0;
}

/**
Header Styles
 */

/* ── CSS Variables ── */
:root {
    --blue-glow: #0072ff;
    --white: #ffffff;
    --header-height: 70px;
}

/* ── Demo body so header is visible ── */
body {
    min-height: 200px;
}

/* ════════════════════════════
   SITE HEADER
════════════════════════════ */
#mainNav {
    width: 100%;
    z-index: 1030;
    min-height: var(--header-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    /* Override Bootstrap bg-white */
    background-color: #26337f !important;
}

a.back-to-link
{
    color:#fff;
    font-size:10px;
}
div.back-to-background
{
    background-color: #26337f !important;
    border:none;
    padding:4px 0;
}
/* Scrolled state — JS adds this class */
#mainNav.scrolled {
    background-color: #26337f !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

/* ── Container alignment ── */
#mainNav .container {
    min-height: var(--header-height);
    align-items: center;
}

/* ── Logo ── */
#mainNav .navbar-brand img {
    height: 44px;
    width: auto;
    background: transparent;
}

/* ── Hamburger toggler — white icon ── */
#mainNav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
    padding: 6px 10px;
}

#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Left nav links ── */
#mainNav #inner-header-menu .nav-link {
    color: var(--white) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 16px !important;
    position: relative;
    transition: color 0.2s ease;
}

#inner-header-menu {
    margin-left: auto !important;
}

/* Animated underline on hover — desktop only */
#mainNav #inner-header-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--white);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: left center;
}

#mainNav #inner-header-menu .nav-link:hover {
    color: rgba(255, 255, 255, 0.75) !important;
}

#mainNav #inner-header-menu .nav-link:hover::after {
    transform: scaleX(1);
}

/* ── Right side auth/user dropdown ── */
#mainNav .auth-links .nav-link {
    color: var(--white) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

#mainNav .auth-links .nav-link svg {
    width: 18px;
    height: 18px;
}

#mainNav .auth-links .dropdown-menu {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    min-width: 200px;
}

#mainNav .auth-links .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#mainNav .auth-links .dropdown-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

#mainNav .auth-links .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

#mainNav .auth-links .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ── Mobile collapsed menu ── */
@media (max-width: 1199.98px) {
    #mainNav .navbar-collapse {
        background-color: #26337f;
        padding: 12px 20px 20px;
        margin-top: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    #mainNav #inner-header-menu .nav-link {
        padding: 12px 8px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 15px;
    }

    /* No underline animation on mobile */
    #mainNav #inner-header-menu .nav-link::after {
        display: none;
    }

    #mainNav .auth-links {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 8px;
        padding-top: 8px;
    }

    #mainNav .auth-links .dropdown-menu {
        background-color: #111;
        border: none;
        padding-left: 12px;
    }
}

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

ul#inner-header-menu li {
    border-right:none !important;
}

/**
End Of Header
 */
/**
 Start of Content
 */

main {
    margin-top:0px;
    padding:0px;
    background-color:#e8e8e8;
}

h1.welcome-title,h1.step-2-welcome-title,h1.step-3-welcome-title,div.shop-header-caption {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 80px;
    background: #26337f;
    padding: 20px 35px;
    border-radius: 6px;
    line-height: 1.1;
    letter-spacing: 0.04em;
    display: inline-block;
    border-left: 6px solid #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

#main-container-body {
    padding: 3rem 0;
}

#main-container-body {
    background-image: linear-gradient(to bottom, #26337f, #0d112c);
}

h2 {
    color:#fff;
    font-size:60px;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.04em;
    font-weight: 900;
}

.home-banner {
    background-image: linear-gradient(to bottom, #26337f, #0d112c);
    padding: 24px 0;
}

/* ════════════════════════════
   FLIP CARD WRAPPER
════════════════════════════ */
.flip-card {
    width: 100%;
    height: 420px;
    perspective: 1200px;
    cursor: pointer;
}

.flip-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip-card:hover .flip-card__inner {
    transform: rotateY(180deg);
}

/* ── Shared face styles ── */
.flip-card__front,
.flip-card__back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

/* ════════════════════════════
   FRONT FACE
════════════════════════════ */
.flip-card__front {
    background: #1a1a2e;
}

/* Event image */
.flip-card__front .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s ease;
}

.flip-card:hover .flip-card__front .card-image {
    transform: scale(1.05);
}

/* Gradient overlay on front */
.flip-card__front .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 24px 24px;
    background: linear-gradient(to top, rgba(15, 20, 60, 0.95) 0%, rgba(15, 20, 60, 0.5) 60%, transparent 100%);
}

/* Event name on front */
.flip-card__front .card-event-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin: 0;
}

/* Hover hint */
.flip-card__front .card-hint {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flip-card__front .card-hint::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 1px;
    background: rgba(255,255,255,0.4);
}

/* ════════════════════════════
   BACK FACE
════════════════════════════ */
.flip-card__back {
    background-color: #26337f;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    /* Subtle pattern overlay */
    background-image:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(255,255,255,0.04) 0%, transparent 40%);
}

/* Top section of back */
.flip-card__back .card-back-top {
    flex: 1;
}

/* Event name on back */
.flip-card__back .card-back-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin: 0 0 12px 0;
}

/* Date badge */
.flip-card__back .card-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.flip-card__back .card-date svg {
    width: 13px;
    height: 13px;
    opacity: 0.8;
}

/* Divider line */
.flip-card__back .card-divider {
    width: 36px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    margin-bottom: 14px;
}

/* Description */
.flip-card__back .card-description {
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bottom buttons */
.flip-card__back .card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {

    h3.card-event-name {
        display:none !important;
    }

    .card-hint {
        display: none !important;
    }

    .flip-card {
        height: auto;
        perspective: none;
    }

    .flip-card__inner {
        transform: none !important;
        transform-style: flat;
        display: flex;
        flex-direction: column;
    }

    .flip-card__front {
        position: relative;

        border-radius: 10px 10px 0 0;
        backface-visibility: visible !important;
        -webkit-backface-visibility: visible !important;
    }

    .flip-card__back {
        position: relative;
        transform: none !important;
        border-radius: 0 0 10px 10px;
        backface-visibility: visible !important;
        -webkit-backface-visibility: visible !important;
    }
}

/**
step 1 - order and email form
 */

/* Register button */
.btn-card-register {
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: #60d1ff;
    color: #0d112c;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 11px 20px;
    border-radius: 25px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-card-register:hover {
    background-color: #e8f0ff;
    color: #1a2560;
}

/* View event button */
.btn-card-view {
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: transparent;
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid rgba(255,255,255,0.4);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-card-view:hover {
    border-color: #ffffff;
    background-color: rgba(255,255,255,0.08);
    color: #ffffff;
}

/* ── Demo page styles ── */
.demo-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
    text-align: center;
    margin-bottom: 32px;
}

ul.auth-links.navbar-nav.ms-auto {
    display: none;
}

/* ── Form wrapper ── */
.silverstone-form {
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(38, 51, 127, 0.12);
    overflow: hidden;
}

/* ── Table ── */
.silverstone-form-one {
    margin-bottom: 0;
}

/* ── Table header ── */
.silverstone-form-one thead.bg-blue {
    background-color: #26337f !important;
}

.silverstone-form-one thead th {
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* ── Table body rows ── */
.silverstone-form-one tbody tr td {
    padding: 14px 20px;
    vertical-align: middle;
}

/* ── Label text ── */
.silverstone-font {
    font-size: 14px;
    font-weight: 600;
    color: #26337f;
}

/* ── Alternating row ── */
.silverstone-form-one tbody tr.bg-light-grey {
    background-color: #f4f6fb !important;
}

/* ── Input fields ── */
.silverstone-form .form-control {
    border: 1.5px solid #d0d6e8;
    border-radius: 5px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1a2560;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.silverstone-form .form-control:focus {
    border-color: #26337f;
    box-shadow: 0 0 0 3px rgba(38, 51, 127, 0.15);
    outline: none;
}

/* ── Submit button ── */
.silverstone-button {
    background-color: #26337f;
    color: #ffffff;
    border: 2px solid #26337f;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 32px;
    margin: 16px 20px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.silverstone-button:hover {
    background-color: transparent;
    color: #26337f;
    border-color: #26337f;
}

.silverstone-form + p.silverstone-font,
p.silverstone-font:not(.silverstone-form-one p) {
    font-size: 15px;
    font-weight: 500;
    color: #26337f;
    line-height: 1.7;
    max-width: 600px;
    margin: 24px auto 24px auto;
    padding: 16px 20px;
    background-color: #f4f6fb;
    border-left: 4px solid #26337f;
    border-radius: 0 5px 5px 0;
}

/**
step 2 - input vehicle details
 */

/* ── Order details wrapper ── */
.order-details-wrapper {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(38, 51, 127, 0.1);
    overflow: hidden;
    margin-bottom: 24px;
}

/* ── Both tables ── */
.step-two-table {
    margin-bottom: 0;
}

/* ── Table header ── */
.step-two-table thead.bg-blue {
    background-color: #26337f !important;
}

.step-two-table thead th {
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
}

/* ── Table body cells ── */
.step-two-table tbody td {
    padding: 10px 16px;
    vertical-align: middle;
    font-size: 14px;
    color: #2c3566;
    border-bottom: 1px solid #eef0f8;
}

/* ── Readonly inputs (order details) ── */
.step-two-table .form-control[readonly] {
    background-color: #f4f6fb;
    border: 1px solid #e0e4f0;
    color: #2c3566;
    font-size: 14px;
    cursor: not-allowed;
}

/* ── Small readonly inputs (price/qty) ── */
.step-two-table .form-control-sm[readonly] {
    background-color: #f4f6fb;
    border: 1px solid #e0e4f0;
    color: #2c3566;
    text-align: center;
}

/* ── Vehicle number plate input group ── */
.vehicle-number-plate {
    max-width: 200px;
}

/* ── Note rows ── */
.step-two-table tbody tr td[colspan="5"] {
    background-color: #f4f6fb;
    font-size: 13px;
    color: #666e99;
    font-style: italic;
    padding: 8px 16px;
    border-bottom: 2px solid #dde2f0;
}

/* ── Radio button rows ── */
.step-two-table tbody tr.bg-transparent td {
    background-color: #fafbff;
    padding: 8px 16px;
}

.step-two-table .form-check-label {
    font-size: 13px;
    color: #2c3566;
}

.step-two-table .form-check-input:checked {
    background-color: #26337f;
    border-color: #26337f;
}

/* ── Arrow image ── */
.arrow-right {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 40px;
    opacity: 0.4;
}

/* ── Submit button ── */
.silverstone-button {
    background-color: #26337f;
    color: #ffffff;
    border: 2px solid #26337f;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 32px;
    margin-top: 16px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.silverstone-button:hover {
    background-color: transparent;
    color: #26337f;
    border-color: #26337f;
}

/* ── Alternating product rows ── */
.step-two-table tbody tr[data-row-id]:nth-child(odd) {
    background-color: #f9fafd;
}

.step-two-table tbody tr[data-row-id]:nth-child(even) {
    background-color: #ffffff;
}

/* ── Margin utilities ── */
.margin-bottom-40 {
    margin-bottom: 40px;
}

img.arrow-right {
    display: none !important;
}
/**
End Of Content
 */
/**
Shopping Home Page
 */

h2.search-h2 {
    font-size:20px;
    color:unset;
}

.shop-header-caption {
    margin-top:0 !important;
}

.shop-header {
    margin:0;
}

.shopping-cart-overview,.shopping-cart-checkout,.shopping-categories-list,.shopping-category-view,.shopping-view-product {
    background:#fff;
}

nav[aria-label="breadcrumb"] {
    /* your styles */
}

.products-list-home {
    background:#fff;
    margin-bottom:40px;
    margin-left:0;
    margin-right:0;
    padding-bottom:15px;
}

.search-section {
    background:#fff;
    padding:20px 15px !important;
}

.category-background {
    background:#fff;
}

ul#inner-header-menu li.active:before {
    color:#fff;
    bottom: -9px;
    left: 40%;
}
/**
End of Shopping Home Page
 */

.step_1_image {
    margin-top:25px;
}
