/* ============================================
   TOPTAL ENGINE OIL - PROFESSIONAL STYLESHEET
   ============================================ */

:root {
    --primary: #1a1a1a;
    --secondary: #0066cc;
    --accent: #ff6b35;
    --light: #f5f5f5;
    --white: #ffffff;
    --text: #333333;
    --border: #e8e8e8;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

/* NAVBAR STYLES */
.navbar {
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding: 1.2rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .navbar .container-lg {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            flex-shrink: 0;
        }

        .navbar-brand span {
            color: var(--secondary);
        }

        /* MOBILE - Hide menu by default */
        .navbar-toggler {
            display: block;
            border: none;
            padding: 0.25rem 0.5rem;
            background: transparent;
            cursor: pointer;
        }

        .navbar-toggler:focus {
            box-shadow: none;
            outline: 2px solid var(--secondary);
        }

        .navbar-toggler-icon {
            display: inline-block;
            width: 1.5rem;
            height: 1.5rem;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
        }

        .navbar-collapse {
            display: none !important;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--white);
            border-top: 1px solid var(--border);
            flex-basis: 100%;
            padding: 1rem;
        }

        .navbar-collapse.show {
            display: block !important;
        }

        .navbar-nav {
            flex-direction: column;
            gap: 0.5rem;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .nav-item {
            width: 100%;
        }

        .nav-link {
            display: block;
            color: var(--text) !important;
            text-decoration: none;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border);
            font-weight: 500;
        }

        .nav-link:hover {
            color: var(--secondary) !important;
        }

        .btn-nav {
            background: var(--secondary);
            color: var(--white) !important;
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-block;
            margin-top: 0.5rem;
        }

        .btn-nav:hover {
            background: #0052a3;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 102, 204, 0.2);
        }

        /* DESKTOP - Show menu always */
        @media (min-width: 992px) {
            .navbar-toggler {
                display: none !important;
            }

            .navbar-collapse {
                display: flex !important;
                position: static;
                border: none;
                background: transparent;
                padding: 0;
                flex-basis: auto;
                justify-content: flex-end;
            }

            .navbar-nav {
                flex-direction: row;
                gap: 2rem;
                align-items: center;
            }

            .nav-item {
                width: auto;
            }

            .nav-link {
                display: inline-block;
                padding: 0.5rem 0;
                border: none;
                position: relative;
            }

            .nav-link::after {
                content: '';
                position: absolute;
                width: 0;
                height: 2px;
                bottom: -8px;
                left: 0;
                background: var(--secondary);
                transition: width 0.3s;
            }

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

            .btn-nav {
                margin-top: 0;
                margin-left: 1rem;
            }
        }
/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fb 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary-custom {
    padding: 14px 40px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: #0052a3;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
    color: var(--white);
}

.btn-secondary-custom {
    padding: 14px 40px;
    background: var(--white);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-custom:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* ============ TRUST SECTION ============ */
.trust-bar {
    background: var(--white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.trust-item {
    text-align: center;
    padding: 0 2rem;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.trust-text {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ============ PRODUCTS SECTION ============ */
.products {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.product-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.product-image {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-width: 85%;
    height: auto;
    object-fit: contain;
}

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

.product-info {
    padding: 2rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.product-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.spec-badge {
    background: #f0f4f8;
    color: var(--secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
}

.product-footer button {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-footer button:hover {
    background: #0052a3;
}

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

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

.feature-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
    text-align: left;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.feature-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ============ CERTIFICATIONS SECTION ============ */
.certifications {
    padding: 100px 0;
    background: var(--white);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-box {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.cert-box:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.cert-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

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

/* ============ TESTIMONIALS SECTION ============ */
.testimonials {
    padding: 100px 0;
    background: #f8f9fb;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #999;
}

/* ============ CONTACT SECTION ============ */
.contact {
    padding: 100px 0;
    background: var(--light);
    color: var(--text);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.2);
}

.form-control option {
    background: var(--white);
    color: var(--text);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--secondary);
    min-width: 50px;
    text-align: center;
}

.info-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.info-content p {
    color: #666;
    font-size: 0.95rem;
}

.social-section {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    margin-top: 2rem;
}

.social-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

/* ============ FOOTER ============ */
footer {
    background: var(--white);
    color: #666;
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border);
}

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

.footer-section h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section p,
.footer-section a {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: #999;
    font-size: 0.85rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .navbar-nav {
        gap: 1.5rem;
    }

    .btn-nav {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .navbar .container-lg {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        width: 100%;
        margin-top: 1rem;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border);
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trust-item {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .trust-number {
        font-size: 2rem;
    }

    .trust-text {
        font-size: 0.85rem;
    }

    .navbar-nav {
        gap: 0.5rem;
    }
}
