/* Custom Homepage Styles based on Reference Image */

:root {
    --primary-yellow: #f8c12c;
    --dark-bg: #0a0a0a;
}

/* Force full width and remove all gaps */
main {
    padding: 0 !important;
    margin: 0 !important;
}

header {
    margin-bottom: 0 !important;
    border: none !important;
}

.header__bottom {
    margin-bottom: 0 !important;
    box-shadow: none !important;
}

/* Banner Styling */
.banner {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

.banner__slider,
.swiper-container,
.swiper-wrapper,
.swiper-slide {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.banner__item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    margin: 0 !important;
    padding: 0 !important;
}

.banner__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.6) 100%);
}

.banner__pagination {
    bottom: 100px !important;
    z-index: 10;
}

.banner__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 5px !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.banner__pagination .swiper-pagination-bullet-active {
    background: var(--primary-yellow) !important;
    width: 25px;
    border-radius: 5px;
}

.banner__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    text-align: left;
    padding: 20px 0;
}

@media (max-width: 991px) {
    .banner__content {
        margin-left: auto;
        margin-right: auto;
        text-align: center !important;
    }
}

.banner__content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #eee;
    letter-spacing: 1px;
}

.banner__content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
    letter-spacing: -1px;
}

.banner__content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.banner__content .default-btn {
    background: var(--primary-yellow);
    color: #000 !important;
    border: none;
    padding: 14px 35px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.banner__content .default-btn:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* Event Bar Styling - Floating Style */
.event {
    background: transparent !important;
    margin-top: -60px !important;
    position: relative;
    z-index: 100;
    padding: 0 !important;
}

.event__area {
    background: #ffffff !important;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid var(--primary-yellow);
}

@media (max-width: 991px) {
    .event {
        margin-top: -40px !important;
        padding: 0 15px !important;
    }

    .event__area {
        padding: 20px;
    }
}

.event__label {
    font-family: 'Pacifico', cursive;
    color: #333;
    font-size: 2rem;
    margin: 0;
}

.event__countdown {
    margin-top: 0 !important;
}

.event__countdown ul {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.event__countdown ul li {
    width: 70px;
    height: 70px;
    border: 1px solid #eee;
    background: #fdfdfd;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.event__countdown ul li span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.event__countdown ul li p {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #888;
    margin: 0;
    line-height: 1;
    margin-top: 2px;
}

.event__right .default-btn {
    background: var(--primary-yellow) !important;
    color: #000 !important;
    font-weight: 700;
    padding: 12px 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 2px;
    border: none;
    letter-spacing: 1px;
}

/* Typography Overrides */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #444;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #222;
}

section {
    padding: 0;
    margin: 0;
}

.section__header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section__header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 750px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.default-btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Product Section - UMKM Jemaat */
.product {
    background: #fdfdfd;
}

.product__item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    position: relative;
    margin: 0;
}

.product__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.product__thumb {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    height: 250px;
}

.product__thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product__item:hover .product__thumb img {
    transform: scale(1.1);
}

.product__action {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 5;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

.product__item:hover .product__action {
    bottom: 0;
}

.product__action a {
    width: 38px;
    height: 38px;
    line-height: 38px;
    background: #f0f0f0;
    border-radius: 50%;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
}

.product__action a:hover {
    background: var(--primary-yellow);
    color: #000;
}

.product__content {
    padding: 20px 15px;
}

.product__content h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product__content .price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-yellow);
    margin: 0;
}

/* Discount Badge */
.product__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4757;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

/* Blog Section - Latest News (FULL IMAGE RE-DESIGN) */
.blog {
    background: #ffffff;
    padding-bottom: 100px;
}

.blog__item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    border: 1px solid #f0f0f0;
}

.blog__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog__thumb {
    position: relative;
    overflow: hidden;
    height: 250px;
    /* Fixed height for consistency */
}

.blog__thumb img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    transition: transform 1s ease;
}

.blog__item:hover .blog__thumb img {
    transform: scale(1.1);
}

.blog__category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-yellow);
    color: #000;
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog__content {
    padding: 25px;
    position: relative;
}

.blog__content h4 {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.blog__meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 0;
    list-style: none;
}

.blog__meta li {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog__meta li i {
    color: var(--primary-yellow);
}

.blog__content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog__content .text-btn {
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #222;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog__content .text-btn:hover {
    color: var(--primary-yellow);
}

.blog__content .text-btn i {
    transition: transform 0.3s ease;
}

.blog__content .text-btn:hover i {
    transform: translateX(5px);
}