/* ===================================================
   Balaji Gas Repairs — Premium Light SPA 
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&display=swap');

:root {
  --primary: #0f172a;
  /* Deep Navy from logo */
  --primary-light: #1e3a8a;
  --secondary: #e3682b;
  /* Deep Copper from logo */
  --secondary-light: #fee5c7;
  /* Soft Beige/Gold */
  --accent: #f97316;
  /* Safety Orange from logo flame */
  --white: #ffffff;
  --light-bg: #fafafa;
  --gray-pale: #f3f4f6;
  --bg-blue-tint: #f0f7ff;
  --bg-beige-tint: #fbf3ef;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Poppins', sans-serif;
  --radius: 30px;
  --nav-height: 75px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* TOP BAR */
.top-info-bar {
  background: #248fcd;
  /* Vibrant Blue from user request */
  color: white;
  padding: 12px 5%;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1001;
}

.top-info-inner strong {
  color: #ffe5ae;
  font-weight: 800;
}

@media (max-width: 768px) {
  .top-info-bar {
    font-size: 0.62rem;
    padding: 6.5px 2%;
  }
}

/* NAVBAR */
nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0 5%;
  height: 75px;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 46px;
  /* Matches top-info-bar height approx */
  z-index: 1000;
}

@media (max-width: 768px) {
  nav {
    top: 29px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.logo img {
  height: 56px;
  width: auto;
  transition: transform 0.3s;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-left: 0;
}

.logo-text {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 800;
  color: #248fcd;
  white-space: nowrap;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  margin-top: 1px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .logo {
    flex-direction: row;
    align-items: center;
    gap: 5px;
    width: auto;
    margin: 0;
  }

  .logo-wrapper {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
  }

  .logo-text {
    font-size: 1.1rem;
    white-space: nowrap;
    line-height: 1;
  }

  .logo-subtitle {
    font-size: 0.6rem;
    margin-top: 1px;
    line-height: 1;
    white-space: nowrap;
  }

  .logo img {
    height: 40px;
  }

  nav {
    height: 70px;
    padding: 0 5%;
  }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  grid-column: 2;
  justify-self: center;
  padding-left: 80px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .logo {
    margin-right: 0;
  }

  .logo-text {
    display: flex;
  }
}

.nav-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn:hover {
  background: var(--secondary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  color: white;
}

.nav-btn:not(.mobile-only *) {
  grid-column: 3;
  justify-self: end;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  grid-column: 3;
  justify-self: end;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* HAMBURGER ANIMATION */
.hamburger.toggle span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle span:nth-child(2) {
  opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

li.mobile-only {
  display: none !important;
}

@media (max-width: 1024px) {
  li.mobile-only {
    display: block !important;
  }
}

/* HERO */
.hero {
  background: radial-gradient(circle at top right, var(--bg-blue-tint) 0%, #ffffff 100%);
  padding: 80px 5% 60px;
  position: relative;
  overflow: hidden;
  animation: bgPulse 10s infinite alternate;
}

@keyframes bgPulse {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 10% 10%;
  }
}

.hero-bg-decor {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(36, 143, 205, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-20px, -20px);
  }
}

.slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.slide-text {
  flex: 1.2;
}

.slide-tag {
  display: inline-block;
  background: var(--secondary-light);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.slide-text h1 {
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 30px;
  color: var(--text-dark);
  font-weight: 800;
}

.highlight {
  color: #248fcd;
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(36, 143, 205, 0.15);
  z-index: -1;
}

.slide-text p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 550px;
  line-height: 1.8;
}

.visit-badge {
  display: inline-flex;
  gap: 15px;
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  margin-bottom: 35px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--secondary-light);
}

.visit-badge span:nth-child(2) {
  color: var(--gray-300);
}

.visit-badge .time {
  color: var(--primary);
}

.visit-badge .price {
  color: var(--secondary);
}

.slide-btns {
  display: flex;
  gap: 25px;
  align-items: center;
}

/* REFINED BUTTONS */
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(227, 104, 43, 0.3);
  color: white;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 11px 26px;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.4s;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.slide-image {
  flex: 1;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slide-image img {
  width: 100%;
  height: auto;
  max-height: 70dvh;
  object-fit: cover;
  display: block;
}

.slide-image-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.slide-image-badge {
  background: var(--secondary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
}

/* SECTIONS */
.section {
  padding: 80px 5%;
}

.bg-light {
  background: var(--gray-pale);
}

.bg-alt-1 {
  background: var(--bg-blue-tint);
}

.bg-alt-2 {
  background: var(--bg-beige-tint);
}

.section-label {
  display: block;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.section-heading {
  text-align: center;
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-heading span {
  color: var(--secondary);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

/* SERVICES GRID - REQUIRED 2 CARDS PER ROW MOBILE */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.service-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.service-btn {
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.service-btn-ghost {
  background: var(--gray-100);
  color: var(--primary);
  border: 1px solid var(--gray-200);
}

.service-btn-ghost:hover {
  background: var(--gray-200);
}

.service-btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  opacity: 1;
  visibility: visible;
}

.service-card:hover .service-btn-primary {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.service-btn-primary:hover {
  background: var(--accent);
}

/* BRANDS SECTION - FULL AREA */
.ft-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
}

.brands-single-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.brands-single-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
  transition: transform 0.5s;
}

.brands-single-img:hover {
  transform: scale(1.02);
}

/* PROCESS SECTION */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.process-item {
  text-align: center;
  position: relative;
}

.process-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.process-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* REVIEWS */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.review-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.7;
}

.review-author {
  font-weight: 700;
  color: var(--primary);
}

/* FOOTER */
footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 5% 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.footer-brand p {
  max-width: 400px;
  margin-top: 20px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 25px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  margin: 10vh auto;
  width: 90%;
  max-width: 500px;
  border-radius: 25px;
  position: relative;
  padding: 40px;
  animation: modalSlide 0.4s ease;
  text-align: center;
}

@keyframes modalSlide {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-label {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.modal-text {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.modal-btn {
  background: var(--primary);
  color: white;
  padding: 15px 30px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  display: block;
}

/* FLOATING */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
  text-decoration: none !important;
}

.floating-icon:hover {
  transform: scale(1.1);
  text-decoration: none !important;
}

.whatsapp {
  background: #25d366;
  color: white;
}

.phone {
  background: #248fcd;
  color: white;
  font-size: 1.5rem;
}

.floating-icon img {
  width: 35px;
  height: 35px;
}

.phone-icon-wrap {
  text-decoration: none !important;
}

/* RESPONSIVE - REQUIRED 2 CARDS PER ROW ON MOBILE FOR SERVICES */
@media (max-width: 1024px) {
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    position: fixed;
    right: 0;
    top: 75px;
    height: calc(100vh - 75px);
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 2rem;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in;
    z-index: 1000;
    box-shadow: -10px 0 15px rgba(0, 0, 0, 0.05);
  }

  .nav-links.nav-active {
    transform: translateX(0%);
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-btn {
    display: none;
  }

  .logo {
    margin-right: auto;
  }

  .hero {
    padding: 40px 5% 30px;
    text-align: center;
  }

  .slide {
    flex-direction: column;
    gap: 30px;
  }

  .slide-text {
    order: 2;
    width: 100%;
  }

  .slide-image {
    order: 1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .slide-btns {
    justify-content: center;
  }

  .service-btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    width: 100%;
    max-width: 250px;
  }

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

  .service-info {
    padding: 15px;
  }

  .service-actions {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .slide-text h1 {
    font-size: 1.8rem;
  }

  .slide-tag {
    font-size: 0.7rem;
    padding: 6px 15px;
  }

  .btn-primary,
  .btn-outline {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* CTA BANNER & SOCIAL CARDS */
.cta-banner {
  background: linear-gradient(90deg, #1a73e8 0%, #00897b 100%);
  padding: 40px 5%;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-banner-text h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 5px;
}

.cta-banner-text p {
  opacity: 0.9;
}

.cta-banner-btn {
  background: white;
  color: var(--primary);
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-banner-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
}

@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}

.social-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.social-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.social-card-top {
  padding: 40px 20px;
  color: white;
}

.social-card.whatsapp .social-card-top {
  background: #25d366;
}

.social-card.instagram .social-card-top {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-card.youtube .social-card-top {
  background: #ff0000;
}

.social-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.social-card h3 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.social-card-body {
  padding: 30px 20px;
}

.social-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  min-height: 50px;
}

.social-card-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s;
}

.social-card.whatsapp .social-card-btn {
  background: #25d366;
}

.social-card.instagram .social-card-btn {
  background: #e1306c;
}

.social-card.youtube .social-card-btn {
  background: #ff0000;
}

.social-card-btn:hover {
  opacity: 0.9;
}