/*
Theme Name: Adepth Custom Theme
Theme URI: https://adepth.ro/
Author: Alex
Author URI: https://adepth.ro/
Description: A modern, high-converting custom theme for Adepth Marketing Agency, built with Tailwind CSS, custom page templates, and rich interactive sections.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adepth-theme
*/

/* Base styles for scrollbars and custom utility animations */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark ::-webkit-scrollbar-track {
    background: #1e293b;
}

.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

.opening-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #101922;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: revealSite 1s cubic-bezier(0.8, 0, 0.2, 1) 2.5s forwards;
    transform-origin: top;
    pointer-events: all;
}

.opening-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    opacity: 0;
    animation: logoSequence 2s ease-in-out 0.2s forwards;
}

@keyframes revealSite {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
        pointer-events: none;
        visibility: hidden;
    }
}

@keyframes logoSequence {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    20% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    80% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 0;
        transform: scale(1.1) translateY(-20px);
    }
}

.hero-animate {
    opacity: 0;
    animation: heroFadeIn 1s ease-out 2.8s forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@supports (animation-timeline: view()) {
    .scroll-reveal {
        opacity: 0;
        animation: fadeUpReveal linear forwards;
        animation-timeline: view();
        animation-range: entry 10% entry 40%;
    }

    @keyframes fadeUpReveal {
        from {
            opacity: 0;
            transform: translateY(80px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Fade In animation for mobile menu accordion */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}