/* 
    Wheelers PDI — Design System
    Inspired by CheckAnyCar.com
    Color Palette: Teal Green, White, Light Grey
*/

:root {
    --primary: #29AF8A;
    --primary-dark: #1f8b6d;
    --secondary: #27AE60;
    --bg-light: #F4F7FA;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --accent-glow: rgba(41, 175, 138, 0.15);
    --border-color: #E0E4E8;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

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

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

.accent {
    color: var(--primary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(41, 175, 138, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px; /* Increased from 100px */
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 100px; /* Increased from 85px */
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo img {
    height: 100px; /* Increased from 70px (Zoooom!) */
    width: auto;
    object-fit: contain;
}

.footer-logo img {
    height: 140px; /* Increased from 90px */
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 40px; /* Increased gap */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem; /* Increased font size */
    transition: var(--transition);
}

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

.header-contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.phone-link i {
    color: var(--primary);
    font-size: 0.8rem;
}

.phone-link:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .phone-link span {
        display: none;
    }
    .header-contact {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 100px;
    }
    .logo img {
        height: 60px;
    }
    .phone-link {
        font-size: 0.8rem;
    }
    .phone-link span {
        display: inline; /* Show the number on small screens as requested */
    }
    .header-contact {
        gap: 8px;
    }
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* --- Hero Section --- */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-image-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    box-shadow: 0 0 15px var(--primary);
    animation: scan 3s linear infinite;
    z-index: 2;
    opacity: 0.7;
}

@keyframes scan {
    0% { top: -10%; }
    100% { top: 110%; }
}

.hero-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-visual:hover img {
    transform: scale(1.02);
}

/* --- Services --- */
.section-padded {
    padding: 100px 0;
}

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

.service-card {
    padding: 40px;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-glow);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-icon svg,
.service-icon i {
    width: 32px;
    height: 32px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Pricing --- */
.pricing {
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-tier {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.pricing-amount span {
    font-size: 1.5rem;
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
}

.pricing-features li i {
    color: var(--primary);
    margin-right: 10px;
}

/* --- Video Section --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    justify-content: center;
    justify-items: center;
}

.video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumb {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(41, 175, 138, 0.5);
}

.video-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
}

/* --- Footer --- */
.footer {
    background: #0F172A;
    color: white;
    padding: 80px 0 40px;
}

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

.footer-text {
    color: #94A3B8;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

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

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

.footer-links ul li a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #1E293B;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94A3B8;
    font-size: 0.875rem;
}

/* --- Modal --- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.open {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    position: relative;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero {
        padding: 120px 0 60px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.75rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 40px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 40px;
    }
    .nav-links {
        display: none;
    }
    .section-title {
        font-size: 2rem;
    }
    .pricing-card.popular {
        transform: none;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Positioned on the left side as requested */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- Animations --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
