/* assets/css/style.css - Light Mode Professional UI */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

:root {
    --primary: #e50914;
    --primary-dark: #b20710;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --card-bg: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

/* Custom Scrollbar - Light */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e9ecef;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Header - Light Glassmorphism */
.header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #ff4d4d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Search */
.search-wrapper .form-control {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    color: var(--text-dark);
}

.search-wrapper .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.suggestions-box {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.suggestion-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.suggestion-item:hover {
    background: #f1f1f1;
}

/* Category Cards - Light */
.category-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 1.5rem 0.5rem;
    text-align: center;
    transition: all 0.25s;
    display: block;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-4px);
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.category-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Movie Cards - Light Compact */
.movie-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    max-width: 200px;
    margin: 0 auto;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.movie-poster {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.03);
}

.status-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(0,0,0,0.7);
    color: white;
}
.status-badge.new { background: #28a745; }
.status-badge.updated { background: #17a2b8; }
.status-badge.upcoming { background: #ffc107; color: #000; }

.movie-info {
    padding: 0.75rem;
}

.movie-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 40px;
    padding: 6px 0;
    font-size: 0.75rem;
    font-weight: 600;
}
.btn-primary:hover {
    background: var(--primary-dark);
}

/* Footer - Light */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
    color: var(--text-muted);
}

.social-icons a {
    color: var(--text-muted);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.social-icons a:hover {
    color: var(--primary);
}

/* Section headings */
h2 {
    font-weight: 700;
    color: var(--text-dark);
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .movie-card {
        max-width: 160px;
    }
    .movie-info h5 {
        font-size: 0.8rem;
    }
}
@media (max-width: 576px) {
    .movie-card {
        max-width: 140px;
    }
}