/*
Theme Name: Solomillo Restaurante
Theme URI: https://solomillorestaurante.com
Author: Solomillo Restaurante
Description: Tema elegante de una sola página para Solomillo Restaurante en Fusagasugá, Cundinamarca. Incluye portada, servicios, carta completa, nuestra historia, ubicación y botón flotante de WhatsApp.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: solomillo-restaurante
*/

:root {
  --radius: 0.25rem;
  --background: #171513;
  --background: oklch(0.13 0.005 60);
  --foreground: #eae5dc;
  --foreground: oklch(0.93 0.015 85);
  --card: #211e1b;
  --card: oklch(0.17 0.006 60);
  --card-foreground: #eae5dc;
  --card-foreground: oklch(0.93 0.015 85);
  --primary: #d9b65c;
  --primary: oklch(0.8 0.15 85);
  --primary-foreground: #171513;
  --primary-foreground: oklch(0.13 0.005 60);
  --muted-foreground: #a59d91;
  --muted-foreground: oklch(0.68 0.02 80);
  --border: rgba(217, 182, 92, 0.2);
  --border: oklch(0.8 0.15 85 / 20%);
  --whatsapp: #25d366;
  --whatsapp: oklch(0.68 0.17 150);
  --whatsapp-foreground: #fcfcfc;
  --whatsapp-foreground: oklch(0.99 0 0);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --hero-overlay:
    radial-gradient(115% 75% at 50% 52%, oklch(0.13 0.005 60 / 62%) 0%, oklch(0.13 0.005 60 / 28%) 58%, oklch(0.13 0.005 60 / 0%) 100%),
    linear-gradient(180deg, oklch(0.13 0.005 60 / 55%) 0%, oklch(0.13 0.005 60 / 40%) 45%, oklch(0.13 0.005 60) 100%);
}

*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-nav {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.site-logo img {
  height: 2.5rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-ubicacion {
  display: none;
}

@media (min-width: 640px) {
  .nav-ubicacion {
    display: inline;
  }
}

/* Hero */
.hero-section {
  position: relative;
  min-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;
  object-position: center 62%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  padding: 5rem 1.5rem 2rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--primary);
}

.section-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--primary);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.15;
}

.hero-title em {
  color: var(--primary);
  font-style: italic;
}

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

.hero-lead {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

@media (min-width: 768px) {
  .hero-lead {
    font-size: 1rem;
  }
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  border-radius: 2px;
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: color-mix(in oklab, var(--primary) 90%, transparent);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: color-mix(in oklab, var(--primary) 10%, transparent);
}

/* Services Strip */
.services-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--card);
}

.services-grid {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.service-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
}

.service-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* Ornament */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--primary);
  margin-top: 1.5rem;
}

.ornament-line {
  height: 1px;
  width: 3rem;
  background-color: color-mix(in oklab, var(--primary) 50%, transparent);
}

.ornament-star {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
}

/* Section Heading */
.section-title {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
}

/* Menu Section */
.menu-section {
  max-width: 64rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  scroll-margin-top: 5rem;
}

.menu-header {
  margin-bottom: 4rem;
  text-align: center;
}

.menu-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4rem;
  }
}

.menu-cat-title {
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
  font-style: italic;
  color: var(--primary);
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-item-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.menu-item-dots {
  flex: 1;
  border-bottom: 1px dotted color-mix(in oklab, var(--primary) 30%, transparent);
}

.menu-item-weight {
  font-size: 0.75rem;
  color: var(--primary);
  white-space: nowrap;
}

.menu-item-desc {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.menu-note {
  margin-top: 4rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2rem;
  text-align: center;
}

.menu-note-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.menu-note-desc {
  max-width: 42rem;
  margin: 0.5rem auto 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Historia Section */
.historia-section {
  scroll-margin-top: 5rem;
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

.historia-grid {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  display: grid;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .historia-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.historia-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}

.historia-text {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.historia-text p {
  margin: 0;
}

.historia-quote {
  margin: 2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary);
}

/* Ubicación Section */
.ubicacion-section {
  scroll-margin-top: 5rem;
  padding: 6rem 1.5rem;
  text-align: center;
}

.ubicacion-address {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  color: var(--muted-foreground);
}

.ubicacion-cta {
  margin-top: 2.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--whatsapp);
  color: var(--whatsapp-foreground);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.35), 0 4px 6px -4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

/* Generic WordPress page / 404 */
.wp-page-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  min-height: 75vh;
}

.wp-page-content h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--primary);
  margin: 0 0 1.5rem;
}

.wp-page-content .entry-content {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Gallery Section */
.galeria-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  scroll-margin-top: 5rem;
}

.galeria-header {
  margin-bottom: 3rem;
  text-align: center;
}

.galeria-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.galeria-item {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background-color: var(--card);
  border: 1px solid var(--border);
}

.galeria-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.galeria-item:hover .galeria-img {
  transform: scale(1.025);
}

.galeria-caption {
  padding: 0.85rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.galeria-placeholder,
.galeria-empty {
  padding: 2rem;
  color: var(--muted-foreground);
  text-align: center;
  font-size: 0.875rem;
}

@media (min-width: 600px) {
  .galeria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 900px) {
  .galeria-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
