/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f9fafb;
  color: #333;
  line-height: 1.6;
}

/* ===== Navbar Modern Style ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 10px 50px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.navbar .logo {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
.navbar .logo span {
  color: #ff6b6b;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
}
.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links li a:hover {
  color: #ff6b6b;
}

/* Tombol Login Admin */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6b6b, #ff9f43);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255,107,107,0.4);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 10px 20px;
  }
  .nav-links {
    flex-basis: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }
  .admin-btn {
    margin-top: 10px;
  }
}


.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: white;
  text-align: center;
  background: url("image/warunkita.png") no-repeat center center/cover; /* Ganti warna abu jadi foto */
}

/* Overlay agar teks tetap jelas dibaca di atas foto */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* lapisan gelap transparan */
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  animation: fadeInDown 1.5s ease;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  animation: fadeInUp 2s ease;
}

.btn-hero {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ff4d6d;
  color: white;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  animation: fadeIn 2.5s ease;
}

.btn-hero:hover {
  background-color: #ff1e50;
}

/* Animasi sederhana */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Section Title */
.section-title {
  text-align: center;
  margin: 50px 0 30px;
  font-size: 2rem;
  color: #1e293b;
  font-weight: 700;
}

/* Menu Container */
.menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

/* Menu Card */
.menu-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.menu-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover img {
  transform: scale(1.08);
}

.menu-content {
  padding: 18px;
}

.menu-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.menu-content p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #475569;
}

.price {
  font-weight: bold;
  color: #e11d48;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #be123c, #9f1239);
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #1e293b;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* Tentang Kami Section */
.about-section {
  background: #fff;
  padding: 100px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.about-text h2 span {
  color: #e67e22;
  font-family: "Brush Script MT", cursive;
}

.about-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.btn-about {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-about:hover {
  background: linear-gradient(135deg, #d35400, #e67e22);
  transform: translateY(-3px);
}

/* Kontak */
.kontak {
  background: #fdfdfd;
  padding: 60px 20px;
}

.kontak .judul {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
  color: #333;
}

.kontak .deskripsi {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.kontak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.info-kontak ul {
  list-style: none;
  padding: 0;
}

.info-kontak li {
  margin: 12px 0;
  color: #444;
  font-size: 15px;
}

.form-kontak form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-kontak input,
.form-kontak textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border 0.3s;
}

.form-kontak input:focus,
.form-kontak textarea:focus {
  border-color: #ff6b35;
}

.form-kontak button {
  background: #ff6b35;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.form-kontak button:hover {
  background: #e65c2c;
}

/* Modal Pesan */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  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: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

.modal-content h3 {
  margin-bottom: 10px;
  text-align: center;
}

.modal-content label {
  display: block;
  margin: 8px 0 4px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.modal-content button {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: #ff914d;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.modal-content button:hover {
  background: #ff751a;
}

.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
  color: #888;
}

.close:hover {
  color: #000;
}

/* ===== Modern Admin Login Button ===== */
.admin-login {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #333, #555);
  color: #fff;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.admin-btn:hover {
  background: linear-gradient(135deg, #ff6b6b, #ff9f43);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255,107,107,0.4);
}

/* Animasi halus saat ditekan */
.admin-btn:active {
  transform: scale(0.97);
}
