/* ========================================
   Stadium All Star Barber Shop
   Custom Styles
======================================== */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #e85d30;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d9431e;
}

/* ========================================
   Geometric Hero Shapes
======================================== */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #f5e09a 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, #f9d0bd 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation-delay: 2s;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: #f5e09a;
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #f9d0bd;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.shape-ring-1 {
    width: 200px;
    height: 200px;
    border: 4px solid rgba(245, 224, 154, 0.4);
    border-radius: 50%;
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

.shape-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.15) 2px, transparent 2px);
    background-size: 30px 30px;
    top: 0;
    left: 0;
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

.shape-square-1 {
    animation: floatRotate 8s ease-in-out infinite;
}

.shape-triangle-1 {
    animation: floatRotate 7s ease-in-out infinite;
}

.shape-ring-1 {
    animation: float 6s ease-in-out infinite;
}

@keyframes floatRotate {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-25px) rotate(50deg); }
}

/* ========================================
   Pattern Dots (Testimonials)
======================================== */
.pattern-dots {
    background-image: radial-gradient(rgba(255,255,255,0.3) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

/* ========================================
   Service Cards
======================================== */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

/* ========================================
   Gallery Items
======================================== */
.gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   Testimonial Cards
======================================== */
.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Navbar
======================================== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-blur-md;
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

#navbar.scrolled .menu-line {
    background: #1A1410;
}

/* ========================================
   Mobile Menu
======================================== */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ========================================
   Reduced Motion
======================================== */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .service-card,
    .gallery-item,
    .testimonial-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .service-card,
    .gallery-item,
    .testimonial-card {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-bounce {
        animation: none;
    }
}
