/* Custom Styles for Boondocks Barbershop */

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

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

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

::-webkit-scrollbar-thumb {
    background: #7f1d1d;
    border-radius: 5px;
}

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

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.animated {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Geometric Shapes */
.geo-shape-1 {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #7f1d1d 0%, #b54545 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 0.1;
}

.geo-shape-2 {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff8080 0%, #ff4d4d 100%);
    border-radius: 50%;
    opacity: 0.15;
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Card Hover Effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Image Hover Zoom */
.gallery-img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-img:hover {
    transform: scale(1.1);
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(253, 248, 244, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(127, 29, 29, 0.1);
}

/* Mobile Menu Animation */
.mobile-menu-line {
    transition: all 0.3s ease;
}

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

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

#mobile-menu-btn.active .mobile-menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Pulse Animation for Badge */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse-ring 1.5s ease-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #7f1d1d 0%, #b54545 50%, #ff8080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-image {
        height: 400px !important;
    }
    
    .floating-badge {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 1rem;
    }
}

/* Print Styles */
@media print {
    nav, .cta-section, .gallery {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
