/* Vehicle Inspection & Maintenance Service - Main CSS */

/* Color Palette - Vehicle Inspection Theme */
:root {
  --primary-blue: #1850e2;
  --primary-blue-light: #4686ed;
  --primary-blue-dark: #0a62e2;
  --accent-orange: #fa8500;
  --accent-orange-light: #e9883e;
  --accent-orange-dark: #df7519;
  --neutral-gray: #7b8896;
  --neutral-gray-light: #c1c5c8;
  --neutral-gray-dark: #4c5968;
  --success-green: #05b46f;
  --success-green-light: #3acb89;
  --success-green-dark: #089050;
  --warning-yellow: #ecb300;
  --warning-yellow-light: #ffcf0e;
  --warning-yellow-dark: #d95e00;
  --text-dark: #070a0e;
  --text-light: #f9fafb;
  --background-light: #ffffff;
  --background-gray: #f8fafc;
  --border-color: #d0dbed;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  font-size: 16px;
}

/* Lazy Loading Styles */
.lozad {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lozad.fade-in {
  opacity: 1;
}

/* Loading placeholder for images */
.lozad:not([src]) {
  background-color: var(--background-gray);
  background-image: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Header Styles */
.navbar-brand {
  font-size: 1.56rem !important;
  font-weight: 700;
  color: var(--primary-blue) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../MUZ_images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.69rem;
}

.hero-section p {
  font-size: 1.13rem;
  color: var(--text-light);
  opacity: 0.9;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: var(--background-gray);
}

.feature-card {
  background: var(--background-light);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 27px 40px rgba(0, 0, 0, 0.15);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background: var(--background-light);
}

.service-card {
  background: var(--background-light);
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 110px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 23px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-price {
  font-size: 1.58rem;
  font-weight: 700;
  color: var(--accent-orange);
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background: var(--background-gray);
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--success-green);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  padding: 5rem 0;
  background: var(--background-light);
}

.price-card {
  background: var(--background-light);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
}

.price-card.featured {
  border-color: var(--accent-orange);
  transform: scale(1.05);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Team Section */
.team-section {
  padding: 5rem 0;
  background: var(--background-gray);
}

.team-card {
  background: var(--background-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-card-body {
  padding: 1.5rem;
  text-align: center;
}

/* Reviews Section */
.reviews-section {
  padding: 5rem 0;
  background: var(--background-light);
}

.review-card {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.review-stars {
  color: var(--warning-yellow);
  margin-bottom: 1rem;
}

/* Case Study Section */
.casestudy-section {
  padding: 5rem 0;
  background: var(--background-gray);
}

.case-card {
  background: var(--background-light);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 11px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Process Section */
.process-section {
  padding: 5rem 0;
  background: var(--background-light);
}

.process-item {
  text-align: center;
  position: relative;
  padding: 2rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.64rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline Section */
.timeline-section {
  padding: 5rem 0;
  background: var(--background-gray);
}

.timeline-item {
  background: var(--background-light);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

/* Career Section */
.career-section {
  padding: 5rem 0;
  background: var(--background-light);
}

.career-card {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  transition: border-color 0.3s ease;
  height: 100%;
}

.career-card:hover {
  border-color: var(--primary-blue);
}

/* Core Info Section */
.coreinfo-section {
  padding: 5rem 0;
  background: var(--background-gray);
}

.info-card {
  background: var(--background-light);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: var(--background-light);
}

.contact-form {
  background: var(--background-light);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 11px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(25, 130, 245, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
  background: var(--background-gray);
}

.blog-card {
  background: var(--background-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: var(--background-light);
}

.faq-card {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--background-gray);
  padding: 1.5rem;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--neutral-gray-light);
}

.faq-answer {
  padding: 1.5rem;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background: var(--background-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-blue-light);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-blue-light);
}

/* Breadcrumb */
.breadcrumb-section {
  padding: 2rem 0;
  background: var(--background-gray);
}

.breadcrumb-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--background-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.61rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.22rem;
  color: var(--neutral-gray);
}

/* Utilities */
.text-primary {
  color: var(--primary-blue) !important;
}

.bg-primary {
  background-color: var(--primary-blue) !important;
}

.text-accent {
  color: var(--accent-orange) !important;
}

.bg-accent {
  background-color: var(--accent-orange) !important;
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
