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

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

:root {
  --navy: #1B3A5C;
  --navy-dark: #0f2540;
  --navy-light: #2a5580;
  --gold: #C5983B;
  --gold-light: #d4ad5a;
  --gold-dark: #a67d2a;
  --cream: #FFF8F0;
  --cream-dark: #f0e6d6;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-light: #6b7280;
  --shadow: 0 4px 30px rgba(27, 58, 92, 0.12);
  --shadow-lg: 0 10px 40px rgba(27, 58, 92, 0.2);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.3; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(15, 37, 64, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.6rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-logo img { height: 45px; border-radius: 50%; border: 2px solid var(--gold); transition: var(--transition); }
.navbar.scrolled .nav-logo img { height: 36px; }
.nav-logo span {
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700;
  color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a {
  text-decoration: none; color: var(--white); font-weight: 500; font-size: 0.95rem;
  padding: 0.4rem 0; position: relative; transition: var(--transition);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--gold-light); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 0.5rem; z-index: 1001;
}
.hamburger span {
  width: 26px; height: 2.5px; background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('images/hero-bg.png') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,37,64,0.85) 0%, rgba(27,58,92,0.7) 50%, rgba(15,37,64,0.85) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 2rem; }
.hero-logo {
  width: 260px; height: 260px; border-radius: 50%; border: 4px solid var(--gold);
  margin: 0 auto 2rem; box-shadow: 0 0 50px rgba(197,152,59,0.4);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); margin-bottom: 0.5rem;
}
.hero h1 .gold { color: var(--gold-light); }
.hero .subtitle {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--gold-light);
  margin-bottom: 1rem; opacity: 0.9;
}
.hero .description {
  font-size: 1.05rem; color: rgba(255,255,255,0.85);
  max-width: 550px; margin: 0 auto 2rem; line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: var(--transition); border: none; font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); box-shadow: 0 4px 15px rgba(197,152,59,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(197,152,59,0.5); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--gold-light); color: var(--gold-light);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy);
  margin-bottom: 0.5rem; position: relative; display: inline-block;
}
.section-header h2::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--gold); margin: 0.8rem auto 0; border-radius: 2px;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.container { max-width: 1200px; margin: 0 auto; }

/* ===== NOSOTROS ===== */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; max-width: 1100px; margin: 0 auto;
}
.about-image { position: relative; }
.about-image img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.about-image::before {
  content: ''; position: absolute; top: -15px; left: -15px;
  width: 100%; height: 100%; border: 3px solid var(--gold);
  border-radius: var(--radius); z-index: -1;
}
.about-text h3 {
  font-size: 1.6rem; color: var(--navy); margin-bottom: 1rem;
}
.about-text p { color: var(--text-light); margin-bottom: 1rem; font-size: 1.02rem; }
.about-stats {
  display: flex; gap: 2rem; margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif; font-size: 2.2rem;
  font-weight: 700; color: var(--gold);
}
.stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 0.2rem; }

/* ===== MENU / PRODUCTS ===== */
.menu { background: var(--cream); }
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem; max-width: 1100px; margin: 0 auto;
}
.menu-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  position: relative;
}
.menu-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.menu-card-img {
  width: 100%; height: 250px; object-fit: cover;
  transition: var(--transition);
}
.menu-card:hover .menu-card-img { transform: scale(1.05); }
.menu-card-img-wrapper { overflow: hidden; }
.menu-card-body { padding: 1.5rem; }
.menu-card-body h3 {
  font-size: 1.3rem; color: var(--navy); margin-bottom: 0.5rem;
}
.menu-card-body p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }
.menu-card-tag {
  position: absolute; top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); padding: 0.3rem 1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
}
.menu-items { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.menu-item-tag {
  background: var(--cream); color: var(--navy); padding: 0.3rem 0.8rem;
  border-radius: 50px; font-size: 0.8rem; font-weight: 500;
}

/* ===== GALLERY ===== */
.gallery { background: var(--navy-dark); padding: 5rem 2rem; }
.gallery .section-header h2 { color: var(--white); }
.gallery .section-header p { color: rgba(255,255,255,0.7); }
.gallery .section-header h2::after { background: var(--gold); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem; max-width: 1100px; margin: 0 auto;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 12px; cursor: pointer;
}
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,37,64,0.8) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 1.5rem;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white); font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.92); display: none;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img {
  max-width: 90vw; max-height: 85vh; border-radius: 12px;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 2rem; right: 2rem;
  background: none; border: none; color: var(--white);
  font-size: 2.5rem; cursor: pointer; transition: var(--transition);
  width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { color: var(--gold); transform: rotate(90deg); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); overflow: hidden; }
.testimonial-track {
  display: flex; max-width: 800px; margin: 0 auto;
  overflow: hidden; position: relative;
}
.testimonial-card {
  min-width: 100%; padding: 2.5rem; text-align: center;
  transition: transform 0.5s ease;
}
.testimonial-stars { color: var(--gold); font-size: 1.3rem; margin-bottom: 1rem; }
.testimonial-text {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.2rem; color: var(--navy); line-height: 1.8;
  margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto;
}
.testimonial-author { font-weight: 600; color: var(--text-dark); }
.testimonial-role { font-size: 0.85rem; color: var(--text-light); }
.testimonial-dots {
  display: flex; justify-content: center; gap: 0.6rem; margin-top: 2rem;
}
.testimonial-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cream-dark); border: none; cursor: pointer;
  transition: var(--transition);
}
.testimonial-dot.active { background: var(--gold); transform: scale(1.2); }

/* ===== CONTACT ===== */
.contact { background: var(--cream); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  max-width: 1100px; margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--white); padding: 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow); transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.3rem; flex-shrink: 0;
}
.contact-card h4 { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--text-light); font-weight: 500; margin-bottom: 0.3rem; }
.contact-card p { color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.contact-card a { color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-card a:hover { color: var(--gold); }

.contact-map {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); min-height: 350px;
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

.whatsapp-cta {
  margin-top: 1.5rem; display: flex;
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white; padding: 1rem 2rem; border-radius: 50px;
  font-weight: 600; text-decoration: none; display: inline-flex;
  align-items: center; gap: 0.6rem; font-size: 1rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  transition: var(--transition);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 6px 25px rgba(37,211,102,0.4); }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark); color: var(--white); padding: 3rem 2rem 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; max-width: 1100px; margin: 0 auto;
}
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 1rem; font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: var(--gold); margin-bottom: 1rem; font-size: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center;
  color: var(--white); text-decoration: none; font-size: 1.1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); transform: translateY(-3px); }
.footer-bottom {
  text-align: center; padding-top: 2rem; margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4); font-size: 0.85rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  color: white; font-size: 1.8rem; text-decoration: none;
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 75%; height: 100vh;
    background: rgba(15,37,64,0.98); backdrop-filter: blur(12px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2rem; transition: right 0.4s ease; padding: 2rem;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.2rem; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .hero-logo { width: 200px; height: 200px; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { order: -1; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gallery-item:nth-child(1) { grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats { gap: 1.5rem; }
  .hero-btns { flex-direction: column; align-items: center; }
}
