/* Reset dan Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 2rem;
  background: rgba(139, 69, 19, 0.95);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #FFD700;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #FFD700;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

.hero-text {
  text-align: center;
  color: white;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(45deg, #FFD700, #FFA500);
  color: #333;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  background: linear-gradient(45deg, #FFA500, #FFD700);
}

/* Menu Section */
.menu-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.menu-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #8B4513;
}

.menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.menu-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.menu-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-item:hover img {
  transform: scale(1.1);
}

.menu-item p {
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  color: #333;
  background: white;
}

/* About Section */
.tentang-section {
  padding: 5rem 2rem;
  background: white;
  text-align: center;
}

.tentang-section h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #8B4513;
}

.tentang-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Contact Section */
.kontak-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  color: white;
  text-align: center;
}

.kontak-section h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.kontak-section p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.kontak-section a {
  color: #FFD700;
  text-decoration: none;
}

.kontak-section a:hover {
  text-decoration: underline;
}

#form-pesan {
  max-width: 500px;
  margin: 3rem auto 0;
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

#form-pesan h3 {
  margin-bottom: 1.5rem;
  color: #FFD700;
}

#form-pesan input,
#form-pesan textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  font-size: 1rem;
}

#form-pesan textarea {
  height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modal for Menu Items */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 500px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1;
  background: rgba(0,0,0,0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(139, 69, 19, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .menu-container {
    grid-template-columns: 1fr;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #8B4513;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.scroll-to-top:hover {
  background: #A0522D;
  transform: translateY(-3px);
}
/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.notification.success {
    background: #4CAF50;
}

.notification.info {
    background: #2196F3;
}

.notification.error {
    background: #f44336;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn {
    position: relative;
    overflow: hidden;
}

/* Form Validation Styles */
input:invalid, textarea:invalid {
    border: 2px solid #ff4444 !important;
}

input:valid, textarea:valid {
    border: 2px solid #4CAF50 !important;
}

/* Loading state for form */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}
/* Kontak Section Styles */
.kontak-info {
  margin-bottom: 2rem;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.alamat {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(45deg, #34A853, #0F9D58);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
}

.maps-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 168, 83, 0.4);
  background: linear-gradient(45deg, #0F9D58, #34A853);
}

.maps-icon {
  font-size: 1.2rem;
}

.telepon {
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.telepon a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.telepon a:hover {
  text-decoration: underline;
}

/* Responsive Design untuk Kontak Section */
@media (max-width: 768px) {
  .kontak-info {
    text-align: center;
  }
  
  .alamat, .telepon {
    padding: 1rem;
  }
  
  .maps-link {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Tambahan styling untuk form */
#form-pesan {
  max-width: 500px;
  margin: 3rem auto 0;
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

#form-pesan h3 {
  margin-bottom: 1.5rem;
  color: #FFD700;
  text-align: center;
}

#form-pesan input,
#form-pesan textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  font-size: 1rem;
  transition: all 0.3s ease;
}

#form-pesan input:focus,
#form-pesan textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

#form-pesan textarea {
  height: 120px;
  resize: vertical;
  font-family: 'Arial', sans-serif;
}