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

body {
    width: 100%;
    background: #f9f9f9;
    overflow-x: hidden;
    color: #333;
}

/* Header */
header {
    /* background-color: #343a40; */
    color: black;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    /* transition: color 0.3s; */
}

.nav-links li a:hover {
    color: #ffc107;
}
/* Contact Form */
.contact-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
    height: 150px;
}

.contact-form button {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: #e0a800;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.info-item {
    width: 200px;
}

.info-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.info-item p {
    font-size: 14px;
    line-height: 1.5;
}

/* Map Section */
.map-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        background: #343a40;
        position: absolute;
        right: 0;
        top: 60px;
        width: 200px;
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px;
        background-color: black;
    }

    .nav-links.show {
        display: flex;
    }
}
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: #343a40;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;  /* ✅ biar full lebar */
    display: none;
    padding: 20px 0;
    z-index: 999; /* ✅ supaya di atas konten lain */
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .nav-links li a {
    color: white;
    display: block;
    padding: 10px;
    font-size: 16px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: black;
  }
}

.alert-success,
.alert-error {
    max-width: 600px;
    margin: 15px auto;
    padding: 12px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
