* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: #fffbea;
    color: #07158f;
    overflow: hidden;
}


/* =====================================
   PAGE
===================================== */

.enquiry-page {
    position: relative;

    width: 100%;
    height: 100vh;

    overflow: hidden;

    background: #fffbea;
}


/* =====================================
   HEADER
===================================== */

.top-bar {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 95px;

    padding: 20px 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 50;

    background: #fffbea;

    border-bottom: 1px solid rgba(7, 21, 143, .12);
}


/* LOGO */

.logo {
    color: #07158f;

    text-decoration: none;

    font-family: "Playfair Display", serif;

    font-size: 24px;

    line-height: .9;

    font-weight: 600;

    max-width: 180px;
}

.logo span {
    display: block;

    font-family: "Dancing Script", cursive;

    color: #e58a19;

    font-size: 21px;

    margin-top: 5px;
}


/* NAVIGATION */

.main-nav {
    display: flex;

    align-items: center;

    gap: 35px;
}

.main-nav a {
    color: #07158f;

    text-decoration: none;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1.3px;

    transition: .25s;
}

.main-nav a:hover {
    color: #e58a19;
}


/* =====================================
   PROGRESS
===================================== */

.progress {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 11px;

    font-weight: bold;

    color: #07158f;

    letter-spacing: 2px;
}

.progress-line {
    width: 50px;

    height: 2px;

    background: #ffc900;
}


/* =====================================
   BACKGROUND PHOTO
===================================== */

.background-image {
    position: absolute;

    top: 95px;
    right: 0;

    width: 48%;

    height: calc(100% - 95px);

    background-image: url("./images/enquiry-hero.jpg");

    background-size: cover;

    background-position: center;

    transition:
        background-image .7s ease,
        transform 1s ease;
}

.background-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,251,234,.05),
            rgba(7,21,143,.08)
        );
}


/* =====================================
   LEFT CONTENT AREA
===================================== */

.enquiry-page::before {
    content: "";

    position: absolute;

    left: 0;

    top: 95px;

    width: 52%;

    height: calc(100% - 95px);

    background: #fffbea;

    z-index: 1;
}


/* =====================================
   STEPS
===================================== */

.step {
    position: absolute;

    top: 95px;
    left: 0;

    width: 52%;

    height: calc(100% - 95px);

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 60px;

    opacity: 0;

    visibility: hidden;

    transform: translateX(50px);

    transition:
        opacity .55s ease,
        transform .55s ease,
        visibility .55s;
}

.step.active {
    opacity: 1;

    visibility: visible;

    transform: translateX(0);
}

.step.previous {
    transform: translateX(-50px);
}


/* =====================================
   CONTENT
===================================== */

.step-content {
    width: 100%;

    max-width: 590px;

    text-align: left;
}

.step-content.wide {
    max-width: 650px;
}


/* NUMBER */

.step-number {
    font-size: 11px;

    font-weight: bold;

    letter-spacing: 3px;

    color: #07158f;

    margin-bottom: 22px;
}

.step-number::before {
    content: "";

    display: inline-block;

    width: 35px;

    height: 3px;

    background: #ffc900;

    vertical-align: middle;

    margin-right: 10px;
}


/* HEADINGS */

.step-content h1 {
    font-family: "Playfair Display", serif;

    color: #07158f;

    font-size: clamp(42px, 4.5vw, 68px);

    line-height: 1.02;

    font-weight: 500;

    margin-bottom: 18px;
}


/* DESCRIPTION */

.description {
    color: #454545;

    max-width: 480px;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 35px;
}


/* =====================================
   INPUTS
===================================== */

.input-wrapper {
    width: 100%;

    margin-bottom: 20px;
}

.input-wrapper label {
    display: block;

    color: #07158f;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 8px;
}

input,
textarea {
    width: 100%;

    border: 2px solid rgba(7,21,143,.18);

    background: white;

    color: #07158f;

    padding: 16px;

    font-family: Arial, sans-serif;

    font-size: 15px;

    outline: none;

    border-radius: 2px;

    transition: .25s;
}

input:focus,
textarea:focus {
    border-color: #07158f;
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

textarea {
    min-height: 140px;

    resize: none;
}


/* =====================================
   BUTTONS
===================================== */

.continue-button,
.submit-button {
    margin-top: 15px;

    border: none;

    background: #ffc900;

    color: #07158f;

    padding: 17px 25px;

    font-family: Arial, sans-serif;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    cursor: pointer;

    transition: .3s;
}

.continue-button:hover,
.submit-button:hover {
    background: #07158f;

    color: white;

    transform: translateY(-2px);
}

.continue-button span,
.submit-button span {
    margin-left: 22px;

    font-size: 17px;

    transition: .3s;
}

.continue-button:hover span,
.submit-button:hover span {
    margin-left: 28px;
}


/* =====================================
   COUNTERS
===================================== */

.counter-group {
    width: 100%;

    max-width: 590px;
}

.counter {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 0;

    border-bottom: 1px solid rgba(7,21,143,.15);
}

.counter strong {
    display: block;

    color: #07158f;

    font-family: "Playfair Display", serif;

    font-size: 20px;
}

.counter small {
    display: block;

    color: #777;

    font-size: 10px;

    margin-top: 4px;
}

.counter-controls {
    display: flex;

    align-items: center;

    gap: 15px;
}

.counter-controls button {
    width: 35px;
    height: 35px;

    border: 1px solid #07158f;

    background: white;

    color: #07158f;

    cursor: pointer;

    border-radius: 50%;

    font-size: 17px;
}

.counter-controls button:hover {
    background: #07158f;

    color: white;
}

.counter-controls span {
    min-width: 20px;

    text-align: center;

    font-weight: bold;
}


/* =====================================
   DATE CHOICES
===================================== */

.choice-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-bottom: 20px;
}

.choice {
    cursor: pointer;
}

.choice input {
    display: none;
}

.choice span {
    display: block;

    padding: 20px;

    background: white;

    border: 2px solid rgba(7,21,143,.15);

    transition: .25s;
}

.choice strong {
    display: block;

    color: #07158f;

    font-family: "Playfair Display", serif;

    font-size: 18px;

    margin-bottom: 6px;
}

.choice small {
    color: #777;

    font-size: 10px;

    line-height: 1.5;
}

.choice input:checked + span {
    background: #07158f;

    border-color: #07158f;
}

.choice input:checked + span strong,
.choice input:checked + span small {
    color: white;
}


/* DATES */

.dates {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}


/* =====================================
   ACTIVITY SELECTIONS
===================================== */

.selection-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;
}

.selection {
    cursor: pointer;
}

.selection input {
    display: none;
}

.selection span {
    display: flex;

    align-items: center;

    min-height: 55px;

    padding: 14px;

    background: white;

    border: 2px solid rgba(7,21,143,.15);

    color: #07158f;

    font-size: 12px;

    transition: .25s;
}

.selection input:checked + span {
    background: #ffc900;

    border-color: #ffc900;

    color: #07158f;
}


/* =====================================
   ISLANDS
===================================== */

.island-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.island {
    cursor: pointer;
}

.island input {
    display: none;
}

.island span {
    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    min-height: 110px;

    padding: 17px;

    background: white;

    border: 2px solid rgba(7,21,143,.15);

    transition: .25s;
}

.island strong {
    font-family: "Playfair Display", serif;

    color: #07158f;

    font-size: 20px;

    font-weight: 500;
}

.island small {
    color: #777;

    font-size: 9px;

    margin-top: 4px;
}

.island input:checked + span {
    background: #07158f;

    border-color: #07158f;
}

.island input:checked + span strong,
.island input:checked + span small {
    color: white;
}


/* =====================================
   FINAL MESSAGE
===================================== */

.final-note {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    margin: 25px 0;

    background: white;

    border-left: 5px solid #ffc900;
}

.final-note span {
    color: #ffc900;

    font-size: 22px;
}

.final-note p {
    color: #555;

    font-size: 11px;

    line-height: 1.6;
}


/* =====================================
   BACK
===================================== */

.navigation {
    position: absolute;

    left: 60px;

    bottom: 30px;

    z-index: 30;
}

.back-button {
    border: none;

    background: transparent;

    color: #07158f;

    font-family: Arial, sans-serif;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1px;

    cursor: pointer;

    text-transform: uppercase;
}

.back-button:hover {
    color: #e58a19;
}


/* =====================================
   MOBILE
===================================== */

@media(max-width: 900px) {

    body {
        overflow: auto;
    }

    .enquiry-page {
        min-height: 100vh;

        height: auto;

        overflow: hidden;
    }

    .top-bar {
        height: 75px;

        padding: 15px 20px;
    }

    .logo {
        font-size: 17px;
    }

    .logo span {
        font-size: 16px;
    }

    .main-nav {
        display: none;
    }

    .progress {
        font-size: 9px;
    }

    .background-image {
        top: 75px;

        width: 100%;

        height: 210px;
    }

    .enquiry-page::before {
        top: 75px;

        width: 100%;

        height: calc(100% - 75px);

        opacity: .96;
    }

    .step {
        top: 75px;

        width: 100%;

        height: calc(100% - 75px);

        padding: 240px 25px 80px;

        align-items: flex-start;

        overflow-y: auto;
    }

    .step-content h1 {
        font-size: 42px;
    }

    .choice-grid,
    .dates {
        grid-template-columns: 1fr;
    }

    .island-grid {
        grid-template-columns: 1fr 1fr;
    }

    .navigation {
        left: 25px;

        bottom: 20px;
    }
}