﻿/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8f9e6 0%, #f1f8e9 100%);
}

/* ===== HEADER COLOR COMBINATION ===== */
/* 
   Primary Color: #2E7D32 (Forest Green) - Represents mango trees/nature
   Secondary Color: #F9A825 (Golden Yellow) - Represents ripe mangoes
   Accent Color: #FFB74D (Light Orange) - Represents mango flesh
   Background: #FFFFFF (White) with subtle gradient
   Text Color: #1B5E20 (Dark Green)
*/

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9e6 100%);
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid #F9A825;
}

    .sticky-header.scrolled {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 15px rgba(46, 125, 50, 0.2);
    }

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* ===== LOGO SECTION - PURE IMAGE, NO BOXES ===== */
.logo-section {
    flex: 0 0 auto;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Company Logo - Pure Image, No Background, No Border, No Box */
.company-logo {
    width: auto;
    height: 100px;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* ===== ZOOM ANIMATIONS FOR LOGO ===== */

/* Animation 1: Gentle Pulse Zoom */
@keyframes gentlePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

/* Animation 2: Smooth Breathing Effect */
@keyframes breathingZoom {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(1.02);
    }

    75% {
        transform: scale(1.07);
    }

    100% {
        transform: scale(1);
    }
}

/* Animation 3: Subtle Hover-Inspired Zoom */
@keyframes hoverZoom {
    0% {
        transform: scale(1);
    }

    33% {
        transform: scale(1.06);
    }

    66% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

/* Animation 4: Rotating Zoom */
@keyframes rotateZoom {
    0% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.08) rotate(2deg);
    }

    50% {
        transform: scale(1.04) rotate(0deg);
    }

    75% {
        transform: scale(1.08) rotate(-2deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Animation 5: Floating Zoom */
@keyframes floatingZoom {
    0% {
        transform: scale(1) translateY(0);
    }

    25% {
        transform: scale(1.05) translateY(-3px);
    }

    50% {
        transform: scale(1.02) translateY(0);
    }

    75% {
        transform: scale(1.05) translateY(-2px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

/* Animation 6: Mango-inspired Ripple Zoom */
@keyframes mangoRipple {
    0% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    }

    20% {
        transform: scale(1.1);
        filter: brightness(1.1) drop-shadow(0 8px 16px rgba(249, 168, 37, 0.3));
    }

    40% {
        transform: scale(1.05);
        filter: brightness(1.05) drop-shadow(0 6px 12px rgba(249, 168, 37, 0.2));
    }

    60% {
        transform: scale(1.08);
        filter: brightness(1.08) drop-shadow(0 8px 16px rgba(249, 168, 37, 0.3));
    }

    80% {
        transform: scale(1.03);
        filter: brightness(1.03) drop-shadow(0 5px 10px rgba(249, 168, 37, 0.15));
    }

    100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    }
}

/* Animation 7: Golden Glow Zoom */
@keyframes goldenGlowZoom {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    }

    50% {
        transform: scale(1.12);
        filter: drop-shadow(0 15px 25px rgba(249, 168, 37, 0.4));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    }
}

/* Animation 8: Spring Effect */
@keyframes springZoom {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.15);
    }

    50% {
        transform: scale(0.95);
    }

    70% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Apply multiple animations to logo - No Boxes, Just Image */
.company-logo {
    animation: gentlePulse 4s ease-in-out infinite, goldenGlowZoom 6s ease-in-out infinite;
}

    /* Animation on hover - becomes more intense */
    .company-logo:hover {
        animation: springZoom 1s ease-in-out;
        cursor: pointer;
    }

/* Secondary animation on page load */
@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.company-logo {
    animation: gentlePulse 4s ease-in-out infinite, goldenGlowZoom 6s ease-in-out infinite, logoReveal 1s ease-out;
}

/* Text Animation */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-text {
    animation: slideInFromLeft 1s ease-out;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1B5E20;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    display: inline-block;
}

    .logo-text h1::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 40%;
        height: 3px;
        background: linear-gradient(90deg, #F9A825, transparent);
        border-radius: 2px;
        animation: expandWidth 2s ease-in-out infinite;
    }

@keyframes expandWidth {
    0% {
        width: 0%;
        opacity: 0;
    }

    50% {
        width: 40%;
        opacity: 1;
    }

    100% {
        width: 0%;
        opacity: 0;
    }
}

.place {
    font-size: 0.9rem;
    color: #2E7D32;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

    .place::before {
        content: '\f3c5';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: #F9A825;
        font-size: 0.8rem;
        animation: bounce 2s ease-in-out infinite;
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* ===== DESKTOP NAVIGATION ===== */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

    .nav-links li a {
        text-decoration: none;
        color: #1B5E20;
        font-weight: 500;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        position: relative;
        transition: color 0.3s ease;
    }

        .nav-links li a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #F9A825, #FFB74D);
            transition: width 0.3s ease;
        }

        .nav-links li a:hover {
            color: #F9A825;
        }

            .nav-links li a:hover::before,
            .nav-links li a.active::before {
                width: 100%;
            }

        .nav-links li a.active {
            color: #F9A825;
            font-weight: 600;
        }

/* ===== HEADER RIGHT SECTION ===== */
.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #F9A825, #FFB74D);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(249, 168, 37, 0.3);
    transition: transform 0.3s ease;
}

    .contact-info:hover {
        transform: translateY(-2px);
    }

    .contact-info i {
        font-size: 1.1rem;
        animation: ring 2s ease-in-out infinite;
    }

@keyframes ring {
    0%, 100% {
        transform: rotate(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: rotate(10deg);
    }

    20%, 40%, 60%, 80% {
        transform: rotate(-10deg);
    }
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #1B5E20;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    z-index: 1001;
}

    .mobile-menu-toggle:hover {
        color: #F9A825;
    }

/* ===== MOBILE NAVIGATION - PURE LOGO, NO BOXES ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff, #f8f9e6);
    padding: 1.5rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

    .mobile-nav.active {
        right: 0;
        display: block;
    }

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(46, 125, 50, 0.1);
}

.mobile-logo {
    width: auto;
    height: 50px;
    display: block;
    animation: gentlePulse 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.close-mobile-menu {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #1B5E20;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

    .close-mobile-menu:hover {
        transform: rotate(90deg);
        color: #F9A825;
    }

.mobile-nav-links {
    list-style: none;
}

    .mobile-nav-links li {
        margin-bottom: 1.5rem;
    }

        .mobile-nav-links li a {
            text-decoration: none;
            color: #1B5E20;
            font-weight: 500;
            font-size: 1.2rem;
            display: block;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(46, 125, 50, 0.1);
            transition: all 0.3s ease;
        }

            .mobile-nav-links li a:hover,
            .mobile-nav-links li a.active {
                color: #F9A825;
                border-bottom-color: #F9A825;
                transform: translateX(10px);
            }

.mobile-contact, .mobile-address {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #F9A825, #FFB74D);
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

    .mobile-contact:hover, .mobile-address:hover {
        transform: scale(1.02);
    }

.mobile-address {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
}

    .mobile-contact i, .mobile-address i {
        font-size: 1.2rem;
        min-width: 24px;
    }

/* ===== HEADER PLACEHOLDER ===== */
.header-placeholder {
    height: 100px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Devices */
@media screen and (max-width: 1024px) {
    .header-container {
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

        .nav-links li a {
            font-size: 1rem;
        }

    .company-logo {
        height: 60px;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .contact-info span {
        display: none;
    }

    .contact-info {
        padding: 0.6rem;
    }

        .contact-info i {
            font-size: 1.2rem;
        }

    .header-placeholder {
        height: 90px;
    }
}

/* Mobile Devices */
@media screen and (max-width: 768px) {
    .header-container {
        padding: 0.6rem 1rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .contact-info {
        display: none;
    }

    .logo-wrapper {
        gap: 10px;
    }

    .company-logo {
        height: 50px;
    }

    .logo-text h1 {
        font-size: 1.3rem;
    }

    .place {
        font-size: 0.8rem;
    }

    .header-placeholder {
        height: 80px;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.1rem;
    }

    .place {
        font-size: 0.7rem;
    }

    .company-logo {
        height: 45px;
    }

    .header-placeholder {
        height: 75px;
    }

    .mobile-nav {
        width: 100%;
        padding: 1rem;
    }
}

/* Landscape Mode */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .mobile-nav {
        padding: 1rem;
    }

    .mobile-nav-links li {
        margin-bottom: 0.8rem;
    }

        .mobile-nav-links li a {
            font-size: 1rem;
        }
}

/* Animation for header on scroll */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.sticky-header.scrolled {
    animation: slideDown 0.3s ease forwards;
}
