/* Frontpage Specific Styles */

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.slide-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.slide-subtitle {
    font-size: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease;
}

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: white;
    background: rgba(141, 23, 27, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background: var(--primary-yellow);
    color: var(--primary-red);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
    font-size: 24px;
}

.heroSwiper .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: white;
    opacity: 0.5;
}

.heroSwiper .swiper-pagination-bullet-active {
    background: var(--primary-yellow);
    opacity: 1;
}

/* Quick Links */
.quick-links {
    padding: 0;
    background: transparent;
    margin-top: -150px;
    position: relative;
    z-index: 100;
}

.quick-link-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-yellow));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.quick-link-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(141, 23, 27, 0.25);
    border-color: var(--primary-red);
}

.quick-link-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(141, 23, 27, 0.3);
}

.quick-link-card:hover .quick-link-icon {
    background: linear-gradient(135deg, var(--primary-yellow), #ffed4e);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

.quick-link-icon i {
    font-size: 2.5rem;
    color: white;
}

.quick-link-card:hover .quick-link-icon i {
    color: var(--primary-red);
}

.quick-link-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.quick-link-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-yellow));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Latest News */
.latest-news {
    padding: 150px 0 80px 0;
    background: white;
}

.news-card.featured {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    height: 100%;
}

.news-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card.featured:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-yellow), #ffed4e);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-meta i {
    color: var(--primary-red);
    margin-right: 5px;
}

.news-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: var(--primary-red);
}

.news-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item-small {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.news-item-small:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.news-small-image {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.news-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item-small:hover .news-small-image img {
    transform: scale(1.1);
}

.news-small-content {
    flex: 1;
}

.news-meta-small {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.news-meta-small i {
    color: var(--primary-red);
    margin-right: 5px;
}

.news-small-content h5 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.news-small-content h5 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-small-content h5 a:hover {
    color: var(--primary-red);
}

/* News Card Compact */
.news-card-compact {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.news-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-compact-image {
    height: 180px;
    overflow: hidden;
}

.news-compact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card-compact:hover .news-compact-image img {
    transform: scale(1.1);
}

.news-compact-content {
    padding: 20px;
}

/* Combined Agenda & Fraksi Section */
.agenda-fraksi-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    position: relative;
    overflow: hidden;
}

.agenda-fraksi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, rgba(255, 215, 0, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 215, 0, 0.05) 87.5%),
        linear-gradient(150deg, rgba(255, 215, 0, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 215, 0, 0.05) 87.5%);
    background-size: 80px 140px;
}

/* Agenda Section */
.agenda-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    position: relative;
    overflow: hidden;
}

.agenda-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, rgba(255, 215, 0, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 215, 0, 0.05) 87.5%),
        linear-gradient(150deg, rgba(255, 215, 0, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 215, 0, 0.05) 87.5%);
    background-size: 80px 140px;
}

.agenda-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    height: 100%;
}

.agenda-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.agenda-date {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    min-width: 70px;
    flex-shrink: 0;
}

.date-day {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

.agenda-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.agenda-content p {
    color: var(--text-light);
    margin: 3px 0;
    font-size: 0.85rem;
}

.agenda-content i {
    color: var(--primary-red);
    margin-right: 6px;
}

/* Fraksi Section */
.fraksi-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.fraksi-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
}

.fraksi-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.fraksi-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fraksi-card:hover .fraksi-logo {
    transform: scale(1.1);
}

.fraksi-logo img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.fraksi-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.fraksi-count {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Document Statistics */
.document-stats {
    padding: 150px 0 80px 0;
    background: white;
}

.stats-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin: 0;
    line-height: 1;
}

.stat-content p {
    color: var(--text-light);
    margin: 5px 0 0;
    font-size: 1rem;
}

.chart-container {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Members Section */
.members-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.member-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    text-align: center;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.member-card:hover .member-photo img {
    transform: scale(1.1);
}

.member-info {
    padding: 30px 20px;
}

.member-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.member-position {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 5px;
}

.member-fraksi {
    color: var(--text-light);
    font-size: 0.9rem;
}

.membersSwiper .swiper-button-next,
.membersSwiper .swiper-button-prev {
    color: var(--primary-red);
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.membersSwiper .swiper-button-next:hover,
.membersSwiper .swiper-button-prev:hover {
    background: var(--primary-red);
    color: white;
}

.membersSwiper .swiper-button-next::after,
.membersSwiper .swiper-button-prev::after {
    font-size: 24px;
}

.membersSwiper .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: var(--text-light);
}

.membersSwiper .swiper-pagination-bullet-active {
    background: var(--primary-red);
}

/* Buttons */
.btn-primary-custom {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(141, 23, 27, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(141, 23, 27, 0.4);
    color: white;
}

.btn-light-custom {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--primary-red);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-light-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
    background: var(--primary-yellow);
    color: var(--primary-red);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .slide-title {
        font-size: 3rem;
    }

    .slide-subtitle {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .agenda-card {
        flex-direction: column;
        text-align: center;
    }

    .agenda-date {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-subtitle {
        font-size: 1.2rem;
    }

    .quick-links {
        padding: 60px 0;
        margin-top: -80px;
    }

    .news-image {
        height: 200px;
    }

    .member-photo {
        height: 250px;
    }
}

