/* ============================================
   Urban Food Delivery Insights - Magazine Style
   ============================================ */

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

:root {
  --primary-dark: #1a1a2e;
  --secondary-dark: #16213e;
  --accent-color: #e94560;
  --accent-secondary: #ff6b6b;
  --text-light: #f5f5f5;
  --text-muted: #a0a0a0;
  --bg-light: #f8f9fa;
  --bg-card: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  color: var(--primary-dark);
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.25rem;
  color: #444;
}

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

a:hover {
  color: var(--accent-secondary);
}

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  background: var(--primary-dark);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.logo-text {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.5px;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-light);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: var(--text-light);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 200px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text h1 span {
  color: var(--accent-color);
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--accent-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--primary-dark);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
  color: var(--text-light);
}

.section-dark p {
  color: var(--text-muted);
}

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

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 0;
}

/* ============================================
   Cards & Grid
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.card-image {
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
}

.card-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.card-title a {
  color: inherit;
}

.card-title a:hover {
  color: var(--accent-color);
}

.card-excerpt {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Featured Card */
.card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.card-featured .card-image {
  height: 100%;
  min-height: 300px;
}

.card-featured .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.card-featured .card-title {
  font-size: 1.75rem;
}

/* ============================================
   Article Page Styles
   ============================================ */
.article-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: var(--text-light);
  padding: 4rem 0;
}

.article-header-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.article-category {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  margin-bottom: 1.5rem;
}

.article-title {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

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

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.article-image {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
}

.article-image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ============================================
   City Guide Styles
   ============================================ */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.city-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow);
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.city-card:hover img {
  transform: scale(1.1);
}

.city-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2rem;
  color: white;
}

.city-card-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.city-card-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* ============================================
   Trends Section
   ============================================ */
.trend-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-color);
}

.trend-item:nth-child(even) {
  grid-template-columns: 2fr 1fr;
}

.trend-item:nth-child(even) .trend-image {
  order: 2;
}

.trend-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trend-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.trend-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.trend-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.trend-stat {
  text-align: center;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 12px;
}

.trend-stat-number {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-color);
}

.trend-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

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

.about-text p {
  font-size: 1.1rem;
  line-height: 1.9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
}

.team-member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 4px solid var(--accent-color);
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-member-role {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text {
  font-size: 1rem;
}

.contact-text strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
}

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

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

/* ============================================
   Legal Pages (Privacy, Terms, Disclaimer)
   ============================================ */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: 1.25rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-update {
  background: var(--bg-light);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============================================
   Disclaimer Banner
   ============================================ */
.disclaimer-banner {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 10px 10px 0;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 1rem;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

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

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

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--accent-color);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .card-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  
  .card-featured .card-image {
    min-height: 220px;
  }
  
  .trend-item,
  .trend-item:nth-child(even) {
    grid-template-columns: 1fr;
  }
  
  .trend-image {
    order: -1 !important;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu a {
    display: block;
    padding: 1rem;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero-text h1 {
    font-size: 2.25rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .city-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .article-title {
    font-size: 1.75rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .disclaimer-banner {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .container {
    max-width: 100%;
  }
}