/* Custom styles for Tailored Gentlemen Global Barbering */

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.1;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 10%;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 140, 140, 0.3);
    border-radius: 50%;
    top: 30%;
    right: 10%;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: 20%;
    left: 20%;
    animation: float 10s ease-in-out infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 140, 140, 0.2);
    top: 15%;
    right: 25%;
    animation: rotate 12s linear infinite;
}

.geo-triangle-2 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 255, 255, 0.15);
    bottom: 30%;
    right: 15%;
    animation: rotate 15s linear infinite reverse;
}

.geo-square-1 {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    top: 60%;
    left: 10%;
    animation: rotate 20s linear infinite;
}

.geo-square-2 {
    width: 60px;
    height: 60px;
    background: rgba(255, 140, 140, 0.2);
    bottom: 15%;
    right: 30%;
    animation: rotate 8s linear infinite reverse;
}

.geo-line-1 {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    top: 45%;
    left: 5%;
    animation: slide 6s ease-in-out infinite;
}

.geo-line-2 {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 140, 0.3), transparent);
    bottom: 40%;
    right: 5%;
    animation: slide 8s ease-in-out infinite reverse;
}

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

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

@keyframes slide {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(30px); opacity: 1; }
}

/* Service cards */
.service-card {
    perspective: 1000px;
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 248, 245, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile menu */
.mobile-menu-open #mobile-menu {
    transform: translateX(0);
}

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

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

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

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9a1635, #ff4f4f);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7f1531, #fa2d2d);
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-circle-2 {
        width: 100px;
        height: 100px;
    }
    
    .geo-circle-3 {
        width: 75px;
        height: 75px;
    }
    
    .geo-triangle-1 {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 70px solid rgba(255, 140, 140, 0.2);
    }
    
    .geo-triangle-2 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 50px solid rgba(255, 255, 255, 0.15);
    }
    
    .geo-square-1 {
        width: 50px;
        height: 50px;
    }
    
    .geo-square-2 {
        width: 30px;
        height: 30px;
    }
    
    .geo-line-1 {
        width: 100px;
    }
    
    .geo-line-2 {
        width: 75px;
    }
}
