/* ===================================
   TOP BAR
=================================== */

.top-bar {
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    padding: 9px 0;
}

.top-bar .container {
    min-height: 30px;
}


/* LEFT & RIGHT */

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}


/* LINKS */

.top-bar a {
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: .3s ease;
}

.top-bar a:hover {
    color: var(--accent);
}


/* ICONS */

.top-bar i {
    margin-right: 0;
    font-size: 13px;
}


/* OPENING HOURS */

.top-bar-right > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}


/* SOCIAL ICONS */

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons a {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    transition: .3s ease;
}

.social-icons a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}


/* ===================================
   TOP BAR - TABLET
=================================== */

@media (max-width: 992px) {

    .top-bar {
        font-size: 12px;
        padding: 8px 0;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 15px;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icons a {
        width: 25px;
        height: 25px;
    }

}


/* ===================================
   TOP BAR - MOBILE
=================================== */

@media (max-width: 768px) {

    .top-bar {
        display: none;
    }

}
/* ===========================
   MAIN HEADER
=========================== */

.main-header{
    background: var(--white);
    height: 90px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:65px;
    height:65px;
    object-fit:contain;
}

.logo-text h2{
    font-size:18px;
    font-weight:700;
    color:var(--primary);
    line-height:1.2;
}

.logo-text span{
    color:var(--text-light);
    font-size:13px;
    letter-spacing:1px;
}

.navbar{
    display:flex;
    align-items:center;
    gap:40px;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:30px;
}

.nav-menu a{
    font-size:16px;
    font-weight:500;
    color:var(--text);
    position:relative;
    transition:.3s;
}

.nav-menu a:hover{
    color:var(--primary);
}

.nav-menu a.active{
    color:var(--primary);
}

.nav-menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:3px;
    background:var(--accent);
    transition:.3s;
    border-radius:50px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after{
    width:100%;
}

/* ===================================
   MOBILE MENU BUTTON
=================================== */

.mobile-menu-toggle {
    display: none;
    border: none;
    background: var(--primary);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

/* ===================================
   MOBILE NAVIGATION
=================================== */

@media (max-width: 768px) {

    .main-header {
        height: 75px;
    }

    .main-header .container {
        position: relative;
    }

    .logo {
        gap: 10px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .logo-text h2 {
        font-size: 19px;
    }

    .logo-text span {
        font-size: 10px;
    }


    /* NAVBAR */

    .navbar {
        gap: 0;
    }


    /* HAMBURGER */

    .mobile-menu-toggle {
        display: flex;
    }


    /* HIDE DESKTOP MENU */

    .nav-menu {
        display: none;
    }


    /* MOBILE MENU WHEN OPEN */

    .nav-menu.active {

        display: flex;

        position: absolute;

        top: 75px;

        left: 0;

        width: 100%;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: var(--white);

        padding: 10px 0;

        box-shadow: 0 15px 30px rgba(0,0,0,.12);

        z-index: 9999;
    }


    .nav-menu.active li {
        width: 100%;
    }


    .nav-menu.active a {

        display: block;

        width: 100%;

        padding: 15px 25px;

        font-size: 15px;

        color: var(--text);
    }


    .nav-menu.active a::after {
        display: none;
    }


    .nav-menu.active a:hover,
    .nav-menu.active a.active {
        background: #f5f8fc;
        color: var(--primary);
    }


    /* APPOINTMENT BUTTON */

    .nav-appointment {
        display: none;
    }

}

@media (max-width: 480px) {

    .logo img {
        width: 45px;
        height: 45px;
    }

    .logo-text h2 {
        font-size: 17px;
    }

    .logo-text span {
        font-size: 9px;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

}