/* ===== Custom Styles for Unique Chimney Sweep ===== */

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

/* ===== Geometric Background Shapes ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.04) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 104px 60px;
    border-color: transparent transparent rgba(74, 222, 128, 0.08) transparent;
    pointer-events: none;
    transform: rotate(15deg);
}

.geo-triangle-1 {
    top: 15%;
    right: 8%;
    animation: float-medium 12s ease-in-out infinite;
}

.geo-square {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(74, 222, 128, 0.12);
    border-radius: 16px;
    pointer-events: none;
    transform: rotate(45deg);
}

.geo-square-1 {
    bottom: 20%;
    left: 5%;
    animation: float-medium 18s ease-in-out infinite reverse;
}

.geo-dots {
    position: absolute;
    top: 30%;
    right: 5%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(74, 222, 128, 0.2) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
    opacity: 0.5;
}

/* ===== Floating Animations ===== */
@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.02); }
    66% { transform: translate(-15px, 20px) scale(0.98); }
}

@keyframes float-medium {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(45deg) translate(15px, -20px); }
}

/* ===== Service Card Hover ===== */
.service-card {
    backdrop-filter: blur(10px);
}

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

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
}

/* ===== Selection Color ===== */
::selection {
    background: rgba(74, 222, 128, 0.3);
    color: #fff;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: rgba(74, 222, 128, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 222, 128, 0.5);
}

/* ===== Scroll Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    .geo-triangle-1 {
        display: none;
    }
    .geo-square-1 {
        display: none;
    }
    .geo-dots {
        display: none;
    }
}
