/* ============================================
   Sandwich Delivery Hub - Tech Logistics Dashboard Theme
   ============================================ */

/* CSS Variables */
:root {
  --bg-primary: #f5f7fa;
  --bg-secondary: #ffffff;
  --bg-dark: #1a2744;
  --navy-blue: #1e3a5f;
  --navy-dark: #152a45;
  --teal: #2a9d8f;
  --teal-light: #40b4a5;
  --text-primary: #2c3e50;
  --text-secondary: #5a6c7d;
  --text-light: #8fa3b4;
  --border-color: #e1e8ed;
  --shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
  --shadow-hover: 0 8px 30px rgba(30, 58, 95, 0.12);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --border-radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-blue);
}

h1 { font-size: 2.75rem; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }

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

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

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

/* ============================================
   Header & Navigation
   ============================================ */
header {
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--navy-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-blue);
}

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

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  display: block;
  padding: 10px 16px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-primary);
  color: var(--navy-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-blue);
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-dark) 100%);
  padding: 80px 0;
  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.03'%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");
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 157, 143, 0.2);
  border: 1px solid var(--teal);
  color: var(--teal-light);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   Page Header (Internal Pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-dark) 100%);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Main Content
   ============================================ */
main {
  padding: 60px 0;
}

.content-section {
  margin-bottom: 60px;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-intro h2 {
  margin-bottom: 1rem;
}

/* ============================================
   Cards & Info Blocks
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.info-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.info-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.info-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--navy-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Feature Card */
.feature-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
}

.feature-card-header {
  background: linear-gradient(135deg, var(--navy-blue), var(--navy-dark));
  padding: 24px;
  color: white;
}

.feature-card-header h3 {
  color: white;
  margin-bottom: 0;
}

.feature-card-body {
  padding: 24px;
}

/* Step Card */
.step-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.step-content h4 {
  margin-bottom: 8px;
}

.step-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ============================================
   Disclaimer Banner
   ============================================ */
.disclaimer-banner {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 1px solid #ffc107;
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 40px;
}

.disclaimer-banner h4 {
  color: #856404;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.disclaimer-banner p {
  color: #856404;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ============================================
   Statistics Section
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 32px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-blue);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--teal);
  transition: var(--transition);
}

.faq-answer {
  padding: 0 24px 24px;
  display: none;
}

.faq-answer.active {
  display: block;
}

.faq-answer p {
  margin-bottom: 0;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--teal), var(--navy-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.contact-details h4 {
  margin-bottom: 6px;
}

.contact-details p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--teal);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--navy-blue);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
}

/* ============================================
   About Page
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-image {
  background: linear-gradient(135deg, var(--navy-blue), var(--teal));
  border-radius: var(--border-radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.mission-box {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-top: 40px;
  text-align: center;
}

.mission-box h3 {
  margin-bottom: 1rem;
}

/* ============================================
   Logistics Diagram
   ============================================ */
.logistics-diagram {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin: 40px 0;
}

.diagram-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.diagram-step {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.diagram-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--teal), var(--navy-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.diagram-step h4 {
  margin-bottom: 4px;
}

.diagram-step p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.diagram-arrow {
  font-size: 2rem;
  color: var(--teal);
}

/* ============================================
   Map Section (Service Availability)
   ============================================ */
.availability-section {
  margin: 40px 0;
}

.availability-map {
  background: linear-gradient(135deg, var(--navy-blue), var(--navy-dark));
  border-radius: var(--border-radius);
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 40px;
}

.availability-map h3 {
  color: white;
  margin-bottom: 1rem;
}

.availability-map p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.coverage-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
}

.coverage-card h4 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.coverage-card ul {
  list-style: none;
}

.coverage-card li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coverage-card li::before {
  content: '📍';
}

/* ============================================
   Privacy Policy
   ============================================ */
.legal-content {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--navy-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0;
  font-size: 0.95rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

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

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .hero h1 { font-size: 2.5rem; }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    box-shadow: var(--shadow);
    padding: 20px;
    display: none;
  }
  
  nav.active {
    display: block;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 0;
  }
  
  .nav-links a {
    padding: 14px 16px;
    border-radius: 0;
  }
  
  /* Hero */
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  /* Content */
  main {
    padding: 40px 0;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .step-card {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto;
  }
  
  /* Diagram */
  .diagram-flow {
    flex-direction: column;
  }
  
  .diagram-arrow {
    transform: rotate(90deg);
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  /* Legal */
  .legal-content {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  
  .hero h1 { font-size: 1.75rem; }
  
  .info-card {
    padding: 24px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stat-item {
    padding: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* Icon placeholder styling */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
}