/*
Theme Name: testing
Author: rival adam
Version: 1.5
Description: Tema kesehatan gigi
*/

/* =========================
   WARNA IDENTITAS
========================= */
:root {
    --biru-utama: #003f7d;
    --biru-hover: #0056a6;
    --emas-aksen: #f5c542;
}

/* =========================
   HEADER STICKY
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =========================
   JARAK MENU
========================= */
.navbar-nav .menu-item {
    margin: 0 18px;
	
}

/* =========================
   LINK MENU
========================= */
.navbar-nav .nav-link {
    position: relative;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    color: #fff !important;
    transition: all 0.3s ease;
	letter-spacing: 0.5px;
}

/* =========================
   HOVER KOTAK
========================= */
.navbar-nav .nav-link:hover {
    background-color: var(--biru-hover);
}

/* =========================
   SLIDE UNDERLINE
========================= */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 3px;
    background: var(--emas-aksen);
    transition: width 0.35s ease;
}



}
/* HERO SLIDER FULL RESPONSIVE */
#heroSlider,
#heroSlider .carousel-item {
    height: 80vh;
    min-height: 400px;
}

#heroSlider .slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MOBILE */
@media (max-width:768px){
    #heroSlider,
    #heroSlider .carousel-item {
        height: 55vh;
        min-height: 250px;
    }
}

/* =========================
   MENU ACTIVE
========================= */
.navbar-nav .current-menu-item > .nav-link,
.navbar-nav .current_page_item > .nav-link {
    background-color: #fff;
    color: var(--biru-utama) !important;
    font-weight: 600;
}

.navbar-nav .current-menu-item > .nav-link::after {
    width: 100%;
    background: var(--biru-utama);
}

/* =========================
   DROPDOWN MENU KOTAK
========================= */
.navbar-nav .dropdown-menu {
    border-radius: 8px;
    border: none;
    padding: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.navbar-nav .dropdown-item {
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--biru-hover);
    color: #fff;
}
.custom-navbar {
    background-color: #A1B6FF; /* ganti sesuai warna yang kamu mau */
}

/* =========================
   MOBILE
========================= */
@media (max-width: 991px) {
    .navbar-nav .menu-item {
        margin: 10px 0;
    }

    .navbar-nav .nav-link {
        text-align: center;
    }
}
.site-header {
    z-index: 1030;
}

.navbar-nav .nav-link {
    padding: 10px 16px;
    font-weight: 500;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #212529;
        padding: 15px 0;
        border-radius: 8px;
    }

    .dropdown-menu {
        background: #2b3035;
        border: none;
        text-align: center;
    }

    .dropdown-item {
        color: #fff;
    }
}
/* Agenda Card */
.agenda-card {
    transition: all 0.3s ease;
    border-radius: 14px;
    overflow: hidden;
}

.agenda-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Badge tanggal */
.agenda-date {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
}
.hero-slider img{
    height: 500px;
    object-fit: cover;
}

.carousel-caption{
    background: rgba(0,0,0,0.45);
    border-radius: 10px;
    padding: 30px;
}
.hero-slider-standard{
    margin-bottom: 40px;
}

/* ukuran sedang */
.slider-img{
    height: 420px;
    object-fit: cover;
}

/* overlay */
.slider-caption{
    background: linear-gradient(
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.6)
    );
    left: 0;
    right: 0;
    bottom: 0;
    text-align: left;
    padding: 40px 0;
}

.slider-caption h2{
    font-size: 2rem;
}

.slider-caption p{
    max-width: 600px;
}

/* mobile */
@media(max-width:768px){

.slider-img{
    height: 280px;
}

.slider-caption h2{
    font-size: 1.4rem;
}

}
body {
    padding-top: 90px;
}


.sidebar .card {
    border-radius: 12px;
}

.sidebar .card-header {
    background: #0d6efd;
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.sidebar .card-body {
    padding: 15px;
}
