/* Fix body styles - remove flex that conflicts with navbar */
body {
    background-color: var(--color-yellow);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    /* Remove flex layout that conflicts with navbar */
}

/* Fix the nav container spacing issue */
#nav-container {
    min-height: 0;
}

/* Remove flex from container */
.container {
    /* Remove flex: 1; */
}

/* Update footer styles */
.footer {
    background-color: var(--color-navy);
    margin-top: var(--space-lg);
    padding: var(--space-lg) 0;
    width: 100%;
    margin-bottom: 0;
}

/* Keep title in navy to match brand */
.text-yellow {
    color: var(--color-navy);
}

/* Volunteer page grid layout */
.volunteer-opportunities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* Using consolidated volunteer-card component from style.css */
/* Card styling is now handled in the inline CSS in volunteer.html */

/* Title styling */
.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1rem auto 1.5rem;
    text-align: center;
    color: var(--color-navy);
    font-family: 'DIN1451', system-ui, sans-serif;
    text-transform: uppercase;
    line-height: 1.2;
    max-width: 900px;
    padding: 0 1rem;
}

/* Intro text styling */
.intro-text {
    font-family: 'Avenir', system-ui, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-navy);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

/* Nav link styling */
.nav-link {
    color: var(--color-turquoise);
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-turquoise);
    transform: translateY(-2px);
    opacity: 0.8;
}

.nav-link::after {
    background-color: var(--color-turquoise);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .volunteer-opportunities {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }

    .card {
        padding: 2rem;
        min-height: 150px;
    }
    
    .card-content {
        font-size: 1.25rem;
    }
}

/* Style the container inside the footer */
.footer .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Add this new style for the navbar logo */
.navbar-brand img {
    content: url("../img/logo/turq.png");
    max-height: clamp(60px, 8vw, 120px);
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    align-self: flex-end;
}
