/* Wine Red Color Scheme */
:root {
    --wine-red: #722F37;
    --dark-wine: #5D252A;
    --light-wine: #8E4B54;
    --burgundy: #800020;
    --cream: #FFF8F0;
    --soft-pink: #F5E6E8;
    --deep-red: #4A1C20;
    --gold-accent: #D4AF37;
}

img#logo {
    width: 30%;
    float: right;
    margin-left: 1em;
}
@font-face {
    font-family: 'boffin';
    src: local('fonts/Boffin.otf');
}
body {
    margin: 2em;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, var(--cream) 0%, var(--soft-pink) 100%);
    color: var(--deep-red);
    min-height: 100vh;
}
text {
    font-family: 'boffin';
}

/* Container styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}
h1 {
    display: block;
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 6vw, 3.75rem);
    color: var(--wine-red);
    text-align: left;
    margin-bottom: 1em;
    text-shadow: 2px 2px 4px rgba(114, 47, 55, 0.2);
}

/* Header and Navigation Styles */
.header {
    background: linear-gradient(135deg, var(--wine-red) 0%, var(--burgundy) 100%);
    padding: 1em 0;
    border-bottom: 4px solid var(--dark-wine);
    margin-bottom: 2em;
    box-shadow: 0 4px 8px rgba(114, 47, 55, 0.25);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1em;
    flex: 1;
}

.header-logo {
    height: 60px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.5rem, 5vw, 3.75rem);
    color: var(--cream);
    margin: 0;
    flex: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation Styles */
.nav {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2em;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    padding: 0.5em 1em;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.nav-link:hover {
    background: var(--gold-accent);
    color: var(--deep-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
}

.nav-link:focus {
    outline: 2px solid var(--gold-accent);
    outline-offset: 2px;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5em;
    width: 30px;
    height: 30px;
    justify-content: space-between;
    position: relative;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--cream);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Burger Menu Animation */
.burger-menu.active .burger-line:first-child {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: var(--gold-accent);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:third-child {
    transform: rotate(-45deg) translate(8px, -8px);
    background-color: var(--gold-accent);
}

h2 {
    display: block;
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--wine-red);
    text-align: left;
    margin-bottom: 1em;
    text-shadow: 1px 1px 2px rgba(114, 47, 55, 0.2);
}

/* Section Titles */
.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.25rem, 3.5vw, 2rem);
    margin-bottom: 0.5em;
    color: var(--wine-red);
    text-align: left;
    text-shadow: 1px 1px 2px rgba(114, 47, 55, 0.2);
}

/* Section Text */
.section-text {
    font-size: 1.2em;
    margin-bottom: 1.5em;
    text-align: justify;
    color: var(--deep-red);
    line-height: 1.7;
}

/* Links */
a {
    color: var(--burgundy);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--wine-red);
}

.purpose-link, .contact-link {
    color: var(--burgundy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--gold-accent);
    transition: all 0.3s ease;
}

.purpose-link:hover, .contact-link:hover {
    color: var(--wine-red);
    border-bottom-color: var(--wine-red);
}

/* Footer Styling */
.footer {
    background-color: #f4f4f4;
    padding: 1em 0;
    text-align: center;
}

.footer-link {
    color: #007BFF;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    img#logo {
        width: 40%;
        float: none;
        margin: 0 auto;
        display: block;
    }

    .section-text {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    /* Show burger menu and hide regular nav */
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(114, 47, 55, 0.95) 0%, rgba(128, 0, 32, 0.95) 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3em;
        transition: right 0.3s ease;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 2em;
        color: var(--cream);
        font-weight: 600;
        background: rgba(212, 175, 55, 0.1);
        border: 2px solid transparent;
    }

    .nav-link:hover {
        background: var(--gold-accent);
        color: var(--deep-red);
        border-color: var(--cream);
    }

    .header-content {
        align-items: center;
    }

    .header-left {
        flex-direction: row;
        gap: 0.5em;
        text-align: left;
        min-width: 0;
    }

    .header-logo {
        height: 40px;
    }

    .header-title {
        white-space: normal;
        word-wrap: break-word;
    }

    img#logo {
        width: 50%;
        float: none;
        margin: 0 auto;
        display: block;
    }

    .section-text {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 30px;
    }

    .header-left {
        gap: 0.3em;
        flex-direction: row;
    }

    img#logo {
        width: 70%;
    }

    body {
        margin: 0.5em;
    }

    .section-text {
        font-size: 0.9em;
    }

    .footer {
        font-size: 0.9em;
    }

    .nav-link {
        font-size: 1.8em;
    }
}

/* Additional Wine Red Theme Enhancements */
.video-frame {
    border: 3px solid var(--wine-red);
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(114, 47, 55, 0.3);
}

.intro-text {
    background: rgba(245, 230, 232, 0.7);
    padding: 1.5em;
    border-radius: 10px;
    border-left: 5px solid var(--wine-red);
    margin-bottom: 2em;
    box-shadow: 0 4px 8px rgba(114, 47, 55, 0.1);
}

/* Special styling for section containers */
section {
    background: rgba(255, 248, 240, 0.8);
    padding: 2em;
    margin: 2em 0;
    border-radius: 15px;
    border: 1px solid rgba(114, 47, 55, 0.2);
    box-shadow: 0 4px 12px rgba(114, 47, 55, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(114, 47, 55, 0.15);
}

/* Enhance buttons and interactive elements */
button {
    background: linear-gradient(135deg, var(--wine-red) 0%, var(--burgundy) 100%);
    color: var(--cream);
    border: none;
    padding: 0.8em 1.5em;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(114, 47, 55, 0.3);
}

button:hover {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--dark-wine) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(114, 47, 55, 0.4);
}