/* Resetting default margins and paddings */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;

}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    color: white;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0 30px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 5px 10px;
}

.nav-links a:hover {
    text-decoration: underline;
} 


.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 715px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    padding: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
    padding: 0 65px;
  }
}
/* Main Section Styling */

.main-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('https://i.pinimg.com/736x/19/8b/2f/198b2f01e73b905772279616eccc7c65.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Adding a semi-transparent overlay */
.main-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    z-index: 1;
}

/* Content Overlay */
.overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 90%;
}


.title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 20px;
}


.start-btn {
    padding: 10px 20px;
    font-size: 1.1rem;
    color: white;
    background: orange;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.start-btn:hover {
    background: darkorange;
}



/* Questionnaire Container */ 

body{
    background:url('https://i.pinimg.com/736x/19/8b/2f/198b2f01e73b905772279616eccc7c65.jpg') no-repeat center center/cover ;
    
}
.questionnaire-container {
    width: 700px;
    height: 550px; /* Fixed height */
    margin: 100px auto;
    padding:22px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://getwallpapers.com/wallpaper/full/4/9/8/829658-free-download-movie-backgrounds-1920x1080.jpg') no-repeat center center/cover;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
    overflow: hidden; /* Prevents content overflow */
    display: flex;
    flex-direction: column;
}

/* Scrollable Content */
.questionnaire-container form {
    overflow-y: auto;
    max-height: 400px; /* Allows scrolling */
    padding-right: 10px; /* Space for scrollbar */
    padding: 35px;
}

Custom Scrollbar */
.questionnaire-container form::-webkit-scrollbar {
    width: 8px;
}

.questionnaire-container form::-webkit-scrollbar-thumb {
    background: orange;
    border-radius: 10px;
}

.questionnaire-container form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
}
.questionnaire-container h1 {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 3rem;
    color: rgb(255, 255, 255); /* Ensure text is visible */
}
.questionnaire-container h2{
    text-align: center;
}
.question {
    margin-bottom: 25px;
    font-size: 20px;
}

label {
    font-size: 1.1rem;
    color: #ddd; /* Adjust label color for better visibility */
}

button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: orange;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}

button:hover {
    background-color: rgb(103, 103, 90);
}


.form-step {
    display: none;
}

.form-step.active {
    justify-content:baseline;
    text-align: center;
    display: block;
}

.emoji-options {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.emoji-btn {
    font-size: 3.5rem; /* Bigger emojis */
    cursor:grab;
    transition: transform 0.2s ease-in-out;
}

.emoji-btn:hover {
    transform: scale(1.5); /* Slight zoom on hover */
}

input[type="radio"] {
    display: none; /* Hide default radio buttons */
}

input[type="radio"]:checked + .emoji-btn {
    transform: scale(1.3); /* Make selected emoji bigger */
    border: 3px solid #007bff; /* Highlight selected */
    border-radius: 50%;
    padding: 15px;
}
/* occasion */
.option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.option-btn {
    font-size: 1.2rem;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.option-btn:hover {
    background-color: #8814e0;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked + .option-btn {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
}


.form-navigation {
    display: flex;
    justify-content: space-between;  /* Space between buttons */
    margin-top: 10px;  /* Add some space from the question above */
}

/* language */
.language-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 90px;
    margin-top: 45px;
    justify-content: center;
}

.language-options input[type="radio"] {
    display: none; /* Hide default radio button */
}

.language-options label {
    padding: 10px 15px;
    background-color: #504d4d;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.language-options input[type="radio"]:checked + label {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    transform: scale(1.05);
    transition: 0.2s;
}
.language-options label:hover {
    background: #8814e0;
}

/* industry */
.industry-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;  /* Space between options */
    margin-top: 45px;
    margin-bottom: 90px;
    justify-content: center;
}

.industry-options label {
    background: #504d4d;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
}

/* Hide the default checkbox */
.industry-options input {
    display: none;
}

/* Style when checkbox is checked */
.industry-options input:checked + label {
    background: #007bff;  /* Blue color when selected */
    color: white;
    border: 2px solid #0056b3; /* Darker blue border */
    transform: scale(1.05);
    transition: 0.2s;

}

/* Hover effect */
.industry-options label:hover {
    background: #8814e0;
}

/* Navigation buttons styling */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* genre */
.genre-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
}

.genre-options input {
    display: none; /* Hide default checkboxes */
}

.genre-options label {
    padding: 8px 12px;
    background-color: #504d4d;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.genre-options input:checked + label {
    background-color: #007bff;
    color: white;
    transform: scale(1.05);
    transition: 0.2s;
}

@media (max-width: 768px) {
  .questionnaire-container {
    width: 90%;
    height: auto;
    margin: 50px auto;
    padding: 15px;
  }

  .questionnaire-container h1 {
    font-size: 2rem;
  }

  .questionnaire-container h2 {
    font-size: 1.2rem;
  }

  .questionnaire-container form {
    max-height: none;
    padding: 15px;
  }

  .emoji-options {
    flex-wrap: wrap;
    gap: 15px;
  }

  .emoji-btn {
    font-size: 2.5rem;
  }

  .option-group,
  .language-options,
  .industry-options,
  .genre-options {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .option-btn,
  .language-options label,
  .industry-options label,
  .genre-options label {
    font-size: 1rem;
    padding: 8px 12px;
    width: 100%;
    text-align: center;
  }

  .form-navigation {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .form-navigation button {
    width: 100%;
    font-size: 1rem;
  }
}


/* Recommendations Container */
/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: white;
    margin: 0;
    padding: 0;
}

/* Recommendations Container */
.recommendations-container {
    text-align: center;
    padding: 20px;
}

/* Movies Grid */
.movie-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Movie Card */
.movie-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out;
    text-align: center;
    padding: 10px;
}

.movie-card:hover {
    transform: scale(1.05);
}

/* Movie Poster */
.movie-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

/* Movie Details */
.movie-title {
    font-size: 18px;
    font-weight: bold;
}

.movie-genre {
    font-size: 14px;
    color: #bbbbbb;
}

.movie-rating {
    font-size: 16px;
    color: #f5c518; /* IMDb-like yellow color */
}

/* Buttons */
.watch-btn {
    display: block;
    margin: 10px auto;
    padding: 8px 16px;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.watch-btn:hover {
    background-color: #d10812;
}





body {
    background-image: url('https://i.pinimg.com/736x/19/8b/2f/198b2f01e73b905772279616eccc7c65.jpg'); /* Replace with your actual image */
    background-size: cover; /* Ensures the image covers the entire screen */
    background-repeat: no-repeat; /* Prevents repeating */
    background-attachment: fixed; /* Keeps the image fixed while scrolling */
    background-position: center center; /* Centers the image */
}
