/* ============================================
   SOLORZANO LATIN DELI — STYLESHEET
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-burgundy: #800020;
  --color-burgundy-dark: #5c0018;
  --color-burgundy-light: #a0304a;
  --color-blush: #f5e6e0;
  --color-blush-light: #faf3f0;
  --color-blush-dark: #e8d0c8;
  --color-neutral-900: #1a1a1a;
  --color-neutral-700: #3d3d3d;
  --color-neutral-500: #6b6b6b;
  --color-neutral-300: #b8b8b8;
  --color-neutral-100: #f4f4f4;
  --color-white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-neutral-700);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--color-burgundy-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-burgundy);
  color: var(--color-white);
  border-color: var(--color-burgundy);
}

.btn-primary:hover {
  background: var(--color-burgundy-dark);
  border-color: var(--color-burgundy-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-burgundy);
  border-color: var(--color-burgundy);
}

.btn-secondary:hover {
  background: var(--color-burgundy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* --- Section Shared --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-neutral-900);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-neutral-500);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-blush-dark);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-burgundy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.logo-icon {
  flex-shrink: 0;
}

.logo--light {
  color: var(--color-white);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav a {
  color: var(--color-neutral-700);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-burgundy);
  transition: width var(--transition);
}

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

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-neutral-700);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-neutral-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(128, 0, 32, 0.88) 0%,
      rgba(92, 0, 24, 0.82) 50%,
      rgba(26, 26, 26, 0.75) 100%
    ),
    url('https://images.pexels.com/photos/15889816/pexels-photo-15889816.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding-top: 72px;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-blush);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero-title .accent {
  color: var(--color-blush);
  font-style: italic;
  font-weight: 600;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-actions .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-burgundy);
  border-color: var(--color-white);
}

.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-burgundy);
  z-index: 3;
}

.hero-divider span {
  display: block;
  width: 60px;
  height: 100%;
  background: var(--color-blush);
  margin: 0 auto;
}

/* --- About --- */
.about {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 6/7;
}

.about-text {
  padding: var(--space-md) 0;
}

.about-text p {
  margin-bottom: var(--space-sm);
  color: var(--color-neutral-500);
  font-size: 1.0625rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 500;
  color: var(--color-neutral-700);
  font-size: 0.9375rem;
}

.feature svg {
  color: var(--color-burgundy);
  flex-shrink: 0;
}

/* --- Menu --- */
.menu {
  padding: var(--space-2xl) 0;
  background: var(--color-blush-light);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.menu-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.menu-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.05);
}

.menu-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-burgundy);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3125rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.menu-card-body {
  padding: var(--space-md);
}

.menu-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-neutral-900);
  margin-bottom: 0.5rem;
}

.menu-card-body p {
  font-size: 0.9375rem;
  color: var(--color-neutral-500);
  line-height: 1.65;
}

.menu-note {
  text-align: center;
  color: var(--color-neutral-500);
  font-size: 0.9375rem;
  font-style: italic;
}

/* --- Specials --- */
.specials {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.specials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.specials-content {
  padding: var(--space-md) 0;
}

.specials-content p {
  font-size: 1.0625rem;
  color: var(--color-neutral-500);
  margin-bottom: var(--space-lg);
}

.specials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.specials-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-neutral-700);
}

.specials-list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-blush);
  border-radius: 50%;
  color: var(--color-burgundy);
  flex-shrink: 0;
}

.specials-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.specials-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 7/8;
}

/* --- Visit --- */
.visit {
  padding: var(--space-2xl) 0;
  background: var(--color-blush-light);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: stretch;
}

.visit-info {
  padding: var(--space-lg) 0;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.visit-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.visit-item svg {
  color: var(--color-burgundy);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.visit-item strong {
  display: block;
  font-weight: 600;
  color: var(--color-neutral-900);
  margin-bottom: 0.25rem;
}

.visit-item p {
  color: var(--color-neutral-500);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.visit-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}

/* --- Contact --- */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-text {
  padding: var(--space-md) 0;
}

.contact-text p {
  font-size: 1.0625rem;
  color: var(--color-neutral-500);
  line-height: 1.75;
}

.contact-form {
  background: var(--color-blush-light);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: var(--space-sm);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-blush-dark);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-neutral-900);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-burgundy);
  box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-neutral-500);
  margin-top: var(--space-sm);
}

.form-note a {
  font-weight: 600;
}

.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-blush-light);
  border-radius: var(--radius-md);
  gap: var(--space-sm);
}

.contact-success svg {
  color: var(--color-burgundy);
}

.contact-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-neutral-900);
}

.contact-success p {
  color: var(--color-neutral-500);
  margin-bottom: var(--space-sm);
}

/* --- Footer --- */
.site-footer {
  background: var(--color-neutral-900);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand p {
  margin-top: var(--space-sm);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-blush);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--color-burgundy-light);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
  color: var(--color-blush);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Mobile Navigation --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid var(--color-blush-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav a {
    font-size: 1.0625rem;
    padding: 0.75rem 0;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 4rem;
  }

  .about-grid,
  .specials-inner,
  .visit-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-image {
    order: -1;
  }

  .specials-image {
    order: -1;
    aspect-ratio: 4/3;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(1.875rem, 8vw, 2.75rem);
  }

  .visit-map {
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .contact-form {
    padding: var(--space-md);
  }
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
