/* General Styles */
body {
    background-color: #1f1d38;
    font-family: 'area_inktrapthin';
    font-weight: normal;
    font-style: normal;
    color: #DBE1EE;
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    box-sizing: border-box;
    position: relative;
}

/* Background Image and Purple Overlay */
body::before {
    content: '';  /* Create a pseudo-element */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('Media/background.jpeg');  /* Set background image here */
    background-size: cover;  /* Make sure the image covers the full height */
    background-position: center;  /* Keep the image centered */
    background-repeat: no-repeat;  /* Don't repeat the background */
    z-index: -4;  /* Ensure it is behind everything */
}

body::after {
    content: '';  /* Create another pseudo-element for the purple overlay */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(46, 43, 75,0.9);  /* Semi-transparent purple */
    z-index: -3;  /* Ensure it is above the background image but behind the content */
}

/* Base: 1440p desktop look (your current CSS outside media queries) */

/* Section 1: header + main + footer – fits in viewport, no scroll */
.section_1 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: clamp(0.5rem, 2vh, 2rem);
}

header {
    text-align: left;
    padding-left: 0;
    padding-top: clamp(0.75rem, 2vh, 1.5rem);
    line-height: 1.2;
}

header p {
    margin: 0 0 0.1em 0;
}

.header-1 {
    font-size: clamp(2.25rem, 6vw + 1.5rem, 6.2rem);
    white-space: nowrap;
}

.header-2 {
    font-size: clamp(1.1rem, 2.75vw + 0.6rem, 3.25rem);
    white-space: nowrap;
}

.para_one {
    padding-top: clamp(0.5rem, 1.5vh, 1.25rem);
    line-height: 0.2;
}

.para_one , .para_two {
    font-size: clamp(1.25rem, 2.5vw + 0.75rem, 2.5rem);
    font-family: 'area_inktrapthin';
    font-weight: normal;
    font-style: normal;
    text-align: left;
    padding-left: 0;
}

form {
    text-align: left;
    margin-top: 0.25rem;
    padding-left: 0;
    z-index: 10;
}

/* Top area: form (left) and video (right) in line */
.form-and-video {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1600px;
    margin-left: 0;
    margin-right: auto;
    z-index: 10;
}

.form_subscribe {
    flex: 1;
    min-width: 280px;
    max-width: 1600px;
    color: #BFBFBF;
    font-family: 'area_inktrapregular';
    font-weight: normal;
    font-style: normal;
    text-align: left;
    z-index: 10;
}

.formBox_entry {
    border: 0.1rem solid #EA6020;
    outline: none;
    z-index: 10;
}

.form-name {
    width: 100%;
    max-width: 1600px;
    min-width: 380px;
    box-sizing: border-box;
}

/* Email + Join button: same total width as full name (row matches .form-name width) */
.form-email-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 1600px;
    min-width: 380px;
    margin: 0.5rem 0;
    z-index: 10;
    box-sizing: border-box;
}

.form-email-row .form-email {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
}

.form-email-row .join-button {
    flex: 0 0 auto;
    min-width: 10rem;
    margin-top: 0;
    margin-left: 0;
    height: 3.5rem;
}

.form-email {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.form-name,
.form-email {
    height: 3.5rem;
    min-height: 3.5rem;
    background-color: rgba(0, 0, 0, 0);
    color: #BFBFBF;
    font-family: 'area_inktrapregular';
    font-weight: normal;
    font-style: normal;
    padding-left: 0.75rem;
    margin: 0.5rem 0;
    z-index: 10;
    font-size: 1.125rem;
}

.form-name::placeholder,
.form-email::placeholder {
    font-size: 1rem;
}

.form-email-row .form-email {
    margin: 0;
}

.join-button {
    height: 3.5rem;
    min-height: 3.5rem;
    border: 0.1rem solid #EA6020;
    background-color: rgba(0, 0, 0, 0);
    font-size: clamp(1.05rem, 1.25vw + 0.5rem, 1.35rem);
    z-index: 10;
    box-sizing: border-box;
}

.check-box {
    border: 0.2rem;
    background-color: rgba(0, 0, 0, 0);
    z-index: 10;
}

.submit-button {
    cursor: pointer;
    font-family: 'area_inktrapregular';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;
    z-index: 10;
}

/* Video in line with form (right column), same vertical alignment */
.CS-Intro-Video {
    flex: 0 0 auto;
    position: relative;
    right: auto;
    bottom: auto;
    width: min(420px, 40vw);
    max-width: 100%;
    aspect-ratio: 1;
    z-index: 10;
    margin-left: 10%;
}

.video-format {
    border: 0.2rem #EA6020 solid;
    border-radius: 0.5rem;
    box-shadow: 0 0 1rem rgba(234, 96, 32, 0.25);
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

input {
    z-index: 100;
    font-family: 'area_inktrapregular';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;
    padding-left: 0.5rem;
}

input::placeholder {
    font-family: 'area_inktrapregular';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;
    padding-left: 0.5rem;
}

/* Social Media Links */
.social_media_icons {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 0.5rem 0;
    margin-left: 0;
    margin-top: clamp(0.25rem, 0.5vh, 0.5rem);
    z-index: 10;
    position: relative;
}

.social_media_icons li {
    display: inline-block;
    padding: clamp(8px, 1.5vh, 15px);
    text-decoration: none;
    margin: 0 clamp(0.5rem, 1vw, 1rem);
    margin-bottom: 0;
    z-index: 3;
}

.social-media-icons-gray a {
    color: #BFBFBF;
    font-size: clamp(1.75rem, 3vw, 3rem);
    transition: color 0.3s ease-in-out;
}

.social-media-icons-gray a:hover {
    color: #EA6020;
}

/* Footer: social icons left, logo – pushed to bottom of section 1 */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 1vw, 1rem);
    margin-bottom: 2rem;
    position: relative;
}

.section_1 footer {
    margin-top: auto;
    margin-bottom: 0;
}

/* .cityScoop_Logo: inline with social icons in footer, larger, can overlap, sent to back */
.cityScoop_Logo {
    max-width: min(520px, 48vw);
    width: auto;
    height: auto;
    z-index: -1;
    position: relative;
    pointer-events: none;
    list-style-type: none;
    display: flex;
    align-items: center;
}

.cityScoop_Logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cityScoop_Logo_thanks {
    position: absolute; /* Position logo relative to the nearest positioned ancestor (footer) */
    top: 60%; /* Position the logo in the middle vertically */
    transform: translateY(-50%); /* Adjust the logo so it overlaps vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust the logo to be perfectly centered */
    max-width: 100%; /* Ensure logo doesn't overflow */
    height: auto; /* Maintain aspect ratio */
    z-index: -2; /* Bring logo above the social media icons */
    list-style-type: none; /* Removes bullet points, set by the list function */
    clip-path: inset(35% 20% 40% 20%); /* Crops the bottom and top of the 'Transparent' part of image. Removing all overlap possibilities*/
}

.section_2 {
    background: #DBE1EE;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: 100vw;
    padding: clamp(1.5rem, 4%, 3rem);
    line-height: 1.6;
    text-align: center;
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.2rem);
    font-family: 'area_inktrapregular';
    z-index: -1;
    box-sizing: border-box;
}

.section_2 h2 {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 4.5rem);
}

.section_2 p {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sort-uk-button {
    background: #f8be2b;
    color: #2a2848;
    padding: 1rem;
    border-radius: 20px;
    border: 0.5rem #2a2848 solid;
}

.sort-uk-button:hover {
    background: #FFFFFF;
    border: 0.5rem #ea6223 solid;
    cursor: pointer;
}

.section_3 {
    background: #161422;
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: clamp(1.5rem, 5%, 3rem) 6%;
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.35rem);
    color: #DBE1EE;
    box-sizing: border-box;
}

/* Centralise section_3 content; wider column so it feels more filled out */
.section_3 #form_groundPackage,
.section_3 form {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.section_3 label {
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: inherit;
}

/* Option labels alongside their radio/checkbox (e.g. "1 Person", "Museums") */
.section_3 input[type="radio"] + label,
.section_3 input[type="checkbox"]:not(.check-box) + label {
    display: inline;
    margin-left: 0.35rem;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
    cursor: pointer;
}

.section_3 input[type="radio"],
.section_3 input[type="checkbox"] {
    vertical-align: middle;
    cursor: pointer;
}

/* Agreement checkboxes: keep label and checkbox on one line; clickable */
.section_3 label:has(.check-box) {
    display: inline-block;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    max-width: 100%;
    cursor: pointer;
}

/* Uniform text/entry boxes: orange border, white background, black text */
.section_3 input[type="text"],
.section_3 input[type="email"],
.section_3 input[type="date"],
.section_3 input[type="name"],
.section_3 input[type="destination"],
.section_3 textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    height: auto;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
    border: 0.1rem solid #EA6020;
    border-radius: 0.25rem;
    background-color: #ffffff;
    color: #000000;
    font-size: clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
    font-family: inherit;
}

.section_3 textarea {
    min-height: 5rem;
    resize: vertical;
}

.section_3 input::placeholder,
.section_3 textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

/* Radio/checkbox: transparent with orange border; clickable, cursor pointer */
.section_3 input[type="radio"],
.section_3 input[type="checkbox"] {
    margin-right: 0;
    min-height: auto;
    -webkit-appearance: none;
    appearance: none;
    width: 1.15rem;
    height: 1.15rem;
    min-width: 1.15rem;
    min-height: 1.15rem;
    border: 0.15rem solid #EA6020;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
}

.section_3 input[type="radio"]:hover,
.section_3 input[type="checkbox"]:hover {
    cursor: pointer;
}

.section_3 input[type="radio"] {
    border-radius: 50%;
}

.section_3 input[type="radio"]:checked {
    background-color: #EA6020;
}

.section_3 input[type="checkbox"] {
    border-radius: 0.2rem;
}

/* Checkbox when checked: orange tick */
.section_3 input[type="checkbox"]:checked {
    background-color: #EA6020;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='%23ffffff' d='M4 8L0 4l1.5-1.5L4 5 10.5-1.5 12 0 4 8z'/%3E%3C/svg%3E");
    background-size: 0.75rem 0.6rem;
    background-repeat: no-repeat;
    background-position: center;
}

.section_3 input[type="checkbox"].check-box {
    border: 0.15rem solid #EA6020;
    background-color: transparent;
}

.section_3 input[type="checkbox"].check-box:checked {
    background-color: #EA6020;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='%23ffffff' d='M4 8L0 4l1.5-1.5L4 5 10.5-1.5 12 0 4 8z'/%3E%3C/svg%3E");
    background-size: 0.75rem 0.6rem;
    background-repeat: no-repeat;
    background-position: center;
}

.section_3_heading {
    text-align: center;
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.section_3 button[type="submit"] {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 2.75rem;
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    box-sizing: border-box;
    border: none;
    border-radius: 0.25rem;
    background-color: #dfcd1a;
    color: #161422;
    font-size: clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
    font-family: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}


/* ThankYou.html */

.text_center p {
    text-align: center;
    font-size: 1.5rem;
    color: #BFBFBF;
    font-family: "Poppins", serif;
    font-weight: 200;
    font-style: normal;
}

.social-media {
    text-align: center;   
}

.iframe_socials p {
    text-align: center;
    font-size: 1.5rem;
    color: #BFBFBF;
    font-family: "Poppins", serif;
    font-weight: 200;
    font-style: normal;
    line-height: 0.4rem;
}

.reminder {
    font-size: 1rem;
}

/* =========================
   Media Queries – responsive from 2560 baseline
   ========================= */

/* 1920px – smaller desktops / laptops */
@media screen and (max-width: 1920px) {
    .CS-Intro-Video {
        width: min(400px, 40vw);
    }

    .cityScoop_Logo {
        max-width: min(480px, 45vw);
    }
}

/* Desktop: header-1 on one line at 1025px–1920px */
@media screen and (min-width: 1025px) and (max-width: 1920px) {
    .header-1 {
        font-size: clamp(2.25rem, 4.5vw + 1rem, 4.8rem);
    }

    .header-2 {
        font-size: clamp(1rem, 2.5vw + 0.5rem, 2.9rem);
    }
}

/* 1920x1080 only: narrower form inputs */
@media screen and (min-width: 1900px) and (max-width: 1930px) {
    .form-name,
    .form-email-row {
        max-width: 630px;
        min-width: 350px;
    }
}

/* 1440px – typical laptop */
@media screen and (max-width: 1440px) {
    .CS-Intro-Video {
        width: min(380px, 38vw);
    }

    .cityScoop_Logo {
        max-width: min(420px, 42vw);
    }
}

/* 1024px – tablet landscape / small laptop */
@media screen and (max-width: 1024px) {
    .container {
        padding-left: 6%;
        padding-right: 6%;
    }

    .section_1 header {
        padding-top: clamp(0.6rem, 1.8vh, 1.25rem);
    }

    .section_1 .para_one {
        padding-top: clamp(0.4rem, 1.2vh, 1rem);
    }

    .form-and-video {
        flex-direction: column;
        align-items: center;
    }

    .CS-Intro-Video {
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .cityScoop_Logo {
        max-width: 420px;
    }

    .section_2 p {
        max-width: 90%;
    }
}

/* 768px – tablet portrait */
@media screen and (max-width: 768px) {
    .container {
        padding-left: 5%;
        padding-right: 5%;
    }

    .section_1 header {
        padding-top: clamp(0.5rem, 1.5vh, 1rem);
    }

    .section_1 .para_one {
        padding-top: clamp(0.35rem, 1vh, 0.75rem);
    }

    .section_1 .social_media_icons {
        padding: 0.35rem 0;
        margin-top: 0;
    }

    header {
        text-align: center;
        padding-left: 0;
    }

    .header-1,
    .header-2 {
        text-align: center;
    }

    .para_one,
    .para_two {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .para_one {
        line-height: 1.6;
    }

    .form_subscribe form {
        padding-left: 0;
    }

    /* Stack email and submit: button beneath email, all 3 boxes same length */
    .form-email-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-email-row .form-email,
    .form-email-row .join-button {
        width: 100%;
        max-width: 100%;
    }

    .form-email-row .join-button {
        margin-top: 0;
    }

    .form-name,
    .form-email,
    .join-button {
        max-width: 100%;
    }

    .CS-Intro-Video {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .cityScoop_Logo {
        display: none;
    }

    .social_media_icons {
        justify-content: center;
        margin-left: 0;
    }

    .section_2 h2 {
        line-height: 1.3;
    }

    .section_2 p {
        margin-left: auto;
        margin-right: auto;
        max-width: 95%;
    }

    .section_3 {
        padding-left: 5%;
        padding-right: 5%;
        overflow-x: hidden;
    }

    /* Section 3: date input - strip native appearance so it respects width on mobile */
    .section_3 #form_groundPackage,
    .section_3 form {
        overflow-x: hidden;
        max-width: 100%;
    }

    .section_3 input[type="date"] {
        -webkit-appearance: none;
        appearance: none;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* 480px – large phones */
@media screen and (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section_1 header {
        padding-top: clamp(0.35rem, 1vh, 0.75rem);
    }

    .section_1 form {
        margin-top: 0.15rem;
    }

    .section_1 .para_one {
        padding-top: clamp(0.25rem, 0.8vh, 0.5rem);
    }

    .section_1 .form-and-video {
        gap: 0.5rem;
    }

    .section_1 .social_media_icons {
        padding: 0.25rem 0;
    }

    main br {
        display: none;
    }

    .form_subscribe p {
        font-size: clamp(0.95rem, 4vw, 1.5rem);
    }

    .CS-Intro-Video {
        max-width: 280px;
    }

    .cityScoop_Logo {
        display: none;
    }

    .section_3 {
        padding-left: 1rem;
        padding-right: 1rem;
        overflow-x: hidden;
    }

    /* Section 3 date input: strip native appearance to fix width on small phones */
    .section_3 input[type="date"] {
        -webkit-appearance: none;
        appearance: none;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    input,
    input::placeholder {
        font-size: 1rem;
    }
}

/* 360px – small phones */
@media screen and (max-width: 360px) {
    .section_1 header {
        padding-top: clamp(0.25rem, 0.8vh, 0.5rem);
    }

    .section_1 .para_one {
        padding-top: 0.2rem;
    }

    .header-1 {
        font-size: 1.85rem;
    }

    .header-2 {
        font-size: 1.1rem;
    }

    .CS-Intro-Video {
        max-width: 100%;
    }

    .cityScoop_Logo {
        display: none;
    }
}


/* Area Inktrap fonts... */


@font-face {
    font-family: 'area_inktrapthin';
    src: url('https://cityscoop.co.uk/css/fonts/fonnts.com-area_inktrap_thin-webfont.woff2') format('woff2'),
         url('https://cityscoop.co.uk/css/fonts/fonnts.com-area_inktrap_thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'area_inktrapregular';
    src: url('https://cityscoop.co.uk/css/fonts/fonnts.com-area_inktrap_regular-webfont.woff2') format('woff2'),
         url('https://cityscoop.co.uk/css/fonts/fonnts.com-area_inktrap_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}