/* Custom styles for T Blenden Counseling */

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

/* Geometric shapes for hero */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 3px solid white;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: white;
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid white;
    top: 30%;
    left: 10%;
    animation: float 7s ease-in-out infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid white;
    opacity: 0.08;
    top: 20%;
    right: 15%;
    transform: rotate(15deg);
    animation: rotate 12s linear infinite;
}

.geo-square {
    width: 120px;
    height: 120px;
    border: 3px solid white;
    bottom: 20%;
    right: 8%;
    transform: rotate(45deg);
    animation: float 9s ease-in-out infinite;
}

.geo-dots {
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, white 2px, transparent 2px);
    background-size: 15px 15px;
    top: 50%;
    right: 25%;
    opacity: 0.2;
}

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

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-logo-text {
    color: #064e3b !important;
}

.nav-scrolled .nav-link {
    color: #374151 !important;
}

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

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

/* Service card hover effects */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .animate-bounce {
        animation: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        transition: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 4px;
}

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

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}
