* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

header {
    margin-bottom: 30px;
}

header h1 {
    font-size: 3rem;
    font-weight: 500;
    color: #ff6347;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    color: #555;
}

.search-section {
    margin: 30px 0;
}

.search-section input {
    width: 60%;
    padding: 15px;
    font-size: 1.2rem;
    border: 2px solid #ccc;
    border-radius: 50px;
    outline: none;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-section input:focus {
    border-color: #ff6347;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-section button {
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #ff6347;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
}

.search-section button:hover {
    background-color: #ff4500;
}

#recommendations {
    margin-top: 40px;
}

#recommendations h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

#moviesList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.movie-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: center;
    overflow: hidden;
}

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

.movie-card img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
}

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

.movie-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-top: 15px;
}

.movie-card p {
    font-size: 1rem;
    color: #777;
}

footer {
    margin-top: 40px;
    font-size: 1rem;
    color: #555;
}

.load-more-button {
    padding: 12px 20px;
    font-size: 1rem;
    background-color: #ff6347;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.load-more-button:hover {
    background-color: #ff4500;
}
/* Input Field Focus */
.search-section input:focus {
    border-color: #ff6347;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Button Hover Effect */
.search-section button:hover {
    background-color: #ff4500;
}
