/* Main Styling */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Card styling */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

/* Buttons */
.btn {
    border-radius: 0.25rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-outline-success {
    color: #28a745;
    border-color: #28a745;
}

.btn-outline-success:hover {
    background-color: #28a745;
    color: white;
}

/* Hero section */
.jumbotron {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 3rem 2rem;
}

/* State cards */
.state-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.state-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 2rem 0;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* Rating badge */
.badge.bg-success {
    font-size: 0.85rem;
    padding: 0.35rem 0.5rem;
}

/* Search results animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#searchResults {
    animation: fadeIn 0.5s ease-out;
}

#resultsContainer .col {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: backwards;
}

#resultsContainer .col:nth-child(1) { animation-delay: 0.1s; }
#resultsContainer .col:nth-child(2) { animation-delay: 0.2s; }
#resultsContainer .col:nth-child(3) { animation-delay: 0.3s; }
#resultsContainer .col:nth-child(4) { animation-delay: 0.4s; }
#resultsContainer .col:nth-child(5) { animation-delay: 0.5s; }
#resultsContainer .col:nth-child(6) { animation-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1rem;
    }
    
    .card-img-top {
        height: 150px;
    }
}