:root {
  --primary-color: #ff4786;
  --background-color: #141414;
  --text-color: #ffffff;
  --secondary-color: #564d4d;
}

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

body {
  font-family: Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

.navbar {
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.919) 10%,
    rgba(20, 20, 20, 0.564)
  ) !important;
  padding: 1rem 4% !important;
}

.logo {
  height: 40px;
  width: 40px;
}

.logo-el {
  height: 100%;
  width: 100%;
}


.nav-item a {
  color: white !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-item a:hover, .nav-item a.active {
  color: var(--primary-color) !important;
}


.mobile-menu {
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0) 10%, rgba(20, 20, 20, 0));
    width: 100%;
    z-index: 1000;
    padding: 25px 10px;
}

#menu-toggle .icon.times {
    display: none; 
}

#menu-toggle {
    display: none; 
}



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

.nav-right input {
  padding: 0.5rem;
  margin-right: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--text-color);
  max-width: 150px;
}

.nav-right input::placeholder {
  color: gray;
}

.sign-in-btn {
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  cursor: pointer;
  transition: all 0.3s;
}

.sign-in-btn:hover {
  background-color: var(--text-color);
  color: var(--background-color);
}

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.cart-icon:hover {
  color: var(--primary-color);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: var(--text-color);
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}


@media (max-width: 768px) {

  .mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 60px;
    right: 0;
    background: linear-gradient(
      to bottom,
      rgba(20, 20, 20, 0.919) 10%,
      rgba(20, 20, 20, 0.564)
    );
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
  }

  #menu-toggle {
    display: block;
  }

  .navbar-nav {
    font-size: 16px !important;
    align-items: center;
    justify-content: center;
  }

  .featured-content {
    max-width: 100%;
  }

  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .nav-right input, .sign-in-btn {
    display: none;
  }


  .cart-icon {
    margin-left: 0;
  }

  .container {
    width: 95%;
  }

}

.container {
  width: 80%;
  max-width: 600px;
  margin: auto;
  padding: 120px 20px 20px;
}

.contact-form {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.25rem;
  font-size: 1rem;
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 71, 134, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.send-btn {
  display: block;
  /* width: 100%; */
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.send-btn:hover {
  background-color: #ff2d6d;
}

.send-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 71, 134, 0.5);
}

footer {
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 2rem 4%;
  text-align: center;
  border-top: 1px solid var(--secondary-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

footer p {
  font-size: 0.9rem;
  color: var(--secondary-color);
}
