/* CSS Variables */
:root {
  --primary: #c2410c;
  --secondary: #f59e0b;
  --bg: #fff8f1;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #16a34a;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: #9a3412;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.cta-button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #9a3412;
  transform: translateY(-1px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 248, 241, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border);
}

.header.scrolled {
  background-color: rgba(255, 248, 241, 0.98);
  box-shadow: 0 2px 20px var(--shadow);
}

.navbar {
  padding: 15px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo h2 {
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.7), rgba(245, 158, 11, 0.5));
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 1;
}

.hero-title {
  color: #000;
  font-size: 4rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: #000;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-style: italic;
}

.hero-description {
  color: #000;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  color: var(--primary);
  margin-bottom: 15px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 80px 0;
}

/* Menu Section */
.menu-section {
  background-color: white;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.menu-card {
  background-color: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  transition: all 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.menu-image {
  position: relative;
  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.05);
}

.menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(194, 65, 12, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-card:hover .menu-overlay {
  opacity: 1;
}

.btn-order {
  background-color: white;
  color: var(--primary);
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-order:hover {
  transform: scale(1.05);
}

.menu-info {
  padding: 25px;
}

.menu-name {
  color: var(--primary);
  margin-bottom: 8px;
}

.menu-description {
  color: var(--muted);
  margin-bottom: 15px;
  font-size: 14px;
}

.menu-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Promo Section */
.promo-section {
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
}

.promo-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.promo-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 25px var(--shadow);
}

.promo-slide {
  display: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 40px;
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
}

.promo-slide.active {
  display: flex;
}

.promo-content {
  flex: 1;
  padding-right: 30px;
}

.promo-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 15px;
}

.promo-slide h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.promo-slide p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.promo-code {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  font-family: "Courier New", monospace;
}

.promo-image {
  flex: 0 0 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
}

.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 -60px;
}

.promo-btn {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.promo-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

.promo-prev {
  position: absolute;
  left: -70px;
}

.promo-next {
  position: absolute;
  right: -70px;
}

.promo-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary);
}

/* Tentang Section */
.tentang-section {
  background: white;
}

.tentang-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tentang-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow);
}

.tentang-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.tentang-text .section-header {
  text-align: left;
  margin-bottom: 30px;
}

.tentang-story {
  margin-bottom: 40px;
}

.tentang-story p {
  margin-bottom: 20px;
  color: var(--muted);
}

.tentang-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-icon {
  font-size: 2rem;
  min-width: 50px;
}

.feature-content h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.feature-content p {
  color: var(--muted);
  font-size: 14px;
}

/* Testimoni Section */
.testimoni-section {
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
}

.testimoni-carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.testimoni-container {
  position: relative;
  overflow: hidden;
}

.testimoni-slide {
  display: none;
}

.testimoni-slide.active {
  display: block;
}

.testimoni-card {
  background: var(--card);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 25px var(--shadow);
  text-align: center;
}

.testimoni-rating {
  margin-bottom: 20px;
}

.star {
  color: var(--secondary);
  font-size: 1.2rem;
}

.testimoni-text {
  font-style: italic;
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.testimoni-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimoni-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--primary);
  margin-bottom: 2px;
}

.author-info span {
  color: var(--muted);
  font-size: 14px;
}

.testimoni-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.testimoni-btn {
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.testimoni-btn:hover {
  background: #9a3412;
  transform: scale(1.1);
}

/* Reservasi Section */
.reservasi-section {
  background: white;
}

.reservasi-content {
  max-width: 600px;
  margin: 0 auto;
}

.reservasi-form {
  background: var(--card);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 25px var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: "Nunito", sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Galeri Section */
.galeri-section {
  background: var(--bg);
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.galeri-item {
  position: relative;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow);
  transition: all 0.3s ease;
}

.galeri-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.galeri-item:hover img {
  transform: scale(1.1);
}

.galeri-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(194, 65, 12, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeri-item:hover .galeri-overlay {
  opacity: 1;
}

.galeri-icon {
  font-size: 2rem;
  color: white;
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 5px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 25px;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--text) 0%, #374151 100%);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 2rem;
}

.footer-logo p {
  opacity: 0.8;
  margin-bottom: 30px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item strong {
  color: var(--secondary);
  display: block;
  margin-bottom: 5px;
}

.contact-item p {
  opacity: 0.8;
  margin: 0;
}

.footer-section h4 {
  color: var(--secondary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.social-link:hover {
  opacity: 1;
  color: var(--secondary);
}

.newsletter {
  margin-top: 20px;
}

.newsletter h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.newsletter p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 15px;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  margin: auto;
  display: block;
  width: 90%;
  max-width: 800px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--secondary);
}

#lightbox-caption {
  text-align: center;
  color: white;
  padding: 20px 0;
  font-size: 1.1rem;
}

/* Toast */
.toast {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--accent);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow);
  z-index: 1500;
  transform: translateX(400px);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast-message {
  font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

[data-aos="fade-up"] {
  animation: slideInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tentang-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tentang-text .section-header {
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .promo-prev,
  .promo-next {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--card);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero */
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 200px;
  }

  /* Sections */
  section {
    padding: 60px 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  /* Menu */
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Promo */
  .promo-slide {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .promo-content {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .promo-image {
    flex: none;
    width: 100%;
    height: 150px;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reservasi-form {
    padding: 30px 20px;
  }

  /* Galeri */
  .galeri-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .galeri-item {
    height: 200px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  /* Toast */
  .toast {
    right: 10px;
    left: 10px;
    transform: translateY(-100px);
  }

  .toast.show {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card .menu-info {
    padding: 20px;
  }

  .promo-slide {
    padding: 20px 15px;
  }

  .testimoni-card {
    padding: 25px 20px;
  }

  .reservasi-form {
    padding: 25px 15px;
  }
}

/* Print Styles */
@media print {
  .header,
  .hero-buttons,
  .btn,
  .cta-button,
  .hamburger,
  .promo-navigation,
  .testimoni-navigation,
  .lightbox,
  .toast {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  section {
    padding: 20px 0;
    break-inside: avoid;
  }
}
