:root {
    --primary-color: #0A84FF;
    --secondary-color: #34495e;
    --accent-color: #e74c3c;
    --text-white: #ffffff;
    --text-dark: #2c3e50;
}

body {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    padding-top: 0;
    background-color: #0f0c35;
}

a{
    text-decoration: none;
}

.btn {
    border-radius: 60px;
    padding: 12px 31px 12px 31px;
    font-size: 16px;
    font-weight: 500;
}

.search-form .btn {
    border-radius: 60px;
    font-size: 16px;
    font-weight: 500;
    background-color: #ffffff;

    display: inline-block;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


.navbar {
    padding: 28px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar-brand {
    margin-right: 30px;
}

.navbar-nav .nav-item {
    padding-right: 30px;
}

.nav-item .nav-link {
    font-size: 16px;
    font-weight: 500;
}

.search-form .form-control {
    border-radius: 50px;
    border: 0;
    padding-left: 20px;
}

.search-form .form-control {
    box-shadow: none;
}

.hero-section {
    background-image: url("../img/bg.png");
    color: white;
    padding: 96px 0;
}

.hero-section .content {
    margin: 55px 0;
    padding: 60px 0;
    text-align: center;
}

.hero-heading {
    font-size: 50px;
    font-weight: 600;
    line-height: 60px;
}

.hero-section .content .lead {
    font-size: 18px;
    margin-top: 20px;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .content .btn {
    margin-top: 20px;
}


.movie-card {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.movie-poster {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.movie-info {
    padding: 15px;
}

.movie-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-white);
    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);
    color: var(--text-white);
  font-size: 28px;
  text-align: center;
}

.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;
}