/* content.css */

:root {
    --primary-color: #003049;
    --secondary-color: #FCA311;
    --accent-color: #FCA311;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --background-color: #000;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    /* background-color: var(--background-color) ; */
}

/* Hero Section */
.hero {
    padding: 50px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f3f3f3;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #0891b2;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.cta-buttons button {
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
}

.shop-now {
    background: var(--accent-color);
    color: white;
    border: none;
}

.view-more {
    background: transparent;
    border: 1px solid #0891b2;
    color: #0891b2;
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4b5563;
    cursor: pointer;
}

.dot.active {
    background: var(--accent-color);
}

.hero-image {
    position: relative;
    max-width: 40%;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.price-tag {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
}

/* Categories Section */
.categories {
    padding: 30px 5%;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-card {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-card {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 20px;
}

.category-info .name-image-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-info .name-image-row h3 {
    margin: 0;
    font-size: 16px;
}

.category-info .name-image-row img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.category-card img {
    width: 80px;
    height: 80px;
    object-fit: fill;
}

/* Wish List */
.wishlist-btn i {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ccc;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wishlist-btn.active i {
    color: red;
}

.wishlist-btn:hover i {
    color: rgb(255, 90, 90);
}

/* Popular Products */
.popular-products {
    padding: 50px 5%;
}

.product-filters {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.product-filters button {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
}

.product-filters button.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.product-card-featured-img-container {
    width: 100%;
    height: 70%;
    margin-bottom: 5px !important;
}

.product-card-img-container {
    width: 100%;
    height: 62%;
    /* align-items: center; */
    margin-bottom: 5px !important;
}

.product-card img {
    display: flex;
    justify-self: center;
    align-self: center;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
}

.price {
    margin: 10px 0;
    color: var(--accent-color);
}

.price .offer {
    color: var(--accent-color);
}

.price .original {
    text-decoration: line-through;
    color: #666;
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 30px;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* Special Offer Banner */
.special-offer {
    background: linear-gradient(to right, #003049, #1a5276);
    padding: 40px 5%;
    margin: 40px 0;
    color: white;
}

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

.offer-text h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.shop-offer {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    margin-top: 20px;
    cursor: pointer;
}

.countdown {
    display: flex;
    gap: 15px;
}

.time-unit {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
}

.time-unit .number {
    font-size: 24px;
    font-weight: bold;
    display: block;
}

.time-unit .label {
    font-size: 14px;
    opacity: 0.8;
}

/* Featured Products */
.featured-products {
    padding: 40px 5%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-all {
    background: transparent;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.arrows {
    display: flex;
    gap: 10px;
}

.arrow-left,
.arrow-right {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card-img {
    width: 100%;
    height: 70%;
    margin-bottom: 5px !important;
}

.product-card.featured {
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.product-card.featured:hover {
    transform: translateY(-10px);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Benefits Section */
.benefits {
    display: flex;
    justify-content: space-between;
    padding: 40px 5%;
    background: var(--light-gray);
    margin: 40px 0;
}

.benefit-item {
    text-align: center;
    padding: 0 20px;
    flex: 1;
}

.benefit-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.benefit-item h3 {
    margin-bottom: 10px;
}

/* New Arrivals */
.new-arrivals {
    padding: 40px 5%;
}

.new-arrivals h2 {
    margin-bottom: 30px;
}

.arrivals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Brand Showcase */
.brand-showcase {
    padding: 40px 5%;
    background: var(--light-gray);
}

.brand-showcase h2 {
    text-align: center;
    margin-bottom: 30px;
}

.brand-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.brand-logo {
    width: 16%;
    padding: 20px;
    /* background: white; */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.brand-logo .icon {
    width: 80px;
    height: 80px;
}

.brand-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Blog Posts */
.blog-posts {
    padding: 60px 5%;
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: #666;
    font-size: 14px;
}

.blog-content h3 {
    margin: 10px 0;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .arrivals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .benefits {
        flex-direction: column;
        gap: 30px;
    }

    .arrivals-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .brand-logo {
        width: 30%;
        margin-bottom: 20px;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }

    .categories {
        flex-direction: column;
    }

    .category-card {
        min-width: 100%;
    }

    .product-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
    } 

    .product-grid {
        grid-template-columns: 1fr;
    }
}