/* ─── Custom Styles for Prompt Care, Inc. ─── */

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

/* ─── Geometric Shapes ─── */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: #fdf8ee;
    top: -100px;
    right: 15%;
    animation: float 8s ease-in-out infinite;
}

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

.circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    top: 40%;
    right: 8%;
    animation: float 7s ease-in-out infinite;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #fdf8ee;
    top: 25%;
    left: 60%;
    animation: spin 20s linear infinite;
    opacity: 0.08;
}

.square {
    width: 100px;
    height: 100px;
    background: #f5e4b0;
    bottom: 15%;
    right: 25%;
    transform: rotate(45deg);
    animation: float 9s ease-in-out infinite;
    opacity: 0.1;
}

.ring {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 20px solid white;
    top: 60%;
    left: 10%;
    animation: float 5s ease-in-out infinite reverse;
    opacity: 0.08;
}

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

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

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

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

/* ─── Navbar Scroll State ─── */
#navbar.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* ─── Button Focus States ─── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
}

/* ─── Selection Color ─── */
::selection {
    background: #f8c4b0;
    color: #5f2c1a;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .geo-shape {
        display: none;
    }
}
