/* Basic styles from original file */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
}

/* Hide scrollbar for aesthetics */
::-webkit-scrollbar {
    display: none;
}

/* Simple spinner for loading states */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #4CAF50;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal styles */
.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
    padding: 1.5rem;
    position: relative;
    margin: 2rem 0;
    transition: transform 0.25s ease;
    transform: translateY(-20px) scale(0.95);
}

.modal.is-open .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: #9CA3AF; /* gray-400 */
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: #374151; /* gray-700 */
}

/* Custom File Input */
.file-input {
    font-size: 0.875rem;
    color: #6B7280; /* gray-500 */
}
.file-input::file-selector-button {
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 0;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: #E0F2F1; /* primary/10 */
    color: #4CAF50; /* primary */
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.file-input:hover::file-selector-button {
    background-color: #B2DFDB; /* primary/20 */
}

/* --- NEW ANIMATIONS --- */

/* Hero Text Animations */
@keyframes slide-in-top {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slide-in-bottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fade-in 0.5s ease-out;
}
.animate-slide-in-top {
    animation: slide-in-top 0.5s ease-out 0.2s both;
}
.animate-slide-in-bottom {
    animation: slide-in-bottom 0.5s ease-out 0.4s both;
}


/* On-Scroll Fade-in Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Hover Animation */
.card-hover-animation {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-animation:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.gallery-card-hover {
    transition: transform 0.3s ease, filter 0.3s ease;
}
.gallery-card-hover:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}