/* Custom Styles for Simply Jcgthebarber */

/* Base Typography */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(200%);
    }
}

.hero-reveal {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-reveal:nth-child(1) { animation-delay: 0.1s; }
.hero-reveal:nth-child(2) { animation-delay: 0.2s; }
.hero-reveal:nth-child(3) { animation-delay: 0.3s; }
.hero-reveal:nth-child(4) { animation-delay: 0.4s; }

/* Floating Cards */
.floating-card-1 {
    animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
    animation: float 5s ease-in-out infinite 1s;
}

/* Scroll Animation */
.animate-scroll {
    animation: scroll 1.5s linear infinite;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Service Card Hover */
.service-card {
    position: relative;
}

.service-card img {
    transition: transform 0.7s ease, opacity 0.5s ease;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.5s ease, pointer-events 0.5s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Clip Path for Hero Background */
.clip-path-slant {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Vertical Text */
.writing-vertical-rl {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

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

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

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

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