/*
Theme Name: Aura y Brasa Gourmet
Theme URI: https://auraybrasa.es
Author: Aura y Brasa
Author URI: https://auraybrasa.es
Description: Tema elegante negro y dorado para el restaurante Aura y Brasa Gourmet. Estrella Michelin. Cocina de autor, parrilla y tradición.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aura-y-brasa
Tags: one-column, custom-menu, featured-images, translation-ready, restaurant, food
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080808;
  --bg-secondary: #0f0f0f;
  --fg: #e8dcc8;
  --fg-muted: #8a7d6b;
  --gold: #c9a84c;
  --gold-light: #d4bc6a;
  --gold-dark: #8a6d1b;
  --ember: #b85c1e;
  --card: #101010;
  --border: #2a2318;
  --radius: 0.25rem;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-ui: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== UTILITY ===== */
.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.font-ui { font-family: var(--font-ui); }
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.2em; }
.tracking-wider { letter-spacing: 0.3em; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-8px) translateX(-50%); }
}

.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar-logo span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.navbar-links { display: flex; gap: 1.5rem; list-style: none; }

.navbar-links a {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  transition: color 0.3s;
}
.navbar-links a:hover { color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(8, 8, 8, 0.97);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .navbar-links.open { display: flex; }
  .navbar-logo span { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.7);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 160px; height: 160px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.75rem;
  color: rgba(232, 220, 200, 0.8);
  letter-spacing: 0.15em;
}

.hero-divider {
  margin-top: 2rem;
  width: 6rem; height: 1px;
  background: rgba(201, 168, 76, 0.5);
}

.hero-tagline {
  margin-top: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fg-muted);
}

.hero-cta {
  margin-top: 2.5rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold);
  padding: 0.75rem 2rem;
  transition: all 0.5s;
}
.hero-cta:hover {
  background: var(--gold);
  color: var(--bg);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.scroll-indicator-inner {
  width: 24px; height: 40px;
  border: 2px solid rgba(201, 168, 76, 0.4);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}
.scroll-indicator-dot {
  width: 4px; height: 8px;
  background: rgba(201, 168, 76, 0.6);
  border-radius: 9999px;
}

@media (min-width: 768px) {
  .hero-logo { width: 224px; height: 224px; }
  .hero h1 { font-size: 5rem; }
}

/* ===== SECTION COMMON ===== */
.section { padding: 6rem 0; }
.section--alt { background: var(--bg-secondary); }

.section-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.section-divider {
  width: 4rem; height: 1px;
  background: rgba(201, 168, 76, 0.4);
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--radius); }
.about-image-frame {
  position: absolute;
  bottom: -1rem; right: -1rem;
  width: 100%; height: 100%;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius);
  z-index: -1;
}

.about-star {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.about-star svg { width: 20px; height: 20px; fill: var(--gold); }

.about-star span {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.about-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(232, 220, 200, 0.8);
  margin-bottom: 1.5rem;
}

.about-text strong { color: var(--gold); font-weight: 600; }

.about-dishes-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.about-dishes-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.about-dishes-tags span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: rgba(201, 168, 76, 0.8);
  padding: 0.375rem 0.75rem;
}

/* ===== MENU ===== */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.menu-tab {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.3s;
}
.menu-tab:hover {
  border-color: rgba(201, 168, 76, 0.5);
  color: var(--gold);
}
.menu-tab.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

.menu-category { display: none; }
.menu-category.active { display: grid; }

.menu-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.5s;
}
.menu-card:hover { border-color: rgba(201, 168, 76, 0.4); }

.menu-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.menu-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.menu-card:hover .menu-card-image img { transform: scale(1.1); }

.gluten-free-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.375rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gluten-free-badge svg { width: 16px; height: 16px; }

.menu-card-info {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-card-name {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--fg);
  transition: color 0.3s;
}
.menu-card:hover .menu-card-name { color: var(--gold); }

.menu-card-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  margin-left: 0.75rem;
}

.menu-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--fg-muted);
  font-family: var(--font-ui);
  font-size: 0.75rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-item svg {
  width: 24px; height: 24px;
  color: var(--gold);
  margin: 0 auto 0.75rem;
}

.contact-item-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.contact-item-value {
  font-family: var(--font-body);
  font-size: 1.25rem;
}

.contact-item a { transition: color 0.3s; }
.contact-item a:hover { color: var(--gold); }

/* ===== LOCATION ===== */
.location-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
}
.location-address svg { width: 20px; height: 20px; color: var(--gold); }

.location-map {
  aspect-ratio: 16/9;
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.location-map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(0.8) contrast(1.2);
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer img {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.15em;
}
