/* Custom styles for Pondville Cardiology Associates */

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

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

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(61, 224, 130, 0.12) 0%, transparent 70%);
    top: 10%;
    left: -5%;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(61, 224, 130, 0.08) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    background: rgba(61, 224, 130, 0.1);
    bottom: 20%;
    left: 40%;
    border-radius: 50%;
    animation: float 5s ease-in-out infinite;
}

.shape-rect-1 {
    width: 80px;
    height: 80px;
    background: rgba(61, 224, 130, 0.06);
    top: 25%;
    right: 35%;
    border-radius: 20px;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite reverse;
}

.shape-diamond {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.04);
    bottom: 30%;
    right: 25%;
    border-radius: 12px;
    transform: rotate(30deg);
    animation: float 9s ease-in-out infinite;
}

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

.shape-diamond {
    animation-name: floatDiamond;
}

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

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08);
}

.nav-scrolled .menu-line {
    background: #1e3a5f !important;
}

/* Mobile menu */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e8eef5;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .shape-circle-1,
    .shape-circle-2,
    .shape-circle-3,
    .shape-rect-1,
    .shape-diamond {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #9fb8db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #789ccf;
}
