/* Additional custom styles and overrides */

/* Smooth scroll offset for fixed navigation */
section[id] {
    scroll-margin-top: 80px;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #fce7eb 0%, #f9d0d9 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f9d0d9 0%, #f3a5b8 100%);
}

/* Selection color */
::selection {
    background: rgba(244, 203, 219, 0.5);
    color: #3a0a17;
}

/* Focus visible styles */
:focus-visible {
    outline: 3px solid #981e40;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-visual {
        display: none;
    }
}

/* Reduced motion preferences */
@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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid #3a0a17;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
}

/* Landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        min-height: auto;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .hero-visual {
        height: 100vh;
    }
}
