﻿Claude













Home brochures · CSS
/* =========================================
   ELDER LABORATORIES - BROCHURES (PREMIUM LIGHT)
   Blue cover with a wave edge + a tilted brochure sheet,
   brand-yellow download button, centered last row.
   Works with the existing markup (no HTML changes).
   ========================================= */
.home-brochures {
    position: relative;
    padding: 90px 0 110px;
    overflow: hidden;
    background: radial-gradient(circle at 8% 8%, rgba(29, 107, 177, 0.10), transparent 32%), radial-gradient(circle at 94% 92%, rgba(247, 197, 43, 0.16), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f1f6fc 100%);
}

/* ---------- Section heading ---------- */

.brochure-section-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
    text-align: center;
}

    .brochure-section-heading > span {
        display: table;
        margin: 0 auto 16px;
        padding: 7px 18px;
        border-radius: 999px;
        color: #b18b43;
        font-size: 11.5px;
        font-weight: 800;
        letter-spacing: 3px;
        background: rgba(247, 197, 43, 0.16);
    }

    .brochure-section-heading h2 {
        position: relative;
        display: block;
        margin-bottom: 24px;
        padding-bottom: 18px;
        color: #0e3a68;
        font-size: clamp(32px, 4.4vw, 48px);
        font-weight: 800;
        letter-spacing: -.5px;
    }

        .brochure-section-heading h2::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 84px;
            height: 5px;
            border-radius: 5px;
            transform: translateX(-50%);
            background: linear-gradient(90deg, #1d6bb1, #f7c52b);
        }

    .brochure-section-heading p {
        max-width: 640px;
        margin: 0 auto;
        color: #66758a;
        font-size: 15.5px;
        line-height: 1.85;
    }

/* ---------- Grid (flex so the last row is centered) ---------- */

.home-brochure-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

/* ---------- Card ---------- */

.home-brochure-card {
    position: relative;
    flex: 0 1 calc((100% - 64px) / 3);
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0 0 30px;
    overflow: hidden;
    isolation: isolate;
    background: #fff;
    border: 1px solid #e1eaf4;
    border-radius: 26px;
    box-shadow: 0 14px 40px rgba(14, 58, 104, 0.09);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease, border-color .4s ease;
}

    /* Blue cover with curved (wave) bottom edge */
    .home-brochure-card::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 0;
        left: 0;
        right: 0;
        height: 176px;
        background: radial-gradient(ellipse 62% 34px at 50% 100%, #fff 97%, transparent 100%), radial-gradient(circle at 85% 10%, rgba(247, 197, 43, 0.55), transparent 38%), radial-gradient(circle at 5% 100%, rgba(255, 255, 255, 0.18), transparent 40%), linear-gradient(135deg, #0e3a68 0%, #1d6bb1 100%);
    }

    /* Tilted brochure sheet drawn in CSS */
    .home-brochure-card::after {
        content: "";
        position: absolute;
        z-index: 0;
        top: 26px;
        right: 34px;
        width: 92px;
        height: 118px;
        border-radius: 8px;
        transform: rotate(9deg);
        transform-origin: 50% 100%;
        background: linear-gradient(135deg, #1d6bb1, #0e3a68) top / 100% 24px no-repeat, repeating-linear-gradient(180deg, transparent 0 10px, #d5e1ef 10px 12px) 12px 40px / 68px 66px no-repeat, #fff;
        box-shadow: -10px 14px 28px rgba(5, 25, 50, 0.35), -22px 8px 0 -6px rgba(255, 255, 255, 0.35);
        transition: transform .45s cubic-bezier(.2, .8, .2, 1);
    }

    .home-brochure-card:hover {
        transform: translateY(-9px);
        border-color: rgba(29, 107, 177, 0.35);
        box-shadow: 0 28px 56px rgba(14, 58, 104, 0.18);
    }

        .home-brochure-card:hover::after {
            transform: rotate(3deg) translateY(-6px);
        }

/* ---------- PDF icon ---------- */

.brochure-card-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 32px 0 80px 30px;
    border-radius: 20px;
    color: #0e3a68;
    background: #fff;
    box-shadow: 0 12px 26px rgba(5, 25, 50, 0.28);
    transition: transform .4s ease;
}

    .brochure-card-icon i {
        font-size: 31px;
    }

.home-brochure-card:hover .brochure-card-icon {
    transform: scale(1.08) rotate(-5deg);
}

/* ---------- Category ---------- */

.brochure-card-category {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin: 0 30px 10px;
    padding: 6px 13px;
    border-radius: 999px;
    color: #b18b43;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    background: rgba(247, 197, 43, 0.16);
}

    .brochure-card-category::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #eaa90f;
    }

/* ---------- Title ---------- */

.home-brochure-card h3 {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    margin: 0 30px 26px;
    color: #0e3a68;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.35;
}

/* ---------- Actions ---------- */

.brochure-card-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    margin: 0 30px;
}

    .brochure-card-actions a {
        flex: 1 1 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 13px 14px;
        border-radius: 999px;
        font-size: 13.5px;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
        transition: all .28s ease;
    }

.brochure-preview-btn {
    color: #0e3a68;
    border: 2px solid #cfdcec;
    background: #fff;
}

    .brochure-preview-btn:hover {
        color: #fff;
        border-color: #0e3a68;
        background: #0e3a68;
    }

.brochure-download-btn {
    color: #0e3a68;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #ffd84d, #eaa90f);
    box-shadow: 0 10px 22px rgba(234, 169, 15, 0.32);
}

    .brochure-download-btn:hover {
        color: #0e3a68;
        transform: translateY(-3px);
        box-shadow: 0 16px 30px rgba(234, 169, 15, 0.45);
    }

/* ---------- View all / empty ---------- */

.brochure-view-all {
    margin-top: 48px;
    text-align: center;
}

    .brochure-view-all .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 15px 30px;
        border-radius: 999px;
    }

.brochure-empty-state {
    flex: 1 1 100%;
    padding: 56px 35px;
    text-align: center;
    color: #66758a;
    background: #fff;
    border: 2px dashed #c9d8ea;
    border-radius: 24px;
}

    .brochure-empty-state i {
        display: block;
        margin-bottom: 12px;
        color: #d92b3d;
        font-size: 46px;
    }

    .brochure-empty-state h3 {
        margin-bottom: 8px;
        color: #0e3a68;
        font-size: 24px;
        font-weight: 800;
    }

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
    .home-brochure-card h3 {
        font-size: 21px;
    }

    .brochure-card-actions a {
        padding: 12px 10px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .home-brochure-grid {
        gap: 26px;
    }

    .home-brochure-card {
        flex-basis: calc((100% - 26px) / 2);
    }
}

@media (max-width: 576px) {
    .home-brochures {
        padding: 65px 0 80px;
    }

    .brochure-section-heading {
        margin-bottom: 38px;
    }

    .home-brochure-grid {
        gap: 22px;
    }

    .home-brochure-card {
        flex-basis: 100%;
    }

        .home-brochure-card h3 {
            font-size: 21px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .home-brochure-card,
    .home-brochure-card::after,
    .brochure-card-icon,
    .brochure-card-actions a {
        transition: none !important;
    }
}

