/**
 * Homepage Template Styles
 *
 * @package Colorblast
 * @since 1.0.0
 */

/* ==========================================================================
   Astra Container Overrides
   ========================================================================== */

.page-template-template-home .ast-container,
.page-template-template-home #content,
.page-template-template-home .site-content {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.page-template-template-home .site-content .ast-container {
    display: block;
}

.page-template-template-home .site-main {
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Header Transparent Overlay
   ========================================================================== */

.page-template-template-home header.site-header,
.page-template-template-home #masthead {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    z-index: 100;
    border-bottom: none !important;
    box-shadow: none !important;
}

.page-template-template-home header.site-header a,
.page-template-template-home #masthead a {
    color: #ffffff !important;
}

/* ==========================================================================
   Banner Slideshow
   ========================================================================== */

.homepage-banner-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.homepage-banner-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.homepage-banner-swiper .swiper-wrapper {
    height: 100%;
}

.homepage-banner-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.homepage-banner-swiper .banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.homepage-banner-swiper .swiper-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.homepage-banner-swiper .banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Swiper Navigation */
.homepage-banner-swiper .swiper-button-prev,
.homepage-banner-swiper .swiper-button-next {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.homepage-banner-swiper .swiper-button-prev:hover,
.homepage-banner-swiper .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.homepage-banner-swiper .swiper-button-prev:after,
.homepage-banner-swiper .swiper-button-next:after {
    font-size: 20px;
}

/* Swiper Pagination */
.homepage-banner-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.6;
}

.homepage-banner-swiper .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

/* ==========================================================================
   Featured Categories Section
   ========================================================================== */

.featured-categories-section {
    padding: 80px 0;
    background: #fff;
}

.featured-categories-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-categories-section .section-title {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 40px;
    color: #333;
}

.featured-categories-grid {
    display: flex;
    gap: 20px;
}

.featured-category-card {
    display: block;
    position: relative;
    flex: 1;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    text-decoration: none;
    border-radius: 4px;
}

.featured-category-card .category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

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

/* ==========================================================================
   Featured Banner Section
   ========================================================================== */

.featured-banner-section {
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.featured-banner-bg {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.featured-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
}

.featured-banner-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
}

.featured-banner-content .banner-subtitle {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.featured-banner-content .banner-heading {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 30px 0;
}

.featured-banner-content .banner-cta {
    display: inline-block;
    padding: 12px 30px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.featured-banner-content .banner-cta:hover {
    background: #A5A789;
    color: #fff;
    border-color: #A5A789;
}

/* ==========================================================================
   New Arrivals Section
   ========================================================================== */

.new-arrivals-section {
    padding: 80px 0;
    background: #fff;
}

.new-arrivals-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.new-arrivals-section .section-title {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 40px;
    color: #333;
}

.new-arrivals-grid {
    display: flex;
    gap: 20px;
}

.new-arrival-card {
    display: block;
    flex: 1;
    text-decoration: none;
}

.new-arrival-card .product-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.new-arrival-card:hover .product-image {
    transform: scale(1.02);
}

.new-arrival-card .product-info {
    padding: 15px 0;
    text-align: left;
}

.new-arrival-card .product-title {
    font-size: 13px;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.new-arrival-card .product-price {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

/* ==========================================================================
   Promo Boxes Section
   ========================================================================== */

.promo-boxes-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.promo-boxes-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.promo-boxes-grid {
    display: flex;
    gap: 30px;
}

.promo-box-card {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.promo-box-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.promo-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.promo-box-card:hover .promo-box-image img {
    transform: scale(1.03);
}

.promo-box-content {
    padding: 25px 20px;
    text-align: center;
}

.promo-box-title {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 10px 0;
}

.promo-box-description {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.promo-box-btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
    background: transparent;
    border: 1px solid #333;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.promo-box-btn:hover {
    background: #A5A789;
    color: #fff;
    border-color: #A5A789;
}

/* ==========================================================================
   Social Media Section (Instagram Feed)
   ========================================================================== */

.social-media-section {
    padding: 80px 0;
    background: #fff;
}

.social-media-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-media-section .section-title {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 40px;
    color: #333;
}

/* ==========================================================================
   Mobile Adjustments
   ========================================================================== */

@media (max-width: 767px) {
    .homepage-banner-swiper .swiper-button-prev,
    .homepage-banner-swiper .swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .homepage-banner-swiper .swiper-button-prev:after,
    .homepage-banner-swiper .swiper-button-next:after {
        font-size: 14px;
    }

    .homepage-banner-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    /* Featured Categories Mobile */
    .featured-categories-section {
        padding: 60px 0;
    }

    .featured-categories-section .section-title {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 25px;
    }

    .featured-categories-grid {
        flex-wrap: wrap;
        gap: 15px;
    }

    .featured-category-card {
        flex: 0 0 calc(50% - 7.5px);
    }

    /* Featured Banner Mobile */
    .featured-banner-section {
        height: 60vh;
    }

    .featured-banner-content .banner-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .featured-banner-content .banner-heading {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .featured-banner-content .banner-cta {
        padding: 10px 25px;
        font-size: 10px;
    }

    /* New Arrivals Mobile */
    .new-arrivals-section {
        padding: 60px 0;
    }

    .new-arrivals-section .section-title {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 25px;
    }

    .new-arrivals-grid {
        flex-wrap: wrap;
        gap: 15px;
    }

    .new-arrival-card {
        flex: 0 0 calc(50% - 7.5px);
    }

    .new-arrival-card .product-title {
        font-size: 11px;
    }

    .new-arrival-card .product-price {
        font-size: 11px;
    }

    /* Promo Boxes Mobile */
    .promo-boxes-section {
        padding: 60px 0;
    }

    .promo-boxes-grid {
        flex-direction: column;
        gap: 20px;
    }

    .promo-box-image {
        aspect-ratio: 4 / 3;
    }

    .promo-box-image img {
        object-position: top center;
    }

    .promo-box-content {
        padding: 20px 15px;
    }

    .promo-box-title {
        font-size: 12px;
    }

    .promo-box-description {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .promo-box-btn {
        padding: 8px 20px;
        font-size: 10px;
    }

    /* Social Media Mobile */
    .social-media-section {
        padding: 60px 0;
    }

    .social-media-section .section-title {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 25px;
    }
}
