:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e74c3c;
    --text-light: #ecf0f1;
    --text-dark: #2c3e50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    padding-top: 0;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin-top: -1px;
}

.movie-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
}

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

.movie-poster {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-poster {
    transform: scale(1.05);
}

.movie-info {
    padding: 15px;
}

.movie-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
    line-height: 1.3;
    font-size: 0.95rem;
}

.movie-year {
    color: #666;
    font-size: 0.9em;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.movie-rating {
    font-size: 0.85em;
}

.section-title {
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.personal-notes {
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.movie-actions .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

.badge {
    font-size: 0.8em;
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .movie-poster {
        height: 250px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-section .row {
        text-align: center;
    }
}

/* Card improvements */
.card {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* Footer styling */
footer {
    margin-top: auto;
}

/* Search Results Styling */
.search-highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

.movie-card .movie-info {
    padding: 15px;
}

.movie-card .movie-info .movie-title {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.movie-card .movie-info .movie-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.movie-card .movie-info .text-muted {
    font-size: 0.85rem;
}