:root {
  --titan-red:#ef0303;
  --dark:#0c0d0f;
}
*{font-family:'Lexend',system-ui,sans-serif;}
body{margin:0;padding:0;}
.navbar{background:rgba(0,0,0,.92)!important;}
.hero{
  position:relative;
  height:60vh;
  margin-top:56px;
  background:url('../img/car_hero.png') center/cover no-repeat;
  display:flex;align-items:center;color:#fff;
}
.hero .overlay{position:absolute;inset:0;background:rgba(0,0,0,.5);}
.hero-copy{position:relative;z-index:2;}

.subhero{
  position:relative;
  height:40vh;
  margin-top:56px;
  background:url('../img/car_red.png') center center/cover no-repeat;
  display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;
}
.subhero .overlay-dark{position:absolute;inset:0;background:rgba(0,0,0,.6);}
.subhero h1{position:relative;z-index:2;font-weight:800;font-size:3rem;}

.footer-gradient{background:linear-gradient(180deg,#0b0c0e 0%,#16181b 60%,#d10f0f 100%);color:#fff;}

.call-btn{
  position:fixed;
  bottom:25px;
  right:25px;
  background:var(--titan-red);
  width:60px;height:60px;
  border-radius:50%;
  box-shadow:0 4px 10px rgba(0,0,0,.3);
  display:flex;align-items:center;justify-content:center;
  z-index:9999;
}
.call-btn img{width:28px;filter:invert(1);}
.call-btn:hover{transform:scale(1.1);transition:all .2s ease;}
.services-overview {
  position: relative;
  background: url('../img/car_red.png') center center/cover no-repeat;
  padding: 100px 0;
}
.services-overview .overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.services-overview .circle-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #d10f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}
.services-overview .circle-icon img {
  width: 50px;
  filter: invert(1);
}

.workshop {
  background: linear-gradient(to bottom, #fff 0%, #f5f5f5 100%);
  color: #000;
}
.workshop h4 {
  font-weight: 700;
}
.workshop p {
  font-size: 16px;
  color: #222;
}

.hero .btn {
  min-width: 160px;
  font-weight: 600;
}
/* Smaller icons in service/tire cards */
.card img {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .card img {
    width: 60px;
  }
}

.btn-outline-light:hover {
  background: #ef0303;
  color: #fff;
  border-color: #ef0303;
}
/* --- Align hero buttons perfectly --- */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Ensure both buttons have identical padding, border radius, and height */
.hero-buttons .btn {
  min-width: 180px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 6px;
  font-size: 1.05rem;
}

/* Make both buttons react the same way on hover */
.hero-buttons .btn-outline-light:hover {
  background: var(--titan-red);
  color: #fff;
  border-color: var(--titan-red);
  transition: all 0.2s ease;
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
/* --- Service card hover effect --- */
.card {
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
}

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

/* Icon hover animation */
.card img {
  transition: all 0.3s ease;
  filter: invert(0);
}

.card:hover img {
  filter: invert(15%) sepia(94%) saturate(7456%) hue-rotate(356deg) brightness(97%) contrast(104%);
}

/* Text hover color for title */
.card:hover h5 {
  color: var(--titan-red);
  transition: color 0.3s ease;
}
.card img {
  transition: filter 0.3s ease;
}
.card:hover img {
  filter: invert(15%) sepia(94%) saturate(7456%) hue-rotate(356deg) brightness(97%) contrast(104%);
}
/* ===========================
   TIRE TABLE GLOW EFFECT
=========================== */
.table-responsive {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #0c0d0f;
  padding: 4px;
}

/* Glowing border animation */
.table-responsive::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(90deg, #ef0303, #ff5a5a, #ef0303);
  background-size: 300% 300%;
  animation: borderGlow 4s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Table style adjustments */
.table {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 0;
  overflow: hidden;
}

.table-dark th {
  background: #0c0d0f !important;
  color: #fff;
  font-weight: 700;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(239, 3, 3, 0.05);
}

.table-hover > tbody > tr:hover > * {
  background-color: rgba(239, 3, 3, 0.15);
  transition: all 0.3s ease;
}

/* Make sure it looks good on phones */
@media (max-width: 768px) {
  .table th, .table td {
    font-size: 14px;
    padding: 10px;
  }
  .table-responsive {
    margin: 0 10px;
  }
}

/* ==== SOCIAL ICONS + CALL BUTTON ==== */
.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(-6px);
  animation: fadeSlide 0.7s ease forwards;
}
.social-icons a:nth-child(1) { animation-delay: 0.2s; }
.social-icons a:nth-child(2) { animation-delay: 0.4s; }
.social-icons a:nth-child(3) { animation-delay: 0.6s; }

.social-icons img {
  width: 18px;
  filter: invert(1);
  transition: transform 0.3s ease;
}
.social-icons a:hover img {
  transform: scale(1.2);
  filter: invert(32%) sepia(95%) saturate(7400%) hue-rotate(357deg) brightness(95%) contrast(108%);
}

/* Fade animation */
@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==== CALL BUTTON NEXT TO ICONS ==== */
.call-btn-nav {
  background: #ef0303;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
.call-btn-nav:hover {
  background: #ff3535;
  transform: scale(1.05);
  text-decoration: none;
  color: #fff;
}

.lang-select{
  appearance:none;
  background:#1f1f1f;
  color:#fff;
  border:1px solid #333;
  border-radius:8px;
  padding:.25rem .5rem;
  font-weight:600;
}
.navbar .lang-select:focus{outline:0; box-shadow:0 0 0 2px rgba(255,255,255,.15)}
