:root {
    /* Pink */
    /* --bgColor: #de6969; */
    /* --borderColor: #d16161; */
    /* --nullColor: #df4e4e; */

    /* Black */
    --theme1: #de6969;
    --theme2: #ff5c5c;
    --theme3: #ffc037;
    --corner: 12px;
    --mainPadding: 26px;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    /* background: #121212; */
}

/** === Shared Styles === */
.title {
    font-size: 108px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 1px;
    color: #e85d5d;
    margin: 0;
    text-transform: uppercase;
    max-width: 700px;
    /* margin: 10px 0 40px; */

    margin-top: 30%;
}

.subtitle {
    font-size: 14px;
    max-width: 400px;
    letter-spacing: 1px;
    font-weight: lighter;
}





/* ===Shared Section Layout=== */
body>section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    height: 100vh;

    box-sizing: border-box;
    color: #fff;
    font-family: 'Apex', sans-serif;
    z-index: 1;
    /* lets background canvas stay interactive if needed */
}

body>section>.content {
    min-height: 100vh;
    width: 100%;
    padding: var(--mainPadding);
    box-sizing: border-box;
    /* border: 1px solid wheat; */
}

.content button {
    font-family: 'Apex', sans-serif;
    /* use your custom font */
    font-weight: bold;
    text-transform: uppercase;
}

.padded-div {
    height: 50vh;
    /* background-color: #121212; */
}






/** ===BG Canvas=== **/
.bg-canvas {
    position: fixed;
    top: 0;
    left: 50%;
    /* start positioning from center of viewport */
    transform: translateX(-50%);
    pointer-events: none;

    /* shift back half of its own width */
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #e94848, #121212);
    /* Placeholder background, can be replaced with canvas or animation */
}






/** === First Section === */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* height: 100%; */
}

.hero-title span {
    color: #ff5c5c;
    /* accent red */
}

.reserve-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    padding: 6px;
    max-width: 400px;
    width: 90%;
    margin: 0;
    backdrop-filter: blur(6px);

    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 100%);
}

.reserve-form input {
    flex: 1 1 auto;
    /* allow input to shrink */
    min-width: 0;
    /* critical: allows shrinking inside flex */
    border: none;
    background: transparent;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 10px;
    outline: none;
}

.reserve-form input::placeholder {
    color: #bbb;
}

.reserve-form button {
    flex-shrink: 0;
    /* button never shrinks */
    max-width: 100px;
    background-color: #de6969;
    border: none;
    color: white;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease;
}

.reserve-form button:hover {
    background-color: #e07e7e;
}

.form-note {
    font-size: 12px;
    color: #ccc;
    text-align: left;
    margin-top: 6px;
    font-family: 'Poppins', sans-serif;
    max-width: fit-content;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: auto;
}

.stat {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

.stat .label {
    font-weight: bold;
    color: #ffb347;
    margin-bottom: 5px;
}

.stat .value {
    font-size: 2rem;
    font-weight: normal;
    color: #fff;
}






/** === Second section === */
.second-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* pushes everything to the right */
    text-align: right;
    /* aligns text to the right side */
}

.second-content button {
    margin-bottom: auto;
}






/** === Third section === */
.third-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* pushes everything to the right */
    text-align: right;
    /* aligns text to the right side */

    /* background-color: #717750; */
}

.third-content>* {
    max-width: calc(100vw - var(--mainPadding));
}

.content-abs-wrap {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    bottom: 45px;
    right: var(--mainPadding);
    z-index: 1;
}

.legend-viewer {
    position: absolute;
    background-color: #ffffff;
    width: 80%;
    top: calc(2 * var(--mainPadding));
    left: var(--mainPadding);
    z-index: 0;
    display: none; 
}






/** === Fourth Section (footer) === */
.fourth-content {
    background: #5f5f5f;
    color: #e85d5d;
    border-radius: 30px 30px 0 0;
    /* padding: 60px 5vw; */
    height: 100%;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between; */
    font-family: 'Apex', sans-serif;
}

.fourth-content .title {
    color: #ff5c5c;
    margin-top: 10vh;
}

/* Social Icons */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    /* allows wrapping on small screens */
    gap: 30px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.social-icons a img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* makes logos white */
}

.social-icons a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.terms-container {
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #aaa;
    margin-top: auto;
    /* justify-self: flex-end; */
}

.terms-container>a {
    text-decoration: none;
    color: white;
}















/* Responsive (mobile first) */
@media (max-width: 768px) {
    .title {
        font-size: 14vw;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* .reserve-form {
        flex-direction: column;
        align-items: stretch;
    } */

    .reserve-form button {
        width: 100%;
    }

    .hero-stats {
        gap: 20px;
        flex-direction: column;
    }

    :root {
        --mainPadding: 10px;
    }
}