/*
Theme Name: ITACO Theme
Theme URI: https://www.itacoindia.com
Author: ITACO Development Team
Author URI: https://www.itacoindia.com
Description: Custom WordPress theme for ITACO - Premium Lubricant Exporter. Features modern design, AJAX product filtering, and full responsiveness.
Version: 1.0.0
License: GPL v2 or later
Text Domain: itaco-theme
Tags: custom-menu, featured-images, theme-options, translation-ready, blog, two-columns, left-sidebar, right-sidebar
*/

/* CSS Variables */
:root {
    --primary-color: #313096;
    --secondary-color: #eb2f23;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-gray);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(235, 47, 35, 0.3);
    text-decoration: none;
}

.btn-primary:hover {
    background: #c92016;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(235, 47, 35, 0.4);
    color: var(--white);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Header */
.site-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

.cta-button {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
}

.cta-button:hover {
    background: #c92016 !important;
    color: var(--white) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: var(--white);
    width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Brands Section */
.brands-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.brand-logo {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.brand-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-specs {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

/* Newsletter Form */
.newsletter-form input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 16px;
}

.newsletter-form .btn-primary {
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* ============================================
   OEM Partners / Brands Slider
   ============================================ */

.oem-partners-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title .text-accent {
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Carousel Container */
.oem-partners-carousel {
    position: relative;
    overflow: visible;
}

.oem-carousel-container {
    overflow: hidden;
    margin: 0 40px;
}

.oem-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

/* Partner Cards */
.oem-partner-card {
    min-width: calc(33.333% - 20px);
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oem-partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.partner-logo-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.partner-logo-img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.oem-partner-card:hover .partner-logo-img {
    filter: grayscale(0%);
}

.partner-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.partner-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Carousel Navigation Buttons */
.oem-carousel-prev,
.oem-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.oem-carousel-prev {
    left: 0;
}

.oem-carousel-next {
    right: 0;
}

.oem-carousel-prev:hover,
.oem-carousel-next:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.oem-carousel-prev:active,
.oem-carousel-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Carousel Dots */
.oem-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.oem-carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.oem-carousel-dots .dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.oem-carousel-dots .dot:hover {
    background: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .oem-partner-card {
        min-width: calc(50% - 15px);
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .oem-partner-card {
        min-width: calc(100% - 0px);
        flex: 0 0 calc(100% - 0px);
    }
    
    .oem-carousel-container {
        margin: 0 20px;
    }
    
    .oem-carousel-prev,
    .oem-carousel-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}