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

:root {
    --primary-color: #ff4500;
    --secondary-color: #ff6347;
    --accent-color: #ff7f50;
    --dark-bg: #121212;
    --light-bg: #f4f4f4;
    --text-dark: #1a1a1a;
    --text-light: #777;
    --border-color: #e0e0e0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

/* ===== HEADER ===== */
header {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

header .logo img {
    height: 50px;
    transition: var(--transition);
}

header .logo img:hover {
    transform: scale(1.05);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

header nav ul li a:hover {
    color: var(--primary-color);
}

header nav ul li a:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    background-image: url('assets/images/revonix-autoparts-hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 20px;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.8) 0%, rgba(255, 69, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 69, 0, 0.5);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 0;
    background: white;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-item {
    padding: 2.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-bottom-color: var(--primary-color);
}

.feature-item h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    padding: 100px 0;
    min-height: 500px;
}

.page-content h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2rem;
    transition: var(--transition);
}

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

.product-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.product-item p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-item .price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 80px 0 40px;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
}

.footer-col .footer-logo {
    height: 60px;
    margin-bottom: 2rem;
}

footer h4 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 1rem;
}

footer ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    header nav ul {
        display: none;
    }
}
