/* ====== GLOBAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s, color 0.3s;
}

body {
  background-color: #f9f7f4;
  color: #333;
  scroll-behavior: smooth;
}

body.dark {
  background-color: #1f1f1f;
  color: #f1f1f1;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #50342b;
}

body.dark h2 { color: #f3d5b5; }

/* ====== HEADER ====== */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0; left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}

body.dark header {
  background: rgba(30, 30, 30, 0.9);
}

header h1 {
  font-size: 1.5rem;
  color: #50342b;
}

body.dark header h1 { color: #f3d5b5; }

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.dark-toggle {
  background: none;
  border: 2px solid #a36a4f;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  color: #a36a4f;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark .dark-toggle {
  color: #f3d5b5;
  border-color: #f3d5b5;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
}

.hamburger div {
  width: 100%;
  height: 3px;
  background-color: #50342b;
  border-radius: 2px;
}

body.dark .hamburger div { background-color: #f3d5b5; }

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #50342b;
  font-weight: 500;
}

body.dark nav a { color: #f1f1f1; }

nav a:hover { color: #a36a4f; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }
  body.dark nav { background: rgba(30,30,30,0.95); }
  nav.active { display: flex; }
}

/* ====== HERO (Parallax) ====== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('https://images.unsplash.com/photo-1509042239860-f550ce710b93?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
  transform: translateY(0);
  transition: transform 0.1s linear;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

.hero-content p {
  margin-bottom: 30px;
}

.btn {
  background: #a36a4f;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover { background: #8a5842; }

@keyframes fadeIn { to { opacity: 1; } }

/* ====== SECTIONS ====== */
section {
  padding: 100px 50px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

section.visible { 
  opacity: 1; 
  transform: translateY(0); 
}

/* ====== ABOUT ====== */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
}

.about-text {
  flex: 1;
  text-align: left;
}

/* ====== TESTIMONIALS ====== */
.testimonials {
  background: #fffaf7;
}

body.dark .testimonials { background: #2c2c2c; }

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-style: italic;
}

body.dark .testimonial-card { background: #3a3a3a; }

/* ====== MENU & GALLERY ====== */
.menu-items, .gallery-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.menu-card, .gallery-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  cursor: pointer;
}

body.dark .menu-card, body.dark .gallery-card { background: #3b3b3b; }

.menu-card img, .gallery-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* ====== FORM ====== */
form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

form button {
  background: #a36a4f;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

/* ====== MODAL ====== */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
}

body.dark .modal-content { background: #2b2b2b; color: #f1f1f1; }

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #a36a4f;
  cursor: pointer;
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 999;
}

/* ====== FOOTER ====== */
footer {
  background: #50342b;
  color: #fff;
  text-align: center;
  padding: 50px 20px 20px;
  margin-top: 50px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

footer h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #f3d5b5;
}

footer p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-links {
  margin-bottom: 25px;
}

.footer-links a {
  color: #f3d5b5;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover { color: #ffffff; }

.social-links a {
  display: inline-block;
  margin: 0 10px;
  color: #f3d5b5;
  font-size: 1.6rem;
  transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
  color: #fff;
  transform: scale(1.2);
}

.footer-copy {
  font-size: 0.85rem;
  margin-top: 25px;
  opacity: 0.8;
}

body.dark footer {
  background: #2b2b2b;
  color: #f1f1f1;
}

body.dark .footer-links a,
body.dark .social-links a {
  color: #f3d5b5;
}
