/* ==========================================================================
   OFFICIAL COLOR PALETTE & TYPOGRAPHY VARIABLES
   ========================================================================== */
:root {
    /* Primary */
    --color-cherry: #BE0B10;
    --color-fuchsia: #FF3399;
    --color-cream: #F2E2CE;

    /* Secondary */
    --color-denim: #3399CC;
    --color-honey: #FFCC00;
    --color-plum: #652E68;

    /* Accents & Neutrals */
    --color-chartreuse: #A1B54E;
    --color-cocoa: #3F2312;
    --color-white: #FFFFFF;
    --color-black: #000000;

    /* Fonts */
    --font-main-header: 'Roslindale Display Narrow', serif;
    --font-subheader: 'Bergman Sans', sans-serif;
    --font-special: 'Darkslide', cursive;
    --font-body: 'DM Sans', sans-serif;
}

/* ==========================================================================
   LOCAL FONTS
   ========================================================================== */
@font-face {
    font-family: 'Roslindale Display Narrow';
    src: url('../fonts/RoslindaleDisplayNarrow-Regular.woff2') format('woff2'),
        url('../fonts/RoslindaleDisplayNarrow-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bergman Sans';
    src: url('../fonts/BergmanSans.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Darkslide';
    src: url('../fonts/Darkslide.woff2') format('woff2'),
        url('../fonts/Darkslide.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: calc(1em + 13px);
    overflow-x: hidden;
    background-color: var(--color-cream);
    color: var(--color-cocoa);
}

.container {
    max-width: 1500px;
    width: 90%;
    margin: 0 auto;
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   TYPOGRAPHY SUITE
   ========================================================================== */
.main-header {
    font-family: var(--font-main-header);
    font-size: 4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: calc(1em + 15px);
}

.subheader {
    font-family: var(--font-subheader);
    font-size: 2.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: calc(1em + 15px);
    margin-bottom: 1.5rem;
}

.special-text {
    font-family: var(--font-special);
    font-size: 2rem;
    text-transform: none;
    font-weight: 400;
    margin-top: -5px;
    margin-bottom: 2rem;
}

button,
.btn {
    font-family: var(--font-subheader);
    padding: 16px 45px;
    border: none;
    border-radius: 50px !important;
    /* Strict Pill Shape */
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;

    /* Strips default browser/OS styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    display: inline-block;
}

/* Button colors mapped to correct section backgrounds */
.color-combo-1 .btn {
    background-color: var(--color-cherry);
    color: var(--color-cream);
}

.color-combo-3 .btn {
    background-color: var(--color-fuchsia);
    color: var(--color-cream);
}

.color-combo-4 .btn {
    background-color: var(--color-plum);
    color: var(--color-white);
}

.color-combo-3 .btn:hover,
.color-combo-4 .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: transparent;
    z-index: 1005;
    transition: background 0.3s ease;
}

/* Scrolled state */
#navbar.scrolled {
    background: var(--color-plum);
}

#navbar a {
    color: var(--color-cream);
    text-decoration: none;
    font-weight: 500;
    margin: 0 15px;
    /* font-size: 0.9rem; */
    font-size: 1.25rem;
    text-transform: uppercase;
}

.nav-left,
.nav-right,
.nav-center {
    flex: 1;
}

.nav-center {
    text-align: center;
}

.brand-name {
    font-family: var(--font-main-header) !important;
    font-size: 1.8rem !important;
    color: var(--color-cream) !important;
}

.nav-logo {
    width: 50px;
    height: 50px;
    background-color: var(--color-cream);
    -webkit-mask-image: url('../img/DR_Monogram_Cream.svg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('../img/DR_Monogram_Cream.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.nav-right {
    text-align: right;
}

/* ==========================================================================
   SECTIONS & COLOR COMBINATIONS
   ========================================================================== */
/* Hero / Video Placeholder */
.fullscreen-video-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    /* Align content toward the bottom */
    justify-content: center;
    padding-bottom: 5vh;
    /* Positions content at 95% down (leaving 5% space from bottom) */
    color: var(--color-white);
}

/* Dark tint overlay for the background video */
.fullscreen-video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-logo {
    width: 90%;
    max-width: 1280px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.5));
}

.hero-content .special-text {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-top: -10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

/* Section Colors */
.color-combo-1 {
    background-color: var(--color-cherry);
    color: var(--color-cream);
}

.color-combo-2 {
    background-color: var(--color-cream);
    color: var(--color-cherry);
}

.color-combo-3 {
    background-color: var(--color-denim);
    color: var(--color-honey);
}

.color-combo-4 {
    background-color: var(--color-honey);
    color: var(--color-plum);
}

/* ==========================================================================
   SECTION SPECIFIC STYLES
   ========================================================================== */
/* My Story */
.story-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.story-img {
    width: 40%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

.bio-text {
    width: 60%;
}

.bio-text p {
    margin-bottom: 1.5rem;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

.graphics-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.graphic-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid currentColor;
    padding: 40px 20px;
    text-align: center;
    font-weight: bold;
}

/* Merch */
.merch-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.merch-img:hover {
    transform: scale(1.02);
}

/* Forms */
.form-container {
    max-width: 600px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

input::placeholder,
textarea::placeholder {
    color: inherit;
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Form Feedback Messages */
.form-success {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid currentColor;
    font-weight: bold;
    text-align: center;
}

.form-error {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid currentColor;
    font-weight: bold;
    text-align: center;
}

/* ==========================================================================
   FOOTER & SOCIALS
   ========================================================================== */
footer {
    background-color: var(--color-cocoa);
    color: var(--color-chartreuse);
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
    width: 100%;
    display: block !important;
    clear: both;
}

.footer-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    background-color: var(--color-chartreuse);
    -webkit-mask-image: url('../img/DR_Monogram_Cream.svg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('../img/DR_Monogram_Cream.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.footer-logo:hover {
    background-color: var(--color-denim);
    transition: background-color 0.3s ease;
}

.social-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icon {
    font-size: 2.2rem;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    filter: brightness(1.2);
}

.icon-yt {
    color: var(--color-cherry);
}

.icon-ig {
    color: var(--color-fuchsia);
}

.icon-tt {
    color: var(--color-denim);
}

/* ==========================================================================
   ENLARGED VIDEO SIZING & MODAL STYLING
   ========================================================================== */

/* Large On-Page Reel Video (Upgraded) */
.video-wrapper {
    margin: 30px auto 0;
    width: 92%;
    /* Allows fluid spacing on smaller devices */
    max-width: 850px;
    /* ENLARGED: Bigger presence on your page */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background-color: #000;
}

.sizzle-video {
    width: 100%;
    height: auto;
    display: block;
}


/* Full-Screen Cinematic Modal Overlay */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Dark backdrop */
    backdrop-filter: blur(8px);
}

/* Modal Content Container - Spans wider */
.modal-container {
    position: relative;
    z-index: 10000;
    width: 95%;
    /* Takes up nearly the full browser width */
    max-width: 1450px;
    /* ENLARGED: Expanded significantly for a theater experience */
}

/* Close button positioning for huge screen scale */
.modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    color: var(--color-honey, #f5e1cc);
    transform: scale(1.1);
}

/* Modal Video Wrapper & View bounds */
.modal-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 cinematic widescreen */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    background-color: #000000;
}

.modal-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & HAMBURGER MENU
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--color-cream);
    cursor: pointer;
    z-index: 1002;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-cocoa);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1004;
}

.mobile-nav-overlay.active {
    transform: translateY(0);
}

.mobile-link {
    font-family: var(--font-subheader);
    font-size: 2rem;
    color: var(--color-cream);
    text-decoration: none;
    margin: 20px 0;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-align: center;
}

.mobile-link:hover {
    color: var(--color-fuchsia);
}

@media (max-width: 768px) {

    .nav-left,
    .nav-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    #navbar {
        padding: 15px 20px;
    }

    .brand-name {
        font-size: 1.2rem !important;
    }

    .nav-logo {
        width: 30px;
        height: 30px;
    }

    .story-content {
        flex-direction: column;
        text-align: center;
    }

    .story-img {
        width: 70%;
    }

    .bio-text {
        width: 100%;
    }

    .graphics-row {
        flex-direction: column;
    }

    footer {
        padding: 30px 15px;
    }

    .main-header {
        font-size: 3rem;
    }
}