/* ==========================================================================
   HOMEPAGE SPECIFIC
   ========================================================================== */

/* Hero Banner Layout */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-xxl);
  display: flex;
  align-items: center;
  background-color: var(--color-bg-darker);
  color: var(--color-bg-white);
  overflow: hidden;
}

/* Luxury background grid pattern + lighting glow */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(30, 58, 138, 0.25) 0%, transparent 60%),
              linear-gradient(135deg, rgba(15, 39, 71, 0.95) 0%, rgba(7, 19, 36, 0.98) 100%);
  z-index: 1;
}

/* Workshop photographic pattern simulation in CSS using high-tech lines or mask */
.hero-bg-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.25;
  z-index: 2;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(80%);
}

.hero-container {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .hero-bg-image-wrapper {
    opacity: 0.35;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-subtitle {
  color: var(--color-accent);
  text-transform: uppercase;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero-subtitle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hero-title {
  color: var(--color-bg-white);
  margin-bottom: var(--space-md);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero-desc {
  color: var(--color-text-light-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  margin-bottom: var(--space-xl);
  max-width: var(--max-width-text);
  line-height: 1.6;
}

/* Action Group */
.hero-actions-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  width: 100%;
  margin-bottom: var(--space-xxl);
}

.hero-actions-group .btn {
  flex: 1 1 200px;
}

@media (min-width: 576px) {
  .hero-actions-group .btn {
    flex: 0 1 auto;
  }
}

/* Trust signals grid inside Hero */
.hero-trust-indicators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
}

@media (min-width: 576px) {
  .hero-trust-indicators {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-light-muted);
  font-size: 0.85rem;
}

.hero-trust-icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero-trust-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.hero-trust-label {
  font-weight: 500;
  line-height: 1.2;
}

/* Booking CTA Section Banner (Homepage / Page footer lead capture) */
.booking-cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-bg-darker) 100%);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  color: var(--color-text-light);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.booking-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 90%, rgba(30, 58, 138, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.booking-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-bg-white);
  margin-bottom: var(--space-sm);
}

.booking-cta-text {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  color: var(--color-text-light-muted);
  font-size: 1.05rem;
}

.booking-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

@media (min-width: 576px) {
  .booking-cta-buttons {
    flex-direction: row;
  }
}


/* ==========================================================================
   ABOUT PAGE SPECIFIC
   ========================================================================== */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

@media (min-width: 992px) {
  .about-story-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.about-image-frame::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  pointer-events: none;
}

/* Core Values Cards */
.value-card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-accent-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.value-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.value-icon {
  color: var(--color-secondary);
}

.value-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.value-card h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

/* Team Grid Layout */
.team-grid {
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 576px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

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

.team-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
  aspect-ratio: 1/1;
  border: 1px solid var(--color-accent-light);
  box-shadow: var(--shadow-md);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.team-card:hover .team-image {
  transform: scale(1.05);
}

.team-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}


/* ==========================================================================
   SERVICES PAGE SPECIFIC
   ========================================================================== */
.service-details-block {
  margin-bottom: var(--space-huge);
}

.service-details-block:last-child {
  margin-bottom: 0;
}

.service-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: flex-start;
}

@media (min-width: 992px) {
  .service-details-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .service-details-block:nth-child(even) .service-details-grid {
    direction: rtl; /* Flip column order for staggered layout */
  }
  
  .service-details-block:nth-child(even) .service-details-grid > * {
    direction: ltr; /* Reset text direction within elements */
  }
}

.service-info-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-graphic-column {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 16/10;
}

/* Service Checklists */
.issues-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  margin-top: var(--space-xs);
}

.issues-checklist-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.issues-item {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.925rem;
  color: var(--color-text-muted);
}

.issues-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-danger);
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.benefits-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.benefits-item {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.925rem;
  color: var(--color-text-muted);
}

.benefits-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-success);
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Service Process Steps */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.process-step {
  display: flex;
  gap: var(--space-md);
  background-color: var(--color-bg-light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-secondary);
}

.process-step-num {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}

.process-step-content h4 {
  font-size: 0.975rem;
  margin-bottom: 2px;
  color: var(--color-primary);
}

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


/* ==========================================================================
   CONTACT PAGE SPECIFIC
   ========================================================================== */
.contact-grid {
  grid-template-columns: 1fr;
  gap: var(--space-xxl);
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-coordinate-box {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-accent-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.coordinate-row {
  display: flex;
  gap: var(--space-md);
}

.coordinate-icon-wrapper {
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coordinate-icon-wrapper svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
}

.coordinate-content h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.coordinate-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.coordinate-content a {
  color: var(--color-text-muted);
}

.coordinate-content a:hover {
  color: var(--color-secondary);
}

/* Embedded Interactive Map block */
.map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-accent-light);
  box-shadow: var(--shadow-sm);
}

.map-embed-iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   ADDED FOR PHASE 2: AUDIT & PRODUCTION OPTIMIZATIONS
   ========================================================================== */

/* Emergency Assistance Section (High Conversion CTA) */
.emergency-section {
  background: linear-gradient(135deg, #7F1D1D 0%, #450A0A 100%);
  color: var(--color-bg-white);
  border-top: 3px solid #EF4444;
  border-bottom: 3px solid #EF4444;
}

.emergency-section h2 {
  color: var(--color-bg-white);
}

.emergency-section p {
  color: #FCA5A5;
}

.emergency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .emergency-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.emergency-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 576px) {
  .emergency-cta-buttons {
    flex-direction: row;
    justify-content: flex-end;
  }
}

.btn-emergency {
  background-color: #EF4444;
  color: var(--color-bg-white);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.btn-emergency:hover {
  background-color: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.5);
}

/* Fleet Services Section */
.fleet-section {
  position: relative;
  background-color: var(--color-bg-light);
}

.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

@media (min-width: 992px) {
  .fleet-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fleet-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 576px) {
  .fleet-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fleet-highlight-item {
  display: flex;
  gap: var(--space-sm);
}

.fleet-highlight-icon {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.fleet-highlight-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.fleet-highlight-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.fleet-highlight-content p {
  font-size: 0.825rem;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

/* Service Areas Tags */
.service-areas-container {
  margin-top: var(--space-lg);
}

.service-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
}

.service-area-tag {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-accent-light);
  color: var(--color-primary);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.service-area-tag svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--color-secondary);
  stroke-width: 2;
}

.service-area-tag:hover {
  border-color: var(--color-secondary);
  background-color: rgba(30, 58, 138, 0.04);
  transform: translateY(-1px);
}

/* FAQ Layout styles for dedicated pages */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-accent-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
