/* Custom Styles for Rinconcito Familiar */

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

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(234, 179, 15, 0.3); }
    50% { box-shadow: 0 0 40px rgba(234, 179, 15, 0.6); }
}

/* Apply animations */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(10, 25, 47, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Geometric Shape Animations */
.geometric-shape {
    animation: float 4s ease-in-out infinite;
}

.geometric-shape:nth-child(2) {
    animation-delay: 1s;
}

.geometric-shape:nth-child(3) {
    animation-delay: 2s;
}

/* Image Hover Effects */
.gallery-image {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

::-webkit-scrollbar-track {
    background: #0a192f;
}

::-webkit-scrollbar-thumb {
    background: #eab30f;
    border-radius: 5px;
}

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

/* Text Selection */
::selection {
    background: #eab30f;
    color: #0a192f;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #eab30f;
    outline-offset: 2px;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a192f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(234, 179, 15, 0.2);
    border-top-color: #eab30f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geometric-shape {
        display: none;
    }
    
    .floating-badge {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin-top: 1rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
