/* =========================================
   VARIABLES & RESETS - LUBRICANTS THEME
   ========================================= */
:root {
    /* Industrial Color Palette */
    --clr-primary: #111827; /* Very Dark Gray / Black */
    --clr-primary-light: #1F2937;
    --clr-accent: #EAB308; /* Yellow/Orange (Industrial High-Vis) */
    --clr-accent-hover: #D97706; 
    --clr-text-dark: #374151;
    --clr-text-light: #9CA3AF;
    --clr-bg-light: #F3F4F6;
    --clr-white: #FFFFFF;
    --clr-black: #000000;

    /* Typography */
    --font-main: 'Roboto', sans-serif;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

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

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

ul {
    list-style: none;
}

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

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

.section {
    padding: var(--space-xl) 0;
}

.bg-light { background-color: var(--clr-bg-light); }
.bg-dark { background-color: var(--clr-primary); }
.text-white { color: var(--clr-white); }
.text-light { color: var(--clr-text-light); }
.text-accent { color: var(--clr-accent) !important; }

.center { text-align: center; }

.highlight { color: var(--clr-accent); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-black);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.btn-outline:hover {
    background-color: var(--clr-accent);
    border-color: var(--clr-accent);
    color: var(--clr-black);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Headers */
.sub-title {
    color: var(--clr-accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--clr-accent);
    margin-bottom: 1.5rem;
}

.center-underline { margin: 0 auto 1.5rem; }

/* =========================================
   TOP BAR & NAVBAR
   ========================================= */
.top-bar {
    background-color: var(--clr-primary-light);
    color: var(--clr-text-light);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    display: block;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar i {
    color: var(--clr-accent);
    margin-right: 5px;
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--clr-primary);
    padding: 1.2rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

.logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--clr-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--clr-white);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--clr-accent);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    color: var(--clr-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 80vh;
    min-height: 550px;
    background: url('../assets/hero-splash.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.4) 100%);
}

.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    flex: 0 0 70%;
    max-width: 70%;
}

.hero-offer {
    flex: 0 0 25%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--clr-accent);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: var(--clr-white);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.2);
    animation: pulse-border 2s infinite;
}

.offer-badge {
    display: inline-block;
    background: var(--clr-primary);
    color: var(--clr-accent);
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid var(--clr-accent);
}

.offer-img {
    max-width: 120px;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 4px;
    transition: var(--transition);
}

.hero-offer:hover .offer-img {
    transform: scale(1.1);
}

.offer-title {
    font-size: 1.1rem;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.offer-desc {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 1.2rem !important;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(234, 179, 8, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
}

@media (max-width: 900px) {
    .hero-layout {
        flex-direction: column;
    }
    .hero-content {
        flex: 1 1 auto;
        max-width: 100%;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-offer {
        flex: 1 1 auto;
        width: 100%;
        max-width: 400px;
        margin-top: 1rem;
    }
}

.hero-badge {
    display: inline-block;
    background: var(--clr-accent);
    color: var(--clr-black);
    padding: 0.3rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--clr-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* =========================================
   FEATURES STRIP
   ========================================= */
.features-strip {
    background-color: var(--clr-accent);
    padding: 2rem 0;
    margin-top: -20px;
    position: relative;
    z-index: 20;
    box-shadow: var(--shadow-md);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--clr-primary);
}

.feature-item i {
    font-size: 2.5rem;
    opacity: 0.8;
}

.feature-text h4 {
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.feature-text p {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--clr-text-dark);
}

.about-list {
    margin-top: 2rem;
}

.about-list li {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-list li i {
    color: var(--clr-accent);
    font-size: 1.3rem;
}

.about-image { position: relative; }
.image-wrapper { position: relative; }

.rounded-shadow {
    border-radius: 4px; /* Less rounded for industrial feel */
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--clr-white);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--clr-accent);
}

.experience-badge i {
    font-size: 2.5rem;
    color: var(--clr-accent);
}

.experience-badge span {
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1.2;
    text-transform: uppercase;
    max-width: 150px;
}

/* =========================================
   SERVICES / PRODUCTS SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.dark-card {
    background: var(--clr-primary-light);
    padding: 0;
    border-radius: 6px;
    border-top: none;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dark-card:hover {
    transform: translateY(-8px);
    background: #253142;
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--clr-accent);
    transition: var(--transition);
}

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

.img-zoom-wrapper {
    overflow: hidden;
    width: 100%;
}

.dark-card-content {
    padding: 0 2rem 2rem 2rem;
    flex-grow: 1;
}

.dark-card .icon-box {
    width: 65px;
    height: 65px;
    background-color: var(--clr-primary-light);
    border: 3px solid var(--clr-accent);
    color: var(--clr-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-top: -32.5px;
    margin-bottom: 1.2rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.dark-card:hover .icon-box {
    background-color: var(--clr-accent);
    color: var(--clr-primary);
    transform: scale(1.1);
}

.dark-card h3 {
    font-size: 1.3rem;
    color: var(--clr-white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.dark-card p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

/* =========================================
   BRANDS SECTION
   ========================================= */
.slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
    margin-top: 2rem;
    white-space: nowrap;
}

.slider-container::before,
.slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--clr-white) 0%, transparent 100%);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--clr-white) 0%, transparent 100%);
}

.slider-track {
    display: inline-block;
    animation: scrollSlider 25s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.slide {
    display: inline-block;
    width: 200px; /* Adjust based on your images */
    margin: 0 3rem;
    vertical-align: middle;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollSlider {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Slides by half because the track is duplicated */
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    position: relative;
    padding-top: 3rem;
}

.cta-banner {
    background: var(--clr-accent);
    padding: 2.5rem 3rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.cta-text h2 {
    color: var(--clr-primary);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-col p {
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
    max-width: 350px;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--clr-primary-light);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--clr-accent);
    color: var(--clr-black);
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--clr-accent);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col ul li a {
    color: var(--clr-text-light);
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.contact-col ul li {
    display: flex;
    gap: 1rem;
    color: var(--clr-text-light);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.contact-col ul li i {
    color: var(--clr-accent);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.footer-bottom {
    background-color: #0a0f18;
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUpAnim {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   WHATSAPP WIDGET
   ========================================= */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper {
    background: var(--clr-bg-light);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--clr-accent);
}

.contact-form-wrapper h3, .contact-info-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
    color: var(--clr-primary);
    font-weight: 800;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--clr-text-dark);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--clr-primary);
    background-color: var(--clr-white);
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

.contact-details {
    list-style: none;
    margin-bottom: 2.5rem;
}

.contact-details li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--clr-text-dark);
    line-height: 1.5;
}

.contact-details li i {
    color: var(--clr-accent);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.map-container {
    width: 100%;
    height: 300px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
    .feature-item { flex-direction: column; gap: 0.5rem; }
    .about-grid, .footer-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .experience-badge { position: relative; bottom: 0; right: 0; width: 100%; justify-content: center; left: 0; margin-top: -20px; }
    .cta-banner { flex-direction: column; text-align: center; gap: 2rem; margin-bottom: 3rem; }
    .footer-grid { margin-top: 0; }
    .top-bar-info { display: none !important; } /* Hide complicated topbar contents on mobile */
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--clr-primary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
}
