/* assets/css/style.css */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Custom Nav Hover */
.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
    /* Warning / Kuning */
}

/* Footer Link Hover */
.custom-link-hover {
    transition: all 0.3s ease;
}

.custom-link-hover:hover {
    color: #ffc107 !important;
    padding-left: 5px;
}

/* Dynamic Hero Section */
.hero-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(181, 19, 19, 0.4);
    /* Merah transparan */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(220, 53, 69, 0.3) 100%);
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Page Headers */
.page-header {
    background-color: #dc3545;
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* Password Toggle Eye Icon styling for Admin/Auth */
.password-toggle-container {
    position: relative;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}

/* Responsive Content Images */
.content-reading img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.note-float-left {
    margin-right: 15px;
}

/* Berita Detail Typography */
.news-detail-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
}

.news-detail-content {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .news-detail-title {
        font-size: 2rem;
    }

    .news-detail-content {
        font-size: 1rem;
        line-height: 1.9;
    }
}

/* Auto-sliding Logo Banner */
.logo-slider-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.logo-slider-track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    animation: slideLogo 20s linear infinite;
}

.logo-slider-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
    width: 150px;
    text-align: center;
}

.logo-item img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-item:hover img {
    transform: scale(1.1);
}

@keyframes slideLogo {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

@media (max-width: 768px) {
    .note-float-left {
        width: 100% !important;
        height: auto !important;
        float: none !important;
        display: block !important;
        margin-right: 0 !important;
    }

    .logo-slider-track {
        gap: 1rem;
    }

    .logo-item {
        width: 100px;
    }

    .hero-banner {
        height: 20vh;
        min-height: 200px;
    }

}