/* ===== Custom Styles for Dr. Mary Ann Rodriguez ===== */

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

/* Body */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Navbar ===== */
#navbar {
    background: rgba(254, 252, 251, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all duration-500;
}

#navbar.scrolled {
    background: rgba(254, 252, 251, 0.95);
    border-bottom-color: rgba(245, 168, 184, 0.2);
    box-shadow: 0 1px 20px rgba(160, 30, 52, 0.06);
}

/* ===== Hero Blobs ===== */
.hero-blob {
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    animation-delay: 0s;
}

.blob-2 {
    animation-delay: -3s;
}

.blob-3 {
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(18px, -22px) scale(1.04); }
    66% { transform: translate(-12px, 14px) scale(0.96); }
}

/* ===== Service Cards ===== */
.service-card {
    border: 1px solid rgba(245, 216, 204, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(160, 30, 52, 0.15);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #a01e34;
    transition: width 0.2s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* ===== Form Focus States ===== */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(245, 168, 184, 0.3);
}

/* ===== Utility ===== */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}
