/* ============================================
   Mandy Crawford, MD — Custom Styles
   Deep Navy + Warm Gold | Vibrant Modern
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

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

.geo-circle-1 {
    top: 15%;
    right: 5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 20%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.06) 0%, transparent 70%);
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    top: 60%;
    right: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.05) 0%, transparent 70%);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-square-1 {
    top: 40%;
    left: 3%;
    width: 120px;
    height: 120px;
    background: rgba(234, 179, 8, 0.04);
    border: 1px solid rgba(234, 179, 8, 0.08);
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.geo-diamond {
    top: 75%;
    right: 20%;
    width: 80px;
    height: 80px;
    background: rgba(234, 179, 8, 0.03);
    border: 1px solid rgba(234, 179, 8, 0.06);
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite reverse;
}

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

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

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

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .geo-shape {
        animation: none;
    }
}

/* --- Navbar Scroll State --- */
#navbar.scrolled {
    background: rgba(10, 30, 48, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(234, 179, 8, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Custom Select Arrow --- */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23eab308' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* --- Focus Visible --- */
:focus-visible {
    outline: 2px solid #eab308;
    outline-offset: 2px;
}

/* --- Selection --- */
::selection {
    background: rgba(234, 179, 8, 0.3);
    color: #f0f4f8;
}

/* --- Mobile Menu Animation --- */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* --- Button Ripple Effect --- */
button, a {
    position: relative;
    overflow: visible;
}

/* --- Smooth Image Loading --- */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: #102a43;
}

::-webkit-scrollbar-thumb {
    background: #334e68;
    border-radius: 4px;
}

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