/* SPPI Bersatu Website Styles */

:root {
    --primary-blue: #0066b3;
    --dark-blue: #004080;
    --light-blue: #0091d5;
    --bg-blue: #0077be;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #666666;
    --text-dark: #333333;
    --yellow: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-blue);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a.active {
    color: #ff4444;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons .twitter {
    background: #1da1f2;
}

.social-icons .instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icons .facebook {
    background: #1877f2;
}

.social-icons .youtube {
    background: #ff0000;
}

/* Hero Section */
.hero {
    padding: 40px 20px;
}

.hero-slider {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-slide {
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-badge {
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-period {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 11px;
    margin-bottom: 20px;
}

.hero-title {
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.hero-btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s;
}

.hero-btn:hover {
    background: var(--dark-blue);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.hero-dot.active {
    background: var(--white);
}

/* News Section */
.news-section {
    padding: 40px 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    text-decoration: underline;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: var(--gray);
}

.btn-load-more {
    display: block;
    margin: 30px auto 0;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Social Media Section */
.social-section {
    padding: 40px 20px;
    text-align: center;
}

.section-title {
    color: var(--yellow);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    font-style: italic;
}

.section-subtitle {
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-divider span {
    color: var(--yellow);
    font-size: 28px;
    font-style: italic;
}

.section-divider::before,
.section-divider::after {
    content: '';
    width: 100px;
    height: 2px;
    background: var(--yellow);
}

/* YouTube Section */
.youtube-section {
    padding: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: var(--white);
    padding: 40px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 60px;
}

.footer-org-name {
    font-size: 11px;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.4;
}

.footer-address {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.6;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-nav-col h4 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-col a {
    font-size: 13px;
    color: var(--gray);
    transition: color 0.3s;
}

.footer-nav-col a:hover {
    color: var(--primary-blue);
}

/* Bottom Bar */
.bottom-bar {
    background: var(--primary-blue);
    padding: 15px 20px;
}

.bottom-bar-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.bottom-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 13px;
}

.bottom-social-link svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 24px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-bar-content {
        flex-wrap: wrap;
        gap: 15px;
    }
}