/* ===== OILS PAGE STYLES ===== */

/* Page Hero - Oils Specific */
.oils-hero {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-dark) 140%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.oils-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.oils-hero .page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.oils-hero .page-hero__brand {
    margin-bottom: 30px;
}

.oils-hero .page-hero__logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.oils-hero .page-hero__logo:hover {
    transform: scale(1.05);
}

.oils-hero .page-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.oils-hero .page-hero__subtitle {
    font-size: 1.25rem;
    color: var(--white);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Catalog Layout */
.catalog-layout {
    background: var(--dark-gray);
    min-height: 600px;
}

.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 2rem;
    display: flex;
    gap: 30px;
}

.catalog-main {
    flex: 1;
    min-width: 0;
}

/* Products Section - Redesigned */
.products-section {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.products-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-gray);
}

.products-count {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    align-items: stretch;
}

/* Oil Product Cards - Enhanced */
.oil-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.oil-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--secondary-dark);
}

.oil-card .product-card__image-container {
    height: 220px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f8f9fa 100%);
    overflow: hidden;
    flex-shrink: 0;
}

.oil-card .product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}

.oil-card:hover .product-card__image {
    transform: scale(1.08);
}

.oil-card .product-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.oil-card .product-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-gray);
    margin-bottom: 12px;
    line-height: 1.3;
}

.oil-card .product-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.oil-card .product-card__spec {
    background: var(--light-gray);
    color: var(--medium-gray);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.oil-card .product-card__description {
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.features-section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: var(--primary-yellow);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    border-color: var(--secondary-color);
}

.feature-card__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.feature-card__icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.feature-card__description {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .catalog-container {
        padding: 40px 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .oils-hero {
        padding: 100px 0 60px;
    }
    
    .oils-hero .page-hero__title {
        font-size: 2.5rem;
    }
    
    .oils-hero .page-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .catalog-container {
        padding: 40px 1rem;
    }
    
    .products-section {
        padding: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .oil-card .product-card__image-container {
        height: 200px;
    }
    
    .oil-card .product-card__content {
        padding: 15px;
    }
    
    .features-section__title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .oils-hero .page-hero__title {
        font-size: 2rem;
    }
    
    .oils-hero .page-hero__logo {
        height: 60px;
    }
    
    .catalog-container {
        padding: 30px 1rem;
    }
    
    .products-section {
        padding: 15px;
        border-radius: 12px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .oil-card .product-card__content {
        padding: 12px;
    }
    
    .oil-card .product-card__title {
        font-size: 1rem;
    }
    
    .features-section__title {
        font-size: 1.75rem;
    }
    
    .feature-card__icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-card__icon i {
        font-size: 1.5rem;
    }
    
    .feature-card__title {
        font-size: 1.25rem;
    }
} 