/* Main Stuff */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: Arial, Helvetica, sans-serif;
        }

        body {
            background: #fff;
            color: #222;
        }
        html {
            scroll-behavior: smooth;
        }

h1, h2 {
    font-family: "Michroma", sans-serif;
    font-weight: 700;
    color: #3E6198; /* fallback for old browsers */

    /* Gradient "chrome" look */
    background: linear-gradient(180deg, #7788aa, #99aacc, #4F5566);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Optional subtle shadow for depth */
    text-shadow:
        0 3px 4px rgba(0, 0, 0, 0.3),
        0 0 1px rgba(250, 105, 5, 0.5);
}


        h3 {
            font-family: "Michroma", sans-serif;
            font-weight: 700;
            color: #3E6198; /* fallback for old browsers */
        }
            
        h4 {
            font-family: "Michroma", sans-serif;
            color: #3E6198;
            font-weight: bold;
            line-height: 1em;
            padding-bottom: 4%;
        }

        h1 {
            font-size: clamp(1.6rem, 5vw, 2.5rem);
        }
        h2 {
            font-size: clamp(1.2rem, 4vw, 1.8rem);
        }
        h3 {
            font-size: clamp(1.0rem, 4vw, 1.2rem);
        }

        hr {
            width: 100%;
            height: 6px; 
            border: 1px solid #FA6905;
            background-color: #1B1464;
            margin: 20px 0;
            box-sizing: border-box;
        }

/* SECTIONS */
        .section {
            padding: 20px 0;
        }

        .section-light {
            background: #FFF; /*old #f2f2f2*/
        }

        .container {
            width: 80%;
            max-width: 1000px;
            margin: 0 auto;
        }

/* line items */
        .admission-list {
            list-style: none;       /* remove bullets */
            padding-left: 10px;     /* requested padding */
            margin: 0;
        }

        .admission-list li {
            position: relative;
            padding-left: 20px;     /* space for >> */
            margin-bottom: 6px;
        }

        .admission-list li::before {
            content: "❯";
            position: absolute;
            left: 0;
            color: #3E6198;         /* optional accent color */
            font-weight: 600;
        }

/* Navigation*/
    .main-nav { 
        display: flex; 
        justify-content: center; 
        gap: 20px; margin: 10px 0px; 
        flex-wrap: wrap; 
    }
    .main-nav a {
        text-decoration: none;
        color: #000;
        font-weight: 600;
        font-size: 18px;
    }
    .menu-toggle {
        display: none;
        font-size: 30px;
        background: none;
        border: none;
        color: #000;
        cursor: pointer;
    }

    .main-nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 10px 0px;
        flex-wrap: wrap;
    }

    .main-nav a {
        text-decoration: none;
        color: #3E6198;
        font-weight: 600;
        font-size: 18px;

        padding: 5px;          /* space inside the link */
        border: 1px solid #FFF;  /* border color */
        border-radius: 6px;          /* rounded corners */
        background-color: #FFF;      /* default background */
        transition: all 0.3s ease;   /* smooth hover effect */
    }

    .main-nav a:hover {
        color: #fff;
        background-color: #3E6198;   /* hover background */
        border-color: #FFF;       /* hover border (optional) */
    }

    @media (max-width: 768px) {

        .menu-toggle {
            display: block;
            margin: 6px auto;
        }

        .main-nav {
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            margin: 0;
            padding: 6px 0;
        }

        .main-nav.active {
            display: flex;
        }

        .main-nav a {
            margin: 0;        /* override desktop margin-left */
            padding: 6px 0;
            font-size: 18px;
            line-height: .6;
        }
    }

/* HEADER */
        .site-header {
            width: 100%;
            text-align: center;
            background-image: url('../images/header-bg.jpg');
            background-repeat: no-repeat;
            background-position: center 60px; /* FIX */
            background-size: 100% 110px;

            padding-top: 20px;
            padding-bottom: 0px;
        }

        .header-logo img {
            max-width: 200px;  /* smaller logo fits better */
            width: 70%;
            height: auto;
            display: block;
            margin: 0 auto;
            filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.5));
        }

        .event-datetime {
            font-size: clamp(1.0rem, 5vw, 1.8rem);
            font-weight: 600;
            color: #000;
            margin-top: 5px;
            margin: 0 5px 0 5px;
        }

/* Ticket Row and Status
   ================================ */

        .logo-ticket-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30px;
            gap: 20px;
        }

/* Give each child equal width */
        .logo-ticket-row > div {
            flex: 1;
        }

/* Left Logo  */

        .nat-west-logo {
            display: flex;
            align-items: center;
            justify-content: flex-start;
        }

        .nat-west-logo img {
            max-height: 100px;
            width: auto;
            display: block;
        }

/*  Center Status  */

        .event-status {
            text-align: center;
        }

        .event-status h3 {
            margin: 0;
            font-size: 0.95rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .event-status h4 {
            margin: 6px 0 0;
            font-size: 1.1rem;
            font-weight: 700;
        }

        /* Status link */
        .status-link {
            display: inline-block;
            margin-left: 10px;
            padding: 4px 8px;
            font-size: 0.75em;
            font-weight: 700;
            text-decoration: none;
            color: #fff;
            background: #3E6198;
            border-radius: 3px;
            transition: background 0.25s ease;
        }

        .status-link:hover {
            background: #F36322;
        }

/* Right Ticket Button
================================ */
        .event-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        /* Ticket column */
        .event-tickets {
            max-width: 340px;   /* keeps it as small as possible */
        }

        /* Desktop layout */
        @media (min-width: 900px) {
            .event-layout {
                grid-template-columns: 1fr auto;
                align-items: start;
            }
        }

        /* Optional cleanup */
        .admission-note {
            font-size: 0.9em;
            font-style: italic;
        }

    /* old css for tickets */
        .ticket-wrap {
            display: flex;
            justify-content: flex-end;
        }

        /* Buy Tickets */
        .buy-tickets {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 200px;
            height: 80px;
            padding: 0;

            background-image: url('../images/ticket.png');
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;

            border: none;
            background-color: transparent;
            cursor: pointer;

            transition: transform 0.2s ease, filter 0.2s ease;
        }

        .ticket-text {
            position: absolute;
            color: #fff;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            padding-right: 10px;
            text-shadow: 1px 2px 2px rgba(0,0,0,0.7);
            pointer-events: none;
        }

        .buy-tickets:hover {
            transform: translateY(-3px);
            filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.5));
        }

/* Mobile Stack
================================ */

        @media (max-width: 700px) {
            .logo-ticket-row {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            .ticket-wrap,
            .nat-west-logo {
                justify-content: center;
            }
        }

/* Video display
================================ */
        .event-video {
            width: 80%;
            margin: 0 auto; /* center it */
        }

        .event-video video {
            width: 100%;
            height: auto;
            display: block;
            border: 2px solid #3E6198;
            filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.5));
        }

@media (max-width: 700px) {
    .event-video {
        width: 95%;
        margin: 0 auto;
    }
} /* <- now this closing brace is fine */
            
/* History and Hero */
        .history-wrapper{
            display: block;
            /*align-items: flex-start;
            gap: 30px;*/
            margin: 20px 0;
        }
        .hero-wrapper {
            float: right;
            width: 45%;
            max-width: 600px;
            aspect-ratio: 4 / 3;
            margin: 0 0 20px 30px; /* space between text and image */
            overflow: hidden;
            border-radius: 6px;
            border: 2px solid #3E6198;
            filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.5));
            position: relative;
        }

        .section-text {
            width: 100%;
        }

/* Hero column: fills its space, keeps 4:3 */
        .hero-wrapper {
            float: right;
            width: 45%;
            max-width: 600px;
            aspect-ratio: 4 / 3;

            margin: 0 0 20px 30px; /* IMPORTANT: top margin must be 0 */

            overflow: hidden;
            border-radius: 6px;
            border: 2px solid #3E6198;
            filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.5));
            position: relative;

            clear: right;
        }


/* Hero slides */
        .hero-slide {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            background-size: cover;   /* fill while maintaining ratio */
            background-position: center center;
            opacity: 0;
            animation: kenburns 20s infinite;
        }

        @keyframes kenburns {
            0%   { opacity: 0; transform: scale(1); }
            5%   { opacity: 1; }
            45%  { opacity: 1; transform: scale(1.4); }
            50%  { opacity: 0; }
            100% { opacity: 0; }
        }

        /* History Hero mobile */
                @media (max-width: 768px) {

                    .history-wrapper {
                        display: block;
                        width: 95%;
                        margin: 0 auto;
                    }

                    .hero-wrapper {
                        float: none;
                        width: 100%;
                        max-width: 100%;
                        margin: 0 auto 15px auto;
                        height: auto;
                    }

                    .section-text {
                        width: 100%;
                        margin: 0 auto;
                    }

                    .hero-slide {
                        background-size: cover;
                        background-position: center top;
                    }
                }

/* EVENT FLIERS */

        .events-wrap {
            text-align: center;
            font-size: 0; /* kills inline-block whitespace */
        }

        .event-card {
            display: inline-block;
            width: 300px;
            padding: 2% 1%;
            font-size: .8em; 
            vertical-align: top;
        }
       .event-card img {
        width: 100%;        /* fills the .event-card box */
        height: 300px;      /* uniform height */
        object-fit: contain; /* keeps aspect ratio */
        transition: transform 0.2s ease, filter 0.2s ease;
    }


        .event-card img:hover {
            transform: translateY(-3px);
            filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.5));
        }

        @media (max-width: 768px) {
            .event-card {
                display: block;
                width: 90%;
                margin: 0 auto 20px;
            }
        }

/* Info Wrapper */
        .info-wrapper{
            display: block;
            /*align-items: flex-start;
            gap: 30px;*/
            margin: 20px 0;
}

/* LOGO TICKER */
        .logo-ticker {
            position: relative;
            overflow: visible;
            white-space: nowrap;
            width: 80%;
            max-width: 1000px;
            margin: 60px auto 0;
        }

        /* Small screens */
        @media (max-width: 768px) {
            .logo-ticker {
                width: 95%;
            }
        }


            .ticker-title {
                position: absolute;
                top: -1.6em;
            }

            .ticker-box {
                padding: 10px;
                border: 2px solid #3E6198;
                border-radius: 4px;
                overflow: hidden;

                /* EDGE FADE */
                -webkit-mask-image: linear-gradient(
                    to right,
                    transparent 0%,
                    black 8%,
                    black 92%,
                    transparent 100%
                );
                mask-image: linear-gradient(
                    to right,
                    transparent 0%,
                    black 8%,
                    black 92%,
                    transparent 100%
                );
            }

            .ticker-track {
                display: inline-flex;
                animation: ticker 30s linear infinite;
            }

            .logo-ticker:hover .ticker-track {
                animation-play-state: paused;
            }

            .ticker-track img {
                height: 160px;
                margin: 0 30px;
                object-fit: contain;
            }

            @keyframes ticker {
                from {
                    transform: translateX(0);
                }
                to {
                    transform: translateX(-50%);
                }
            }

/* EMAIL FORM */
    .contact-form {
    max-width: 680px;
    margin: 40px auto;
    padding: 30px 32px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid #e6e6e6;
    }

    /* Headings */
    .contact-form h2 {
        margin-bottom: 20px;
        font-size: 1.6rem;
        text-align: center;
        letter-spacing: 0.04em;
    }

    /* Labels */
    .contact-form label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        font-size: 0.9rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #333;
    }

    /* Inputs */
    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 12px 14px;
        margin-bottom: 18px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        background: #fafafa;
        transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    }

    /* Focus state */
    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none;
        background: #fff;
        border-color: #b30000; /* site accent color */
        box-shadow: 0 0 0 3px rgba(179,0,0,0.15);
    }

    /* Textarea specifics */
    .contact-form textarea {
        min-height: 150px;
        resize: vertical;
    }

    /* Button */
    .contact-form button {
        display: inline-block;
        width: auto;
        padding: 10px 14px;
        background: #3E6198; /* accent color */
        color: #fff;
        font-size: .8rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.15s ease;
    }

    /* Button hover */
    .contact-form button:hover {
        background: #F36322;
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
        transform: translateY(-1px);
    }

    /* Button active */
    .contact-form button:active {
        transform: translateY(0);
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }

    /* Placeholder styling */
    .contact-form ::placeholder {
        color: #999;
    }

    /* Success / error messages */
    .form-message {
        margin-top: 20px;
        padding: 14px 16px;
        border-radius: 6px;
        font-weight: 600;
        text-align: center;
    }

    .form-message.success {
        background: #e6f7ec;
        color: #1f7a3a;
        border: 1px solid #9fd3b3;
    }

    .form-message.error {
        background: #fdeaea;
        color: #9b1c1c;
        border: 1px solid #e2a5a5;
    }

    /* Responsive tweaks */
    @media (max-width: 600px) {
        .contact-form {
            padding: 24px 20px;
            margin: 30px 15px;
        }
    }

/* FOOTER */
        .site-footer {
            width: 100%;
            text-align: center;
            color: #000;
            padding: 30px;
            margin: 0 0 20px 0;
            background-image: url('../images/header-bg.jpg');
            background-repeat: no-repeat;
            background-position: center top; /* top of the footer */
            background-size: 100% 100%;     /* adjust height to fit */
            background-color: #3E6198;       /* fallback color if image doesn't load */
        }
        .copy{
            color: #000;
        }
        /* RESPONSIVE */
        @media (max-width: 768px) {
            .container {
                width: 95%;
            }

            .header-bar {
                flex-direction: row;
                align-items: center;
            }

            .menu-toggle {
                display: block;
            }

            .main-nav {
                width: 100%;
                display: none;
                flex-direction: column;
                margin-top: 10px;
            }

            .main-nav.open {
                display: flex;
            }

            .main-nav a {
                margin: 10px 0;
            }

            .logo-ticket-row {
                flex-direction: column;
                gap: 20px;
            }
        }
/* back to tpp */
          .back-to-top {
            position: fixed;
            bottom: 40px;
            right: 8%;
            background-color: rgba(7, 82, 90, .7);
            border: 1px solid #FA6905;
            color: #FFF;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            opacity: 0; /* Initially invisible */
            transition: opacity 0.3s ease-in-out;
            z-index: 9999;
            }

        .back-to-top:hover {
            background-color: #3E6198;
            border: 1px solid #FA6905;
            color: #FFF;
            font-family: Arial, Helvetica, sans-serif;
            font-style: normal;
            font-size: .8;
            font-weight: 600; /* font weight */
            }

/* Show the button when the user scrolls down */
        .back-to-top.show {
            opacity: .8;
            font-family: Arial, Helvetica, sans-serif;
            font-style: normal;
            font-size: .8em;
            font-weight: 600;
}

/* Schedule Section Wrapper */
        .schedule-wrapper {
            display: flex;
            flex-wrap: wrap;        /* allow stacking on small screens */
            align-items: flex-start; /* align schedule blocks to top of image */
            gap: 20px;              /* space between image and schedule */
        }

        /* Hero image */
        .schedule-wrapper .hero-wrapper {
            flex: 1 1 45%;
            max-width: 600px;
            border-radius: 10px;
        }

        /* Schedule container */
        .move-in-schedule {
            flex: 1 1 45%;          /* sit next to image */
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

/* Individual schedule blocks */
        .schedule-block {
            background-color: #3E6198;
            color: #fff;
            border-radius: 10px;
            padding: 10px;
            font-weight: bold;
            display: flex;           /* split left/right */
            gap: 10px;
            flex: 1 1 calc(50% - 10px); /* 2 blocks per row max */
            max-width: 200px;
        }

        /* Left half */
        .schedule-left {
            flex: 1;
            text-align: center;
        }

        .schedule-left .day {
            font-size: 14px;
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .schedule-left .number {
            font-size: 5em;
            font-family: "Arial Narrow Bold", Arial, sans-serif;
            line-height: 1;
            transform: scaleX(0.8);
            display: inline-block;
        }

        /* Right half */
        .schedule-right {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
        }

        .schedule-right .label {
            font-size: 18px;
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .schedule-right .time {
            font-size: 14px;
        }

/* Responsive: stack image on top of schedule on small screens */
        @media (max-width: 768px) {
            .schedule-wrapper {
                flex-direction: column;
                align-items: center;
            }

            .schedule-wrapper .hero-wrapper,
            .move-in-schedule {
                flex: 1 1 98%;
                max-width: 98%;
            }

            .schedule-block {
                flex: 1 1 100%;
                max-width: 190px;
            }
        }


        /* Entrant Section */
        /* Flex wrapper for two columns */
                .headers{
                    color: #3E6198;
                    font-weight: bold;
                    line-height: 1em;
                    padding-bottom: 4%;

                }
        .entrant-wrapper {
            display: flex;
            flex-wrap: wrap;             /* allows stacking on small screens */
            gap: 20px;                   /* spacing between columns */
            justify-content: flex-start;
            align-items: flex-start;
            width: 100%;
            box-sizing: border-box;
        }

/* Left Column */
.entrant-info {
    flex: 0 0 40%;           
    min-width: 280px;       
    box-sizing: border-box;
    text-align: justify, center;
}

/* Right Column */
.entry-qualifications {
    flex: 0 0 55%;
    min-width: 300px;
    box-sizing: border-box;
    text-align: justify, center;
}

/* Responsive: stack columns on small screens */
@media (max-width: 768px) {
    .entrant-info,
    .entry-qualifications {
        flex: 1 1 100%;    
    }
}

/* Entrant page staus display*/
.registration-title {
        font-size: 1.2em;
        font-family: "Michroma", sans-serif;
        font-weight: Bold;
        color: #B22222;
        line-height: 1em;
        padding-bottom: 3%;
        }

.registration-info {
        font-size: 1.2em;
        color: #3E6198;
        font-weight: bold;
    margin-top: 0;       /* ensure no extra spacing above */
}

.register-button {
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    background-color:#3E6198;
    padding: 4px 6px;
    border-radius: 3px;
    margin-left: 2px;
    transition: background-color 0.2s;
}

.register-button:hover {
    background-color:#F36322;
    color:#fff;
}

