/* 
 * Unified Background Theme for Ultra Herbals Care Website
 * Provides consistent background colors and styling across all pages
 */

/* Main body background for all pages */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #2c3e50;
}

/* Common container styling */
.container, .container-offer-poster {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

/* Section header styling */
.section-header, .poster-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title, .poster-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after, .poster-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    margin: 10px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Card wrapper styling */
.slider-wrapper, .offer-grid-wrapper {
    background: rgba(255,255,255,0.85);
    border-radius: 20px;
    padding: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
}

/* Card styling */
.card, .poster-img-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.card:hover, .poster-img-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Text styling */
.category-name {
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container, .container-offer-poster {
        padding: 30px 15px;
    }
    
    .section-title, .poster-title {
        font-size: 2rem;
    }
    
    .slider {
        gap: 20px;
    }
    
    .card {
        flex: 0 0 200px;
        padding: 20px 15px;
    }

    .image-wrapper,
    .image-wrapper img {
        width: 90px;
        height: 90px;
    }

    .category-name {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .slider-wrapper {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .section-title, .poster-title {
        font-size: 1.6rem;
    }
    
    .container, .container-offer-poster {
        padding: 20px 10px;
    }
    
    .card {
        flex: 0 0 180px;
        padding: 15px 10px;
    }
    
    .image-wrapper,
    .image-wrapper img {
        width: 80px;
        height: 80px;
    }
    
    .category-name {
        font-size: 0.9rem;
    }
    
    .slider {
        gap: 15px;
    }
}