/*
Theme Name: Araye Towing & Recovery
Description: Professional 24/7 car recovery service theme for North London
Version: 1.0
Author: Araye Towing & Recovery
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  padding-top: 70px;
  padding-bottom: 80px;
}

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

/* Emergency Header */
.emergency-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #dc2626;
  color: white;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo img {
  max-height: 40px;
  width: auto;
}

.truck-icon {
  font-size: 24px;
}

.emergency-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.emergency-text {
  font-size: 14px;
  font-weight: 600;
}

.emergency-btn {
  background: #eab308;
  color: #000;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s;
}

.emergency-btn:hover {
  background: #fbbf24;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: #fecaca;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.hero-card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-phone {
  color: #fbbf24;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
}

.hero-time {
  color: #86efac;
  font-size: 1.8rem;
  font-weight: 700;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: #eab308;
  color: #000;
}

.btn-primary:hover {
  background: #fbbf24;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #16a34a;
  color: white;
}

.btn-whatsapp:hover {
  background: #22c55e;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* WordPress Navigation */
.main-navigation {
  background: #374151;
  padding: 15px 0;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  background: #4b5563;
  color: white;
}

/* Service Areas */
.service-areas {
  padding: 60px 0;
  background: #f9fafb;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
}

.areas-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.area-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 2px solid #e5e7eb;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s;
}

.area-badge:hover {
  border-color: #dc2626;
  background: #fef2f2;
}

.area-icon {
  color: #dc2626;
}

/* Vehicle Tracker */
.vehicle-tracker {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tracker-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.live-dot {
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.vehicle-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vehicle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
}

.vehicle-item.available {
  background: #f0fdf4;
}
.vehicle-item.on-job {
  background: #fefce8;
}

.vehicle-name {
  font-weight: 600;
}

.vehicle-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.available .vehicle-status {
  background: #22c55e;
  color: white;
}

.on-job .vehicle-status {
  background: #eab308;
  color: #000;
}

/* Services */
.services {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-price {
  color: #dc2626;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-description {
  color: #6b7280;
  line-height: 1.6;
}

/* Emergency Footer */
.emergency-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #dc2626;
  color: white;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.footer-text {
  font-weight: 600;
  font-size: 14px;
}

.footer-buttons {
  display: flex;
  gap: 10px;
}

.footer-btn {
  background: #eab308;
  color: #000;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;
}

.footer-btn:hover {
  background: #fbbf24;
}

.footer-btn-whatsapp {
  background: #16a34a;
  color: white;
}

.footer-btn-whatsapp:hover {
  background: #22c55e;
}

/* WordPress Specific */
.wp-block-group {
  margin: 0;
}

.entry-content {
  margin: 0;
}

/* Schema Markup Styles */
.schema-business {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .emergency-text {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
    flex-direction: column;
    gap: 10px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .areas-grid {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 120px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
