/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Photo Container Styles */
.photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.photo-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Animation Styles */
.parallax {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.parallax:hover {
    transform: translateZ(20px) scale(1.05);
}

.zoom {
    transition: transform 0.5s ease;
    overflow: hidden;
}

.zoom:hover {
    transform: scale(1.2);
}

.pan {
    transition: transform 10s ease;
    overflow: hidden;
}

.pan:hover {
    transform: scale(1.1) translate(-5%, -5%);
}

/* Audio Player Styles */
.audio-player {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.audio-player audio {
    width: 100%;
    height: 40px;
}

/* Animation Controls */
.animation-controls {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #343a40;
}

.card-img-top {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 200px;
    object-fit: cover;
}

/* Button Styles */
.btn-primary {
    background-color: #4a6fdc;
    border-color: #4a6fdc;
}

.btn-primary:hover {
    background-color: #3a5fc9;
    border-color: #3a5fc9;
}

.btn-outline-primary {
    color: #4a6fdc;
    border-color: #4a6fdc;
}

.btn-outline-primary:hover {
    background-color: #4a6fdc;
    color: white;
}

/* Jumbotron Styles */
.jumbotron {
    border-radius: 8px;
    background: linear-gradient(135deg, #4a6fdc 0%, #3a5fc9 100%);
    color: white;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
}

/* Form Styles */
.form-control:focus {
    border-color: #4a6fdc;
    box-shadow: 0 0 0 0.25rem rgba(74, 111, 220, 0.25);
}

.form-select:focus {
    border-color: #4a6fdc;
    box-shadow: 0 0 0 0.25rem rgba(74, 111, 220, 0.25);
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
footer {
    margin-top: auto;
    background-color: #343a40;
    color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .photo-container {
        margin-bottom: 1rem;
    }

    .animation-controls {
        margin: 1rem 0;
    }

    .card-body {
        padding: 1rem;
    }

    .card-img-top {
        height: 150px;
    }
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Loading Spinner */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}