/* Modern Reset & Variables */
:root {
    --bg-color: #FFFFFF;
    --text-color: #282828;
    --accent-color: #E72C25;
    /* Vibrant Red */
    --accent-hover: #c41e17;
    --surface-color: #FAFAFA;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: "area-extended", sans-serif;
    font-weight: 200;
    font-style: normal;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-color);
    letter-spacing: 1px;
}

h1 {
    font-size: 4.5rem;
    color: var(--text-color);
    background: none;
    -webkit-text-fill-color: initial;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

p {
    font-size: 1rem;
    color: #000;
    font-weight: 600;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

@media (max-width: 800px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }
}

/* Header / Hero Section */
.hero-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 90vh;
}

@media (max-height: 500px) {
    .hero-section {
        height: unset;
        min-height: 90vh;
    }
}

.hero-section img {
    position: absolute;
    top: -2rem;
    right: 5%;
    bottom: 0;
    margin: auto;
    width: 40%;
    height: auto;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
}

.custom-play {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 47.5%;
    transform: translateX(-50%);
    margin: auto;
    width: 7vw;
    height: 7vw;
    border: 2px solid #FFF;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5) url(images/arrow-play.svg) 57.5% 50% no-repeat;
    background-size: 33%;
    transition: all 0.2s ease-in-out;
    cursor: pointer;

}

.custom-play:hover {
    background-color: #000;
}

.hero-section video {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 20%;
}

.hero-section p {
    position: absolute;
    font-size: 0.9vw;
    width: 90%;
    left: 0;
    right: 0;
    margin: 0 auto 1rem;
    bottom: 0;
    text-align: center;
    color: #FFF;
}

@media (max-width: 800px) {
    .hero-section {
        height: auto;
    }

    .hero-section p {
        font-size: 1.1vw;
        margin: 0 auto 0;
        bottom: 0.5rem;
    }
}

.cloud-arrow {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 8vh;
    width: auto;
    margin-top: -2vh;
    z-index: 3;
}

.zero-revisions {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 0 0;
}

.cheers {
    max-width: 50%;
    padding: 1rem 0 3rem;
}

/* Analysis Section */
.analysis-section {
    padding: 4rem 0;
    background-color: var(--surface-color);
    text-align: center;
    max-width: 75%;
    margin: 4rem auto;
    border-top: 1px solid #eee;
    border-radius: 75px;
    position: relative;
    z-index: 2;
}

.analysis-section p {
    font-weight: 900;
    color: #304370;
}

.upload-container {
    max-width: 100%;
    margin: 2rem auto;
    position: relative;
    z-index: 600;
}

@media (max-width: 800px) {
    .upload-container {
        margin: 0 auto 2rem;
    }
}

.upload-zone {
    border: none;
    border-radius: 0;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--surface-color);
    width: 100%;
    outline: 1px dashed rgba(255, 255, 255, 0);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent-color);
    outline: 1px dashed rgba(0, 0, 0, 0.5);
}

.upload-headline {
    max-width: 75%;
    margin-bottom: 1rem;
}

.upload-mascot {
    max-width: 35%;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    mix-blend-mode: multiply;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.upload-zone p {
    font-family: "area-extended-light", sans-serif;
    font-weight: 300;
    font-style: italic;
    margin: 0;
}

.upload-zone p.disclaimer {
    font-size: 12px;
    margin: 0 0 1rem;
}

@media (max-width: 800px) {
    .upload-zone {
        padding: 0;
        margin-top: 1rem;
    }

    .upload-zone p.disclaimer {
        display: block;
        margin-top: 0.5rem;
    }
}

.analysis-result {
    margin-top: 2rem;
}

.hidden {
    display: none !important;
}

/* Loader */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #ddd;
    border-bottom-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin-bottom: 2rem;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Result Content */
/* Result Content & Accordion */
.result-content {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.split-layout {
    position: relative;
    display: block;
}

.image-container {
    position: absolute;
    font-weight: 800;
    color: inherit;
    top: 20px;
    left: 20px;
    width: 25%;
    max-width: 200px;
    max-height: 50%;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-response-container {
    width: 100%;
}

.image-container h3,
.video-response-container h3 {
    font-size: 1rem;
    letter-spacing: 0;
    margin-bottom: 0.5rem;
    color: #304370;
}

.uploaded-preview {
    width: 100%;
    max-height: 175px;
    border-radius: 0;
    box-shadow: none;
    display: block;
    margin: 0 auto;
    border: 1px solid #eee;
    object-fit: cover;
    object-position: center;
}

.response-video {
    width: 100%;
    border: 1px solid #eee;
    display: block;
}

@media (max-width: 768px) {
    .result-content {
        padding: 1rem 1rem 2rem;
    }

    .image-container {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        max-height: none;
        box-shadow: none;
        margin-bottom: 1rem;
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        align-items: center;
    }

    .video-response-container {
        width: 100%;
    }

    #analysis {
        width: 90%;
        max-width: 90%;
        padding: 3rem 1rem 1rem;
        border-radius: 50px;
    }

    .upload-mascot {
        max-width: 100%;
        width: 100%;
    }

    #uploaded-image {
        width: 33%;
        max-height: 6rem;
        margin: 0 0 0 1rem;
        object-fit: cover;
        object-position: top center;
        border: 1px solid #000;
    }

    .upload-headline {
        width: 100%;
        max-width: 100%;
    }
}

.bucket-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-color);
    color: white;
    border-radius: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-small {
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 0.8rem 2rem;
    border-radius: 0;
    cursor: pointer;
    margin-top: 2rem;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-small:hover {
    background: var(--text-color);
    color: white;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background-color: var(--bg-color);
}

.container {
    max-width: 95%;
    margin: 0 auto;
}

/* Footer */
footer {
    padding: 3.5rem 2rem 1rem;
    text-align: center;
    background-color: #111;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    color: #FFF;
}

footer p {
    font-weight: 500;
    color: #FFF;
    font-size: 10px;
    margin: 1rem auto 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0 1rem;
}

.social-links a {
    color: white;
    transition: var(--transition);
    display: flex;
    f align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.logo-split {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: space-around;
    flex-flow: row;
}

@media (max-width: 800px) {
    .logo-split {
        flex-flow: column;
    }
}

footer a[href*="bornandraisedagency.com"],
footer a[href*="brownsteingroup.com"] {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}

footer a[href*="bornandraisedagency.com"] {
    max-width: 250px;
}

footer a[href*="brownsteingroup.com"] {
    max-width: 350px;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    footer {
        flex-flow: column;
    }

    footer img.bandr-production {
        padding: 2rem 0;
    }

    h1 {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .all-logos #footer-logo img {
        width: 100%;
        max-width: 260px;
    }

    .flex-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        place-items: center;
    }

    .upload-zone {
        padding: 2rem 0;
    }
}

.all-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
}

.all-logos #footer-logo img {
    height: auto;
    width: 320px;
}

.flex-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1024px;
    margin: 0 auto 2rem;
    width: 100%;
}

/* Higher specificity to override legacy footer a styles */
.all-logos .flex-strip a {
    width: auto;
    max-width: none;
    margin: 0;
    height: auto;
    display: flex;
}

.flex-strip img {
    height: 100px;
    width: auto;
    transition: var(--transition);
}

@media (max-width: 800px) {
    .flex-strip img {
        height: 80px;
    }
}

.flex-strip a:hover img {
    opacity: 0.8;
}

#snowscape {
    background-color: #0b183b;
    background-image: url(images/sky.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 40%;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

#snowscape section {
    position: relative;
    z-index: 2;
}

#sky-video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 800px) {
    #sky-video {
        height: 130%;
    }
}

.town {
    position: relative;
    display: block;
    margin: 2rem auto 0;
    width: 100%;
    height: auto;
    z-index: 2;
}

#holiday-cheer {
    position: relative;
    width: 90%;
    max-width: 1024px;
    text-align: center;
    margin: 6rem auto 2rem;
    color: #FFF;
}

#holiday-cheer p {
    color: #FFF;
    font-size: 1.6rem;
    width: 100%;
    max-width: 640px;
    line-height: 2;
    font-family: tuppence, sans-serif;
    font-weight: 500;
    margin: 1rem auto;

}

@media (max-width: 800px) {
    #snowscape {
        background-color: #0c193c;
        background-position: center 150px;
    }

    #holiday-cheer {
        margin-top: 6rem;
    }

    #holiday-cheer p {
        font-size: 1.5rem;
        width: 100%;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-content {
    position: relative;
    width: min(90vw, 1280px, calc((100vh - 6rem) * 1.7778));
    aspect-ratio: 16 / 9;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.video-modal-content video {
    width: 100%;
    height: 100%;
    display: block;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-color);
}

@keyframes cloudBob {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4%);
    }

    100% {
        transform: translateY(0);
    }
}

#clouds {
    width: 100%;
    display: block;
    margin: -10% auto 0;
    position: relative;
    z-index: 3;
    pointer-events: none;
}

.cloud {
    position: absolute;
    display: block;
    height: 80%;
    width: auto;
    max-width: unset;
    pointer-events: none;
    animation: cloudBob 5s ease infinite;
}

.cloud:first-child {
    left: -5%;
}

.cloud:nth-of-type(2) {
    right: -5%;
    animation-duration: 5.3s;
}

#clouds img:not(.cloud) {
    opacity: 0;
    width: 100%;
    height: auto;
}

@media (max-width: 800px) {
    #clouds {
        margin: -30% auto 0;
    }

    .cloud:first-child {
        left: -33%;
    }

    .cloud:nth-of-type(2) {
        right: -33%;
        animation-duration: 5.3s;
    }

    #clouds img:not(.cloud) {
        width: 150%;
    }
}