/**
 * Fatbikes.be Light Theme - Homepage Styles
 * Homepage-specific components: hero, products, FAQ, warranty, content, brands
 */

/* ========================================
   HERO SECTION MODULE
   Prefix: fb-hero
   ======================================== */

.fb-hero {
    padding: 20px 20px 20px 20px;
}

.fb-hero__logo {
    color: #ffffff;
}

.fb-hero__background {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: 570px;
    background: url("/media/fatbikes-belgie-hero.jpg") center/cover no-repeat;
    border-radius: 15px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.fb-hero__background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.fb-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-left: 115px;
    text-align: left;
}

.fb-hero__content {
    max-width: 600px;
    margin: 0;
}

.fb-hero__title {
    font-size: 44px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.fb-hero__subtitle {
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 30px 0;
    line-height: 1.6;
    font-weight: 200;
}

.fb-hero__brand {
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.fb-hero__cta {
    display: inline-block;
    background: #32cd33;
    color: #ffffff;
    padding: 7px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
}

.fb-hero__cta-icon {
    margin-left: 8px;
}

.fb-hero__cta:hover {
    background: #666666;
    color: #ffffff;
}

/* ========================================
   BENEFITS SECTION MODULE
   Prefix: fb-benefits
   ======================================== */

.fb-benefits {
    background: #f6f6f6;
    padding: 20px 0 70px 0;
}

.fb-benefits__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.fb-benefit {
    display: flex;
    align-items: center;
    padding: 0 30px;
    border-left: 1px solid #cccccc;
}

.fb-benefit:first-child {
    border-left: none;
}

.fb-benefit__icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 50%;
    padding: 14px;
    transition: background 0.3s ease;
}

.fb-benefit__icon svg {
    width: 100%;
    height: 100%;
    fill: #32CD33;
    transition: fill 0.3s ease;
}

.fb-benefit:hover .fb-benefit__icon {
    background: #32CD33;
    transition: background 0.3s ease;
}

.fb-benefit:hover .fb-benefit__icon svg {
    fill: #ffffff;
}

.fb-benefit__content {
    text-align: left;
}

.fb-benefit__title {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.fb-benefit__description {
    font-size: 13px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

/* ========================================
   PRODUCT GRID MODULE
   Prefix: fb-products
   ======================================== */

.fb-products {
    background: #f6f6f6;
    padding-bottom: 60px;
}

.fb-products__title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin: 0 0 20px 0;
}

.fb-products__grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.fb-product {
    width: 440px;
    height: 460px;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.fb-product__image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 0 0 0;
}

.fb-product__content {
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.fb-product:hover .fb-product__content {
    transform: translateY(-20px);
}

.fb-product__name {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 10px 0;
}

.fb-product__rating {
    margin: 0 0 10px 0;
    color: #ffd700;
    font-size: 16px;
}

.fb-product__price {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 15px 0;
}

.fb-product__order {
    background: #32cd33;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.fb-product__order:hover {
    background: #666666;
}

/* ========================================
   WARRANTY SECTION MODULE
   Prefix: fb-warranty
   ======================================== */

.fb-warranty {
    padding: 80px 0;
}

.fb-warranty__grid {
    display: grid;
    grid-template-columns: 850px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.fb-warranty__content {
    padding: 25px 50px 25px 0;
}

.fb-warranty__title {
    font-size: 37px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 30px 0;
    line-height: 1.3;
}

.fb-warranty__text {
    font-size: 15px;
    line-height: 1.6;
    color: #000000;
    margin: 0 0 20px 0;
}

.fb-warranty__text:last-child {
    margin-bottom: 0;
}

.fb-warranty__cta {
    display: inline-block;
    background: #32cd33;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.fb-warranty__cta:hover {
    background: #666666;
    color: #ffffff;
}

.fb-warranty__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fb-warranty__img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* ========================================
   FAQ SECTION MODULE
   Prefix: fb-faq
   ======================================== */

.fb-faq {
    padding: 80px 0;
}

.fb-faq__title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin: 0 0 50px 0;
}

.fb-faq__accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.fb-faq__item {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.fb-faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 30px;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.fb-faq__icon {
    font-size: 20px;
    font-weight: 400;
    color: #14B473;
    transition: transform 0.3s ease;
}

.fb-faq__item.active .fb-faq__icon {
    transform: rotate(45deg);
}

.fb-faq__answer {
    padding: 0 30px 25px 30px;
    font-size: 15px;
    line-height: 1.6;
    color: #000000;
    display: none;
}

.fb-faq__answer p {
    margin: 0;
}

.fb-faq__contact {
    text-align: center;
    margin: 80px 0 0 0;
}

.fb-faq__contact-title {
    font-size: 34px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.fb-faq__contact-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: #000000;
    line-height: 1.4;
    margin: 0;
}

.fb-faq__contact-link {
    color: var(--fb-color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fb-faq__contact-link:hover {
    color: #666666;
    text-decoration: underline;
}

.fb-faq__contact-link--black {
    color: #000000;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: #ccc;
    text-underline-offset: 2px;
}

.fb-faq__contact-link--black:hover {
    color: var(--fb-color-primary);
    text-decoration-color: var(--fb-color-primary);
}

.fb-faq__contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
}

.fb-faq__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb-faq__contact-item i {
    color: var(--fb-color-primary);
    font-size: 16px;
}

.fb-faq__email {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fb-faq__email:hover {
    color: var(--fb-color-primary);
}

.fb-faq__brands-title {
    font-size: 28px;
    color: #000000;
    text-align: left;
    margin: 40px auto 0 auto;
    max-width: 1400px;
    padding: 0 20px;
}

.fb-brands {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
}

.fb-brands__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.fb-brands__item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.fb-brands__image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb-brands__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.fb-brands__image img {
    max-width: 100%;
    object-fit: contain;
}

/* ========================================
   CONTENT SECTION MODULE
   Prefix: fb-content
   ======================================== */

.fb-content {
    background: #f6f6f6;
    padding: 0 0 60px 0;
}

.fb-content__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.fb-content__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.fb-content__title {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.fb-content__text {
    font-size: 16px;
    line-height: 1.7;
    color: #000000;
}

.fb-content__text p {
    margin: 0 0 20px 0;
}

.fb-content__text p:last-child {
    margin-bottom: 0;
}

.fb-content__link {
    color: #32cd33;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fb-content__link:hover {
    color: #666666;
    text-decoration: underline;
}

/* ========================================
   MEDIA QUERIES - TABLET (1024px)
   ======================================== */

@media (max-width: 1024px) {

    .fb-benefits__grid {
        max-width: 1024px;
        padding: 0;
    }

    .fb-benefit {
        padding: 0 0 0 15px;
    }

    /* Container */
    .fb-container {
        max-width: 1024px;
        margin: 0 auto;
        padding: 0px;
        width: 100%;
    }

    /* Hero */
    .fb-hero {
        padding: 20px 15px;
        min-height: 500px;
        margin-bottom: 0;
    }

    .fb-hero__background {
        height: 480px;
        background-position: -20px;
    }

    .fb-hero__container {
        padding-left: 60px;
    }

    .fb-hero__title {
        font-size: 36px;
    }

    .fb-hero__subtitle {
        font-size: 16px;
    }

    /* Benefits */
    .fb-benefits__grid {
        gap: 20px;
    }

    .fb-benefit {
        padding: 0 20px;
    }

    /* Products */
    .fb-products {
        padding-top: 40px;
    }

    .fb-products__grid {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: nowrap;
    }

    .fb-product {
        width: 280px;
        height: 400px;
        padding: 15px;
        flex: 0 0 320px;
    }

    .fb-product__image {
        max-width: 200px;
        margin-bottom: 10px;
    }

    .fb-product__content {
        transform: translateY(0);
        position: static;
    }

    .fb-product:hover .fb-product__content {
        transform: translateY(0);
    }

    .fb-product__name {
        font-size: 14px;
    }

    .fb-product__price {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .fb-product__order {
        font-size: 14px;
        padding: 10px 15px;
    }

    /* Warranty */
    .fb-warranty__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .fb-warranty__content {
        padding: 0 30px;
    }

    .fb-warranty__title {
        font-size: 28px;
    }

    /* Brands */
    .fb-brands__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* ========================================
   MEDIA QUERIES - MOBILE (768px)
   ======================================== */

@media (max-width: 768px) {
    /* Container */
    .fb-container {
        max-width: 768px;
    }

    /* Hero */
    .fb-hero {
        padding: 20px 10px;
        min-height: 450px;
    }

    .fb-hero__background {
        height: 450px;
    }

    .fb-hero__container {
        padding: 0 25px;
    }

    .fb-hero__title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .fb-hero__subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .fb-hero__cta {
        font-size: 16px;
        padding: 10px 20px;
    }

    /* Benefits */
    .fb-benefits {
        padding: 20px 0;
    }

    .fb-benefits__grid {
        gap: 25px;
        padding: 0 20px;
    }

    .fb-benefit {
        padding: 0;
        justify-content: center;
        border: none !important;
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .fb-benefit__icon {
        width: 50px;
        height: 50px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .fb-benefit__content {
        text-align: center;
        max-width: 280px;
    }

    .fb-benefit__title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .fb-benefit__description {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Products */
    .fb-products {
        padding: 40px 20px;
    }

    .fb-products__title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .fb-products__grid {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .fb-product {
        width: calc(33.333% - 10px);
        max-width: 220px;
        height: auto;
        min-height: 400px;
        padding: 10px;
        flex: 0 0 auto;
    }

    .fb-product__image {
        max-width: 250px;
        margin-bottom: 10px;
    }

    .fb-product__content {
        transform: translateY(0);
        position: static;
    }

    .fb-product:hover .fb-product__content {
        transform: translateY(0);
    }

    .fb-product__name {
        font-size: 14px;
        min-height: 50px;
    }

    .fb-product__price {
        font-size: 18px;
    }

    .fb-product__order {
        font-size: 14px;
        padding: 10px 18px;
    }

    /* Warranty */
    .fb-warranty {
        padding: 40px 20px;
    }

    .fb-warranty__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fb-warranty__content {
        padding: 0;
        text-align: center;
    }

    .fb-warranty__title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .fb-warranty__text {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .fb-warranty__image {
        padding: 0;
    }

    .fb-warranty__img {
        max-width: 100%;
        height: auto;
    }

    /* FAQ */
    .fb-faq {
        padding: 40px 0;
    }

    .fb-faq__accordion {
        max-width: 100%;
        padding: 0 20px;
    }

    .fb-faq__title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .fb-faq__item {
        margin-bottom: 10px;
    }

    .fb-faq__question {
        padding: 20px;
        font-size: 15px;
        min-height: 60px;
        line-height: 1.3;
    }

    .fb-faq__answer {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }

    .fb-faq__icon {
        font-size: 18px;
    }

    .fb-faq__contact {
        margin-top: 50px;
        padding: 0 20px;
    }

    .fb-faq__contact-title {
        font-size: 24px;
    }

    .fb-faq__contact-subtitle {
        font-size: 16px;
    }

    .fb-faq__contact-info {
        flex-direction: column;
        gap: 15px;
        font-size: 14px;
    }

    .fb-faq__brands-title {
        font-size: 24px;
        text-align: center;
    }

    /* Brands */
    .fb-brands__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .fb-brands__item {
        height: 80px;
    }

    .fb-brands__image img {
        max-width: 90%;
        max-height: 60px;
    }

    /* Content */
    .fb-content {
        padding: 40px 0;
    }

    .fb-content__container {
        padding: 0 20px;
    }

    .fb-content__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fb-content__title {
        font-size: 26px;
        margin-bottom: 20px;
        text-align: center;
    }

    .fb-content__text {
        font-size: 14px;
        line-height: 1.6;
    }

    .fb-content__text p {
        margin-bottom: 15px;
    }
}

/* ========================================
   MEDIA QUERIES - SMALL MOBILE (480px)
   ======================================== */

@media (max-width: 480px) {
    /* Container */

    .fb-products__grid {
        flex-direction: column;
    }

    .fb-container {
        max-width: 480px;
        padding: 0;
        width: 100%;
    }

    /* Hero */
    .fb-hero {
        padding: 20px 10px 0 10px;
        min-height: 430px;
    }

    .fb-hero__background {
        height: 380px;
    }

    .fb-hero__container {
        padding: 0 45px;
    }

    .fb-hero__title {
        font-size: 24px;
        line-height: 1.2;
    }

    .fb-hero__subtitle {
        font-size: 13px;
        line-height: 1.4;
    }

    .fb-hero__cta {
        font-size: 14px;
        padding: 8px 18px;
    }

    /* Products */
    .fb-products {
        padding: 15px;
    }

    .fb-product {
        min-height: 375px;
        width: 100%;
        max-width: 100%;
    }

    .fb-product__image {
        max-width: 200px;
    }

    /* Warranty */
    .fb-warranty__title {
        font-size: 22px;
    }

    .fb-warranty__cta {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* FAQ */
    .fb-faq__title {
        font-size: 22px;
    }

    .fb-faq__question {
        font-size: 14px;
        padding: 18px;
    }

    .fb-faq__answer {
        font-size: 13px;
        line-height: 1.5;
    }

    .fb-faq__contact-title {
        font-size: 20px;
    }

    .fb-faq__contact-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Brands */
    .fb-brands__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .fb-brands__item {
        height: 70px;
    }

    .fb-brands__image img {
        max-width: 85%;
        max-height: 50px;
    }

    /* Content */
    .fb-content__title {
        font-size: 22px;
    }

    .fb-content__text {
        font-size: 13px;
    }
}
