/* ═══════════════════════════════════════════════════
   J.J. Gold House — Index Page Styles
   Hero Slider, Showcase & Page-Specific Overrides
   ═══════════════════════════════════════════════════ */

div#show_product .col-md-3 {
    margin-bottom: 20px;
}

/* ── Slick dots — modern pill style ── */
.slick-dots {
    position: absolute;
    bottom: 24px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
}
.slick-dots li {
    list-style: none;
    margin: 0;
}
.slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    background: transparent;
    font-size: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slick-dots li.slick-active button {
    width: 28px;
    height: 8px;
    border-radius: 10px;
    background: #d4af37;
    border-color: #d4af37;
}
.slick-dots li button:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.3);
}

/* ── Hero slide — cinematic style ── */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: 500px;
    position: relative;
    overflow: hidden;
}
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 6%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-slide-text {
    color: #fff;
    max-width: 540px;
    z-index: 2;
}
.hero-slide-text h1 {
    font-size: 46px;
    font-weight: 700;
    font-family: 'Playfair Display', 'Copperplate', serif;
    color: #f5d060;
    margin-bottom: 14px;
    line-height: 1.1;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero-slide-text .subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.02em;
}
.hero-slide-text .tagline {
    font-size: 12px;
    color: rgba(245, 208, 96, 0.7);
    margin-bottom: 28px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}
.hero-slide-text .cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f5d060 100%);
    color: #1a0505;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}
.hero-slide-text .cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.hero-slide-text .cta-btn:hover::after {
    left: 100%;
}
.hero-slide-text .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(212, 175, 55, 0.6);
}

.hero-slide-images {
    display: flex;
    gap: 16px;
    align-items: center;
    z-index: 2;
    perspective: 1000px;
}

.hero-slide-images img {
    border-radius: 16px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide-images .img-left {
    height: 280px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: rotate(-4deg) translateZ(-20px);
}
.hero-slide-images .img-center {
    height: 320px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 3;
    transform: translateZ(20px);
}
.hero-slide-images .img-right {
    height: 280px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: rotate(4deg) translateZ(-20px);
}
.hero-slide-images img:hover {
    filter: brightness(1.08);
}

/* ── Gold bars showcase — refined ── */
.gold-bars-showcase {
    padding: 100px 20px;
    background: linear-gradient(180deg, #faf8f4 0%, #f5f0e8 100%);
    position: relative;
}
.gold-bars-showcase::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, #faf8f4, transparent);
    z-index: 1;
}

.showcase-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}
.showcase-header h2 {
    font-family: 'Playfair Display', 'Copperplate', serif;
    color: #2d0a0a;
    font-size: 48px;
    margin-bottom: 14px;
    font-weight: 700;
}
.showcase-header p {
    color: #8c5a5a;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.04em;
}

.showcase-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.showcase-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    padding: 28px;
    text-align: center;
    width: 320px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.08);
    position: relative;
    overflow: hidden;
}
.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f5d060, #d4af37);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: center;
}
.showcase-card:hover::before { transform: scaleX(1); }

.showcase-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 32px 72px rgba(140, 0, 0, 0.14);
}
.showcase-card.featured {
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.2);
}
.showcase-card.featured:hover {
    transform: scale(1.04) translateY(-16px);
}
.showcase-card-img {
    background: linear-gradient(135deg, #f5f0e8 0%, #ebe4d6 100%);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}
.showcase-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5) 0%, transparent 60%);
    pointer-events: none;
}
.showcase-card-img img {
    height: 220px;
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.showcase-card:hover .showcase-card-img img {
    transform: scale(1.06) rotate(1deg);
}
.showcase-card h3 {
    font-family: 'Playfair Display', 'Copperplate', serif;
    color: #2d0a0a;
    font-size: 24px;
    margin-bottom: 6px;
    font-weight: 600;
}
.showcase-card .card-desc {
    color: #8c5a5a;
    font-size: 13px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
}
.showcase-card-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.showcase-card-thumbs img {
    height: 56px;
    border-radius: 10px;
    border: 2px solid #f0ebe0;
    transition: all 0.3s ease;
    cursor: pointer;
}
.showcase-card-thumbs img:hover {
    border-color: #d4af37;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.2);
}
.popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #d4af37, #f5d060);
    color: #1a0505;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

/* ── Showcase Shop Now button (index) ── */
.showcase-shop-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #d4af37, #f5d060);
    color: #1a0505;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}
.showcase-shop-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.showcase-shop-btn:hover::after {
    left: 100%;
}
.showcase-shop-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5);
    color: #1a0505;
    text-decoration: none;
}

/* ── Product highlights subtitle ── */
.product-highlights-sub {
    color: #8c5a5a;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

/* ── Stats badge images ── */
.stat-badge-img {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}
.stat-badge-img:hover {
    transform: scale(1.05);
}

/* ── Footer version tag ── */
.footer-version {
    font-size: 10px;
    opacity: 0.5;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-slide {
        height: auto !important;
        min-height: 400px;
    }
    .hero-slide-inner {
        flex-direction: column;
        padding: 28px 20px;
        text-align: center;
    }
    .hero-slide-text {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .hero-slide-text h1 {
        font-size: 28px;
    }
    .hero-slide-text .subtitle {
        font-size: 14px;
    }
    .hero-slide-text .tagline {
        font-size: 11px;
    }
    .hero-slide-images {
        gap: 8px;
        perspective: none;
    }
    .hero-slide-images .img-left,
    .hero-slide-images .img-center,
    .hero-slide-images .img-right {
        height: 120px;
        transform: none;
    }
    .hero-slide-images .img-center {
        height: 140px;
    }
    .showcase-grid {
        gap: 20px;
    }
    .showcase-card,
    .showcase-card.featured {
        width: 90%;
        transform: none;
    }
    .showcase-card.featured:hover {
        transform: translateY(-12px);
    }
    .showcase-header h2 {
        font-size: 32px;
    }
    .gold-bars-showcase {
        padding: 60px 16px;
    }
}
