/* Custom styles for A One Family Practice */

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

/* Navigation transitions */
.nav-text {
    transition: color 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-blur-lg;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding-top: 12px;
    padding-bottom: 12px;
}

#navbar.scrolled .nav-text {
    color: #0f172a;
}

/* Mobile menu */
.mobile-link {
    transition: color 0.3s ease;
}

/* Service cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Geometric shapes - Hero */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: #fbbf24;
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: #fbbf24;
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #fbbf24;
    top: 30%;
    right: 10%;
    transform: rotate(15deg);
}

.square-1 {
    width: 120px;
    height: 120px;
    background: #fbbf24;
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
}

.circle-3 {
    width: 80px;
    height: 80px;
    background: #fbbf24;
    border-radius: 50%;
    top: 15%;
    left: 15%;
}

/* Geometric shapes - About section */
.gold-circle-1 {
    width: 500px;
    height: 500px;
    background: #fbbf24;
    border-radius: 50%;
    top: -150px;
    right: -150px;
    opacity: 0.05;
}

.gold-circle-2 {
    width: 300px;
    height: 300px;
    background: #fbbf24;
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    opacity: 0.05;
}

/* Geometric shapes - Community section */
.navy-square-1 {
    width: 200px;
    height: 200px;
    background: #0f172a;
    top: 10%;
    right: 5%;
    opacity: 0.03;
    transform: rotate(30deg);
}

.navy-circle-1 {
    width: 150px;
    height: 150px;
    background: #0f172a;
    border-radius: 50%;
    bottom: 10%;
    left: 10%;
    opacity: 0.03;
}

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

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

.circle-1 { animation: float 8s ease-in-out infinite; }
.circle-2 { animation: float-slow 10s ease-in-out infinite; }
.triangle-1 { animation: float 12s ease-in-out infinite; }
.square-1 { animation: float-slow 9s ease-in-out infinite; }
.circle-3 { animation: float 7s ease-in-out infinite; }

/* Scroll reveal animation */
.service-card, .geo-shape {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible, .geo-shape.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for service cards */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }
