/* Custom styles for Mogul Hearts */

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

/* Prevent flash of hidden content - all content is visible by default */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0f7;
}
::-webkit-scrollbar-thumb {
    background: #ba94c0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7b3d85;
}

/* Selection color */
::selection {
    background: #d6bfdc;
    color: #1f0e21;
}

/* Navbar scroll state */
header.scrolled {
    background: rgba(255, 251, 245, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(63, 25, 72, 0.08);
}

header.scrolled .font-serif {
    color: #412045;
}

/* Hero image gradient overlay */
.hero-image-overlay {
    position: relative;
}
.hero-image-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(31, 14, 33, 0.15), transparent);
    border-radius: 0 0 1.5rem 1.5rem;
    pointer-events: none;
}

/* Service card hover - already handled by Tailwind */

/* Mobile menu animations */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Pulse animation for CTA */
@keyframes subtle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.cta-pulse {
    animation: subtle-pulse 3s ease-in-out infinite;
}

/* Decorative heart float */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero {
        padding-top: 100px;
    }
    
    .font-serif {
        line-height: 1.15;
    }
}

/* Print styles */
@media print {
    header, #contact-form, iframe {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
