﻿/* === HEADER STYLES === */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(to right, #fdf7ec, #fcf3de);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    transition: all 0.3s ease-in-out;
}

/* Flex Layout */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo and Text */
.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img-animated {
    height: 100px;
    cursor: pointer;
    animation: logoFadeIn 1.5s ease-out;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

    .logo-img-animated:hover {
        transform: scale(1.1) rotateZ(-2deg);
        box-shadow: 0 12px 25px rgba(0, 100, 0, 0.25);
    }

.company-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.company-line1 {
    font-size: 38px;
    font-weight: bold;
    color: #2e7d32;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
}

.company-line2 {
    font-size: 26px;
    color: #388e3c;
    font-family: 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === NAVIGATION === */
.nav-bar {
    position: relative;
}

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 16px;
    color: #2e7d32;
    user-select: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

    .nav-links li a {
        font-size: 18px;
        padding: 10px 15px;
        display: inline-block;
        color: #2e7d32;
        text-decoration: none;
        font-weight: 600;
        border-radius: 8px;
        letter-spacing: 0.5px;
        position: relative;
        transition: all 0.3s ease-in-out;
    }

        .nav-links li a:hover {
            background: linear-gradient(135deg, #a5d6a7, #81c784);
            color: #ffffff;
            transform: scale(1.08) translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 128, 0, 0.3);
        }

        .nav-links li a::after {
            content: '';
            position: absolute;
            bottom: 6px;
            left: 20%;
            width: 0;
            height: 3px;
            background-color: #388e3c;
            border-radius: 2px;
            transition: width 0.4s ease;
        }

/* === RESPONSIVE STYLES === */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .company-text {
        font-size: 0.9rem;
    }

    .nav-bar {
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        background-color: #f0f4c3;
        max-height: 0;
        overflow: hidden;
        border-radius: 10px;
        margin-top: 10px;
    }

        .nav-links li {
            width: 100%;
        }

            .nav-links li a {
                width: 100%;
                display: block;
                padding: 12px 20px;
                font-size: 16px;
                border-bottom: 1px solid #c5e1a5;
            }

    /* Show menu on toggle */
    .menu-toggle:checked + .hamburger + .nav-links {
        max-height: 500px;
    }

    .hamburger {
        display: block;
        align-self: flex-end;
    }
}
/* Email Login Button */
.email-login-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #0078d7, #005bb5);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

    .email-login-btn i {
        margin-right: 8px;
        font-size: 18px;
    }

    /* Hover Effect */
    .email-login-btn:hover {
        background: linear-gradient(135deg, #005bb5, #004080);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    }

/* Mobile Responsive */
@media (max-width: 768px) {
    .email-login-btn {
        padding: 10px 12px;
        border-radius: 50%;
        font-size: 0; /* hides text spacing */
        width: 45px;
        height: 45px;
        justify-content: center;
    }

        .email-login-btn i {
            margin: 0;
            font-size: 20px;
        }

        .email-login-btn .email-text {
            display: none; /* hide text on mobile */
        }
}
