/* ==========================================================================
   LG Service Centre - Modern Responsive Stylesheet
   Local Appliance Repair Service | Viman Nagar, Pune
   ========================================================================== */

:root {
  --primary-navy: #1a365d;
  --primary-dark: #0f172a;
  --lg-red: #a50034;
  --lg-red-hover: #88002b;
  --accent-blue: #2b6cb0;
  --accent-blue-light: #ebf8ff;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1da851;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #2d3748;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  padding-bottom: 70px; /* Space for mobile floating bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-navy);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-phone {
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-phone:hover {
  color: #93c5fd;
}

/* Navbar */
.navbar {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.logo-badge {
  background-color: var(--lg-red);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

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

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--lg-red);
  border-radius: 2px;
}

.nav-cta-btn {
  background-color: var(--lg-red);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.nav-cta-btn:hover {
  background-color: var(--lg-red-hover);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 5px;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--lg-red);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--lg-red-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--primary-navy);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #0f2545;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
}

.btn-outline:hover {
  background-color: var(--primary-navy);
  color: #fff;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a365d 100%);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(165,0,52,0.15) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: #93c5fd;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-description {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.highlight-icon {
  width: 32px;
  height: 32px;
  background: rgba(165,0,52,0.3);
  color: #ff8da1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* Quick Booking Card / Form */
.quick-booking-card {
  background-color: var(--bg-white);
  color: var(--text-main);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
}

.quick-booking-card h3 {
  font-size: 1.35rem;
  color: var(--primary-navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-booking-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary-navy);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(43,108,176,0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Notice Banner */
.disclaimer-banner {
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: #92400e;
}

/* Sections General */
.section {
  padding: 60px 0;
}

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

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}

.section-subtitle {
  color: var(--lg-red);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.1rem;
  color: var(--primary-navy);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--primary-navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  margin-bottom: 24px;
}

.service-list li {
  font-size: 0.875rem;
  color: var(--text-main);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed var(--border-color);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: "✓";
  color: var(--lg-red);
  font-weight: bold;
}

/* Process Step Cards */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.process-step {
  background-color: var(--bg-white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  background-color: var(--lg-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.process-step h4 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 700;
}

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

/* Problem Detail Box */
.problem-box {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent-blue);
  box-shadow: var(--shadow-sm);
}

.problem-box h4 {
  color: var(--primary-navy);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

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

/* FAQs Accordion */
.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--lg-red);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px 24px;
  max-height: 500px;
}

/* Contact Info Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-box {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 1.1rem;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.contact-info-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Map Container */
.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: 0;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-column h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #fff;
}

.footer-disclaimer {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 24px;
  line-height: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* Mobile Sticky Bottom CTA Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
  z-index: 9999;
  padding: 8px 12px;
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-bottom-bar .btn {
  padding: 10px 12px;
  font-size: 0.9rem;
  width: 100%;
  border-radius: var(--radius-sm);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: var(--bg-white);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.15rem;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
  }
  .mobile-bottom-bar {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
