/* ==========================================================================
   HOME PAGE — 3-COLUMN LANDING
   ========================================================================== */

/* ---- Hero Section (Full Viewport, No Scroll) ---- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    box-sizing: border-box;
    overflow: hidden;
}

/* ---- Column 1: Text ---- */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 30px;
}

.hero-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--strong-green);
    opacity: 0.9;
    margin: 0;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 0;
    color: #fff;
}

/* Gradient Coloring for Title */
.title-pro {
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-flavor {
    background: linear-gradient(180deg, #00FF66 0%, #00CC52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #a1a1a6;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 15px;
}

/* ---- Column 2: Image ---- */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 750px;
    animation: float-hero 6s ease-in-out infinite;
}

.hero-image-wrapper img.slide-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 720px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.hero-image-wrapper img.slide-img.active {
    opacity: 1;
    pointer-events: auto;
}

/* Coke Float slightly smaller */
.hero-image-wrapper img.slide-img[data-slide="1"] {
    transform: translate(-50%, -50%) scale(0.9);
}

/* ---- Slide Navigation Arrows (inside image) ---- */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

.slide-btn-left { left: 10px; }
.slide-btn-right { right: 10px; }

.slide-btn:hover {
    background: var(--strong-green);
    color: #000;
    border-color: var(--strong-green);
    transform: translateY(-50%) scale(1.1);
}

/* ---- Column 3: Product Card ---- */
.product-card {
    position: relative;
    padding: 30px;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.08); /* Increased opacity for visibility */
    backdrop-filter: blur(35px) saturate(200%); /* Stronger blur and saturation */
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Sharper border */
    border-radius: 24px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1); /* Inner glow edge */
    overflow: hidden;
}

/* Premium Glass Highlight & Reflection */
.product-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    transform: rotate(-15deg);
}

/* Card text layers — JS controlled via .active class */
.card-layer {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

/* First card provides the height flow */
.card-layer:first-child {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

.card-layer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}

.card-desc {
    font-size: 0.85rem;
    color: #a1a1a6;
    line-height: 1.5;
    margin: 0 0 25px 0;
}

.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-from {
    display: block;
    font-size: 10px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-price {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--strong-green);
    line-height: 1;
}

.buy-link {
    color: var(--strong-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border: 1px solid rgba(0, 255, 102, 0.2);
    border-radius: 100px;
    transition: all 0.3s;
}

.buy-link:hover {
    background: var(--strong-green);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 102, 0.2);
}

/* ---- Animations ---- */
@keyframes float-hero {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-15px); }
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 60px;
        overflow: visible;
    }
    .hero-text { text-align: center; align-items: center; margin-bottom: 40px; }
    .hero-title { font-size: 2.8rem; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-image-wrapper { height: 350px; margin-bottom: 40px; }
    .product-card { position: relative; }
}
