/*
Theme Name: Repair Wala
Theme URI: https://repairwala.in
Author: Repair Wala
Author URI: https://repairwala.in
Description: Professional Repair Services WordPress Theme - Mobile, AC, TV, Plumbing, Electrical aur sabhi repair services ke liye best theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: repair-wala
Tags: repair, service, business, responsive, orange, professional
*/

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #FF6B00;
  --primary-dark: #E05A00;
  --primary-light: #FF8C33;
  --secondary: #1A1A2E;
  --accent: #FFD700;
  --text: #2D2D2D;
  --text-light: #666;
  --white: #FFFFFF;
  --bg-light: #F8F5F0;
  --bg-dark: #111827;
  --border: #E8E0D5;
  --shadow: 0 4px 24px rgba(255,107,0,0.15);
  --shadow-dark: 0 8px 40px rgba(0,0,0,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --font-heading: 'Baloo 2', cursive;
  --font-body: 'Hind', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { margin-bottom: 1rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,0,0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,0,0.5);
}

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

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.btn-whatsapp:hover {
  background: #1DAA56;
  transform: translateY(-2px);
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--secondary);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--accent); }
.top-bar a:hover { color: var(--white); }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
}
.logo-text span { color: var(--primary); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  font-size: 0.95rem;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
  background: rgba(255,107,0,0.08);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #16213E 60%, #0F3460 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,107,0,0.2);
  border: 1px solid rgba(255,107,0,0.4);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}
.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 380px;
}
.hero-card-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service-chip {
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  color: var(--white);
  font-size: 0.85rem;
  transition: var(--transition);
}
.service-chip:hover {
  background: rgba(255,107,0,0.3);
  transform: scale(1.02);
}
.service-chip .icon { font-size: 1.5rem; margin-bottom: 4px; }

/* ===== SECTION STYLES ===== */
section { padding: 80px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
  color: var(--secondary);
}

.section-desc {
  color: var(--text-light);
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ===== SERVICES ===== */
.services { background: var(--bg-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(255,107,0,0.2);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(255,107,0,0.2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.service-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

/* ===== WHY US ===== */
.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.features-list { margin-top: 32px; }

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(255,107,0,0.3);
  background: rgba(255,107,0,0.03);
  transform: translateX(4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(255,107,0,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--secondary);
}
.feature-text p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

.why-visual {
  position: relative;
}

.big-stat-card {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.big-stat-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,107,0,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.big-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: block;
}

.stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.mini-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.mini-stat .num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.mini-stat .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.stars { color: var(--accent); font-size: 1rem; margin-bottom: 14px; }

.testimonial-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
}

.reviewer-location {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== CONTACT / BOOKING ===== */
.contact-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #16213E 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(255,107,0,0.1) 0%, transparent 70%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-info h2 { color: var(--white); margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(255,107,0,0.15);
  border-color: rgba(255,107,0,0.3);
}

.contact-item-icon {
  font-size: 1.3rem;
  width: 40px;
  text-align: center;
}

.contact-item-text { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.contact-item-text strong { display: block; color: var(--white); margin-bottom: 2px; }

/* ===== BOOKING FORM ===== */
.booking-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.booking-form-wrap h3 {
  color: var(--secondary);
  margin-bottom: 24px;
  font-size: 1.4rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

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

.footer-about .site-logo { margin-bottom: 16px; }
.footer-about p { font-size: 0.9rem; line-height: 1.8; max-width: 300px; }

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  text-decoration: none;
}

.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { background: #25D366; }
.float-call { background: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .why-us-content { grid-template-columns: 1fr; }
  .contact-content { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta .btn { display: none; }
  .hero-stats { gap: 16px; }
  .top-bar .container { justify-content: center; }
  .top-bar-right { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.hero-badge { animation: pulse 3s ease infinite; }

/* ===== WORDPRESS REQUIRED ===== */
.wp-block-image img { border-radius: var(--radius); }
.aligncenter { text-align: center; margin: 0 auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }

/* WordPress menu active class */
.main-nav .current-menu-item > a,
.main-nav .current-page-ancestor > a {
  color: var(--primary);
  background: rgba(255,107,0,0.08);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
}
.skip-link:focus { top: 0; }
