/* Custom Styles for Amazing Cleaning Service */

/* Base Styles */
* {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric Background Elements */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #34d399, #10b981);
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle--2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #a7f3d0, #6ee7b7);
    bottom: 20%;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    top: 50%;
    left: 50%;
    animation: float 10s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.08;
}

.geo-triangle--1 {
    border-width: 0 60px 100px 60px;
    border-color: transparent transparent #10b981 transparent;
    top: 30%;
    left: 5%;
    transform: rotate(15deg);
    animation: float 7s ease-in-out infinite;
}

.geo-square {
    position: absolute;
    opacity: 0.1;
}

.geo-square--1 {
    width: 80px;
    height: 80px;
    background: #34d399;
    border-radius: 12px;
    top: 60%;
    right: 10%;
    transform: rotate(45deg);
    animation: float 9s ease-in-out infinite reverse;
}

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

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-float-delayed {
    animation: float-delayed 6s ease-in-out infinite;
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slide-up 0.8s ease-out forwards;
}

.animate-slide-up-delay {
    animation: slide-up 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delayed {
    animation: slide-up 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.service-card:hover::before {
    opacity: 1;
}

/* Mobile Menu Animation */
#mobileMenuBtn.active #line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobileMenuBtn.active #line2 {
    opacity: 0;
}

#mobileMenuBtn.active #line3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #10b981, #059669);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #059669, #047857);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geo-circle--1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-circle--2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-triangle--1 {
        border-width: 0 40px 70px 40px;
    }
    
    .geo-square--1 {
        width: 50px;
        height: 50px;
    }
}

/* Focus Styles for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .geo-circle,
    .geo-triangle,
    .geo-square,
    .animate-float,
    .animate-float-delayed {
        display: none;
    }
}
