﻿/* Header Styles */
.header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 4px solid #D4AF37;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo Area - Large Size */
.logo-area {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.company-logo {
    height: 80px;
    width: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #D4AF37;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .company-logo:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    }

.company-branding {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.company-name {
    color: #1A5D1A;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

.company-tagline {
    color: #2C3E50;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Navigation - Large Product Link */
.nav-menu {
    display: flex;
    margin-left: auto;
}

    .nav-menu ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 0;
    }

.nav-product {
    display: inline-block;
    background: linear-gradient(135deg, #1A5D1A 0%, #27AE60 100%);
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 93, 26, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

    .nav-product::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .nav-product:hover::before {
        left: 100%;
    }

    .nav-product:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(26, 93, 26, 0.4);
        background: linear-gradient(135deg, #27AE60 0%, #1A5D1A 100%);
    }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 35px;
    height: 25px;
    justify-content: space-between;
    background: #1A5D1A;
    padding: 0.5rem;
    border-radius: 5px;
}

    .menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

/* Mobile Styles */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .company-name {
        font-size: 2rem;
    }

    .company-logo {
        height: 70px;
        width: 70px;
    }

    .nav-product {
        font-size: 1.2rem;
        padding: 0.9rem 1.8rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem 0;
    }

    .header-container {
        padding: 0 1rem;
        flex-wrap: wrap;
    }

    .logo-area {
        gap: 1rem;
        flex: 0 0 100%;
        margin-bottom: 1rem;
        justify-content: center;
        text-align: center;
    }

    .company-branding {
        align-items: center;
    }

    .company-name {
        font-size: 1.8rem;
        text-align: center;
    }

    .company-tagline {
        font-size: 1rem;
        text-align: center;
    }

    .company-logo {
        height: 60px;
        width: 60px;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 1.5rem;
        right: 1rem;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e0e0e0;
    }

        .nav-menu.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .nav-menu ul {
            flex-direction: column;
            gap: 0;
            padding: 1rem 0;
        }

        .nav-menu li {
            width: 100%;
            text-align: center;
        }

    .nav-product {
        display: block;
        margin: 0 1rem;
        padding: 1rem;
        border-radius: 8px;
        font-size: 1.2rem;
        box-shadow: 0 2px 10px rgba(26, 93, 26, 0.2);
    }

    /* Animate menu toggle */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1.5rem;
    }

    .company-tagline {
        font-size: 0.9rem;
    }

    .company-logo {
        height: 50px;
        width: 50px;
    }

    .nav-product {
        font-size: 1.1rem;
        padding: 0.9rem;
    }
}
