/* ==========================================================================
   RƯỢU CỬU LONG - HOMEPAGE EXACT REPLICATION
   Khớp 100% mẫu thiết kế "0. Trang chủ-1.pdf"
   ========================================================================== */

/* --- 1. Symmetrical Split Navigation Header --- */
.site-header-centered {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(14, 40, 40, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 155, 39, 0.25);
    transition: all 0.35s ease;
    padding: 16px 0;
}

.site-header-centered.nav-scrolled {
    padding: 10px 0;
    background: rgba(10, 30, 30, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.header-centered-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.nav-group-left, .nav-group-right {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-group-left {
    justify-content: flex-end;
    padding-right: 45px;
}

.nav-group-right {
    justify-content: flex-start;
    padding-left: 45px;
}

.header-center-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.header-center-logo img {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.header-center-logo:hover img, 
.header-center-logo.active img {
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(229, 192, 93, 0.85));
    transform: scale(1.05);
}

.menu-link-item {
    position: relative;
    font-family: 'Montserrat', var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 0;
    white-space: nowrap;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.menu-link-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--color-gold);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(197, 155, 39, 0.8);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateX(-50%);
}

.menu-link-item:hover, 
.menu-link-item.active {
    color: #dfb74a !important;
}

.menu-link-item:hover::after, 
.menu-link-item.active::after {
    width: 100%;
}

/* Dropdown on hover */
.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #0f2e2e;
    border: 1px solid rgba(197, 155, 39, 0.35);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    list-style: none;
    z-index: 1010;
}

.has-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-panel li a {
    display: block;
    padding: 9px 20px;
    font-size: 0.86rem;
    color: #e5e5e5;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.dropdown-panel li a:hover {
    color: #dfb74a;
    background: rgba(22, 61, 61, 0.6);
    border-left-color: #dfb74a;
    padding-left: 24px;
}

/* --- 2. Hero Shelf Banner Stage (Mẫu 2_hero_banner.png) --- */
.hero-shelf-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 110px;
    padding-bottom: 0;
    background: #0d2828 url('../images/home/hero-shelf-stage.png') no-repeat center bottom;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-header-titles {
    text-align: center;
    padding-top: 25px;
    z-index: 10;
    position: relative;
}

.hero-subtitle-tag {
    font-family: 'Montserrat', var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.3rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-brand-name {
    font-family: 'BT Danta', var(--font-heading);
    font-size: clamp(3.2rem, 6.5vw, 5.5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.65);
    margin: 0;
}

.shelf-stage-wrap {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    height: 570px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 60px; /* Sits directly on the shelf ledge */
}

.shelf-nav-btn {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(14, 40, 40, 0.75);
    border: 1.5px solid rgba(197, 155, 39, 0.5);
    color: #ffffff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.shelf-nav-btn:hover {
    background: var(--color-gold);
    color: #0c2626;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(197, 155, 39, 0.7);
}

.shelf-nav-btn.prev-btn { left: 40px; }
.shelf-nav-btn.next-btn { right: 40px; }

.shelf-bottles-track {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 30px;
    width: 100%;
    position: relative;
    z-index: 15;
}

.shelf-bottle-item {
    position: relative;
    width: 220px;
    height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, filter 0.45s ease;
    user-select: none;
}

.shelf-bottle-item .bottle-pic {
    position: relative;
    z-index: 5;
    max-height: 380px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

/* Radiant Ingredient backdrop */
.shelf-bottle-item .bottle-ingredient-backdrop {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translate(-50%, 0) scale(0.65);
    width: 330px;
    height: 330px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    filter: drop-shadow(0 0 45px rgba(229, 192, 93, 0.75));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    pointer-events: none;
}

/* Floating Tooltip Pill */
.shelf-bottle-item .bottle-hover-tooltip {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(14, 40, 40, 0.92);
    border: 1.5px solid var(--color-gold);
    padding: 8px 18px;
    border-radius: 9999px;
    white-space: nowrap;
    color: #ffffff;
    font-family: 'Montserrat', var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 25;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.shelf-bottle-item .bottle-hover-tooltip span {
    color: #dfb74a;
    display: block;
}

.shelf-bottle-item .bottle-hover-tooltip small {
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 400;
}

/* HOVER & ACTIVE STATE: RÊ CHUỘT VÀO CÁC CHAI RƯỢU */
.shelf-bottle-item.is-active,
.shelf-bottle-item:hover {
    transform: translateY(-28px) scale(1.18);
    z-index: 20;
    opacity: 1 !important;
    filter: none !important;
}

.shelf-bottle-item.is-active .bottle-pic,
.shelf-bottle-item:hover .bottle-pic {
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 25px rgba(229, 192, 93, 0.65));
}

.shelf-bottle-item.is-active .bottle-ingredient-backdrop,
.shelf-bottle-item:hover .bottle-ingredient-backdrop {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -20px) scale(1.15);
}

.shelf-bottle-item.is-active .bottle-hover-tooltip,
.shelf-bottle-item:hover .bottle-hover-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dim other non-hovered bottles */
.shelf-bottle-item.is-dimmed {
    opacity: 0.65;
    filter: brightness(0.85) grayscale(15%);
    transform: scale(0.92);
}

/* --- 3. Pill Buttons --- */
.clv-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 28px;
    border-radius: 9999px;
    font-family: 'Montserrat', var(--font-body);
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    white-space: nowrap;
}

.clv-pill-btn-white {
    background: #ffffff;
    color: #163d3d;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.clv-pill-btn-white:hover {
    background: #f7f5f3;
    color: #0c2626;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.clv-pill-btn-white .pill-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #163d3d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.clv-pill-btn-white:hover .pill-arrow {
    transform: translateX(4px);
}

.clv-pill-btn-dark {
    background: #163d3d;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(22, 61, 61, 0.3);
}

.clv-pill-btn-dark:hover {
    background: #0f2e2e;
    color: #dfb74a;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(22, 61, 61, 0.4);
}

.clv-pill-btn-dark .pill-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: #163d3d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.clv-pill-btn-dark:hover .pill-arrow {
    transform: translateX(4px);
}

/* --- 4. Section: CÂU CHUYỆN THƯƠNG HIỆU --- */
.sec-story-home {
    position: relative;
    padding: 90px 0 130px 0;
    background: #0c2626 url('../images/home/bg-pattern-scales.svg') repeat center;
    background-size: 400px;
    color: #ffffff;
    overflow: hidden;
    text-align: center;
}

.sec-story-home .story-lead-title {
    font-family: 'BT Danta', var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: #ffffff;
}

.sec-story-home .story-lead-desc {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.story-wavy-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 5;
}

.story-wavy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease;
    text-decoration: none;
}

.story-wavy-card:nth-child(2),
.story-wavy-card:nth-child(4) {
    transform: translateY(45px);
}

.story-wavy-card:hover {
    transform: translateY(-8px);
}

.story-wavy-card:nth-child(2):hover,
.story-wavy-card:nth-child(4):hover {
    transform: translateY(35px);
}

.story-arch-thumb {
    width: 100%;
    height: 340px;
    border-radius: 60px 60px 20px 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    position: relative;
}

.story-arch-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-wavy-card:hover .story-arch-thumb img {
    transform: scale(1.08);
}

.story-wavy-card h4 {
    font-family: 'BT Danta', var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    max-width: 200px;
}

.story-bottom-clouds {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url('../images/home/clouds-gold.svg') no-repeat center bottom / cover;
    pointer-events: none;
    z-index: 10;
    opacity: 0.9;
}

/* --- 5. Section: NIỀM TIN ĐƯỢC NHÌN THẤY --- */
.sec-trust-home {
    position: relative;
    padding: 40px 0 100px 0;
    background: #f4ede4 url('../images/home/bg-trong-dong.svg') no-repeat center center / 850px;
    color: #052223;
    overflow: hidden;
    text-align: center;
}

.marquee-line-ticker {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0 35px 0;
}

.marquee-line-ticker img {
    height: 44px;
    width: auto;
    display: inline-block;
    animation: tickerInfiniteScroll 50s linear infinite;
}

@keyframes tickerInfiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-lead-title {
    font-family: 'BT Danta', var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 800;
    color: #052223;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.trust-lead-desc {
    max-width: 780px;
    margin: 0 auto 30px auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2c4242;
}

.trust-birds-wrap {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.chim-lac-bird {
    position: absolute;
    width: 220px;
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    animation: floatSlow 8s ease-in-out infinite;
}

.chim-lac-bird.left-bird {
    top: 15px;
    left: 20px;
}

.chim-lac-bird.right-bird {
    top: 15px;
    right: 20px;
    transform: scaleX(-1);
}

.trust-symmetric-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
}

.trust-gallery-item {
    border-radius: 40px 40px 16px 16px;
    overflow: hidden;
    border: 3px solid #163d3d;
    box-shadow: 0 15px 35px rgba(22, 61, 61, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.trust-gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(22, 61, 61, 0.3);
}

.trust-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust-gallery-item.h-sm { width: 200px; height: 260px; }
.trust-gallery-item.h-md { width: 230px; height: 350px; }
.trust-gallery-item.h-lg { width: 280px; height: 440px; }

/* --- 6. Section: TRẢI NGHIỆM CỬU LONG --- */
.sec-exp-home {
    position: relative;
    padding: 90px 0 100px 0;
    background: #0c2626 url('../images/home/bg-pattern-scales.svg') repeat center / 400px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.exp-stage-center {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 40px auto 0 auto;
}

.exp-arch-frame {
    width: 100%;
    height: 480px;
    border-radius: 80px 80px 40px 40px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.exp-arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.exp-stage-center:hover .exp-arch-frame img {
    transform: scale(1.05);
}

/* --- 7. Section: KHÁCH HÀNG & ĐỐI TÁC --- */
.sec-partners-home {
    position: relative;
    padding: 80px 0 100px 0;
    background: #f4ede4 url('../images/home/bg-trong-dong.svg') no-repeat center center / 850px;
    text-align: center;
}

.partners-grid-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.partner-card-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(22, 61, 61, 0.15);
}

.partner-card-box img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
}

/* --- 8. Section: TIN TỨC VÀ TRI THỨC --- */
.sec-news-home {
    position: relative;
    padding: 90px 0 100px 0;
    background: #0c2626 url('../images/home/bg-pattern-scales.svg') repeat center / 400px;
    color: #ffffff;
}

.news-asymm-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    margin-top: 40px;
}

.news-feat-large {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #1a2929;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.news-feat-large:hover {
    transform: translateY(-6px);
}

.news-feat-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.news-feat-body {
    padding: 28px;
}

.news-side-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-side-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    padding: 18px;
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #1a2929;
    align-items: center;
    transition: transform 0.3s ease;
}

.news-side-card:hover {
    transform: translateY(-4px);
}

.news-side-card img {
    width: 160px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

/* --- 9. Light Cream Footer --- */
.footer-home-light {
    background: #f4efe9;
    color: #1a2929;
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-home-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-bottom-bar {
    background: #163d3d;
    color: #ffffff;
    text-align: center;
    padding: 18px 0;
    font-size: 0.9rem;
}

/* --- 10. Responsive Breakpoints --- */
@media (max-width: 1200px) {
    .shelf-stage-wrap {
        height: 520px;
    }
    .shelf-bottle-item {
        width: 180px;
        height: 440px;
    }
    .shelf-bottle-item .bottle-pic {
        max-height: 330px;
    }
    .story-wavy-cards-grid {
        gap: 15px;
    }
    .story-arch-thumb {
        height: 280px;
    }
    .partners-grid-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-home-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .nav-group-left, .nav-group-right {
        display: none; /* Mobile navigation via drawer */
    }
    .mobile-header-btn {
        display: block !important;
    }
    .hero-shelf-section {
        min-height: auto;
        padding-bottom: 40px;
    }
    .shelf-stage-wrap {
        height: 480px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }
    .shelf-bottles-track {
        justify-content: flex-start;
    }
    .story-wavy-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .story-wavy-card:nth-child(2),
    .story-wavy-card:nth-child(4) {
        transform: none;
    }
    .trust-symmetric-gallery {
        flex-wrap: wrap;
    }
    .trust-gallery-item.h-sm,
    .trust-gallery-item.h-md,
    .trust-gallery-item.h-lg {
        width: 45%;
        height: 250px;
    }
    .news-asymm-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .story-wavy-cards-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-home-grid {
        grid-template-columns: 1fr;
    }
    .trust-gallery-item.h-sm,
    .trust-gallery-item.h-md,
    .trust-gallery-item.h-lg {
        width: 100%;
        height: 260px;
    }
}
