/* style-profil.css - Desain Halaman Profil yang Lebih Elegan dan Keren */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

/* Animasi */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4e4376 100%);
    color: white;
    animation: fadeIn 1.5s ease-in;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.85);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideDown 1s ease-in-out;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 4px solid #ffcc00;
    z-index: 1000;
}

.logo {
    width: 200px;
    height: auto;
    transition: transform 0.5s ease-in-out;
    animation: float 4s ease-in-out infinite;
}

.logo:hover {
    transform: rotateY(360deg) scale(1.2);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
}

nav ul li a:hover, .active {
    color: #ffcc00;
    text-shadow: 0px 0px 20px #ffcc00;
    transform: scale(1.1);
}

/* Profil Section */
.profil {
    text-align: center;
    padding: 150px 20px;
    margin-top: 100px;
    animation: fadeIn 1.5s ease-in-out;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.profil h1 {
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 15px rgba(255, 255, 255, 0.3);
    background: linear-gradient(90deg, #ffcc00, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profil p {
    font-size: 22px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

.profil h2 {
    font-size: 36px;
    margin: 40px 0 20px 0;
    color: #ffcc00;
    text-shadow: 0px 0px 15px rgba(255, 204, 0, 0.5);
}

.profil ul {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.profil ul li {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 15px 0;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.4s, background 0.4s;
    font-size: 18px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.profil ul li:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    text-align: center;
    padding: 15px 0;
    animation: fadeIn 2s ease-in;
    box-shadow: 0px -5px 20px rgba(0, 0, 0, 0.5);
    border-top: 4px solid #ffcc00;
    z-index: 1000;
}

footer p {
    margin: 0;
    font-size: 18px;
    color: #ffcc00;
}
footer .social-media {
    margin-top: 0px;
}

footer .social-media a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

footer .social-media a:hover {
    color: #ffcc00;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .logo {
        width: 180px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    nav ul li a {
        font-size: 18px;
    }

    .profil {
        padding: 120px 20px;
    }

    .profil h1 {
        font-size: 36px;
    }

    .profil p {
        font-size: 18px;
        max-width: 90%;
    }

    .profil h2 {
        font-size: 30px;
    }

    .profil ul li {
        font-size: 16px;
    }
}
