/* Styles for Hero Banners Slider */
.hero-slider {
    width: 100%;
    max-width: 1400px;
    margin: 12px auto;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    background: #f0f2f5;
}
.hero-slides { display: flex; transition: transform 0.6s cubic-bezier(.22,.9,.3,1); will-change: transform; }
.hero-slide {
    min-width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    overflow: hidden;
}
.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}
.hero-slider .hero-slide-img[style*="display: none"] { display: none !important; }
.hero-slide .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(12,12,12,0.28) 10%, rgba(12,12,12,0.05) 40%, rgba(12,12,12,0.02) 80%);
}
.hero-slide .content {
    position: relative;
    z-index: 2;
    padding: 20px 6%;
    max-width: 720px;
}
.hero-slide h2 { font-size: 1.4rem; margin-bottom: 8px; font-weight:800; text-shadow: 0 4px 18px rgba(0,0,0,0.45); }
.hero-slide p { font-size: 0.95rem; color: rgba(255,255,255,0.95); margin-bottom: 6px; }
.hero-slide .btn-view {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display:inline-block;
    padding:10px 14px;
    background:linear-gradient(145deg,var(--gold),var(--gold-dark));
    color:var(--blue-royal);
    font-weight:900;
    border-radius:12px;
    cursor:pointer;
    box-shadow:var(--shadow-gold);
    border:none;
    z-index:5;
}
.hero-slide .btn-view:active { transform: scale(0.98); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.45); border: none; color: white; width:44px; height:44px; border-radius:50%; cursor:pointer; z-index:5; display:flex; align-items:center; justify-content:center; font-size:1.6rem; }
.hero-arrow.prev { right: 72px; }
.hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; left: 6%; bottom: 12px; display:flex; gap:8px; z-index:6; }
.hero-dots button { width:10px; height:10px; border-radius:50%; border:none; background: rgba(255,255,255,0.45); cursor:pointer; }
.hero-dots button.active { background: var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
@media(min-width:900px){ .hero-slide { height: 360px; } .hero-slide h2 { font-size: 2rem; } .hero-slide p { font-size: 1.05rem; } }
@media(max-width:640px){ .hero-slider { border-radius: 12px; } .hero-slide { height: 180px; } .hero-arrow.prev { right: 60px; } .hero-arrow.next { right: 12px; } .hero-slide h2 { font-size: 1.05rem; } }
/* Admin table small tweaks */
#bannersTable img { width: 80px; height: 48px; object-fit: cover; border-radius: 8px; }

/* Banner detail (vertical/fullscreen) modal */
.banner-detail-modal { display:none; position:fixed; inset:0; z-index:2000; background: rgba(0,0,0,0.6); align-items:center; justify-content:center; }
.banner-detail-modal.active { display:flex; }
.banner-detail-card { width:100%; max-width:520px; height:90vh; background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(252,243,227,0.98)); border-radius:18px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,0.45); display:flex; flex-direction:column; transform: translateY(20px); animation: slideUp 400ms cubic-bezier(.22,.9,.3,1) forwards; }
.banner-detail-media { flex:0 0 56%; background-size:cover; background-position:center; position:relative; }
.banner-detail-content { padding:18px 20px; flex:1; overflow:auto; }
.banner-detail-title { font-size:1.4rem; font-weight:900; color:var(--blue-royal); margin-bottom:8px; }
.banner-detail-desc { color:var(--brown-mid); line-height:1.6; margin-bottom:12px; }
.banner-detail-cta { display:flex; gap:10px; align-items:center; }
.banner-detail-cta .btn-visit { flex:1; padding:12px 16px; background:linear-gradient(145deg,var(--gold),var(--gold-dark)); color:var(--blue-royal); border-radius:12px; font-weight:900; border:none; cursor:pointer; box-shadow:var(--shadow-gold); }
.banner-detail-cta .btn-close { padding:10px 12px; background:transparent; border:2px solid rgba(0,0,0,0.06); border-radius:12px; cursor:pointer; }

@keyframes slideUp { from { transform: translateY(20px); opacity:0 } to { transform: translateY(0); opacity:1 } }

@media(max-width:520px){ .banner-detail-card { max-width:100%; height:100vh; border-radius:0; } .banner-detail-media { flex:0 0 40%; } .banner-detail-title { font-size:1.1rem; } .banner-detail-content { padding:16px 16px; } .banner-detail-cta { flex-direction:column; gap:8px; } .banner-detail-cta .btn-visit, .banner-detail-cta .btn-close { width:100%; } }

@media(max-width:640px){ .hero-slide .btn-view { bottom:10px; right:10px; padding:8px 12px; font-size:0.85rem; } }
