/* Premium visual styling rules for Bhaukaal Media Agency (Ultra-Premium White Theme) */

/* Smooth custom minimalist scrollbars suited for light backgrounds */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f4f4f5;
}
::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff5e36;
}

/* Typographic gradients for clean luxury designs */
.text-glow {
    text-shadow: 0 0 25px rgba(255, 94, 54, 0.1);
}

.text-gradient-orange-gold {
    background: linear-gradient(135deg, #ff5e36 0%, #ff7d1a 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-dark-charcoal {
    background: linear-gradient(135deg, #09090b 20%, #3f3f46 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pure White Glassmorphism panel styling */
.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
}

/* Premium Framer card hover lift effect */
.hover-lift {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(255, 94, 54, 0.08);
    border-color: rgba(255, 94, 54, 0.2);
}

/* Custom glowing borders following light framer concepts */
.glow-card {
    position: relative;
    overflow: hidden;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 94, 54, 0.04), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glow-card:hover::before {
    opacity: 1;
}

.glow-card-border {
    position: relative;
}

.glow-card-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 94, 54, 0.15) 0%, rgba(212, 175, 55, 0.06) 50%, transparent 100%);
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glow-card-border:hover::after {
    opacity: 1;
}

.glow-card-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.98);
}

/* Custom interactive luxury cursor optimized for light background */
@media (min-width: 1024px) {
    .custom-cursor {
        width: 8px;
        height: 8px;
        background: #ff5e36;
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 9999;
        transition: width 0.2s, height 0.2s, background-color 0.2s;
    }
    
    .custom-cursor-follower {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(255, 94, 54, 0.4);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 9998;
        transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s, border-color 0.3s, width 0.3s, height 0.3s;
    }
    
    /* Cursor hover modifications */
    body.cursor-hover .custom-cursor {
        width: 12px;
        height: 12px;
        background-color: #d4af37;
    }
    
    body.cursor-hover .custom-cursor-follower {
        width: 52px;
        height: 52px;
        background-color: rgba(255, 94, 54, 0.04);
        border-color: #ff5e36;
    }
}

/* Testimonial slider layouts */
.slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Framer/Sociwave Matte Dark-Hover Button Animation System */
.btn-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff5e36 0%, #ff7d1a 100%) !important; /* Dynamic brand-orange initial state */
    color: #ffffff !important;
    border: 1px solid rgba(255, 94, 54, 0.15) !important;
    box-shadow: 0 4px 15px rgba(255, 94, 54, 0.12) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1;
}

.btn-premium,
.btn-premium * {
    color: #ffffff !important;
    stroke: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #09090b; /* Luxurious matte dark charcoal/black background */
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.btn-premium:hover {
    transform: translateY(-4px) scale(1.015);
    color: #ffffff !important;
    border-color: rgba(255, 94, 54, 0.25) !important;
    box-shadow: 0 12px 30px -4px rgba(9, 9, 11, 0.35), 0 8px 20px -6px rgba(255, 94, 54, 0.3) !important;
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-premium > * {
    position: relative;
    z-index: 2;
}

/* Ensure all child elements like icons and text transition to high-contrast white on hover */
.btn-premium:hover * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.border-glow-orange {
    box-shadow: 0 8px 30px rgba(255, 94, 54, 0.12);
}

/* Spline and layered design lines for light grids */
.glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 94, 54, 0.12) 50%, transparent 100%);
}

.glow-line-vertical {
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 94, 54, 0.08) 50%, transparent 100%);
}

/* Mobile responsive menu drawer */
#mobile-drawer {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Badge glow styles */
.badge-glow {
    background: rgba(255, 94, 54, 0.03);
    border: 1px solid rgba(255, 94, 54, 0.1);
    box-shadow: 0 0 15px rgba(255, 94, 54, 0.02) inset;
}

/* Hide horizontal scrollbars for clean Framer horizontal flows */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Grab cursor interaction for carousel */
.cursor-grab {
    cursor: grab;
}
.cursor-grab:active {
    cursor: grabbing;
}

/* Infinite Loop Marquee Animation */
@keyframes loop-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    display: flex;
    width: max-content;
    animation: loop-marquee 30s linear infinite;
}
.animate-marquee:hover {
    animation-play-state: paused;
}

/* UGC Video Card Hover Styles */
.video-showcase-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(255, 94, 54, 0.08);
    border-color: rgba(255, 94, 54, 0.2);
}
.video-showcase-img {
    filter: grayscale(100%);
    opacity: 0.9;
    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-showcase-card:hover .video-showcase-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}
.video-showcase-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}
.video-showcase-card:hover .video-showcase-play {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Premium glassmorphic metric badge */
.glass-badge {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.03);
}
.glass-badge-gold {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px 0 rgba(212, 175, 55, 0.05);
}

/* Premium CSS-driven Social Icon Buttons */
.social-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background-color: rgba(9, 9, 11, 0.05) !important;
    color: #4b5563 !important; /* Pristine Slate Gray Text */
    border: 1px solid rgba(9, 9, 11, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.social-icon-btn:hover {
    background-color: rgba(255, 94, 54, 0.15) !important;
    color: #ff5e36 !important; /* Active Brand Orange */
    border-color: rgba(255, 94, 54, 0.2) !important;
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow: 0 4px 15px rgba(255, 94, 54, 0.1) !important;
}

.social-icon-btn svg,
.social-icon-btn i {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important; /* Thick bold strokes for pixel-perfect readability */
    fill: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ================= PREMIUM UX REDESIGN VISUAL EXTENSIONS ================= */

/* Ambient tactile noise overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0.012;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Organic Floating Motion Keyframes */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.8deg); }
}
@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}
.animate-float-slow {
    animation: float-slow 7s ease-in-out infinite;
}
.animate-float-medium {
    animation: float-medium 4.5s ease-in-out infinite;
}

/* Framer luxury glass panels */
.glass-panel-framer {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(20px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(135%) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.015), 0 1px 3px rgba(0, 0, 0, 0.005) !important;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-item.active .accordion-content {
    max-height: 250px;
    padding-top: 1rem;
    opacity: 1;
}
.chevron-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-item.active .chevron-icon {
    transform: rotate(180deg);
}

/* Custom interactive magnetic transitions */
.magnetic-wrap {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ================= PREMIUM UX REDESIGN RESPONSIVE & LAYOUT SWEEP ================= */

/* Global viewport scroll spillage prevention */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
}

/* Global Mobile View Safeguards */
@media (max-width: 640px) {
    /* Prevent columns or grids from overflowing on tight screens */
    .max-w-7xl {
        max-width: 100vw !important;
    }
    
    .scroll-reveal, .scroll-reveal-grid {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Cinematic Hero Extensions */
@keyframes hero-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.hero-shimmer-text {
    background: linear-gradient(90deg, #ff5e36, #ff7d1a, #d4af37, #ff7d1a, #ff5e36);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: hero-shimmer 6s linear infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 94, 54, 0.4); }
    50% { box-shadow: 0 0 20px 6px rgba(255, 94, 54, 0.15); }
}

.cta-glow-pulse {
    animation: glow-pulse 3s infinite ease-in-out;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-12px) translateX(6px) rotate(-1.5deg); }
}

@keyframes float-drift {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-8px) translateX(-8px) rotate(1.2deg); }
}

.animate-float-gentle {
    animation: float-gentle 8s ease-in-out infinite;
}

.animate-float-drift {
    animation: float-drift 9.5s ease-in-out infinite;
}

.hero-dot-grid {
    background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
}

.hero-floating-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.015),
        0 1px 3px rgba(0, 0, 0, 0.005),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.hero-floating-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 94, 54, 0.25);
    box-shadow: 
        0 20px 40px -10px rgba(255, 94, 54, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.02);
    transform: scale(1.03) translateY(-4px);
}

.hero-trust-badge {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.03);
}


