/* Custom Styles for ErinMarieDoesHair */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(20px) rotate(-5deg);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

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

/* Geometric Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E85D4A, #ff8f70);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E85D4A, #ff8f70);
    bottom: 20%;
    left: 5%;
    animation: floatReverse 10s ease-in-out infinite;
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E85D4A, #ff8f70);
    top: 30%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.geo-rect-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #E85D4A, #ff8f70);
    bottom: 15%;
    right: 10%;
    border-radius: 24px;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.geo-diamond {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E85D4A, #ff8f70);
    top: 25%;
    right: 20%;
    border-radius: 12px;
    transform: rotate(45deg);
    animation: floatReverse 7s ease-in-out infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #E85D4A;
    top: 60%;
    right: 5%;
    opacity: 0.05;
    animation: float 9s ease-in-out infinite;
}

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in {
        animation: none;
        opacity: 1;
    }
    
    .geo-shape {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        transition: none;
    }
}

/* Mobile Menu Active State */
#mobileMenu.active {
    opacity: 1;
    pointer-events: all;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    width: 20px;
    margin-left: 0;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar Scrolled State */
.navbar-scrolled {
    background: rgba(17, 18, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 93, 74, 0.1);
}

/* Service Card Hover */
.service-card {
    transform: translateY(0);
}

/* Custom Selection */
::selection {
    background: #E85D4A;
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #1e2024;
}

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

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