/*
Theme Name: RamasKitchen
Theme URI: http://localhost/AntiRamasKitchenWP/AntiA
Author: AntiA
Description: A perfect conversion of the Ramas Kitchen React site to WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: antiramas-kitchen
*/

/* Ported CSS from React index.css */
:root {
  --primary: #8B3A3A;
  --primary-foreground: #F5F1E8;
  --accent: #E89B4B;
  --accent-foreground: #F5F1E8;
  --gold: #D4A574;
  --terracotta: #C85A3A;
  --background: #F5F1E8;
  --foreground: #2C2C2C;
  --card: #FFFFFF;
  --secondary: #E8DCC8;
  --muted: #D4C4B0;
  --muted-foreground: #5C5C5C;
  --border: #E8DCC8;
  --radius: 0.65rem;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--gold);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  background-color: var(--accent);
  color: var(--primary-foreground);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(139, 58, 58, 0.2);
}

.gold-divider {
  height: 4px;
  margin: 3rem 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.card-dish {
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--card);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-dish:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
  font-weight: 500;
  color: var(--primary-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold);
}

/* ==================== MOBILE RESPONSIVENESS ==================== */

/* Tablet and smaller */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .container {
    padding: 0 1.5rem;
  }
}

/* Mobile landscape and smaller */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* Hero Section Mobile */
  .hero-carousel {
    height: 60vh !important;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-content .tagline {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-content {
    padding: 0 1rem;
  }

  /* About Section Mobile */
  #about {
    padding: 4rem 0 !important;
  }

  #about .container>div:first-child {
    gap: 2rem !important;
  }

  #about .about-content h2 {
    font-size: 1.75rem !important;
  }

  /* Highlights Grid Mobile */
  #about .container>div:nth-child(3) {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .highlight-item {
    padding: 1rem 0;
  }

  /* Signature Dishes Mobile */
  #dishes {
    padding: 4rem 0 !important;
  }

  #dishes .container>div:first-child {
    margin-bottom: 2rem !important;
  }

  #dishes .container>div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
  }

  .card-dish {
    max-width: 100%;
  }

  .card-dish>div:first-child {
    height: 12rem !important;
  }

  .card-dish>div:nth-child(2) {
    padding: 1rem !important;
  }

  .card-dish h3 {
    font-size: 1.1rem !important;
  }

  .card-dish>div:nth-child(2)>div:nth-child(2) {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start !important;
  }

  /* Dining Options Mobile */
  #dining {
    padding: 4rem 0 !important;
  }

  #dining .container>div:first-child {
    margin-bottom: 2rem !important;
  }

  #dining .container>div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .card-option {
    padding: 1.5rem !important;
  }

  /* Header Mobile */
  .site-header {
    padding: 0.75rem 0 !important;
  }

  .site-header .container {
    flex-wrap: wrap;
  }

  .logo a {
    font-size: 1.25rem !important;
  }

  .header-actions .btn-primary {
    padding: 0.4rem 1rem !important;
    font-size: 0.8rem !important;
  }

  /* Gold Divider Mobile */
  .gold-divider {
    margin: 2rem 0 !important;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 2rem 0 !important;
  }

  .site-footer .container>div {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-carousel {
    height: 50vh !important;
    min-height: 350px;
  }

  .hero-content h1 {
    font-size: 1.5rem !important;
  }

  .hero-content .tagline {
    font-size: 0.9rem !important;
  }

  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  #about,
  #dishes,
  #dining {
    padding: 3rem 0 !important;
  }

  .card-dish>div:first-child {
    height: 10rem !important;
  }

  .card-option {
    padding: 1rem !important;
  }

  /* Form elements mobile */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  textarea,
  select {
    font-size: 16px !important;
    /* Prevents iOS zoom on focus */
  }
}