@import url('https://www.mcdonaldscarshow.com/Platform/Component/CSS/DesignScheme/Initialize.css');




html, body
{
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

header, footer
{
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
}

header
{
    display: flex;
    top: 0;
    height: 75px;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    background-color: var(--mcdsRed);
    color: var(--white);
    /* padding: 0 1rem; */



    text-align: center;
}

footer
{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
    z-index: 1000;
}

/* Adjust content height to fit dynamic footer */
#content
{
    position: absolute;
    top: 75px; /* Header Height */
    bottom: auto;
    left: 0;
    right: 0;
    padding-bottom: 20px; /* Extra space for taller footer */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
}

/* Scrollable content area */
#content
{
    position: absolute;
    top: 75px; /* Match Header Height */
    bottom: 75px; /* Match Footer Height */
    left: 0;
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
}

nav
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul
{
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav a
{
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero
{
    /* background: url('https://www.mcdonaldscarshow.com/Platform/Images/Banner/Yellow.png') center/cover no-repeat; */
    color: white;
    /* width: 80%; */
    padding: 1rem 1rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 2rem;
    background-color: #ffbc0d;

}

.hero-content
{
    background: rgba(0, 0, 0, 1);
    display: inline-block;
    padding: 1rem;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1
{
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p
{
    font-size: 1.1rem;
    line-height: 1.6;
}

.intro
{
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.intro h2
{
    color: #DA291C;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.intro p
{
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}


.btn-register
{
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: #FFC72C;
    color: #DA291C;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-register:hover
{
    background: #FFD95C;
}

.intro
{
    padding: 3rem 2rem;
    text-align: center;
}

.intro h2
{
    color: #DA291C;
    font-size: 2rem;
    margin-bottom: 1rem;
}

form
{
    max-width: 600px;
    margin: 1rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

form label
{
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

form input
{
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.btn-register
{
    display: inline-block;
    margin-top: 1.5rem;
    background: #DA291C;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.input-field
{
    width: 100%;
    /* max-width: 500px; */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea.input-field
{
    height: 120px; /* Adjust as needed */
    resize: vertical; /* Let them resize vertically if desired */
}

.main-content
{
    padding: 20px;
    overflow-y: auto;
    height: 100vh;
    box-sizing: border-box;
}

.hero
{
    /* background: url('https://www.mcdonaldscarshow.com/Platform/Images/Banner/Yellow.png') no-repeat center center; */
    background-size: cover;
    /* padding: 60px 20px; */
    text-align: center;
    color: white;
    background-color: #ffbc0d;
}

.hero-content
{
    /* background-color: rgba(0, 0, 0, 0.8); */
    background-color: #DA291C;
    /* padding: 40px; */
    border-radius: 10px;
    display: inline-block;
    max-width: 800px;
}

section
{
    margin-bottom: 40px;
}

img
{
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    display: block;
    margin-bottom: 10px;
}

.button
{
    background-color: #ffbc0d;
    color: black;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
}

.button:hover
{
    background-color: #e0a800;
}


*
{
     box-sizing: border-box;
}

body, html
{
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', sans-serif;
    overflow-x: hidden;
}

.main-content
{
    padding: 20px;
    overflow-y: auto;
    height: 100vh;
    box-sizing: border-box;
}

section
{
    margin-bottom: 40px;
    padding: 0 10px;
}

img
{
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 10px;
}

.button
{
    background-color: #ffbc0d;
    color: black;
    padding: 12px 18px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
    text-align: center;
    width: 100%;
}

.button:hover
{
    background-color: #e0a800;
}

ul
{
    padding-left: 20px;
}

@media (max-width: 768px)
{
  header, footer
  {
      text-align: center;
      padding: 10px;
  }

  .button
  {
      font-size: 1.1rem;
  }

  section
  {
      padding: 10px;
  }

}


header.site-header
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #da291c;
    color: white;
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

header .logo
{
    font-weight: bold;
    font-size: 1.4rem;
}

header nav a
{
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
}

header nav a:hover
{
    text-decoration: underline;
}

/* DESKTOP HEADER NAVIGATION */
.menu-toggle
{
  display: none;
}

#content
{
    padding-top: 80px; /* Prevent Header Overlap */
    padding-bottom: 80px; /* Prevent Footer Overlap */
}

footer.site-footer
{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f2f2f2;
    /* padding: 15px 20px; */
    font-size: 0.85rem;
    color: #333;
    text-align: center;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
    z-index: 999;
    background: #333;
    color: white;
}

@media (max-width: 768px)
{
    header.site-header
    {
        flex-direction: column;
        text-align: center;
    }
    /* Mobile Navigation Dropdown */
    header nav
    {
        /* margin-top: 10px; */
        /* border-bottom : 1px solid #ffbc0d; */
    }

    header nav a
    {
        margin: 5px 10px;
        display: inline-block;
    }

    header, footer
    {
        text-align: center;
        padding: 5px;
    }

    footer, footer.site-footer
    {
        height: 75px;
        overflow: scroll;
        font-size: .1rem;
        pading: 10px;
        margin: 0px;
        /* line-height: 1; */
    }

    h1
    {
        font-size: 1.5rem;
    }

    h2
    {
        font-size: 1.25rem;
    }

    p, li
    {
        font-size: 0.95rem;
    }

    .button
    {
        font-size: 1rem;
        padding: 10px 12px;
    }

    section
    {
        padding: 6px;
    }

    .main-content
    {
        padding: 8px;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    header
    {
        padding: 10px 15px;
    }

    header h1
    {
        font-size: 1.2rem;
        margin: 0;
    }

    nav
    {
        /* display: none; */
        flex-direction: column;
        background-color: #da291c;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        z-index: 1000;
        /* border: 1px solid purple; */
    }

    nav a
    {
        padding: 10px 15px;
        font-size: 1rem;
        color: white;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .menu-toggle
    {
        display: block;
        cursor: pointer;
        font-size: 1.8rem;
        color: white;
        background: none;
        border: none;
        margin-left: auto;
    }

    .nav-open nav
    {
        display: flex;
    }
}

/* Mobile Header & Hamburger Menu Enhancements, --Needs Moved-- */
@media (max-width: 768px)
{
    header
    {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
    }

    header h1
    {
        font-size: 1.2rem;
        margin: 0;
        flex: 1;
    }

    #content
    {
        padding-top: 5px; /* Prevent Header Overlap */
        padding-bottom: 5px; /* Prevent Footer Overlap */
    }

    #navbar_links
    {
        display: block;
    }

    .menu-toggle
    {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 5px 10px;
        z-index: 1100;
    }

    nav
    {
        display: none;
        flex-direction: column;
        background-color: #da291c;
        position: absolute;
        top: 100%;
        /* top: 75px; */
        left: 0;
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-open nav
    {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    nav a
    {
        padding: 10px 10px;
        font-size: 1rem;
        color: white;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-decoration: none;
    }

    nav a:hover
    {
        background-color: #c0261a;
    }
}