/* =============================================
   RSAL Dr. Mintohardjo - Premium Modern 2026
   Design: Elegant Navy + Gold | Fully Responsive
   ============================================= */

:root {
    --navy: #0a1628;
    --navy-light: #12253f;
    --navy-mid: #1a3a5c;
    --gold: #c9a227;
    --gold-light: #e8c547;
    --gold-dark: #a8841a;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
    --shadow: 0 10px 40px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    background: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--navy);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* ===== Top Bar ===== */
.top-bar {
    background: #0a1628 !important;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    z-index: 1060;
}

.top-bar a {
    color: #f9e79f;
    text-decoration: none;
    transition: color 0.3s ease;
}
.top-bar a:hover {
    color: #ffffff;
}
.top-bar i {
    color: #d4af37;
}

/* ===== Main Navbar ===== */
.main-navbar {
    background: #0a1628 !important;          /* solid navy */
    transition: all 0.35s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    z-index: 1050;
}

/* Saat di-scroll */
.main-navbar.scrolled {
    background: #0a1628 !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

/* Warna link menu */
.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: #f9e79f !important;
}

/* Dropdown */
.main-navbar .dropdown-menu {
    background: #0d2137;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.main-navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
}
.main-navbar .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #f9e79f;
}


/* ===== NAVBAR ===== */
.main-navbar {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.25);
    z-index: 1030;
}

.brand-logo {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: right;
    font-size: 1.4rem;
    color: var(--navy);
}

.brand-title {
    font-family: Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 800; /* Cetak tebal */
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #c49a18; /* Warna teks subtitle emas */
    margin-top: 2px;
}

.main-navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--gold) !important;
    background: rgba(201, 162, 39, 0.12);
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
    color: var(--navy) !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    margin-left: 8px;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    margin-top: 8px;
    min-width: 240px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--navy);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: var(--gold);
}

.dropdown-header {
    font-size: 0.75rem;
    color: var(--gold-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(135deg, var(--navy) 0%, #0d2137 50%, var(--navy-mid) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-title span {
    color: var(--gold);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
    margin-bottom: 35px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(201, 162, 39, 0.45);
    color: var(--navy);
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    margin-left: 12px;
}

.btn-hero-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ===== SECTION STYLING ===== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin-top: 12px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 600px;
}

/* ===== CARDS ===== */
.card-premium {
    background: var(--white);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-premium .card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.card-premium .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-premium .card-text {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== STATS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    margin-top: 8px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 60px 0 50px;
    color: var(--white);
    position: relative;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 800;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-top: 10px;
}

.breadcrumb-item a {
    color: var(--gold);
}

.breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
}

/* ===== CONTENT BOX ===== */
.content-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.content-box img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

/* ===== DOCTOR CARD ===== */
.doctor-card {
    text-align: center;
    padding: 30px 20px;
}

.doctor-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    margin: 0 auto 18px;
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

.doctor-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.doctor-spec {
    color: var(--gold-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== FORM STYLING ===== */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-light);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.btn-primary-rsal {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border: none;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-rsal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 22, 40, 0.3);
    color: var(--white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    color: var(--navy);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
    color: var(--navy);
}

/* ===== FAQ ===== */
.accordion-button {
    font-weight: 600;
    color: var(--navy);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: var(--gold);
}

.accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    margin-top: 60px;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-brand {
    font-size: 1.3rem;
    color: var(--white);
}

.footer-brand i {
    color: var(--gold);
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-title {
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--white);
    transition: var(--transition);
}

.social-btn.wa { background: #25D366; }
.social-btn.tg { background: #0088cc; }
.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.yt { background: #FF0000; }

.social-btn:hover {
    transform: translateY(-3px) scale(1.08);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    font-size: 0.88rem;
}

.badge-paripurna {
    background: var(--gold);
    color: var(--navy);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* ===== FLOATING BUTTONS ===== */
.floating-contact {
    position: fixed;
    bottom: 90px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: var(--transition);
}

.float-wa {
    background: #25D366;
}

.float-tg {
    background: #0088cc;
}

.float-btn:hover {
    transform: scale(1.12);
    color: var(--white);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .main-navbar .nav-link {
        padding: 10px 16px !important;
    }
    
    .btn-nav-cta {
        margin: 10px 16px;
        display: inline-block;
        text-align: center;
    }
    
    .dropdown-menu {
        background: var(--navy-light);
    }
    
    .dropdown-item {
        color: rgba(255,255,255,0.9);
    }
    
    .dropdown-item:hover {
        background: rgba(201, 162, 39, 0.2);
        color: var(--gold);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .btn-hero-outline {
        margin-left: 0;
        margin-top: 12px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .content-box {
        padding: 25px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .floating-contact {
        bottom: 80px;
        right: 15px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* ===== ADMIN STYLES (shared) ===== */
.admin-sidebar {
    background: var(--navy);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    padding-top: 20px;
}

.admin-content {
    margin-left: 260px;
    padding: 30px;
    min-height: 100vh;
    background: #f1f5f9;
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-content {
        margin-left: 0;
    }
}
