/* ========================================
   El Camaron Loco - Custom Styles
   ======================================== */

:root {
  --rojo-camaron: #E74C3C;
  --rojo-oscuro: #C0392B;
  --azul-oceano: #1B6B93;
  --azul-oscuro: #0D3B66;
  --naranja: #F39C12;
  --naranja-claro: #F5B041;
  --blanco: #FFFFFF;
  --gris-claro: #F8F9FA;
  --gris: #6C757D;
}

/* General */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--azul-oscuro);
}

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

/* Navbar */
.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--rojo-camaron);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--azul-oceano) 0%, var(--azul-oscuro) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' d='M0,50 C360,100 720,0 1080,50 C1260,75 1380,60 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero-logo {
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Wave Dividers */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.wave-top {
  background: linear-gradient(135deg, var(--azul-oceano) 0%, var(--azul-oscuro) 100%);
}

/* Menu Cards */
.menu-card {
  background: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.menu-card-icon {
  font-size: 3.5rem;
  line-height: 1;
}

.menu-card .price {
  color: var(--rojo-camaron);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.spice-level {
  display: inline-flex;
  gap: 2px;
}

/* Feature Cards */
.feature-card {
  background: var(--blanco);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
}

/* Buttons */
.btn-camaron {
  background: linear-gradient(135deg, var(--rojo-camaron), var(--rojo-oscuro));
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-camaron:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
  color: white;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  color: white;
}

.btn-outline-camaron {
  border: 2px solid var(--rojo-camaron);
  color: var(--rojo-camaron);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.btn-outline-camaron:hover {
  background: var(--rojo-camaron);
  color: white;
  transform: translateY(-2px);
}

/* Section Titles */
.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--azul-oscuro);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--rojo-camaron), var(--naranja));
  border-radius: 2px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, #091f36 100%);
}

.footer a {
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--naranja) !important;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.25rem;
}

.social-link:hover {
  background: var(--rojo-camaron);
  color: white;
  transform: translateY(-3px);
}

/* Location Page */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card {
  background: var(--blanco);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--azul-oscuro);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--gris);
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--azul-oceano);
  box-shadow: 0 0 0 3px rgba(27, 107, 147, 0.15);
}

.contact-form label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--azul-oscuro);
  margin-bottom: 0.5rem;
  display: block;
}

/* Page Header for Inner Pages */
.page-header {
  background: linear-gradient(135deg, var(--azul-oceano) 0%, var(--azul-oscuro) 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' d='M0,50 C360,100 720,0 1080,50 C1260,75 1380,60 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 59, 102, 0.98);
  z-index: 100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--naranja);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--azul-oscuro);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none !important;
  }

  .hero-logo {
    width: 200px !important;
    height: 200px !important;
  }
}

/* Badge */
.badge-spicy {
  background: linear-gradient(135deg, var(--rojo-camaron), var(--naranja));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Scroll indicator */
.scroll-indicator {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}
