/* ========== RESTAURANT SUPER MARACARA - Modern Design System ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #121212;
  --secondary: #D4AF37;
  --secondary-light: #F1D592;
  --accent: #FF4500;
  --bg-light: #F9F9F9;
  --bg-dark: #1A1A1A;
  --text-main: #2D2D2D;
  --text-muted: #666666;
  --text-light: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 4px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.1; color: var(--primary); }

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
.navbar.scrolled { padding: 12px 0; background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-md); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 48px; height: 48px; object-fit: contain; }
.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 800; color: var(--primary);
  letter-spacing: -0.5px;
}
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--text-main);
  position: relative; padding: 8px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--secondary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--secondary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--primary);
  color: #fff !important; padding: 12px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.nav-cta:hover { transform: translateY(-3px); background: var(--secondary); box-shadow: 0 12px 25px rgba(212,175,55,0.3); }

/* Mobile Menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span {
  display: block; width: 28px; height: 2px; background: var(--primary);
  margin: 6px 0; transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 80px;
  background: var(--primary);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.6;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 900px; padding: 40px 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.3);
  backdrop-filter: blur(10px);
  padding: 10px 24px; border-radius: 50px;
  font-size: 0.85rem; color: var(--secondary-light);
  margin-bottom: 32px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem); color: #fff;
  margin-bottom: 24px; font-weight: 800;
  line-height: 1;
}
.hero h1 .highlight {
  color: var(--secondary);
  display: block;
  font-style: italic;
}
.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: rgba(255,255,255,0.9);
  margin-bottom: 48px; max-width: 650px; margin-inline: auto;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--secondary);
  color: var(--primary); padding: 18px 44px; border-radius: 50px;
  font-weight: 700; font-size: 1.05rem; border: none; cursor: pointer;
  box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(212,175,55,0.4); }
.btn-secondary {
  background: transparent;
  color: #fff; padding: 18px 44px; border-radius: 50px;
  font-weight: 700; font-size: 1.05rem; border: 2px solid #fff;
}
.btn-secondary:hover { background: #fff; color: var(--primary); transform: translateY(-5px); }

/* ========== SECTIONS ========== */
section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-tag {
  display: inline-block; color: var(--secondary);
  font-size: 0.9rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 4px; margin-bottom: 20px;
}
.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--primary);
  margin-bottom: 24px;
}
.section-header p { color: var(--text-muted); max-width: 700px; margin: 0 auto; font-size: 1.2rem; }

/* ========== PRODUCTS / MENU GRID ========== */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px,1fr));
  gap: 40px;
}
.product-card {
  background: #fff; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
}
.product-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.product-card .card-img {
  height: 300px; overflow: hidden; position: relative;
}
.product-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-card .card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
}
.product-card .card-body { padding: 32px; }
.product-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.product-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }
.product-card .card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(0,0,0,0.05);
}
.product-card .price {
  font-size: 1.4rem; font-weight: 800; color: var(--primary);
}
.card-btn {
  font-weight: 700; color: var(--secondary); font-size: 0.95rem;
  display: flex; align-items: center; gap: 8px;
}
.card-btn:hover { gap: 12px; color: var(--primary); }

/* ========== FEATURES ========== */
.features-bg { background: var(--bg-dark); color: #fff; }
.features-bg .section-header h2 { color: #fff; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 32px;
}
.feature-card {
  background: rgba(255,255,255,0.03); padding: 48px 32px; border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,0.06); transform: translateY(-8px); border-color: var(--secondary); }
.feature-icon {
  width: 72px; height: 72px; margin-bottom: 28px;
  background: var(--secondary); color: var(--primary);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.feature-card h3 { font-size: 1.4rem; margin-bottom: 16px; color: #fff; }
.feature-card p { color: rgba(255,255,255,0.7); font-size: 1rem; }

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px,1fr));
  gap: 32px;
}
.testimonial-card {
  background: #fff; padding: 40px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); border-bottom: 4px solid var(--secondary);
}
.stars { color: var(--secondary); font-size: 1.2rem; margin-bottom: 20px; }
.testimonial-card p { color: var(--text-main); font-style: italic; margin-bottom: 32px; font-size: 1.1rem; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--secondary); font-size: 1.3rem;
}
.author-info strong { display: block; font-size: 1.05rem; color: var(--primary); }
.author-info span { font-size: 0.9rem; color: var(--text-muted); }

/* ========== CTA SECTION ========== */
.cta-section {
  position: relative;
  background: var(--primary);
  text-align: center; color: #fff;
  padding: 140px 0;
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('images/hero.png') center/cover no-repeat;
  opacity: 0.2; filter: grayscale(100%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 24px; color: #fff; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 650px; margin: 0 auto 48px; font-size: 1.3rem; }

/* ========== FOOTER ========== */
.footer {
  background: #000; color: rgba(255,255,255,0.6);
  padding: 100px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 80px;
}
.footer-brand .nav-logo span { color: #fff; }
.footer-brand p { margin: 24px 0; font-size: 1rem; line-height: 1.8; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,0.05); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
}
.footer-socials a:hover { background: var(--secondary); color: var(--primary); }
.footer h4 {
  font-family: 'Outfit', sans-serif; font-size: 1rem;
  font-weight: 700; color: #fff; margin-bottom: 32px;
  text-transform: uppercase; letter-spacing: 2px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 16px; }
.footer ul a:hover { color: var(--secondary); transform: translateX(5px); display: inline-block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px 0; text-align: center; font-size: 0.9rem;
}

/* ========== LEGAL PAGES ========== */
.legal-hero {
  padding: 180px 0 100px;
  background: var(--primary);
  text-align: center; color: #fff;
}
.legal-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; color: #fff; }
.legal-content { padding: 100px 0; background: #fff; }
.legal-content .container { max-width: 900px; }
.legal-content h2 {
  font-size: 2rem; color: var(--primary);
  margin: 60px 0 24px; padding-bottom: 15px;
  border-bottom: 1px solid var(--bg-light);
}
.legal-content p, .legal-content li { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; }

/* ========== CONTACT PAGE ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  align-items: start;
}
.contact-info-card {
  display: flex; gap: 24px; padding: 32px;
  background: #fff; border-radius: var(--radius-md);
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
}
.contact-info-card .icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--secondary); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.contact-form {
  background: #fff; padding: 60px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-group input, .form-group textarea, .form-group select {
  padding: 16px 20px; border: 1px solid #E0E0E0;
  border-radius: 12px; background: #FDFDFD;
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { 
    display: none; position: fixed; top: 80px; left: 0;
    width: 100%; background: #fff; padding: 40px;
    flex-direction: column; gap: 32px; border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 3.5rem; }
  section { padding: 80px 0; }
}

