@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --warm-beige: #F5EDD6;
  --dark-brown: #3B1F0A;
  --burnt-orange: #C8541A;
  --gold: #D4A017;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--warm-beige);
  color: var(--dark-brown);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

.navbar {
  background-color: var(--warm-beige);
  box-shadow: 0 2px 20px rgba(59, 31, 10, 0.1);
}

.navbar-link {
  position: relative;
  color: var(--dark-brown);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--burnt-orange);
  transition: width 0.3s ease;
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

.navbar-link:hover {
  color: var(--burnt-orange);
}

.btn-primary {
  background-color: var(--burnt-orange);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--dark-brown);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 84, 26, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-brown);
  border: 2px solid var(--dark-brown);
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--dark-brown);
  color: var(--warm-beige);
}

.hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(59, 31, 10, 0.85) 0%, rgba(59, 31, 10, 0.6) 100%);
}

.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.card-hover {
  transition: all 0.4s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(59, 31, 10, 0.2);
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.footer {
  background-color: var(--dark-brown);
  color: var(--warm-beige);
}

.social-link {
  color: var(--warm-beige);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--gold);
}

.menu-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(59, 31, 10, 0.1);
}

.menu-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.contact-form input,
.contact-form textarea {
  background-color: white;
  border: 2px solid rgba(59, 31, 10, 0.2);
  padding: 14px 18px;
  border-radius: 8px;
  width: 100%;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--burnt-orange);
}

.logo-section img {
  max-width: 180px;
  transition: transform 0.3s ease;
}

.logo-section img:hover {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .hero-section {
    background-attachment: scroll;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .mobile-menu.active {
    display: block;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
