/* ========================================
   MISSING CSS FOR MESSY SECTIONS
   ======================================== */

/* Grid Layouts untuk semua section */
.unggulan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.unggulan-grid-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Doctor Carousel Container */
.dokter-carousel-container {
    position: relative;
    padding: 0 60px;
    margin-top: 50px;
}

.dokter-carousel {
    overflow: hidden;
    width: 100%;
}

.dokter-slide-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.dokter-card {
    flex: 0 0 calc(25% - 23px);
    min-width: 250px;
}

/* Carousel Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-grad);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-md);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Doctor Photo Styling */
.dokter-photo {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dokter-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dokter-photo i {
    font-size: 80px;
    color: #ccc;
}

/* Doctor Info */
.dokter-info {
    padding: 25px;
}

.dokter-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.dokter-info .jadwal {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 14px;
}

.dokter-info .jadwal i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-bg {
    background: var(--bg-light);
    padding: 100px 0;
}

.news-img {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-img i {
    font-size: 60px;
    color: #ccc;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 20px;
    margin: 15px 0;
    color: var(--text-dark);
}

.news-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.contact-card i {
    font-size: 50px;
    margin-bottom: 20px;
    background: var(--primary-grad);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-grad);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Page Header */
.page-header {
    background: var(--primary-grad);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Responsive untuk tablet */
@media (max-width: 992px) {
    .dokter-card {
        flex: 0 0 calc(50% - 15px);
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .dokter-carousel-container {
        padding: 0 50px;
    }

    .dokter-card {
        flex: 0 0 100%;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .unggulan-grid,
    .news-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }

    .page-header h1 {
        font-size: 36px;
    }
}