/* Banner Slider Styles */
@import url('colors.css');
.banner-slider {
    margin-bottom: 40px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
}

.slide {
    min-width: 100%;
    position: relative;
    display: none;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    z-index: 1;
}

.slide-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 600px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.read-more-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent-teal);
    transform: scale(1.2);
}

/* Trending Section Styles */
.trending-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-teal);
    color: var(--primary-color); /* Deep Blue */
    display: flex;
    align-items: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-purple);
}

.section-title i {
    margin-right: 10px;
    color: var(--accent-teal);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.trending-card {
    background-color: var(--neutral-light); /* Off-White */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.trending-card:hover {
    transform: translateY(-5px);
}

.trending-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.trending-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-yellow);
    color: var(--neutral-dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.trending-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trending-card:hover .trending-image img {
    transform: scale(1.05);
}

.trending-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.trending-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--primary-color); /* Deep Blue */
}

.trending-content p {
    color: var(--neutral-dark); /* Charcoal Black */
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Highlights Styles */
.category-highlights {
    margin-bottom: 40px;
}

.category-row {
    margin-bottom: 30px;
}

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

.view-all {
    color: var(--accent-purple); /* Purple Tint */
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.view-all:hover {
    background-color: var(--accent-purple);
    color: var(--white);
    text-decoration: none;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: var(--neutral-light); /* Off-White */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card-content {
    padding: 20px;
}

.category-card-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--primary-color); /* Deep Blue */
}

.category-card-content p {
    color: var(--neutral-dark); /* Charcoal Black */
}

/* Newsletter Styles */
.newsletter {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px 0;
    margin-top: 40px;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.newsletter-form button {
    background-color: var(--accent-yellow);
    color: var(--neutral-dark);
    border: none;
    padding: 0 25px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--accent-teal);
    color: var(--white);
    transform: translateX(2px);
}

/* Enhanced Footer Styles */
footer {
    background-color: var(--primary-color); /* Deep Blue */
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo .logo {
    margin-bottom: 15px;
}

.footer-logo .logo img {
    height: 50px;
    margin-right: 10px;
}

.footer-logo h2 {
    font-size: 24px;
    background: linear-gradient(to right, var(--accent-yellow), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-categories h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-links ul,
.footer-categories ul {
    list-style: none;
}

.footer-links ul li,
.footer-categories ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-categories ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-categories ul li a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-teal); /* Teal Green */
    transform: translateY(-3px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slider {
        height: 400px;
    }

    .category-cards {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        border-radius: 4px;
        padding: 12px;
    }

    .footer-logo .logo {
        justify-content: center;
    }

    .footer-logo .logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 300px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h2 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 14px;
    }
}