/* Variabel Warna Global */
:root {
    --primary-color: #e86474;
    --primary-hover: #d15664;
    --bg-light: #ffffff;
    --bg-dark: #1a1a1a;
    --text-main: #333333;
    --text-light: #f4f4f4;
    --modal-bg: #f8b4bc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #fafafa;
    line-height: 1.6;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-glass{
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 100%, rgba(0, 0, 0, 0.4) 0%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0);
    padding: 30px;
}

/* Tombol */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Modal / Popup */
.modal {
    display: flex; /* Aktif dari awal */
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--modal-bg);
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-content hr {
    margin: 20px 0;
    border: none;
    border-top: 1px dotted #fff;
}

.letter-content {
    text-align: left;
    font-size: 14px;
    margin-bottom: 24px;
    max-height: 40vh;
    overflow-y: auto;
}

/* Typography */
h1 { font-size: 2.5rem; margin-bottom: 10px; }
h2 { font-size: 2rem; margin-bottom: 15px; }
h3 { font-size: 1.2rem; margin-bottom: 15px; }

/* Header Hero */
.hero {
    text-align: center;
    padding: 60px 0;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto;
    border: none;
}

.hero-img {
    position : relative;

    z-index: -1;

    max-width: 100%;
    height: auto;
    margin-top: 20px;
    
    /* Tambahkan 2 baris di bawah ini */
    transition: transform 0.1s ease-out, filter 0.1s ease-out; 
    will-change: transform, filter;
}

/* Features Grid (4 Kolom) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.card {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Split Section */
.split-section {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-img, .split-text {
    flex: 1;
    min-width: 300px;
}

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-text {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.bg-light { background-color: var(--bg-light); }

/* Closing Section */
.closing {
    text-align: center;
    padding: 60px 0;
}

.closing-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    text-align: left;
    margin-top: 30px;
}

.closing-img {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    border-radius: 8px;
}

.closing-text {
    flex: 1;
    min-width: 300px;
}

footer {
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    color: #888;
}

/* Responsivitas untuk Layar HP */
@media (max-width: 768px) {
    .split-section.reverse { flex-direction: column; }
    .split-section { flex-direction: column; }
    .closing-content { flex-direction: column; text-align: center; }
    h1 { font-size: 2rem; }
    .split-text { padding: 30px 20px; }
}