/* style.css - Complete Uncut Master */
:root {
    --primary-red: #e63946; --primary-red-hover: #d62828;
    --wa-green: #25D366; --wa-green-hover: #128C7E;
    --dark-bg: #0f172a; --dark-card: #1e293b;
    --text-main: #334155; --text-muted: #64748b;
    --bg-light: #f8fafc; --bg-white: #ffffff;
    --mechanic-highlight: #f59e0b;
    --trans-fast: 0.2s ease; --trans-med: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); --trans-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1); --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1); --shadow-xl: 0 25px 50px -12px rgba(230, 57, 70, 0.25);
    --shadow-glow-red: 0 0 20px rgba(230, 57, 70, 0.6); --shadow-glow-green: 0 0 20px rgba(37, 211, 102, 0.6);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: system-ui, -apple-system, sans-serif; color: var(--text-main); background: var(--bg-white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: 1280px; margin: 0 auto; }
.text-center { text-align: center; }
.bg-dark { background-color: var(--dark-bg); }
.bg-light { background-color: var(--bg-light); }
.text-white { color: white !important; }
.relative-z { position: relative; z-index: 5; }

/* HIGHLIGHTS */
.highlight-mechanic { color: var(--mechanic-highlight); position: relative; display: inline-block; text-shadow: 0 2px 10px rgba(245, 158, 11, 0.3); }
.highlight-mechanic::after { content: ''; position: absolute; width: 100%; height: 4px; bottom: 2px; left: 0; background: var(--mechanic-highlight); border-radius: 2px; z-index: -1; opacity: 0.4; }

/* TOP BAR */
.top-bar { background: var(--dark-bg); color: #e2e8f0; font-size: 0.85rem; padding: 10px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.social-icons a { margin-left: 10px; transition: var(--trans-fast); }
.social-icons a:hover { color: var(--primary-red); }
.pulse-text { animation: textPulse 2s infinite; color: var(--primary-red); font-weight: bold;}

/* HEADER & NAVIGATION */
.glass-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-sm); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; position: relative; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--dark-bg); display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--primary-red); font-size: 2rem;}
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 30px; font-weight: 600; padding: 0; margin: 0; }
.hover-underline { position: relative; padding-bottom: 5px; }
.hover-underline::after { content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 0; background: var(--primary-red); transition: width var(--trans-fast); border-radius: 2px; }
.hover-underline:hover::after, .active-link::after { width: 100%; }
.active-link { color: var(--primary-red); }
.btn-emergency { background: var(--primary-red); color: white; padding: 10px 24px; border-radius: 8px; font-weight: bold; display: inline-flex; align-items: center; gap: 8px; transition: var(--trans-fast); border:none; cursor:pointer;}
.btn-emergency:hover { background: var(--primary-red-hover); box-shadow: var(--shadow-glow-red); transform: translateY(-2px); }
.hamburger { display: none; background: none; border: none; font-size: 2rem; color: var(--dark-bg); cursor: pointer; transition: var(--trans-fast); }
.mobile-only-call { display: none; }
.desktop-only-call { display: block; }

/* HERO */
.hero-modern { position: relative; min-height: 90vh; display: flex; align-items: center; background: url('https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat fixed; overflow: hidden; }
.hero-particles { position: absolute; inset: 0; z-index: 1; }
.hero-overlay-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 100%); z-index: 2; }
.hero-content-modern { position: relative; z-index: 3; color: white; text-align: center; max-width: 900px; margin: 0 auto; }
.badge { display: inline-block; background: rgba(245, 158, 11, 0.2); border: 1px solid var(--mechanic-highlight); color: var(--mechanic-highlight); padding: 8px 16px; border-radius: 30px; font-weight: bold; margin-bottom: 20px; backdrop-filter: blur(5px); }
.hero-modern h1 { font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; font-weight: 900; }
.hero-modern p { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 40px; color: #cbd5e1; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-cta-group { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.btn-ultra { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 16px 36px; border-radius: 50px; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; color: white; transition: var(--trans-med); z-index: 1; overflow: hidden; }
.call-ultra { background: var(--primary-red); } .call-ultra:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow-red); }
.wa-ultra { background: var(--wa-green); } .wa-ultra:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow-green); }
.pulse-ring-red, .pulse-ring-green { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; border-radius: 50px; z-index: -1; }
.pulse-ring-red { border: 2px solid var(--primary-red); animation: expandPulse 2s infinite; }
.pulse-ring-green { border: 2px solid var(--wa-green); animation: expandPulse 2s infinite; }
.hero-features { display: flex; justify-content: center; gap: 30px; font-weight: 600; color: #cbd5e1; flex-wrap: wrap; }
.hero-features i { color: var(--mechanic-highlight); margin-right: 8px; }

/* SECTIONS & GRIDS */
section { padding: 100px 0; }
.section-header { margin-bottom: 60px; text-align: center; }
.section-title { font-size: 2.5rem; color: var(--dark-bg); margin-bottom: 10px; font-weight: 900; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* SERVICES GRID FIX (THIS FIXES THE RESPONSIVENESS) */
.service-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
    width: 100%;
}
.hide-item { display: none !important; }

/* SERVICE CARDS */
.services { background-color: var(--bg-light); }
.service-card-img { background: var(--bg-white); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; position: relative; transition: var(--trans-slow); display: flex; flex-direction: column; }
.service-card-img:hover { transform: translateY(-12px); box-shadow: var(--shadow-xl); }
.card-image-box { width: 100%; height: 220px; position: relative; overflow: hidden; }
.card-image-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.group:hover .card-image-box img { transform: scale(1.15); }
.glass-icon { position: absolute; bottom: -25px; left: 30px; width: 60px; height: 60px; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border: 2px solid white; border-radius: 15px; display: flex !important; align-items: center !important; justify-content: center !important; box-shadow: var(--shadow-sm); z-index: 10; transition: var(--trans-med); }
.glass-icon i { font-size: 1.8rem; color: var(--primary-red); display: block !important; margin: 0 !important; line-height: 1 !important; transition: var(--trans-med); }
.group:hover .glass-icon { background: var(--primary-red); border-color: var(--primary-red); transform: translateY(-5px); }
.group:hover .glass-icon i { color: white; }
.card-content { padding: 40px 30px 30px 30px; text-align: left; position: relative; z-index: 5; background: white; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-content h3 { font-size: 1.4rem; color: var(--dark-bg); margin-bottom: 12px; font-weight: 800; }
.hidden-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-red); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; opacity: 0; transform: translateX(-15px); transition: 0.4s ease; margin-top: auto; padding-top: 15px;}
.group:hover .hidden-btn { opacity: 1; transform: translateX(0); }
.group:hover .group-hover-glow { animation: glowIcon 1s ease infinite alternate; }
.group:hover .group-hover-spin { transform: rotate(180deg); }

/* PROCESS */
.process-grid { display: flex; justify-content: space-between; align-items: center; max-width: 1000px; margin: 0 auto; }
.process-step { flex: 1; text-align: center; position: relative; padding: 20px; transition: var(--trans-fast); }
.step-icon-box { width: 100px; height: 100px; margin: 0 auto 20px; border: 2px dashed var(--primary-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.step-icon-box i { font-size: 2.5rem; color: var(--dark-bg); }
.step-number { position: absolute; top: -10px; right: -10px; background: var(--primary-red); color: white; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; border: 3px solid white; }

/* STATS */
.stats-grid { display: flex; gap: 30px; margin-top: 40px; }
.stat-box { background: var(--dark-card); padding: 20px; border-radius: 12px; border-left: 4px solid var(--primary-red); flex: 1;}
.stat-box i { font-size: 2rem; color: var(--mechanic-highlight); margin-bottom: 10px; }
.stat-box h4 { font-size: 2rem; color: white; margin-bottom: 5px; }

/* REVIEWS */
.review-card { background: white; padding: 40px; border-radius: 16px; box-shadow: var(--shadow-sm); transition: var(--trans-med); }
.review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.stars { color: var(--mechanic-highlight); margin-bottom: 20px; }
.client-info { display: flex; align-items: center; gap: 15px; border-top: 1px solid #f1f5f9; padding-top: 20px; }

/* FAQ */
.faq-wrapper { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-light); margin-bottom: 15px; border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { padding: 20px; font-weight: bold; font-size: 1.1rem; color: var(--dark-bg); cursor: pointer; display: flex; align-items: center; gap: 15px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--primary-red); }
.faq-content { padding: 0 20px 20px 52px; color: var(--text-muted); border-top: 1px solid #e2e8f0; margin-top: 10px; padding-top: 15px; }

/* CONTACT */
.contact-section { background-color: var(--bg-light); }
.contact-grid { background: white; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-info-card { padding: 50px; background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%); }
.contact-form-card { padding: 50px; }
.custom-form input, .custom-form textarea, .custom-form select { width: 100%; padding: 15px; border: 1px solid #cbd5e1; border-radius: 8px; margin-bottom: 20px; font-family: inherit;}
.custom-form input:focus, .custom-form textarea:focus, .custom-form select:focus { outline: none; border-color: var(--primary-red); box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1); }
.form-submit-btn { width: 100%; padding: 16px; border: none; cursor: pointer; }

/* FOOTER & FABS */
.advanced-footer { background: var(--dark-bg); color: #94a3b8; padding: 80px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; }
.floating-actions { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 20px; z-index: 9999; }
.fab { width: 65px; height: 65px; border-radius: 50%; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 2rem; color: white; position: relative; box-shadow: var(--shadow-lg); transition: transform 0.2s; }
.fab:hover { transform: scale(1.1); }
.fab-call { background: var(--primary-red); } .fab-wa { background: var(--wa-green); }
.fab-pulse-red, .fab-pulse-green { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; z-index: 1; animation: pulseRing 2s infinite; box-sizing: border-box; margin: 0 !important; }
.fab-pulse-red { border: 2px solid var(--primary-red); } .fab-pulse-green { border: 2px solid var(--wa-green); }
.fab i { position: relative; z-index: 2; margin: 0 !important; line-height: 1 !important; display: block !important; }

/* PAGE HERO & FILTERS */
.page-hero { position: relative; padding: 120px 0 80px; text-align: center; background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%); color: white; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 900; }
.advanced-filters { display: flex; flex-direction: column; gap: 20px; align-items: center; margin-bottom: 50px;}
.filter-group { display: flex; flex-wrap: wrap; gap: 15px; background: var(--bg-light); padding: 15px 25px; border-radius: 50px; border: 1px solid #e2e8f0; }
.filter-btn { background: transparent; border: none; padding: 8px 20px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.filter-btn.active { background: var(--primary-red); color: white; box-shadow: var(--shadow-sm); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px;} 
.tag { background: rgba(230,57,70,0.1); color: var(--primary-red); font-size: 0.75rem; font-weight: bold; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; }

/* SERVICE DETAIL LAYOUTS */
.service-detail-hero { padding: 120px 0 100px; background: url('https://images.unsplash.com/photo-1530046339160-ce3e530c7d2f?auto=format&fit=crop&w=2000&q=80') center/cover; color: white; text-align: center; position: relative; }
.grid-sidebar { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.main-article { background: white; padding: 40px; border-radius: 20px; box-shadow: var(--shadow-sm); }
.ai-tldr-box { background: linear-gradient(135deg, rgba(230,57,70,0.05), rgba(230,57,70,0.1)); border-left: 4px solid var(--primary-red); padding: 25px; border-radius: 0 12px 12px 0; margin-bottom: 30px; }
.ai-tldr-box h4 { display: flex; align-items: center; gap: 10px; color: var(--dark-bg); font-size: 1.2rem; margin-top: 0; margin-bottom: 10px; font-weight: 800; }
.sidebar-inner { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 30px; }
.sidebar-widget { background: white; padding: 30px; border-radius: 16px; box-shadow: var(--shadow-sm); }

/* ANIMATIONS */
@keyframes slideUpFade { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
.animate-slide-up-1 { animation: slideUpFade 0.8s ease forwards; } 
.animate-slide-up-2 { animation: slideUpFade 0.8s ease 0.2s forwards; opacity: 0; } 
.animate-slide-up-3 { animation: slideUpFade 0.8s ease 0.4s forwards; opacity: 0; } 
.animate-slide-up-4 { animation: slideUpFade 0.8s ease 0.6s forwards; opacity: 0; } 
.animate-slide-up-5 { animation: slideUpFade 0.8s ease 0.8s forwards; opacity: 0; }
@keyframes expandPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes glowIcon { 0% { text-shadow: 0 0 5px white; } 100% { text-shadow: 0 0 20px white; } }

/* RESPONSIVE */
@media (max-width: 992px) { 
    .grid-2, .footer-grid, .grid-sidebar { grid-template-columns: 1fr; } 
    .process-grid { flex-direction: column; gap: 40px; } 
    .process-connector { display: none; } 
    .contact-info-card, .contact-form-card { padding: 30px; } 
    .sidebar-inner { position: static; } 
}
@media (max-width: 768px) {
    .hide-mobile { display: none; } 
    .top-bar-inner { flex-direction: column; gap: 10px; }
    .hamburger { display: block; } 
    .desktop-only-call { display: none; } 
    .mobile-only-call { display: block; margin-top: 20px; }
    .main-nav { position: absolute; top: 100%; left: 0; width: 100%; background: white; flex-direction: column; gap: 0; text-align: center; box-shadow: var(--shadow-md); max-height: 0; overflow: hidden; transition: 0.5s; }
    .main-nav.nav-active { max-height: 500px; padding-bottom: 20px; border-top: 1px solid #f1f5f9; }
    .nav-links { flex-direction: column; width: 100%; gap: 0; } 
    .nav-links a { display: block; padding: 15px 0; }
    .hero-cta-group { flex-direction: column; width: 100%; } 
    .btn-ultra { width: 100%; justify-content: center; }
    .fab { width: 55px; height: 55px; font-size: 1.5rem; } 
    .hidden-btn { opacity: 1; transform: translateX(0); margin-top: 10px; }
    
    .advanced-filters { align-items: stretch; }
    .filter-group { justify-content: center; padding: 15px; border-radius: 15px; }
    .filter-label { width: 100%; justify-content: center; margin-bottom: 10px; margin-right: 0; }
    .filter-btn { padding: 8px 16px; font-size: 0.85rem; flex-grow: 1; text-align: center; justify-content: center; }
}