/* Custom styles for Weekend Warriors */

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

/* Geometric Background Shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #d15236 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    background: #e9bc47;
    bottom: 10%;
    left: -50px;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #d15236;
    top: 30%;
    left: 5%;
    opacity: 0.08;
    animation: spin 20s linear infinite;
}

.shape-circle-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #e9bc47 0%, transparent 70%);
    bottom: 5%;
    right: 10%;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.shape-dots {
    background-image: radial-gradient(#d15236 2px, transparent 2px);
    background-size: 30px 30px;
    width: 300px;
    height: 300px;
    top: 20%;
    right: 5%;
    opacity: 0.1;
}

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

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(254, 253, 249, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Mobile menu */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d15236;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-link:hover::after {
    width: 80%;
}

/* Service cards hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

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

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

/* Intersection Observer animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Mobile menu button animation */
.menu-line {
    transition: all 0.3s ease;
}

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

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

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

/* Button hover glow */
button:hover, a:hover {
    cursor: pointer;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    border-color: #f0a68c !important;
    box-shadow: 0 0 0 3px rgba(240, 166, 140, 0.2);
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-square-1 {
        width: 100px;
        height: 100px;
    }
    
    .shape-triangle-1 {
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        border-bottom: 87px solid #d15236;
    }
    
    .shape-dots {
        width: 150px;
        height: 150px;
    }
}
