/*
==========================================================
Israel Animal Rescue
Custom Stylesheet

Purpose:
- Custom styling
- Animations
- Future expansion

Tailwind handles most styling.
This file handles branding and enhancements.
==========================================================
*/


/*
==========================================================
Global
==========================================================
*/

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}


/*
==========================================================
Typography
==========================================================
*/

.page-title {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.section-title {
    font-weight: 600;
}


/*
==========================================================
Navigation
==========================================================
*/

.nav-link {
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #ea580c;
}


/*
==========================================================
Cards
==========================================================
*/

.animal-card {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.animal-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 24px rgba(
            0,
            0,
            0,
            0.12
        );
}


/*
==========================================================
Images
==========================================================
*/

.animal-image {
    object-fit: cover;

    transition:
        transform 0.3s ease;
}

.animal-card:hover .animal-image {
    transform: scale(1.03);
}


/*
==========================================================
Buttons
==========================================================
*/

.btn-primary {

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;

}

.btn-primary:hover {

    transform: translateY(-1px);

}

.btn-primary:active {

    transform: translateY(0);

}


/*
==========================================================
Forms
==========================================================
*/

input,
textarea,
select {

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}

input:focus,
textarea:focus,
select:focus {

    outline: none;

    box-shadow:
        0 0 0 3px rgba(
            249,
            115,
            22,
            0.15
        );

}


/*
==========================================================
Flash Messages
==========================================================
*/

.flash-success {

    animation:
        fadeIn 0.4s ease;

}

.flash-error {

    animation:
        fadeIn 0.4s ease;

}


/*
==========================================================
Hero Section
==========================================================
*/

.hero-gradient {

    background:
        linear-gradient(
            135deg,
            #fff7ed,
            #ffffff
        );

}


/*
==========================================================
Support Page
==========================================================
*/

.support-card {

    transition:
        transform 0.2s ease;

}

.support-card:hover {

    transform:
        translateY(-3px);

}


/*
==========================================================
Loading Spinner
==========================================================
*/

.spinner {

    width: 48px;
    height: 48px;

    border: 4px solid #e5e7eb;

    border-top: 4px solid #f97316;

    border-radius: 50%;

    animation:
        spin 1s linear infinite;

}


/*
==========================================================
Utilities
==========================================================
*/

.shadow-soft {

    box-shadow:
        0 4px 12px rgba(
            0,
            0,
            0,
            0.08
        );

}

.shadow-hover {

    transition:
        box-shadow 0.25s ease;

}

.shadow-hover:hover {

    box-shadow:
        0 12px 24px rgba(
            0,
            0,
            0,
            0.12
        );

}


/*
==========================================================
Animations
==========================================================
*/

@keyframes fadeIn {

    from {

        opacity: 0;
        transform: translateY(10px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

@keyframes spin {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}


/*
==========================================================
Mobile
==========================================================
*/

@media (max-width: 768px) {

    .page-title {

        font-size: 2rem;

    }

}


/*
==========================================================
Future Expansion

Search
Filtering
Maps
Volunteer Profiles
Organizations
Veterinarians
Success Stories

==========================================================
*/