/* static/css/style.css */
/* Global Styles */

/* Add these new styles to your existing style.css file */

/* ... (keep all your existing styles from the top) ... */

/* Categories Hub Section (for the new homepage layout) */
.categories-hub {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.hub-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hub-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.hub-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hub-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.hub-card-content p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.featured-hub-products {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.featured-hub-products h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.featured-hub-products ul {
    list-style-type: '✨';
    padding-left: 20px;
}

.featured-hub-products ul li {
    margin-bottom: 5px;
    color: #555;
}

.logo-img {
    height: 100px; /* Adjust this value as needed */
    width: auto;
    vertical-align: middle; /* Helps align the logo nicely */
}

.explore-btn {
    display: block;
    background-color: #4a54e1;
    color: white;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.explore-btn:hover {
    background-color: #3a44d1;
    transform: translateY(-2px);
}


/* ... (keep all your existing styles from here to the end) ... */

/* A small tweak for better product images */
.product-image {
    height: 220px; /* Increased height for better aspect ratio */
    overflow: hidden;
}

/* ... (rest of your CSS file) ... */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h2 {
    color: #4a54e1;
    font-weight: 700;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4a54e1;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6b73ff 0%, #000dff 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 82, 82, 0.3);
}

/* Section Headings */
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
}

.section-heading p {
    color: #666;
    font-size: 1.1rem;
}

/* About Intro Section */
.about-intro {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.category-card p {
    color: #666;
    margin-bottom: 20px;
}

.category-btn {
    display: inline-block;
    background-color: #4a54e1;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.category-btn:hover {
    background-color: #3a44d1;
}

/* Product Sections */
.featured-products, .category-products {
    padding: 80px 0;
}

.product-section {
    margin-bottom: 60px;
}

.product-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.product-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a54e1;
    margin-bottom: 15px;
}

.buy-now-btn {
    display: inline-block;
    background-color: #4a54e1;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.buy-now-btn:hover {
    background-color: #3a44d1;
}

/* Category Banners */
.category-banner {
    padding: 100px 0;
    text-align: center;
    color: white;
}

.fitness-banner {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.beauty-banner {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.home-decor-banner {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #6b73ff 0%, #000dff 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Category CTA */
.category-cta {
    text-align: center;
    padding: 40px 0;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 40px 0;
}

.category-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

/* Disclosure Note */
.disclosure-note {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 40px;
    text-align: center;
    color: #666;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #4a54e1;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #4a54e1;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #3a44d1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a4a5c;
}

.affiliate-note {
    color: #ff6b6b;
}

/* Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #4a54e1;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #3a44d1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-heading h2 {
        font-size: 1.8rem;
    }
    
    .category-grid, .product-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
}