/* Apply Nunito font family globally */
body {
    font-family: 'Nunito', sans-serif;
}

/* Custom background image for the hero section */
.hero-background {
    background-image: url('gallery/hero_background.webp'); /* Updated with the actual path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* On small and medium screens, right justify the hero background image */
@media (max-width: 1023px) {
    .hero-background {
        background-position: right;
    }
}

/* Added for the notification banner to be hidden by default */
.notification-banner.hidden {
    display: none;
}

/* Ensure that sections are properly offset by the fixed header height when deep-linking */
section[id] {
    scroll-margin-top: 180px; /* Increased to show more background color above the section when navigated to */
}

/* Snake animation keyframes (commented out as requested) */
/* @keyframes slither {
    0% { left: -100px; }
    10% { left: 0vw; }
    100% { left: 150vw; }
}
#snake-animation {
    animation: slither 8s linear 1;
} */

/* Custom Popup Modal Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: #0A0203;
    border: 2px solid #FFCC4E;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.popup-overlay.show .popup-modal {
    transform: scale(1);
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.popup-icon.success {
    color: #4CAF50;
}

.popup-icon.error {
    color: #f44336;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.popup-message {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.popup-button {
    background: #FFCC4E;
    color: #0A0203;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #0A0203;
}

.popup-button:hover {
    background: #E6B846;
    transform: scale(1.05);
}
