/* Rainbow Dash Color Palette */
:root {
    --blue: #aad7f6;
    --red: #de4f3e;
    --orange: #e77d46;
    --yellow: #f4eb8e;
    --green: #8bc054;
}

/* Direct color overrides */
html, html body {
    background-color: var(--blue) !important;
    color: var(--red) !important; /* Red on light blue for strong readability */
}

body > * {
    background-color: var(--blue) !important;
}

body > main {
    background-color: var(--blue) !important;
    position: relative;
    z-index: 0;
    padding: 40px 20px;
    margin-top: -20px;
    min-height: calc(100vh - 60px);
}

/* Override Bootstrap Reboot */
body {
    font-family: 'Montserrat', sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 60px !important;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Lobster', cursive !important;
    color: var(--orange) !important; /* Orange for warm, inviting headings */
    margin: 20px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--red) !important;
    z-index: 100;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header nav {
    display: flex;
    justify-content: flex-start;
    padding: 0 20px;
}

header nav a {
    color: var(--yellow) !important; /* Yellow on red for high contrast navigation */
    text-decoration: none;
    padding: 8px 16px;
    font-weight: bold;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--blue) !important; /* Blue hover for interactive feedback */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(45deg, var(--red), var(--orange)) !important; /* Gradient for visual interest */
    margin-top: 50px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero h1 {
    color: var(--yellow) !important; /* Yellow on gradient for maximum visibility */
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero img {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
}

/* Main Content Container */
main {
    background-color: var(--blue) !important;
    position: relative;
    z-index: 0;
    padding: 40px 20px;
    margin-top: -20px; /* Pull up to overlap with hero section */
    min-height: calc(100vh - 60px); /* Full height minus footer */
}

/* Content Sections */
.content {
    background-color: var(--yellow) !important; /* Yellow content cards for warm, readable sections */
    color: var(--red) !important; /* Red text for strong contrast */
    padding: 40px;
    margin: 30px auto;
    border-radius: 15px;
    max-width: 1000px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.band-member {
    margin: 40px 0;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255,255,255,0.3); /* Subtle contrast for nested content */
    transition: transform 0.2s ease;
}

.band-member:hover {
    transform: translateY(-2px);
}

.band-member h2 {
    color: var(--red) !important; /* Red on yellow for section headlines */
    font-family: 'Poppins', sans-serif !important;
    margin-bottom: 15px;
}

.band-member p {
    color: var(--red) !important;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Nutritional Facts Toggle Button */
.nutrition-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: var(--red) !important;
    color: var(--yellow) !important;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 9999;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid var(--yellow);
}

.nutrition-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: var(--orange) !important;
}

/* Nutritional Facts Label */
.nutrition-label {
    display: none;
    position: fixed;
    top: 70px;
    right: 10px;
    background-color: white !important;
    color: var(--red) !important;
    border: 2px solid var(--red);
    padding: 25px;
    width: 300px;
    border-radius: 10px;
    z-index: 9998;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-family: 'Montserrat', sans-serif;
}

.nutrition-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--red) !important;
    font-size: 1.2em;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
}

.nutrition-facts {
    color: var(--red) !important;
}

.nutrition-facts p {
    margin: 8px 0;
    color: var(--red) !important;
}

.label-item {
    font-weight: bold;
    color: var(--red) !important;
}

.nutrition-facts hr {
    border-color: var(--red);
    margin: 15px 0;
    opacity: 0.2;
}

/* Ensure the button is visible on mobile */
@media screen and (max-width: 600px) {
    .nutrition-toggle {
        top: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .nutrition-label {
        width: 80%;
        right: 10%;
        left: 10%;
        box-sizing: border-box; /* Include padding/border in width */
    }
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--red) !important; /* Matching header for consistency */
    text-align: center;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

footer a {
    color: var(--yellow) !important; /* Matching navigation for consistency */
    margin: 0 10px;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--blue) !important;
    transform: translateY(-2px);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--yellow) !important;
    cursor: pointer;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    .menu-toggle {
        display: block;
        padding: 10px 20px;
    }

    header {
        overflow: hidden;
    }

    header nav {
        display: none;
        flex-direction: column;
        padding: 0;
        left: 0;
        width: 100%;
        background-color: var(--red);
        box-sizing: border-box;
    }

    header nav.active {
        display: flex;
    }

    header nav a {
        padding: 15px 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .hero h1 {
        font-size: 36px;
    }

    .content {
        padding: 20px;
        margin: 20px auto;
        border-radius: 10px;
    }

    .hero {
        padding: 80px 20px 40px;
    }

    .band-member {
        margin: 20px 0;
        padding: 15px;
    }
}

/* Carousel */
.carousel-inner img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--red) !important;
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Links in Content */
.content a {
    color: var(--orange) !important; /* Orange links for warm interaction */
    text-decoration: underline;
    transition: all 0.3s ease;
}

.content a:hover {
    color: var(--red) !important;
    text-decoration: none;
}

/* Custom Image Styles */
footer img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    vertical-align: middle;
    margin-bottom: 3px;
}

/* Carousel Container */
#carousel-container {
    max-width: 1000px;
    margin: 30px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Tour Dates */
#tour h3 {
    color: var(--red) !important;
    margin-top: 30px;
    font-size: 1.5em;
}

#tour p {
    margin: 10px 0;
    line-height: 1.6;
}

/* Add subtle animations */
.content, .hero, .nutrition-toggle, .band-member {
    transition: all 0.3s ease;
} 