/* =====================================================
   BURRITO DELIVERY HUB - Main Stylesheet
   Warm, Bold, Food-Focused Design
   Colors: Orange, Red, Dark Brown
   ===================================================== */

/* CSS Variables */
:root {
  --primary-orange: #E85D04;
  --primary-red: #C1121F;
  --dark-brown: #3D1308;
  --medium-brown: #6B3A2A;
  --light-brown: #A67B5B;
  --cream: #FFF8F0;
  --warm-white: #FEFAF6;
  --accent-yellow: #FFBA08;
  --text-dark: #2D1810;
  --text-medium: #4A3228;
  --text-light: #7A5C4E;
  --shadow-light: rgba(61, 19, 8, 0.1);
  --shadow-medium: rgba(61, 19, 8, 0.15);
  --shadow-heavy: rgba(61, 19, 8, 0.25);
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
}

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

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--warm-white);
  color: var(--text-dark);
  line-height: 1.7;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--dark-brown);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-medium);
}

a {
  color: var(--primary-orange);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-red);
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-medium);
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
header {
  background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 100%);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px var(--shadow-medium);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.logo-text {
  color: var(--warm-white);
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary-orange);
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
}

nav ul li {
  margin: 0;
  position: relative;
}

nav ul li a {
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: block;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-orange);
}

nav ul li a.active {
  background-color: var(--primary-orange);
  color: var(--warm-white);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--dark-brown);
  min-width: 220px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 30px var(--shadow-heavy);
  padding: 10px 0;
  margin-top: 5px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  padding: 12px 20px;
  border-radius: 0;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-red) 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--warm-white);
  font-size: 3.25rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
  color: var(--warm-white);
  box-shadow: 0 4px 15px rgba(232, 93, 4, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 93, 4, 0.5);
  color: var(--warm-white);
}

.btn-secondary {
  background: var(--warm-white);
  color: var(--primary-orange);
  border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
  background: var(--primary-orange);
  color: var(--warm-white);
}

.btn-outline {
  background: transparent;
  color: var(--warm-white);
  border: 2px solid var(--warm-white);
}

.btn-outline:hover {
  background: var(--warm-white);
  color: var(--primary-orange);
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
  background: var(--warm-white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
  overflow: hidden;
  transition: all var(--transition-medium);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-medium);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  margin-bottom: 0.75rem;
}

.card-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-orange);
  font-weight: 600;
}

.card-link:hover {
  gap: 12px;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

/* =====================================================
   SECTIONS
   ===================================================== */
section {
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-red));
  border-radius: 2px;
}

.section-header p {
  max-width: 600px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
}

/* Alternate Section Backgrounds */
.section-light {
  background-color: var(--warm-white);
}

.section-cream {
  background-color: var(--cream);
}

.section-dark {
  background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 100%);
  color: var(--warm-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--warm-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  text-align: center;
  padding: 30px;
  background: var(--warm-white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all var(--transition-medium);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-medium);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-item h4 {
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =====================================================
   HOW IT WORKS SECTION
   ===================================================== */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  padding: 25px;
  background: var(--warm-white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-white);
  font-size: 1.5rem;
  font-weight: 700;
}

.step-content h4 {
  margin-bottom: 0.5rem;
}

.step-content p {
  margin-bottom: 0;
}

/* =====================================================
   BURRITO TYPES SECTION
   ===================================================== */
.burrito-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.burrito-type-card {
  background: var(--warm-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all var(--transition-medium);
}

.burrito-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-medium);
}

.burrito-type-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.burrito-type-content {
  padding: 30px;
}

.burrito-type-content h3 {
  color: var(--dark-brown);
  margin-bottom: 1rem;
}

.burrito-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.ingredient-tag {
  background: var(--cream);
  color: var(--text-medium);
  padding: 6px 14px;
  border-radius: var(--border-radius-xl);
  font-size: 0.85rem;
  border: 1px solid var(--light-brown);
}

/* =====================================================
   BLOG SECTION
   ===================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--warm-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all var(--transition-medium);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-medium);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.blog-card-content p {
  font-size: 0.95rem;
}

/* =====================================================
   CONTENT PAGES
   ===================================================== */
.content-page {
  padding: 60px 20px;
}

.content-page h1 {
  margin-bottom: 1.5rem;
}

.content-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-page h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-page p {
  margin-bottom: 1.25rem;
}

.content-page ul,
.content-page ol {
  margin-bottom: 1.5rem;
}

.content-page blockquote {
  background: var(--cream);
  border-left: 4px solid var(--primary-orange);
  padding: 20px 25px;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  font-style: italic;
}

.content-page blockquote p {
  margin-bottom: 0;
}

/* =====================================================
   COMPARISON TABLE
   ===================================================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: var(--warm-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-light);
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--cream);
}

.comparison-table th {
  background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 100%);
  color: var(--warm-white);
  font-weight: 600;
}

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

.comparison-table tr:hover td {
  background-color: var(--cream);
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--warm-white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--cream);
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--warm-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.1);
}

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

/* =====================================================
   SIDEBAR
   ===================================================== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-widget {
  background: var(--warm-white);
  padding: 25px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-light);
  margin-bottom: 25px;
}

.sidebar-widget h4 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--cream);
}

.sidebar-widget ul {
  list-style: none;
  margin: 0;
}

.sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--cream);
}

.sidebar-widget ul li:last-child {
  border-bottom: none;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 100%);
  color: var(--cream);
  padding: 60px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  color: var(--warm-white);
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--primary-orange);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

/* =====================================================
   DISCLAIMER BANNER
   ===================================================== */
.disclaimer-banner {
  background: var(--cream);
  border-left: 4px solid var(--primary-orange);
  padding: 15px 20px;
  margin: 30px 0;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.disclaimer-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-medium);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.85rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  .header-content {
    flex-wrap: wrap;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li a {
    padding: 12px 16px;
  }
  
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    margin: 5px 0 0 15px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  section {
    padding: 50px 20px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .burrito-types {
    grid-template-columns: 1fr;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .ingredient-tag {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
  header, footer, .btn, .hero-cta {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  .container, .container-narrow {
    max-width: 100%;
    padding: 0;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
  
  p, li, blockquote {
    orphans: 3;
    widows: 3;
  }
}