/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* HEADER */
header {
    background: linear-gradient(to right, #0077b6, #00b4d8);
    color: white;
    text-align: center;
    padding: 20px;
}
/* GALERI */
.gallery {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}
.foto-galeri {
    width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.foto-galeri:hover {
    transform: scale(1.05);
}


/* NAVBAR */
nav {
    background: #03045e;
}
nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}

nav a:hover {
    background: #90e0ef;
    color: black;
}
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}
nav ul li {
    margin: 10px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}
nav ul li a:hover {
    background: #90e0ef;
    color: black;
}

/* MAIN CONTAINER FLEX */
.container {
    display: flex;
    margin: 20px;
    gap: 20px;
    align-items: flex-start;
}

/* SIDEBAR */
.sidebar {
    flex: 0 0 220px;
    background: #caf0f8;
    padding: 15px;
    border-radius: 10px;
}
.sidebar h2 {
    margin-bottom: 10px;
    color: #03045e;
}
.sidebar ul {
    list-style: none;
}
.sidebar ul li {
    margin: 10px 0;
}
.sidebar ul li a {
    display: block;
    text-decoration: none;
    color: #03045e;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.3s;
}
.sidebar ul li a:hover {
    background: #90e0ef;
    color: #0077b6;
}

/* CONTENT */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CARD */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* FORM */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border: 2px solid #00b4d8;
}
.inline input {
    margin-right: 5px;
}

/* BUTTON */
.btn, .buttons button {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: #0077b6;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}
.btn:hover, .buttons button:hover {
    background: #023e8a;
    transform: scale(1.05);
}
.buttons {
    margin: 10px 0;
}

/* ABOUT PAGE */
.about-box {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}
.about-box h3 {
    color: #0077b6;
    margin-bottom: 15px;
    font-size: 22px;
    animation: pulse 2s infinite;
}
.about-box p {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 16px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    background: #0077b6;
    color: white;
    margin-top: 20px;
    animation: fadeUp 1s ease-in-out;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0% { transform: scale(1); color: #0077b6; }
    50% { transform: scale(1.05); color: #00b4d8; }
    100% { transform: scale(1); color: #0077b6; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .about-box {
        margin: 20px;
        padding: 20px;
    }
}
