/* Management page styles - AgroNova Brand Colors */
:root {
    --color-dark: #2C5F4F;        /* Deep forest green for depth */
    --color-primary: #6BBF59;     /* Vibrant light green - agricultural */
    --color-secondary: #5BA3D0;   /* Professional light blue - tech/water */
    --color-text: #2D2D2D;        /* Dark gray for readability */
    --color-cream: #FFF8E8;       /* Pure cream white */
    --color-accent: #4A9D7E;      /* Teal blend for accents */
}

html,
body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, var(--color-cream), #F0E8D8);
    color: var(--color-text);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, var(--color-dark) 0%, var(--color-accent) 100%);
    padding: 8px 0px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

header img.logo {
    border-radius: 8px;
}

/* Add padding to body to account for fixed header */
main {
    padding-top: 70px; /* Adjust based on header height */
}

/* hamburger toggle - hidden by default, shown only on small screens */
#nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 26px;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: var(--color-cream);
    text-decoration: none;
    padding: 6px 10px;
    transition: all 0.3s;
    border-radius: 6px;
}

nav ul li a:hover{
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-primary);
}

.container {
    max-width: 1100px;
    margin: 28px auto;
    padding: 0 16px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.footer-nav a {
    color: var(--color-cream);
    margin-left: 12px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 700px) {
    nav ul {
        display: none;
    }

    #nav-toggle {
        display: block;
        position: absolute;
        right: 12px;
        top: 10px;
    }

    header nav.open ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 12px;
        top: calc(100% + 8px);
        background: var(--color-dark);
        padding: 12px;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
        z-index: 1200;
        min-width: 180px;
    }

    header nav.open ul li a {
        display: block;
    }
}

/* Management team styles */
.team-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 16px;
}

.team-title {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.team-member {
    display: flex;
    gap: 44px;
    align-items: center;
    margin-bottom: 38px;
    background: rgba(107, 191, 89, 0.08);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-member.reverse {
    flex-direction: row-reverse;
}

.member-media {
    position: relative;
    flex: 0 0 360px;
    max-width: 360px;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 300ms ease, filter 300ms ease;
    border: 3px solid var(--color-secondary);
}

.member-photo:hover {
    transform: scale(1.04);
    filter: brightness(1.02);
}

.millie{
    height: 375px;
}

.grace{
    height: 420px;
}

.member-name {
    position: absolute;
    left: 12px;
    top: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.team-member.reverse .member-name {
    right: 12px;
    left: auto;
}

.member-bio {
    flex: 1;
}

.member-bio h3 {
    margin: 0 0 8px 0;
    color: var(--color-secondary);
}

.bio-text {
    margin: 0;
    color: var(--color-text);
    line-height: 1.5;
}

/* Footer styling */
footer {
    background: linear-gradient(90deg, var(--color-dark) 0%, var(--color-accent) 100%);
    color: var(--color-cream);
    padding: 12px 16px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
}

/* Responsive: stack on small screens */
@media screen and (max-width: 820px) {
    .team-member {
        flex-direction: column;
    }

    .team-member.reverse {
        flex-direction: column;
    }

    .member-media {
        width: 100%;
        max-width: 100%;
    }

    .member-name {
        left: 12px;
        right: auto;
        top: 12px;
    }
}
