* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #0a0e1a;
    --secondary-color: #1e3a8a;
    --accent-color: #3b82f6;
    --text-light: #ffffff;
    --text-dark: #1f2937;
    --gradient-start: #0f172a;
    --gradient-end: #1e3a8a;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    min-height: 100vh;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

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

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #1f2937;
    margin: 5px;
    transition: all 0.3s ease;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.8),
        rgba(30, 58, 138, 0.9)
    ), url('../images/bg.jpeg') no-repeat center 35%/cover;
    background-blend-mode: overlay;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.6) 0%,
        rgba(30, 58, 138, 0.7) 60%,
        rgba(30, 58, 138, 0.9) 100%
    );
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--gradient-end)
    );
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
}

.greeting {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.greeting .hello {
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.greeting .welcome {
    font-size: 5rem;
    font-weight: 800;
    margin: 0.5rem 0;
    background: linear-gradient(90deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.1;
}

.greeting .to-class {
    font-size: 2.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .greeting .hello {
        font-size: 2rem;
    }
    
    .greeting .welcome {
        font-size: 3.5rem;
    }
    
    .greeting .to-class {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .greeting .hello {
        font-size: 1.8rem;
    }
    
    .greeting .welcome {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
    
    .greeting .to-class {
        font-size: 1.8rem;
    }
}
/* bagian foto-foto kelas */
.gallery {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* struktur kelas sama jadwal */
.structure {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
}

.structure h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.schedule-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.class-structure {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
    margin: 0 auto;
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.class-structure ul {
    padding-left: 1.5rem;
    margin: 0;
}

.class-structure li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    list-style-type: disc;
    text-align: left;
    padding-left: 0.5rem;
}

.class-schedule {
    flex: 2;
    min-width: 300px;
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.schedule-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-navigation button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.schedule-navigation button:hover {
    background: #2563eb;
}

.schedule-navigation h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #e2e8f0;
}

.day-schedule {
    display: none;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 15px 0;
    animation: fadeIn 0.5s ease-in-out;
}

.day-schedule.active {
    display: block;
}

.schedule-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 0 10px;
}

.schedule-navigation button {
    padding: 8px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.schedule-navigation button:hover {
    background: #2563eb;
}

.schedule-navigation h4 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .schedule-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .day-schedule {
        padding: 1rem;
    }
    
    .day-schedule h4 {
        font-size: 1.2rem;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

footer {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-light);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.rating span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h3 {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--gradient-end);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: 0.5s;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .nav-links li a {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-content h3 {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .greeting {
        padding: 1rem 1.5rem;
    }
    
    .greeting p {
        font-size: 1.4rem;
    }
    
    .schedule-container {
        flex-direction: column;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        margin-bottom: 2.5rem;
    }
}