/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d6e4e;
    --dark-green: #1a4d35;
    --light-green: #e8f5e9;
    --accent-gold: #d4af37;
    --white: #ffffff;
    --soft-gray: #f5f5f5;
    --text-dark: #333333;
    --text-gray: #666666;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(45,110,78,0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* ===== NAVIGATION ===== */
nav {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--light-green);
    color: var(--primary-green);
}

nav button {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

nav button:hover {
    background-color: var(--dark-green);
}

nav .auth-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}



/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-green);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ===== CONTENT SECTIONS ===== */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 5rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ===== STATISTICS ===== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ===== PROFILE SECTION ===== */
.profile-content {
    background: var(--light-green);
    padding: 3rem;
    border-radius: 16px;
    line-height: 1.8;
}

.profile-content h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.profile-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* ===== ACTIVITIES GRID ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.activity-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.activity-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.activity-card h3 a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.activity-card h3 a:hover {
    color: var(--dark-green);
}

.activity-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ===== STRUCTURE GRID ===== */
.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.member-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-green);
}

.member-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 2rem;
    border: 3px solid var(--primary-green);
}

.member-info strong {
    display: block;
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.member-info span {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.member-info em {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== DETAIL PAGE ===== */
.detail-header {
    background: var(--light-green);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.detail-header h1 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.detail-meta {
    color: var(--text-gray);
    font-size: 1rem;
}

.detail-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.detail-video {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.detail-video iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2rem 0;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--dark-green);
    transform: translateX(-5px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}
.about-image {
    width: 100%;
    max-width: 420px;
}

.about-image-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f7a4f; /* hijau KMI */
    line-height: 1;
}



/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-6 {
    margin-bottom: 2rem;
}

.text-2xl {
    font-size: 2rem;
}

.font-bold {
    font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content {
        padding: 2rem 1rem;
    }
    
    nav .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .activities-grid,
    .structure-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-video iframe {
        height: 250px;
    }
    
    .member-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}