h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}
body {
  font-family: "Open Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #8b4513 0%, #d2691e 50%, #f4a460 100%);
  color: #fff8dc;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  background: rgba(139, 69, 19, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffd700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #fff8dc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffd700;
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(139, 69, 19, 0.95);
  position: absolute;
  top: 90px;
  right: 20px;
  padding: 20px;
  border-radius: 8px;
}

/* Tombol toggle hamburger */
.toggle {
  margin-left: 20px;
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.toggle span {
  display: block;
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* Animasi garis jadi X */
.toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}
.toggle.open span:nth-child(2) {
  opacity: 0;
}
.toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}
.reservation-btn {
  background: #ffd700;
  color: #8b4513;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.reservation-btn:hover {
  background: #ffc400;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #ffd700;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.6s;
}

.btn-primary {
  background: #ffd700;
  color: #8b4513;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #ffc400;
}

.btn-secondary {
  background: transparent;
  color: #ffd700;
  border: 2px solid #ffd700;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #ffd700;
  color: #8b4513;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: #fff8dc;
}

/* About Section */
.about {
  background: rgba(139, 69, 19, 0.3);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-content p {
  margin-bottom: 14px;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Menu Section */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.menu-card {
  background: rgba(139, 69, 19, 0.8);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-5px);
}

.menu-image {
  height: 200px;
  overflow: hidden;
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-card:hover .menu-image img {
  transform: scale(1.1);
}

.menu-content {
  padding: 1.5rem;
}

.menu-content h3 {
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.menu-price {
  color: #ffd700;
  font-weight: bold;
  margin-bottom: 1rem;
}

.menu-description {
  color: #fff8dc;
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
  background: rgba(139, 69, 19, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(139, 69, 19, 0.8);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #8b4513;
}

.testimonial-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover; 
}

.testimonial-text {
  font-style: italic;
  color: #fff8dc;
}

/* Contact Section */
.contact {
  background: rgba(139, 69, 19, 0.3);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #ffd700;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid #d2691e;
  border-radius: 5px;
  background: rgba(139, 69, 19, 0.5);
  color: #fff8dc;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffd700;
}

/* Footer */
footer {
  background: #8b4513;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: #ffd700;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #fff8dc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ffd700;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b4513;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.social-link img {
  width: 20px;
}

.social-link:hover {
  background: #ffc400;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #d2691e;
  color: #fff8dc;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
  .toggle {
    display: none;
  }
  .nav-links {
    display: flex;
  }
}
