/* Font and Colors */
@font-face {
    font-family: 'Lovelo';
    src: url('/fonts/Lovelo-Black.woff2') format('woff2');
}

:root {
    --primary-color: #77353d;
    --text-color: #000000;
    --bg-color: #f5f0e9;
}

/* Base Styles */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, .hero h1, .feature-item h3 {
    font-family: 'Lovelo', sans-serif;
    color: var(--primary-color);
}

/* Navigation and Menu */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: 'Lovelo', sans-serif;
}

nav a:hover {
    color: var(--primary-color);
}

.header-logo {
    margin-left: 2rem;
}

header .header-logo img {
    height: 6rem;
    width: auto;
    display: block;
}


/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    gap: 3rem;
    padding-top: 2rem;
}

.hero-logo {
    flex: 0 0 auto;
    order: 1;
}

.tagline {
    font-family: 'Lovelo', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    color: var(--text-color);
    flex: 1;
    text-align: left;
    max-width: 500px;
    order: 2;
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Video Section */
.video-section {
    background-color: var(--light-bg);
    padding: 4rem 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Page */
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
}

/* Buttons */
button[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

button[type="submit"]:hover {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--light-bg);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

/* ABOUT */
.about-section {
    padding: 4rem 0;
}

.about-content {
    margin-top: 2rem;
}

.mission-statement {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-item ul {
    list-style: none;
    padding: 0;
}

.about-item li {
    margin: 1rem 0;
}

.mobile-menu-button {
    display: none;
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.header-logo a {
    display: block;
    text-decoration: none;
}

.header-logo a:hover {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        min-height: 4rem;
        padding: 0.75rem 0;
    }

    .header-container {
        padding: 0.5rem 1rem;
        justify-content: flex-end;
    }

    .mobile-menu-button {
        display: flex;  /* Only show and use flex in mobile */
    }

    .header-logo {
        margin-left: 0;
        padding-right: 0rem;
    }

    header .header-logo img {
        height: 4rem;
    }

    nav {
        display: none;
        margin-top: 4rem;
    }

    nav.active {
        display: flex;
        position: fixed;
        top: 3rem;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        z-index: 1000;
        flex-direction: column;
    }

    nav a {
        font-size: 1.4rem;
        padding: 1rem 0;
    }

    .about-section {
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Layout */
    .hero {
        flex-direction: column;
        align-items: center;
    }

    .hero-logo {
        order: 2;
        width: 100%;
        height: auto;
    }

    .tagline {
        order: 1;
        font-size: 1.5rem;
        margin: 0rem auto;
        text-align: center;
    }

    .features,
    .video-section,
    .contact-page,
    .feature-item {
        text-align: center;
    }

    .feature-grid {
        justify-items: center;
    }
}