/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* স্টিকি এবং গ্লাস ইফেক্ট ডিজাইন */
#my-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.4s ease-in-out;
    
    /* গ্লাস ইফেক্ট */
    background: rgba(255, 255, 255, 0.1); /* সাদার হালকা ঝাপসা ভাব */
    backdrop-filter: blur(12px); /* ব্লার ইফেক্ট */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* স্ক্রল করার পর কালার পরিবর্তন (অপশনাল) */
#my-sticky-header.scrolled {
    background: rgba(255, 255, 255, 0.8); /* স্ক্রল করলে একটু গাড় হবে */
    padding: 10px 0; /* স্ক্রল করলে হেডার ছোট হবে */
}

/* মোবাইল রেসপন্সিভনেস */
@media (max-width: 767px) {
    #my-sticky-header {
        padding: 5px 10px;
    }
}

/* আইকন এবং লিস্টের সঠিক এলাইনমেন্ট */
.auto-premium-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.auto-premium-list li {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 15px !important;
    font-size: 18px !important; /* স্ক্রিনশটের মতো ফন্ট সাইজ */
    color: #1a2b20 !important;
    line-height: 1.4 !important;
}

.auto-premium-list li .list-svg-icon {
    width: 22px !important;
    height: 22px !important;
    margin-right: 12px !important;
    margin-top: 3px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

/* টেক্সট ডেকোরেশন এবং কালার ফিক্স */
.auto-premium-list li span {
    display: inline-block !important;
}

/* ============================================================
   BCSSU PREMIUM GALLERY — STYLESHEET
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:wght@600;700&display=swap');

/* --- Container --- */
.bcssu-gallery-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 16px 60px;
    font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   FILTER BUTTONS
   ============================================================ */
.bcssu-gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
}

.bcssu-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid #e2e2e2;
    padding: 9px 22px;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.bcssu-filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #111;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
    border-radius: inherit;
}

.bcssu-filter-btn .btn-label,
.bcssu-filter-btn .btn-count {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.bcssu-filter-btn .btn-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.07);
    color: #888;
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.bcssu-filter-btn:hover::before,
.bcssu-filter-btn.active::before {
    transform: scaleX(1);
}

.bcssu-filter-btn:hover .btn-label,
.bcssu-filter-btn.active .btn-label,
.bcssu-filter-btn:hover .btn-count,
.bcssu-filter-btn.active .btn-count {
    color: #fff;
}

.bcssu-filter-btn.active {
    border-color: #111;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.bcssu-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 24px;
}

/* ============================================================
   GALLERY ITEM — Card
   ============================================================ */
.bcssu-gallery-item {
    opacity: 0;
    transform: scale(0.94) translateY(18px);
    animation: bcssuFadeUp 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transition: opacity 0.32s ease, transform 0.32s ease;
}

@keyframes bcssuFadeUp {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.bcssu-gallery-inner {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f3f3f3;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.05),
        0 12px 32px rgba(0,0,0,0.06);
    transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.bcssu-gallery-inner:hover {
    box-shadow:
        0 4px 16px rgba(0,0,0,0.08),
        0 20px 48px rgba(0,0,0,0.14);
    transform: translateY(-5px);
}

.bcssu-gallery-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

.bcssu-gallery-inner:hover img {
    transform: scale(1.1);
}

/* --- Overlay --- */
.bcssu-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.38) 50%,
        rgba(0,0,0,0.04) 100%
    );
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 28px 24px;
    transition: opacity 0.4s ease;
}

.bcssu-gallery-inner:hover .bcssu-gallery-overlay {
    opacity: 1;
}

.bcssu-gallery-content {
    color: #fff;
    transform: translateY(18px);
    transition: transform 0.42s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.bcssu-gallery-inner:hover .bcssu-gallery-content {
    transform: translateY(0);
}

.bcssu-category-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.bcssu-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.bcssu-desc {
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 14px;
    color: rgba(255,255,255,0.78);
}

.bcssu-zoom-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.bcssu-zoom-btn:hover {
    background: rgba(255,255,255,0.32);
    transform: scale(1.04);
}

/* --- No Results --- */
.bcssu-no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 20px;
    color: #aaa;
    text-align: center;
}

.bcssu-no-results p {
    font-size: 16px;
    margin: 0;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.bcssu-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.bcssu-lightbox.bcssu-lb-active {
    opacity: 1;
    pointer-events: all;
}

.bcssu-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --- Close button --- */
.bcssu-lb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.bcssu-lb-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg) scale(1.1);
}

/* --- Nav buttons --- */
.bcssu-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, opacity 0.3s ease;
}

.bcssu-lb-prev { left: 20px; }
.bcssu-lb-next { right: 20px; }

.bcssu-lb-nav:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.08);
}

/* --- Stage --- */
.bcssu-lb-stage {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 860px;
    max-height: 80vh;
    padding: 0 90px;
    box-sizing: border-box;
}

.bcssu-lb-image-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    max-height: 62vh;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}

.bcssu-lb-image-wrap img {
    max-width: 100%;
    max-height: 62vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Loader --- */
.bcssu-lb-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    border-radius: inherit;
}

.bcssu-lb-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bcssuSpin 0.75s linear infinite;
}

@keyframes bcssuSpin {
    to { transform: rotate(360deg); }
}

/* --- Caption --- */
.bcssu-lb-caption {
    margin-top: 18px;
    text-align: center;
    padding: 0 10px;
}

.bcssu-lb-tag {
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 8px;
}

.bcssu-lb-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.bcssu-lb-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.6;
    max-width: 500px;
}

/* --- Counter --- */
.bcssu-lb-counter {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.08);
    padding: 5px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.12);
    letter-spacing: 0.04em;
}

/* --- Thumbnails strip --- */
.bcssu-lb-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    max-width: 90vw;
    overflow-x: auto;
    padding: 8px 12px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    scrollbar-width: none;
}

.bcssu-lb-thumbnails::-webkit-scrollbar { display: none; }

.bcssu-lb-thumb {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.5;
}

.bcssu-lb-thumb:hover,
.bcssu-lb-thumb.active {
    border-color: #fff;
    opacity: 1;
    transform: scale(1.1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .bcssu-lb-stage { padding: 0 66px; }
    .bcssu-lb-prev  { left: 10px; }
    .bcssu-lb-next  { right: 10px; }
    .bcssu-lb-nav   { width: 44px; height: 44px; }
}

@media (max-width: 640px) {
    .bcssu-gallery-grid { grid-template-columns: 1fr; }
    .bcssu-gallery-filters { gap: 8px; }
    .bcssu-filter-btn { padding: 7px 16px; font-size: 13px; }
    .bcssu-lb-stage  { padding: 0 56px; max-height: 75vh; }
    .bcssu-lb-image-wrap img { max-height: 52vh; }
    .bcssu-lb-title { font-size: 18px; }
    .bcssu-lb-thumbnails { bottom: 10px; }
    .bcssu-lb-thumb { width: 42px; height: 42px; }
}