/* style.css - OnRoad Truck & Trailer Services 
  Industrial Professional Theme 
*/

:root {
  --primary-green: #10b981;    /* Reliability */
  --emergency-amber: #f59e0b;  /* High Visibility for Phone */
  --deep-slate: #0f172a;       /* Mature Industrial Background */
  --card-bg: rgba(255, 255, 255, 0.03);
  --text-main: #f8fafc;
  --text-dim: #94a3b8;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background-color: var(--deep-slate);
  color: var(--text-main);
  line-height: 1.6;
}

/* Top Navigation Bar */
.top-bar {
 /* Deep Navy/Slate Gradient for a mature look */
  background: linear-gradient(135deg, #0f172a, #1e293b); 
  
  /* Adds a subtle green 'accent' line at the very bottom */
  border-bottom: 2px solid var(--primary-green); 
  
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Ensure the text 'Needs Met' or other labels are crisp */
.top-bar-left span {
  color: var(--text-dim);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 1. Contact Focus - Amber Color for Phone Links */
a[href^="tel:"] {
  color: var(--emergency-amber) !important;
  text-decoration: none;
  font-weight: 800;
  transition: all 0.3s ease;
}

a[href^="tel:"]:hover {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* Hero Section with Responsive Logo Fix */
.hero {
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
              url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&q=80&w=1200');
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  text-align: center;
  border-bottom: 4px solid var(--primary-green);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* 2. Responsive Logo Fix */
.hero-logo img {
  width: 100%;
  max-width: 280px; 
  height: auto;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.5));
  
  /* Circular Corner Changes */
  border-radius: 20px;          /* Use 50% for a perfect circle if your image is square */
  border: 3px solid #10b981;    /* Optional: adds a professional green border around the logo */
  object-fit: cover;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.1;
  color: #fff;
}

/* Service Grid - Industrial Cards */
.section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary-green);
  background: rgba(16, 185, 129, 0.05);
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary-green);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* Contact Section & Big Phone */
.big-phone {
  margin: 30px 0;
  text-align: center;
}

.big-phone a {
  font-size: clamp(1.8rem, 6vw, 3rem);
  padding: 15px 30px;
  border: 3px solid var(--emergency-amber);
  border-radius: 15px;
  display: inline-block;
  background: rgba(245, 158, 11, 0.05);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .hero-logo img {
    max-width: 180px; /* Smaller Logo on Mobile */
  }

  .top-bar {
    flex-direction: column;
    gap: 10px;
  }
}

footer {
  text-align: center;
  padding: 50px 20px;
  background: rgba(0,0,0,0.4);
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 60px;
}
.review-time {
  font-size: 0.8rem;
  color: var(--primary-green); /* Using your branding green */
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}
