/* Custom styles for The Family Fork */

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

/* Selection color */
::selection {
    background: #be185d;
    color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdf2f8;
}
::-webkit-scrollbar-thumb {
    background: #be185d;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* Geometric shape keyframe animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}
@keyframes floatCircle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.geo-square {
    animation: float 6s ease-in-out infinite;
}
.geo-circle {
    animation: floatCircle 8s ease-in-out infinite;
}

/* Image lazy load fade-in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}
img[loading="lazy"].loaded {
    opacity: 1;
}

/* Subtle pattern overlay for sections */
.bg-pattern {
    background-image: radial-gradient(circle, rgba(190, 24, 93, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

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

/* Print styles */
@media print {
    .navbar, .geo-circle, .geo-square, .blob {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
