/* Custom Styles and Animations */

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll Reveal Effect */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-slow {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slow.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
    background: #4A0E0E;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF0000;
}

/* Accordion transition */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-item.active svg {
    transform: rotate(45deg);
}

/* Glow Effect for specific elements */
.glow-red {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.glow-red:hover {
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
}

/* Hero Background Fade (Top and Bottom) - Softened Top */
.hero-bg-mask {
    -webkit-mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,1) 30%, 
        rgba(0,0,0,1) 80%, 
        rgba(0,0,0,0) 100%
    );
    mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,1) 30%, 
        rgba(0,0,0,1) 80%, 
        rgba(0,0,0,0) 100%
    );
}

/* Desktop Hero Refinement (Landscape) */
@media (min-width: 1024px) {
    .hero-img-zoom {
        object-position: center 5% !important; /* Focus on the top part (Face/Head) */
    }
    #hero {
        padding-top: 140px; /* Space for the fixed header */
    }
}

/* Mobile Hero (Portrait) - Keeping it as it was */
@media (max-width: 767px) {
    .hero-img-zoom {
        object-position: center center !important;
    }
}

/* Parallax-like scale on scroll */
.hero-img-zoom {
    transition: transform 0.5s ease-out;
}
