/* Custom styles for S7 Icy Bubble */

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

/* Selection color */
::selection {
    background-color: rgba(201, 162, 39, 0.3);
    color: #f0d9a8;
}

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

::-webkit-scrollbar-track {
    background: #042f2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d9488, #14b8a6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #14b8a6, #2dd4bf);
}

/* Fade-in animations for scroll sections */
.fade-in-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in-section {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .group img {
        transition: none;
    }

    .group:hover img {
        transform: none;
    }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Gold gradient animation on hover */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gold-gradient-bg {
    background: linear-gradient(135deg, #d4a574 0%, #f0d9a8 25%, #c9a227 50%, #f0d9a8 75%, #d4a574 100%);
    background-size: 200% 200%;
}

.gold-gradient-bg:hover {
    animation: shimmer 2s ease infinite;
}

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

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(4, 47, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Image lazy loading fallback */
img {
    loading: lazy;
}
