/* Custom styles for Unity Chiropractic */

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

/* Geometric shape animations */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a7f3d0, #6ee7b7);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #10b981);
    bottom: 15%;
    left: 5%;
    animation-delay: -2s;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid #6ee7b7;
    top: 25%;
    left: 10%;
    transform: rotate(15deg);
    animation-delay: -4s;
}

.rect-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #34d399, #10b981);
    border-radius: 24px;
    bottom: 20%;
    right: 15%;
    transform: rotate(45deg);
    animation-delay: -1s;
}

.dot-grid {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
}

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

/* Mobile menu transitions */
.mobile-link {
    transition: all 0.2s ease;
}

.mobile-link:hover {
    color: #2d5f3b;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6ba378;
}

/* Selection color */
::selection {
    background: #c5dfcc;
    color: #17321f;
}

/* Fade-in animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-shape {
        opacity: 0.1;
    }
    
    .circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .triangle-1 {
        border-left: 80px solid transparent;
        border-right: 80px solid transparent;
        border-bottom: 130px solid #6ee7b7;
    }
    
    .rect-1 {
        width: 100px;
        height: 100px;
    }
}
