/* PopcornDB - Movie Database Demo Styles */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-margin-block-start: 80px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

header {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  color: white;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.mobile-menu-content {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  /* right: 0; */
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 1000;
  display: none;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.show-mobile {
  display: none;
}

.mobile-menu-button,
.mobile-menu-close {
  padding: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
}

@media only screen and (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: block;
  }
}
.header-nav {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-nav a,
.mobile-menu-content a {
  padding: 0.5rem;
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #667eea;
}

.header-nav .hide-mobile {
  height: fit-content;
}

header .logo {
  height: 80px;
}

@media only screen and (max-width: 765px) {
  header .logo {
    height: 70px;
  }
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.dropdown-container {
  color: #000;
  padding-block: 20px;
  cursor: pointer;
  position: relative;
}

.dropdown-container .dropdown {
  display: none;
  position: absolute;
  padding: 10px;
  background-color: #fff;
  top: 100%;
  border-radius: 5px;
  z-index: 3;
}

.dropdown-container:hover .dropdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dropdown-container .dropdown ul {
  list-style: none;
}

.dropdown-container .dropdown a {
  display: block;
  white-space: nowrap;
  padding: 10px;
  font-size: medium;
}

/* Site Footer Styles */
.site-footer {
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid #e9ecef;
}

.max-1500px {
  padding: 20px;
  max-width: 1500px;
  margin-inline: auto;
}

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

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  text-align: center;
}

.hidden {
  display: none !important;
}

.footer-logo-img {
  height: 80px;
  /* width: 50px; */
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #495057;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.footer-bottom p {
  margin: 0.5rem 0;
  color: #6c757d;
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

.max-1-line {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.max-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.scroll-bar-hidden::-webkit-scrollbar {
  display: none;
}

.p-10 {
  padding: 10px;
}

.show-more-div {
  margin-block: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.show-more-div a {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 5px;
  font-size: small;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.1);
}
