@font-face {
    font-family: 'arkipelagoregular';
    src: url('../fonts/arkipelago_1.003-webfont.woff2') format('woff2'),
    url('../fonts/arkipelago_1.003-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #faf9f7;
}

/* Hero section */
.hero {
    position: relative;
    height: calc(100vh - 10px); /* trừ chiều cao của header (top-bar + navbar) */
    background: url('../images/bestseller/hero-background.jpg') center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -90px; /* trừ chiều cao header 1 hàng — header trong suốt đè lên hình hero (transparent header) */
}

/* Optional overlay for better text contrast */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero h1 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    font-weight: 700;
}

.hero .display-wrapper{
    z-index: 12;
}

.hero .display-wrapper .btn {
    background-color: #d4a373;
    border: none;
    color: #fff;
    transition: background-color 0.3s ease;
}
.hero .display-wrapper .btn:hover {
    background-color: #b77b47;
}
/*...........End header...............*/


/*...........Start milk-tea-list...............*/

.tea-card {
    height: 300px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.tea-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Lớp overlay cho text */
.tea-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
    z-index: 2;
    color: white;
    opacity: 1;
    transition: background 0.4s ease;
}

/* Hover effect: ảnh phóng nhẹ, overlay sáng hơn */
.tea-card:hover img {
    transform: scale(1.1);
}
.tea-card:hover .overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0.05));
}
.tea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Button tinh tế */
.tea-card .btn-light {
    font-weight: 600;
    transition: all 0.3s ease;
}
.tea-card .btn-light:hover {
    background-color: var(--text-primary);
    color: white;
    transform: scale(1.05);
}

/*...........End milk-tea-list...............*/

@media (max-width: 992px) {
    .hero{
        margin-top: unset;
    }
}

