:root {
    --primary-red: #D32F2F; /* Hyundai-like red */
    --primary-red-hover: #b71c1c;
    --dark-bg: #111111;
    --darker-bg: #0a0a0a;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-main: #333333;
    --text-light: #777777;
    --border-color: #eeeeee;
    --whatsapp-green: #25D366;
    
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 40px rgba(211, 47, 47, 0.15);
}

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }
.text-red { color: var(--primary-red); }
.text-white { color: var(--white); }
.text-gray { color: #aaaaaa; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-4 { padding-top: 2rem; }
.pr-4 { padding-right: 2rem; }
.pl-4 { padding-left: 2rem; }
.w-100 { width: 100%; }
.shadow-main { box-shadow: var(--shadow); }
.rounded-image { border-radius: 12px; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; position: relative; }
h3 { font-size: 1.5rem; }

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 1rem auto 1.5rem;
    border-radius: 2px;
}
.line-left {
    margin: 1rem 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

.btn-secondary {
    background-color: var(--dark-bg);
    color: var(--white);
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: -0.5px;
}

.logo-red {
    color: var(--primary-red);
}

.nav-menu ul {
    display: flex;
    gap: 24px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Header offset */
    background: linear-gradient(135deg, var(--darker-bg) 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    color: var(--white);
    padding-right: 40px;
}

.badge {
    display: inline-block;
    background-color: rgba(211, 47, 47, 0.2);
    color: #ff5252;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(211, 47, 47, 0.5);
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-red);
}

.stat-text {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-red);
    border-radius: 20px;
    top: -15px;
    right: -15px;
    z-index: 1;
}

/* Sections General */
.section {
    padding: 6rem 0;
}

/* Layout Grids */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.flex-row {
    display: flex;
    align-items: center;
}

.reverse {
    flex-direction: row-reverse;
}

.flex-half {
    flex: 1;
}

.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cards & Services */
.card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-card {
    text-align: center;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Product Cards */
.product-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-img {
    height: 200px;
    position: relative;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.condition-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.condition-badge.new {
    background-color: var(--primary-red);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.category {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

/* Why Us Section */
.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.05rem;
}
.feature-list i {
    margin-top: 5px;
}

.badge-big {
    background: linear-gradient(135deg, var(--primary-red) 0%, #8e0000 100%);
    color: white;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 20px 40px rgba(211, 47, 47, 0.4);
    border: 10px solid rgba(255, 255, 255, 0.1);
}
.badge-big i {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.badge-big h4 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

/* SEO Grid */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.seo-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: block;
    transition: var(--transition);
}
.seo-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.1);
    transform: translateY(-3px);
}
.seo-card i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.seo-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}
.seo-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}
.seo-card:hover h4 {
    color: var(--primary-red);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 3rem;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1.5rem;
}
.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}
.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}
.contact-item a:hover {
    color: var(--primary-red);
}

.contact-form-col {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.map-container {
    overflow: hidden;
    border-radius: 12px;
    padding: 0;
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 5px solid var(--primary-red);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaaaaa;
}
.footer-links a:hover {
    color: var(--white);
}

.copyright {
    color: #666;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

/* Sticky WhatsApp */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.sticky-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--white);
    color: var(--text-main);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--white);
}

.sticky-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Page Header for Blog/Product */
.page-header {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { padding-right: 0; margin-bottom: 3rem; }
    .hero-overlay { width: 100%; background: rgba(0,0,0,0.6); }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .flex-row { flex-direction: column; }
    .flex-half.pr-4, .flex-half.pl-4 { padding: 0; margin-bottom: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .badge-big { width: 250px; height: 250px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px;
        display: none;
    }
    .nav-menu.active {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .mobile-toggle { display: block; }
    .header-cta { display: none; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .grid-4 { grid-template-columns: 1fr; }
}
