/* ══════════════════════════════════════════════════════════════
   Bengali Chile — Apple-Style Futuristic Luxury
   ══════════════════════════════════════════════════════════════ */

/* ══ BASE ══ */
html, body {
    width: 100%;
    overflow-x: hidden;
}
*,*::before,*::after{box-sizing:border-box}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #050505;
    color: #F5F0E8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ══ NAVBAR ══ */
.navbar-transparent {
    background: transparent;
    border-bottom: 1px solid transparent;
}
.navbar-glass {
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.08);
}



/* ══ Nav link ══ */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C5A059;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.nav-link:hover::after { width: 100%; }

/* ══ GRADIENT TEXT ══ */
.text-gradient {
    background: linear-gradient(135deg, #C5A059 0%, #D4B36E 40%, #F5F0E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══ CTA BUTTON ══ */
.cta-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.7s ease;
}
.cta-btn:hover::before { left: 100%; }

/* ══ PERSPECTIVE CONTAINERS ══ */
.perspective { perspective: 1200px; }
.preserve-3d { transform-style: preserve-3d; }

/* ══ VALUE CARD ══ */
.value-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.5s ease, 
                border-color 0.5s ease;
    will-change: transform;
}
.value-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: 0 30px 80px rgba(197, 160, 89, 0.08);
    border-color: rgba(197, 160, 89, 0.3);
}

/* ══ MOBILE MENU — Glassmorphism Fix ══ */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
    opacity: 0;
}
.mobile-menu.open {
    max-height: 420px;
    opacity: 1;
}
#navbar.menu-open {
    background: rgba(5, 5, 5, 0.96) !important;
    backdrop-filter: saturate(200%) blur(40px) !important;
    -webkit-backdrop-filter: saturate(200%) blur(40px) !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.12) !important;
}
#navbar.menu-open .mobile-menu {
    background: rgba(5, 5, 5, 0.96);
}

/* ══ WORD REVEAL (shared) ══ */
.word {
    display: inline-block;
    will-change: opacity;
    transition: none;
}

/* ══ BENTO GALLERY GRID ══ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 8px;
}
.bento-grid .bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento-grid .bento-item:nth-child(4) { grid-column: span 2; }
.bento-grid .bento-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .bento-grid .bento-item:nth-child(1),
    .bento-grid .bento-item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
}
.bento-item {
    overflow: hidden;
    border-radius: 1.25rem;
    position: relative;
    cursor: pointer;
    background: rgba(10,10,10,0.5);
}
.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.bento-item:hover img {
    transform: scale(1.06);
}
.bento-item .bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.75) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}
.bento-item:hover .bento-overlay { opacity: 1; }

/* ══ TESTIMONIAL — Organic ══ */
.testimonial-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease;
    will-change: transform;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 160, 89, 0.25);
}
.testimonial-avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #C5A059;
    background: rgba(197,160,89,0.08);
    border: 1px solid rgba(197,160,89,0.15);
    clip-path: polygon(50% 0%, 83% 8%, 100% 38%, 96% 72%, 72% 100%, 28% 100%, 4% 72%, 0% 38%, 17% 8%);
}

/* ══ 3D GOLD MEDAL ══ */
.medal-3d {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #9A7B4F, #C5A059, #D4B36E, #F5F0E8, #D4B36E, #C5A059, #9A7B4F);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow:
        0 0 60px rgba(197,160,89,0.15),
        inset 0 -4px 14px rgba(0,0,0,0.35),
        inset 0 4px 14px rgba(255,255,255,0.12);
    transform-style: preserve-3d;
    will-change: transform;
}
.medal-3d::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #D4B36E 0%, #A68640 40%, #9A7B4F 100%);
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.18), inset 0 -2px 10px rgba(0,0,0,0.3);
}
.medal-3d::after {
    content: '';
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    border: 1.5px solid rgba(245,240,232,0.18);
}
.medal-cat {
    position: relative;
    z-index: 2;
    font-size: 56px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
    line-height: 1;
}
@media (min-width: 1024px) {
    .medal-3d { width: 260px; height: 260px; }
    .medal-cat { font-size: 72px; }
}

/* ══ OS-STYLE CONTACT FORM ══ */
.form-input-os {
    background: rgba(245,240,232,0.03);
    border: 1px solid rgba(197,160,89,0.08);
    border-radius: 14px;
    padding: 18px 22px;
    color: #F5F0E8;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
    outline: none;
}
.form-input-os::placeholder { color: rgba(245,240,232,0.18); }
.form-input-os:focus {
    border-color: rgba(197,160,89,0.5);
    background: rgba(245,240,232,0.05);
    box-shadow: 0 0 0 4px rgba(197,160,89,0.06), 0 0 30px rgba(197,160,89,0.05);
}

/* ══ MAGNETIC BUTTON ══ */
.magnetic-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.3s ease;
}
.magnetic-btn:hover {
    box-shadow: 0 8px 40px rgba(197,160,89,0.25);
}
.magnetic-btn .btn-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.18) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.magnetic-btn:hover .btn-glow { opacity: 1; }

/* ══ SWIPER OVERRIDES ══ */
.swiper-cats {
    padding-bottom: 50px !important;
}
.swiper-cats .swiper-pagination-bullet {
    background: rgba(197,160,89,0.3);
    width: 8px;
    height: 8px;
    opacity: 1;
    transition: all 0.3s ease;
}
.swiper-cats .swiper-pagination-bullet-active {
    background: #C5A059;
    width: 24px;
    border-radius: 4px;
}
.swiper-cats .swiper-button-next,
.swiper-cats .swiper-button-prev {
    color: #C5A059;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(197,160,89,0.2);
    border-radius: 50%;
    background: rgba(5,5,5,0.6);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    top: calc(50% - 25px);
}
.swiper-cats .swiper-button-next:hover,
.swiper-cats .swiper-button-prev:hover {
    border-color: rgba(197,160,89,0.5);
    background: rgba(5,5,5,0.85);
}
.swiper-cats .swiper-button-next::after,
.swiper-cats .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

/* ══ CAT CARD 3D ══ */
.cat-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.5s ease, 
                border-color 0.5s ease;
    will-change: transform;
}
.cat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 100px rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.3);
}
.cat-card img {
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cat-card:hover img {
    transform: scale(1.08);
}

/* ══ FORM INPUT ══ */
.form-input {
    background: rgba(245, 240, 232, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    color: #F5F0E8;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    transition: border-color 0.4s ease, background 0.4s ease;
    width: 100%;
}
.form-input::placeholder { color: rgba(245, 240, 232, 0.25); }
.form-input:focus {
    outline: none;
    border-color: rgba(197, 160, 89, 0.5);
    background: rgba(245, 240, 232, 0.05);
}

/* ══ SELECTION ══ */
::selection {
    background: rgba(197, 160, 89, 0.3);
    color: #F5F0E8;
}

/* ══ SCROLLBAR — Forced golden (desktop + mobile) ══ */
::-webkit-scrollbar { width: 6px !important; height: 6px !important; }
::-webkit-scrollbar-track { background: #050505 !important; }
::-webkit-scrollbar-thumb { background: #D4AF37 !important; border-radius: 3px !important; }
::-webkit-scrollbar-thumb:hover { background: #D4B36E !important; }
::-webkit-scrollbar-thumb:active { background: #C5A059 !important; }
html, body, * {
    scrollbar-width: thin;
    scrollbar-color: #D4AF37 #050505;
}

/* ══ PULSING ANIMATION ══ */
@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
#whatsapp-btn {
    animation: pulse-subtle 2s ease-in-out infinite;
}
}

/* ══ LANGUAGE TOGGLE ══ */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 8px;
    overflow: hidden;
}
.lang-toggle button {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
    color: rgba(245, 240, 232, 0.35);
    border: none;
    cursor: pointer;
}
.lang-toggle button.active {
    background: rgba(197, 160, 89, 0.12);
    color: #C5A059;
}
.lang-toggle button:hover:not(.active) {
    color: rgba(245, 240, 232, 0.6);
}

/* ══ GSAP INITIAL STATES (prevent FOUC) ══ */
.hero-tagline, .hero-title-line, .hero-desc,
.hero-cta, .hero-stats, .hero-image-wrap, .scroll-indicator { visibility: hidden; }

/* ══ FOOTER — RESPONSIVE ══ */
@media (min-width: 768px) {
    #footer-main {
        overflow: hidden;
    }
}

/* ══ MANIFESTO BACKGROUND — DISABLED ══ */
#manifesto-bg {
    display: none !important;
}

/* ══ TESTIMONIAL — Glassmorphism Cards ══ */
.testimonial-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(197, 160, 89, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    will-change: transform;
}
.testimonial-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.2), transparent);
}
.testimonial-glass:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 20px 60px rgba(197, 160, 89, 0.08),
                0 0 40px rgba(197, 160, 89, 0.04);
}

/* ══ TESTIMONIAL — Avatar Image Placeholder ══ */
.testimonial-avatar-img {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(197,160,89,0.12), rgba(197,160,89,0.04));
    border: 1.5px solid rgba(197,160,89,0.2);
    overflow: hidden;
}
.testimonial-avatar-img span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #C5A059;
}
.testimonial-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ══ SWIPER — Testimonials Overrides ══ */
.swiper-testimonials {
    padding-bottom: 60px !important;
    overflow: visible;
}
.swiper-testimonials .swiper-slide {
    height: auto;
}
.swiper-testimonials .swiper-pagination-bullet {
    background: rgba(197, 160, 89, 0.25);
    width: 8px;
    height: 8px;
    opacity: 1;
    transition: all 0.3s ease;
}
.swiper-testimonials .swiper-pagination-bullet-active {
    background: #C5A059;
    width: 28px;
    border-radius: 4px;
}
.swiper-testimonials .swiper-button-next,
.swiper-testimonials .swiper-button-prev {
    color: #C5A059;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 50%;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    top: calc(50% - 30px);
}
.swiper-testimonials .swiper-button-next:hover,
.swiper-testimonials .swiper-button-prev:hover {
    border-color: rgba(197, 160, 89, 0.5);
    background: rgba(5, 5, 5, 0.9);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.1);
}
.swiper-testimonials .swiper-button-next::after,
.swiper-testimonials .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}
@media (max-width: 768px) {
    .swiper-testimonials .swiper-button-next,
    .swiper-testimonials .swiper-button-prev {
        display: none;
    }
}
