/* Custom styles for The Barber Suite */

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

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

.circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: white;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #a3c07e;
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid white;
    top: 30%;
    left: 10%;
    animation: spin 20s linear infinite;
    opacity: 0.06;
}

.square-1 {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    bottom: 20%;
    right: 10%;
    transform: rotate(45deg);
    animation: float 10s ease-in-out infinite;
}

.circle-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #a3c07e;
    top: 60%;
    right: 20%;
    animation: float 7s ease-in-out infinite reverse;
}

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

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

/* Service cards */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Mobile menu animations */
#bar1.active {
    transform: translateY(8px) rotate(45deg);
}

#bar2.active {
    opacity: 0;
}

#bar3.active {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #5c8032;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7ea052;
}
