/* ======= Fullscreen Slider Styles ======= */
.fullscreen-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.fullscreen-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.fullscreen-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fullscreen-slider .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    padding-top: 80px; /* Adjust based on navbar height */
}

.fullscreen-slider .slide-content h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.fullscreen-slider .slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.fullscreen-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.fullscreen-slider .slide-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #F4953F;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.fullscreen-slider .slide-button:hover {
    background-color: #e07a2a;
    transform: translateY(-3px);
}

/* Swiper Navigation Buttons */
.fullscreen-slider .swiper-button-next,
.fullscreen-slider .swiper-button-prev {
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.fullscreen-slider .swiper-button-next:hover,
.fullscreen-slider .swiper-button-prev:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
}

.fullscreen-slider .swiper-button-next:after,
.fullscreen-slider .swiper-button-prev:after {
    font-size: 20px;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .fullscreen-slider .slide-content {
        padding-top: 60px;
    }
    
    .fullscreen-slider .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .fullscreen-slider .slide-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .fullscreen-slider .slide-content {
        padding-top: 50px;
    }
    
    .fullscreen-slider .slide-content h2 {
        font-size: 2rem;
    }
    
    .fullscreen-slider .slide-content p {
        font-size: 1rem;
    }
    
    .fullscreen-slider .slide-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .fullscreen-slider .slide-content {
        padding-top: 40px;
    }
    
    .fullscreen-slider .slide-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .fullscreen-slider .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .fullscreen-slider .slide-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Transition to Main Content */
#priority-events {
    position: relative;
    z-index: 1;
    background: #f8f9fa;
    padding-top: 60px;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
}

/* ======= Priority Events Styles ======= */
.priority-events {
    padding: 60px 0;
    background: #f8f9fa;
}

.priority-events .section-title {
    text-align: left;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.priority-events .section-title:after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #F4953F;
    bottom: 0;
    left: 0;
}

.priority-events .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.priority-events .section-title p {
    color: #666;
    font-size: 1.1rem;
}

.priority-events .event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.priority-events .event-card:hover {
    transform: translateY(-5px);
}

.priority-events .event-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.priority-events .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.priority-events .event-card:hover .event-image img {
    transform: scale(1.1);
}

.priority-events .event-content {
    padding: 15px;
}

.priority-events .event-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.priority-events .event-content p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.priority-events .event-link {
    display: inline-flex;
    align-items: center;
    color: #F4953F;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.priority-events .event-link:hover {
    color: #e07a2a;
}

.priority-events .event-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.priority-events .event-link:hover i {
    transform: translateX(5px);
}

/* ======= Layanan Kebudayaan Section Styles ======= */
.layanan-kebudayaan {
    padding: 60px 0;
    background: #f8f9fa;
}

.layanan-kebudayaan .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.layanan-kebudayaan .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.layanan-kebudayaan .section-title p {
    color: #666;
    font-size: 1.1rem;
}

.layanan-kebudayaan .layanan-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: #333;
    margin-bottom: 30px;
}

.layanan-kebudayaan .layanan-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #F4953F;
}

.layanan-kebudayaan .layanan-item .icon {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #F4953F;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.layanan-kebudayaan .layanan-item:hover .icon {
    transform: scale(1.1);
    background-color: #e07a2a;
}

.layanan-kebudayaan .layanan-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

/* ======= Counts Section Styles ======= */
.counts {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.counts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.counts .section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.counts .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.counts .section-title p {
    color: #666;
    font-size: 1.1rem;
}

.counts .stats-row {
    position: relative;
    z-index: 1;
}

.counts .stat-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.counts .stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #F4953F, #e07a2a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.counts .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.counts .stat-item:hover::after {
    transform: scaleX(1);
}

.counts .stat-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #F4953F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.counts .stat-item:hover .stat-icon {
    transform: rotate(360deg);
    background-color: #e07a2a;
}

.counts .stat-icon i {
    font-size: 24px;
    color: #fff;
}

.counts .stat-info {
    flex-grow: 1;
}

.counts .stat-info span {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.counts .stat-info p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

@media (max-width: 991px) {
    .counts .stat-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .counts .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .counts .stat-icon i {
        font-size: 20px;
    }
    
    .counts .stat-info span {
        font-size: 28px;
    }
    
    .counts .stat-info p {
        font-size: 14px;
    }
}

/* ======= About Section Styles ======= */
.about {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    opacity: 0;
    z-index: 0;
    animation: gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}

.about .about-content {
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about .about-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.about .about-content h3:after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #F4953F;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about .about-content p {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about .feature-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 10px;
    background-color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.about .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.about .feature-box .icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #F4953F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.about .feature-box:hover .icon {
    transform: scale(1.1);
}

.about .feature-box .icon i {
    font-size: 24px;
    color: #fff;
}

.about .feature-box .content {
    flex-grow: 1;
    text-align: left;
}

.about .feature-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222222;
}

.about .feature-box p {
    font-size: 15px;
    color: #777;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ======= Blog Section Styles ======= */
.blog {
    padding: 60px 0;
    background-color: #fff;
}

.blog .posts-list article {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 0;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog .posts-list article:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog .posts-list .post-img {
    max-height: 220px;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.blog .posts-list .post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog .posts-list article:hover .post-img img {
    transform: scale(1.08);
}

.blog .posts-list .post-content {
    padding: 25px 20px;
}

.blog .posts-list .post-category {
    font-size: 12px;
    color: #F4953F;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-left: 0;
    display: inline-block;
    background-color: rgba(244, 149, 63, 0.1);
    padding: 5px 12px;
    border-radius: 30px;
}

.blog .posts-list .title {
    font-size: 18px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.blog .posts-list .title a {
    color: #222222;
    transition: 0.3s;
}

.blog .posts-list .title a:hover {
    color: #F4953F;
}

.blog .posts-list .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.blog .posts-list .post-author-list {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 13px;
    color: #333;
}

.blog .posts-list .post-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 0;
}

/* Button Styling */
.blog .btn-warning {
    background-color: #F4953F;
    border-color: #F4953F;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 15px;
}

.blog .btn-warning:hover {
    background-color: #e0852e;
    border-color: #e0852e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 149, 63, 0.3);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .fullscreen-slider {
        height: 600px;
    }
    
    .fullscreen-slider .slide-content h2 {
        font-size: 2.5rem;
    }

    .fullscreen-slider .slide-content p {
        font-size: 1rem;
    }

    .priority-events .section-title h2,
    .about h3,
    .blog h1,
    .counts .section-title h2 {
        font-size: 2rem;
    }

    .about {
        padding: 50px 0;
    }
    
    .about .about-content h3 {
        font-size: 24px;
    }

    .counts {
        padding: 50px 0;
    }
    
    .counts .count-box {
        padding: 25px 15px;
    }
    
    .counts .count-box i {
        font-size: 28px;
        width: 50px;
        height: 50px;
    }
    
    .counts .count-box span {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .fullscreen-slider {
        height: 500px;
    }
    
    .fullscreen-slider .slide-content h2 {
        font-size: 2rem;
    }

    .priority-events .section-title h2,
    .about h3,
    .blog h1,
    .counts .section-title h2 {
        font-size: 1.8rem;
    }

    .counts {
        padding: 40px 0;
    }
    
    .counts .count-box {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .counts .count-box i {
        font-size: 24px;
        width: 45px;
        height: 45px;
    }
    
    .counts .count-box span {
        font-size: 28px;
    }

    .about {
        padding: 40px 0;
    }
    
    .about .feature-box {
        padding: 15px;
    }
    
    .about .feature-box .icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .about .feature-box .icon i {
        font-size: 20px;
    }
    
    .about .feature-box h4 {
        font-size: 16px;
    }
    
    .about .feature-box p {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .fullscreen-slider {
        height: 100vh;
    }

    .fullscreen-swiper {
        height: 100vh;
    }
    
    .fullscreen-slider .swiper-button-next{
        padding: 15px;
    }

    .fullscreen-slider .swiper-button-prev{
        padding: 15px;
    }
    
    .fullscreen-slider .slide-content h2 {
        font-size: 1.8rem;
    }

    .priority-events .section-title h2,
    .about h3,
    .blog h1,
    .counts .section-title h2 {
        font-size: 1.5rem;
    }

    .counts .count-box i {
        font-size: 2rem;
    }

    .counts .count-box span {
        font-size: 1.8rem;
    }
}

/* Aspect ratio container for better image handling */
.fullscreen-slider .aspect-ratio-box {
    position: relative;
    height: 0;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.fullscreen-slider .aspect-ratio-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loading state */
.fullscreen-slider.is-loading {
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Section Title Styling - Unified for all sections */
.section-title {
    margin-bottom: 40px;
    text-align: center;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222222;
    position: relative;
    padding-bottom: 25px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #F4953F;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 16px;
    color: #777;
    margin-bottom: 0;
    margin-top: 20px;
}

/* Remove the old priority-events section title styling */
.priority-events .section-title:after {
    display: none;
} 