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

body {
    background-color: #fef3d3;
    /* champagne gold */
    color: #2c3e50;
    line-height: 1.6;
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff8e1;
    padding: 20px 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigasi */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #d4af37;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #fff8e1, #fff);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 30px;
}

.hero-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Konten */
.content-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-section p {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Form Container */
.form-container {
    max-width: 600px;
    margin: auto;
    background: #fffdf5;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #d4af37;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

input[type="file"] {
    padding: 8px;
    background-color: #f9f9f9;
}

button[type="submit"] {
    background-color: #3498db;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}

/* Validasi */
.input-error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

/* Dropdown Custom */
.dropdown {
    position: relative;
    margin-bottom: 20px;
}

.selected-item {
    padding: 12px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
}

.dropdown-content div {
    padding: 10px;
    cursor: pointer;
}

.dropdown-content div:hover {
    background-color: #3498db;
    color: white;
}

/* Responsif */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 10px;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 10px 0;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .content-section {
        padding: 0 10px;
    }

    .form-container {
        padding: 20px;
    }
}