/* Variabel Tema Warna - Soft Pink / Dusty Pink */
:root {
    --primary-color: #d89f9c;      /* Dusty Pink */
    --primary-hover: #c48b88;
    --secondary-color: #f7e1d7;    /* Soft Pastel Pink */
    --accent-color: #a894a3;       /* Soft Purple / Rose Muted */
    --text-dark: #4a4040;
    --text-light: #7b7171;
    --bg-main: #fdfaf9;            /* Sangat terang, hint of pink */
    --bg-card: #ffffff;
    --error-color: #e57373;
    --success-color: #81c784;
}

/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Tipografi & Util */
h1, h2, h3 {
    font-weight: 600;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- HEADER & NAV (FLEXBOX) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: var(--bg-card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-color);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

/* --- BUTTONS --- */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(216, 159, 156, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: #ead1c5;
}

/* --- HERO SECTION --- */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to right, rgba(253, 250, 249, 0.9), rgba(247, 225, 215, 0.7)),
                url('https://images.unsplash.com/photo-1518548419970-58e3b4079ab2?auto=format&fit=crop&w=1350&q=80') center/cover;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-hover);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* --- PACKAGES SECTION --- */
.packages-section {
    padding: 5rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-hover);
}

/* Container Flexbox Horizontal di Desktop */
.package-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Kartu / Card Package */
.card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 8px 20px rgba(216, 159, 156, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(216, 159, 156, 0.2);
}

.card-img {
    height: 200px;
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.card-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.btn-delete {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.85rem;
}

.btn-delete:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Form Tambah Paket Admin Panel */
.admin-panel {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    margin-top: 4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
}

.add-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.add-form input {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
}

.add-form input:focus {
    border-color: var(--primary-color);
}

/* --- BOOKING SECTION --- */
.booking-section {
    background-color: var(--secondary-color);
    padding: 5rem 5%;
    display: flex;
    justify-content: center;
}

.booking-card {
    background: var(--bg-card);
    width: 100%;
    max-width: 700px;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.booking-card h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-hover);
}

.booking-card p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.form-control {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.half-width {
    flex: 1;
}

.form-control label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control input[type="text"],
.form-control input[type="email"],
.form-control input[type="number"],
.form-control select {
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    outline: none;
    background-color: var(--bg-main);
}

.form-control input:focus,
.form-control select:focus {
    border-color: var(--primary-color);
    background-color: #fff;
}

.radio-group, .checkbox-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400 !important;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Error States */
.error-msg {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-control.error input,
.form-control.error select {
    border-color: var(--error-color);
}

.form-control.error .error-msg {
    display: block;
}

.success-msg {
    color: var(--success-color);
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
}

/* --- FOOTER --- */
footer {
    background-color: var(--text-dark);
    color: white;
    text-align: center;
}

.footer-content {
    padding: 3rem 5%;
}

.logo-footer {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    background-color: #383131;
    padding: 1rem;
    font-size: 0.9rem;
    color: #bbb;
}

/* --- MEDIA QUERIES (RESPONSIVE) --- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* Sederhana untuk mobile */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .add-form {
        flex-direction: column;
    }
    
    /* Layout Vertikal untuk Mobile (Requirement) */
    .package-container {
        flex-direction: column;
        align-items: center;
    }
    
    .card {
        width: 100%;
        max-width: 350px;
    }
}
