/*
    File: styles/header.css
    Theme: Pharmacist Green-Teal-Blue Gradient
*/

/* ===============================
   GLOBAL RESET
================================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:#f8fafc;
    padding-top:80px;
    display:flex;
    flex-direction:column;
    min-height:100vh;
}

/* ===============================
   HEADER
================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #074171 0%, #0a5a99 100%);
    box-shadow: 0 8px 32px rgba(7, 65, 113, 0.25);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.main-navbar {
    max-width: 100%;
    margin: 0;
    padding: 0 60px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* ===============================
   LOGO
================================= */
.brand-box {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: auto;
    margin-right: 10px;
    width: 70px;
}

.brand-text h6 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.brand-text small {
    font-size: 12px;
    color: #FFD60A;
    font-weight: 600;
}

/* ===============================
   DESKTOP MENU
================================= */
.main-menu {
    list-style: none;
    display: flex;
    gap: 35px;
    margin-left: auto;
}

.menu-link {
    text-decoration: none;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s ease;
}

.menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #ffd60a;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s ease;
}

.menu-link:hover {
    color: #ffd60a;
}

.menu-link:hover::after,
.menu-link.active::after {
    transform: scaleX(1);
}

/* ===============================
   MOBILE NAVIGATION
================================= */
.menu-btn {
    font-size: 26px;
    cursor: pointer;
    color: #ffffff;
    display: none;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 15px 30px;
    background: linear-gradient(180deg, #074171 0%, #0a5a99 100%);

}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 12px 0;
    text-decoration: none;
    font-weight: 600;
    color: #ffffff;
    transition: 0.3s ease;
}

.mobile-nav a:hover {
    color: #FFD60A;
}

/* ===============================
   FOOTER
================================= */
.main-footer {
    width: 100%;
    background: linear-gradient(90deg, #074171 0%, #0a5a99 100%);
    color: #ffffff;
    text-align: center;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 -8px 32px rgba(7, 65, 113, 0.15);
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
}

.footer-heading span {
    color: #FFD60A;
}

.footer-subtext {
    font-size: 13px;
    color: #FFD60A;
    letter-spacing: 0.5px;
}

/* Footer fixed on desktop */
@media (min-width: 769px) {
    body {
        padding-bottom: 70px;
    }

    .main-footer {
        position: fixed;
        bottom: 0;
        left: 0;
    }
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 768px) {

    .main-menu {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .main-navbar {
        padding: 0 20px;
    }

    .main-footer {
        position: static;
    }
}

/* ===============================
   FLOATING ACTION BUTTONS
================================= */
.call-float,
.whatsapp-float {
    position: fixed;
    right: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
    z-index: 1000;
}

/* Call Button */
.call-float {
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #074171 0%, #0a5a99 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(7, 65, 113, 0.3);
}

.call-float i {
    font-size: 24px;
}

.call-float:hover {
    background: linear-gradient(135deg, #01a8a3 0%, #01a8a3 100%);
    color: #074171;
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(255, 214, 10, 0.4);
}

/* WhatsApp Button */
.whatsapp-float {
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #2bb673;
    color: #fff;
}

.whatsapp-float i {
    font-size: 35px;
}

.whatsapp-float:hover {
    background: #239e60;
    transform: scale(1.1);
}

/* Pulse Animation */
.call-float::before,
.whatsapp-float::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 1.5s infinite;
}

.call-float::before {
    width: 60px;
    height: 60px;
    background: rgba(255, 214, 10, 0.2);
}

.whatsapp-float::before {
    width: 60px;
    height: 60px;
    background: rgba(43, 182, 115, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Floating Responsive */
@media (max-width: 768px) {

    .call-float,
    .whatsapp-float {
        width: 55px;
        height: 55px;
    }

    .call-float::before,
    .whatsapp-float::before {
        width: 55px;
        height: 55px;
    }

    .call-float i {
        font-size: 22px;
    }
}