/* Profile Page Styles - Profil.html */

/* Profile Hero Section */
.profil-hero {
    margin-top: 0;
    position: relative;
    height: 100vh;  /* Tinggi hero gambar menjadi penuh layar */
    overflow: hidden;
}

.profil-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.profil-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Profile Title Section */
.profil-title-section {
    background: var(--primary-green);
    padding: 20px 0;  /* Mengurangi padding di bagian atas */
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 0vh;  /* Menurunkan teks ke bawah agar tidak menutupi gambar */
    margin-bottom: -10px;  /* Mengurangi jarak bawah agar lebih dekat dengan foto */
}

.profil-title {
    font-family: var(--font-garamond);
    font-size: 2.5rem;
    font-weight: 700;
    color: #1C3A1C;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.profil-subtitle {
    font-family: var(--font-montserrat);
    font-size: 1.2rem;
    font-weight: 600;
    color:#1C3A1C;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Profile Content Section */
.profil-content-section {
    background: var(--light-beige);
    padding: 50px 0;
    position: relative;
    margin-top: -10px;  /* Mengurangi jarak antara foto dan konten */
}

.profil-text-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.profil-text-content p {
    font-family: var(--font-poppins);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
    color: #2F4F2F;
    text-indent: 0;
    margin-top: 0;
}

.profil-text-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Profile Page */
@media (max-width: 768px) {
    .profil-hero {
        margin-top: 0;
        height: 70vh;
    }

    .profil-title-section {
        padding: 20px 0;
        margin-top: 12vh;
        margin-bottom: -5px;  /* Mengurangi jarak bawah */
    }

    .profil-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .profil-subtitle {
        font-size: 1rem;
    }

    .profil-content-section {
        padding: 40px 0;
        margin-top: -5px;
    }

    .profil-text-content {
        padding: 0 30px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profil-text-content p {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .profil-hero {
        margin-top: 0;
        height: 50vh;
    }

    .profil-title-section {
        padding: 25px 0;
        margin-top: 10vh;
    }

    .profil-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .profil-subtitle {
        font-size: 1rem;
    }

    .profil-content-section {
        padding: 30px 0;
    }

    .profil-text-content {
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .profil-text-content p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }
}

/* Extra small mobile devices */
@media (max-width: 320px) {
    .profil-hero {
        margin-top: 0;
        height: 40vh;
    }

    .profil-title-section {
        padding: 20px 0;
        margin-top: 5vh;
    }

    .profil-title {
        font-size: 1.6rem;
    }

    .profil-subtitle {
        font-size: 0.9rem;
    }

    .profil-content-section {
        padding: 25px 0;
    }

    .profil-text-content {
        padding: 0 15px;
        gap: 20px;
    }

    .profil-text-content p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 14px;
    }
}
