/* Custom Styles for Triple R Barbershop */

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

/* Geometric Shapes Animation */
.geometric-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #d4a843 0%, #e0b95e 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #d4a843 0%, #e0b95e 100%);
    border-radius: 50%;
    top: 60%;
    right: -3%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #d4a843 0%, #e0b95e 100%);
    transform: rotate(45deg);
    top: 30%;
    right: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4a843 0%, #e0b95e 100%);
    border-radius: 20%;
    bottom: 20%;
    left: 15%;
    animation-delay: -15s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #d4a843 0%, #e0b95e 100%);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    top: 80%;
    left: 40%;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(3deg);
    }
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d4a843, #e0b95e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Gallery Item Hover */
.gallery-item {
    height: 250px;
}

.gallery-item.col-span-2 {
    height: 528px;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Button Hover Glow */
.bg-gold-500:hover {
    box-shadow: 0 0 30px rgba(212, 168, 67, 0.4);
}

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geometric-shape {
        opacity: 0.05;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .gallery-item.col-span-2 {
        height: 400px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape {
        animation: none;
    }
    
    .service-card,
    .gallery-item img,
    button,
    a {
        transition: none;
    }
}
