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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.navbar {
    background: #3b9dff;
    color: rgb(105, 62, 62);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3498db;
}

.btn-admin {
    background: #e74c3c;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.hero {
    /* Tempel link dari Supabase di dalam url() */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('https://dyawxkqcrzawgfglzbcm.supabase.co/storage/v1/object/sign/gambar/IMG_2115.JPG?token=eyJraWQiOiJzdG9yYWdlLXVybC1zaWduaW5nLWtleV9iZDg4Y2FjZC1jYjAxLTQwZTctOTQwMC03ODlkZWMwMjQ4NjkiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJnYW1iYXIvSU1HXzIxMTUuSlBHIiwiaWF0IjoxNzcxODk5MDA0LCJleHAiOjE4MDM0MzUwMDR9.mA2Qk85v5MX7Ag8-5Foxhvso7QR5_doxFf0tzaHQxPw');
    
    background-size: cover;
    background-position: center;
    color: white;
    padding: 15rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #2980b9;
}

.info-section,
.news-section,
.content-section,
.ppdb-section {
    padding: 4rem 0;
}

.program-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: bold;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

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

.program-content {
    padding: 1.5rem;
}

.program-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.program-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.link-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.link-more:hover {
    color: #2980b9;
    text-decoration: underline;
}

.program-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.program-detail-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.program-detail-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-detail-content {
    padding: 2rem;
}

.program-detail-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.program-detail-content h3 {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.program-detail-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.program-detail-content ul {
    list-style: none;
    padding-left: 0;
}

.program-detail-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.program-detail-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

@media (max-width: 768px) {
    .program-detail-card {
        grid-template-columns: 1fr;
    }
    
    .program-detail-card img {
        height: 200px;
    }
}

.info-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

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

.info-card {
    padding: 2rem;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.info-card h3,
.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.news-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.page-header {
    background: #34495e;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.form-section {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.ppdb-info {
    margin-bottom: 3rem;
}

.info-box {
    background: #ecf0f1;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.profile-content h2,
.profile-content h3 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.profile-content ul {
    margin-left: 2rem;
}

.profile-content li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info p {
    margin-bottom: 1rem;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}
