/* General Styles */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #141414;
    color: #fff;
}

h1, h2, h3 {
    color: #fff;
}

/* Banner Section */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('./source/bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-content {
    position: absolute;
    bottom: 80px;  
    left: 150px;    
    max-width: 600px; 
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.75);
}

/* Netflix Logo */
.netflix-logo img {
    width: 120px;
    margin-bottom: 30px;
}

/* Banner Buttons */
.banner-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.play-btn, .info-btn {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px 20px;
    color: black;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Play Button (Netflix Style) */
.play-btn {
    background-color: #fff;
    color: #000;
    font-weight: bold;
}

.play-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.play-btn:hover {
    background-color: #e6e6e6;
}

/* Info Button */
.info-btn {
    background-color: rgba(109, 109, 110, 0.7);
    color: #fff;
}

.info-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.info-btn:hover {
    background-color: rgba(109, 109, 110, 0.9);
}

/* Hidden Message Section */
.hidden-message {
    display: none;
    padding: 50px;
    text-align: center;
    background-color: #333;
}

.hidden-message img {
    width: 60%;
    max-width: 500px;
    height: auto;
    margin-bottom: 30px;
}

.hidden-message .message-content {
    max-width: 600px;
    margin: 0 auto;
}

.hidden-message .message-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hidden-message .message-content p {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Photo Grid Section */
.photo-grid {
    padding: 50px;
    text-align: center;
    object-fit: cover;
    background-color: #141414;
}

.photo-grid h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 10px;
    justify-items: center;
}

.grid-item img {
    width: 100%;
    max-width: 200px;
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.grid-item img:hover {
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed;
    z-index: 100; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 60%;
    text-align: center;
}

.modal-content img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.message-content h2 {
    color: #000;
    margin-top: 15px;
}

.message-content p {
    color: #333;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Background */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.8); 
}

/* Modal Content */
.modal-content {
    background-color: #333; 
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888; 
    width: 60%; 
    color: white; 
    border-radius: 8px; 
}

/* Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-image {
    max-width: 100%; 
    height: 1000px;
    margin-bottom: 15px; 
    border-radius: 5px; 
}

/* Netflix Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar a {
        margin: 5px 0;
    }
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    width: 98%;
    align-items: center;
}

.netflix-logo {
    height: 30px;
    margin-right: 20px;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.navbar-links li {
    display: inline-block;
}

.navbar-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar-right {
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
}

.search-input {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    outline: none;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.search-btn img {
    width: 20px;
}

.profile-icon img {
    width: 30px;
    border-radius: 50%;
    margin-left: 20px;
}

.play-btn {
    background-color: white;
    color: black;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.play-btn i {
    margin-right: 5px;
}