/* Announcement Bar */
.announcement-bar {
    background: #008060;
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.announcement-bar a {
    color: white;
    text-decoration: underline;
}

/* Header & Navigation - Green/Organic Theme */
/* Shared across all pages: index.php, thankyou.php, track_order.php */

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: floatPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Navigation Bar */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 128, 96, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

/* Logo */
nav .logo,
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

nav .logo:hover,
.logo:hover {
    transform: translateY(-2px);
}

nav .logo i,
.logo i {
    color: #008060;
    font-size: 1.8rem;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #111827;
    background: rgba(0, 128, 96, 0.05);
}

.nav-action-btn:hover {
    background: rgba(0, 128, 96, 0.1);
    transform: translateY(-2px);
}

.nav-action-btn i {
    font-size: 1.1rem;
}

.track-btn {
    background: #008060;
    color: white;
}

.track-btn:hover {
    background: #006e52;
    box-shadow: 0 8px 20px rgba(0, 128, 96, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #111827;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #008060;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 20px;
    transition: all 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    background: rgba(0, 128, 96, 0.1);
    color: #008060;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: #008060;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Plain Header (for thankyou.php) */
.header-plain {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 5%;
    border-bottom: 1px solid rgba(0, 128, 96, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-top {
        padding: 16px 0;
    }
    
    nav .logo,
    .logo {
        font-size: 1.3rem;
    }
    
    nav .logo i,
    .logo i {
        font-size: 1.5rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-action-btn span {
        display: none;
    }
    
    .nav-action-btn {
        padding: 10px 14px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 5%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        max-height: 500px;
        opacity: 1;
        padding: 20px 5%;
    }
    
    .nav-links a {
        width: 100%;
        padding: 14px 20px;
        text-align: left;
        border-radius: 12px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .nav-top {
        padding: 12px 0;
    }
    
    nav .logo,
    .logo {
        font-size: 1.1rem;
    }
    
    nav .logo i,
    .logo i {
        font-size: 1.3rem;
    }
}
