/* Hero Section Styles */
.hero-section {
    position: relative;
    background-attachment: fixed !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-top: 20px;
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    max-width: 90%;
}

.hero-image-wrapper {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.floating-animation {
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    max-width: 85%;
    height: auto;
    object-fit: contain;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Button Styles */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

/* Tags Styling */
.tags .badge {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.tags .badge:hover {
    transform: translateY(-2px);
}

/* News Card Styles */
.news-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    background: white;
}

.hover-scale:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.hover-translate:hover {
    transform: translateY(-10px);
}

.card-img-wrapper {
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.card-img-wrapper img {
    transition: all 0.5s ease;
}

.card-img-wrapper:hover img {
    transform: scale(1.1);
}

/* Search Box Styles */
.search-box-wrapper {
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.95);
}

.search-box-wrapper:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.search-box-wrapper .form-control {
    font-size: 1.1rem;
    padding: 1.2rem 1.5rem;
}

.search-box-wrapper .form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        min-height: auto;
        text-align: center;
    }
    
    .hero-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .tags {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
        padding: 1rem;
    }

    .floating-animation {
        max-width: 70%;
    }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Icon Styles */
.icon-selengkapnya {
    width: 130px;
    height: auto;
    transition: transform 0.3s ease;
}

.icon-selengkapnya:hover {
    transform: scale(1.1);
}

.icon-selengkapnya-sm {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}

.icon-selengkapnya-sm:hover {
    transform: scale(1.1);
}

/* Custom Pagination Styles */
.pagination {
    gap: 5px;
}

.page-link {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    border: none;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #0d6efd;
    color: #fff;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background-color: #0d6efd;
    color: #fff;
} 