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

  body {
  background-color: #f9f9f9;
  color: #000;
  }

  header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 100;
  }
  
  header .logo {
  font-size: 32px;
  font-weight: bold;
  }
  
  header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  }
    
  header nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #000;
  font-size: 18px;
  padding: 5px 0;
  cursor: pointer;
  white-space: nowrap;
  }
    
  .home-icon {
  display: block;
  width: 20px;
  height: 20px;
  }
  
  header nav a, .genres-btn {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  padding: 5px 0;
  cursor: pointer;
  }
  
  .genres {
  position: relative;
  display: flex;
  align-items: center;
  }
  
  .dropdown {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background-color: #fff;
  border: 1px solid #333;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  min-width: 200px;
  padding: 10px 0;
  }
  
  .dropdown.show {
  display: block;
  }
  
  .dropdown-item {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  position: relative;
  }
  
  .dropdown-item:hover {
  background-color: #f5f5f5;
  }
  
  .sub-dropdown {
  display: none;
  position: absolute;
  right: 100%;
  top: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 10px 0;
  border-radius: 5px;
  }
  
  .sub-dropdown.show {
  display: block;
  }
  
  .sub-dropdown a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #000;
  font-size: 17px;
  }
  
  .sub-dropdown a:hover {
  background-color: #f0f0f0;
  }
  
  .hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  }
  
  .hamburger .line {
  width: 100%;
  height: 3px;
  background-color: #333;
  }
  
  @media (max-width: 768px) {
  header nav {
  display: none;
  width: 100%;
  position: absolute;
  top: 60px;
  left: 0;
  background-color: #fff;
  border-top: 1px solid #ddd;
  z-index: 100;
  flex-direction: column;
  }
  
  header nav.open {
  display: flex;
  }
  
  header nav a {
  padding: 10px 20px;
  width: 100%;
  border-bottom: 1px solid #ddd;
  }
  
  .hamburger {
  display: flex;
  }

  .genres {
  justify-content: flex-start;
  width: 100%;
  }
  
  .dropdown {
  display: none;
  position: static;
  box-shadow: none;
  }
  
  .dropdown.show {
  display: block;
  position: static;
  }

  .dropdown-item {
  position: relative;
  }

  .sub-dropdown {
  left: 100%;
  top: 0;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 10px 0;
  border-radius: 5px;
  }

  .sub-dropdown.show {
  display: block;
  }

  .sub-dropdown a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #000;
  font-size: 17px;
  }

  .sub-dropdown a:hover {
  background-color: #f0f0f0;
  }
}

  
  .main-banner {
  height: 650px;
  text-align: center;
  padding: 40px 20px;
  background-image: url('../../images/main_page/banner/banner_1.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative; 
  }
    
  .main-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  }
    
  .main-banner h1 {
  font-family: "IBM Plex Sans", serif;
  font-weight: 200;
  font-size: 102px;
  letter-spacing: 8px;
  z-index: 2;
  }
    
  .main-banner p {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  margin: 10px 0;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  z-index: 2;
  }
    
  .main-banner button {
  margin-top: 15px;
  padding: 10px 30px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  border: 1px solid #fff;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s ease;
  }
    
  .main-banner button:hover {
  background-color: rgba(0, 0, 0, 0.8);
  }

    
  .catalog {
  padding: 40px 20px;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  }

  .catalog::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 1px;
  background-color: #000;
  top: auto;
  bottom: 0;
  }

  .catalog h2 {
  font-family: "Cinzel", serif;
  text-align: center;
  font-size: 47px;
  margin-bottom: 40px;
  }

  .catalog-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  gap: 40px;
  }

  .catalog-text {
  flex: 1.1;
  font-family: "Titillium Web", serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.5;
  padding: 0 20px;
  }

  .catalog .items {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex: 1.5;
  }

  .catalog .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 260px;
  height: 380px;
  justify-content: space-between;
  }
      
  .catalog .item img {
  width: 100%;
  height: 50%;
  object-fit: cover;
  border-radius: 8px;
  }
      
  .catalog .item h3 {
  font-family: "IBM Plex Sans", serif;
  font-weight: 500;
  font-size: 21px;
  margin-top: 15px;
  }
      
  .catalog .item p {
  font-family: "Titillium Web", serif;
  font-size: 16px;
  line-height: 1.4;
  flex-grow: 1;
  display: flex;
  align-items: center;
  }
      
  .catalog .item button {
  height: 40px;
  width: 150px;
  padding: 8px 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  border: 1px solid #000;
  background-color: #fff;
  cursor: pointer;
  margin-top: auto;
  }


  .blog {
  padding: 40px 20px;
  background-color: #f5f5f5;
  text-align: center;
  position: relative;
  }
    
  .blog::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background-color: #000;
  }
    
  .blog h2 {
  font-family: "Cinzel", serif;
  font-size: 47px;
  margin-bottom: 40px;
  }
    
  .blog-posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  }
    
  .blog-post {
  width: 280px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  }
    
  .blog-post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  }
    
  .blog-post h3 {
  font-family: "IBM Plex Sans", serif;
  font-weight: 500;
  font-size: 22px;
  margin-top: 15px;
  }
    
  .blog-post p {
  font-family: "Titillium Web", serif;
  font-size: 16px;
  line-height: 1.4;
  margin-top: 10px;
  }
    
  .blog-toggle,
  .close-content {
  display: block;
  margin-top: 15px;
  padding: 10px 30px;
  font-size: 16px;
  border: 1px solid #000;
  cursor: pointer;
  text-align: center;
  width: 100%;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  }
    
  .close-content {
  background-color: #f1f1f1;
  color: #000;
  display: none;
  }
    
  .blog-content {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
  }
    
  .toggle-input {
  display: none;
  }
    
  .toggle-input:checked + .blog-toggle {
  display: none;
  }
  
  .blog-posts:has(.toggle-input:checked) .blog-content {
  opacity: 0;
  height: 0;
  }
    
  .blog-post:has(.toggle-input:checked) .blog-content {
  opacity: 1;
  height: auto;
  margin-top: 20px;
  }
    
  .blog-post:has(.toggle-input:checked) .close-content {
  display: block;
  }
  
  
  .social {
  padding: 40px 20px;
  background-color: #fff;
  position: relative;
  display: flex;
  justify-content: center;
  }
  
  .social .team-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1000px;
  width: 100%;
  }
  
  .social .text-content {
  flex: 1;
  text-align: left;
  }
  
  .social .text-content h2 {
  font-family: "Cinzel", serif;
  font-size: 47px;
  margin-bottom: 35px;
  }
  
  .social .text-content p {
  font-family: "Titillium Web", serif;
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 25px 0;
  }
  
  .social .buttons {
  display: flex;
  gap: 20px;
  }
  
  .social button {
  padding: 10px 30px;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  border: 1px solid #000;
  background-color: #fff;
  cursor: pointer;
  }
  
  .social .image-content {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  }
  
  .social .image-content img {
  max-width: 270px;
  height: auto;
  }
  

  footer {
  padding: 40px 60px;
  background-color: #222;
  color: #fff;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  }
      
  footer .contact-info {
  margin-bottom: 30px;
  }
      
  footer .contact-info p {
  font-size: 22px;
  line-height: 1.4;
  margin: 10px 0;
  }
    
  footer .social-media {
  margin-bottom: 30px;
  }
      
  footer .social-media a {
  margin: 0 15px;
  font-size: 21px;
  text-decoration: none;
  color: #f9f9f9;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
  }
      
  footer .social-media a:hover {
  color: #ff7f00;
  }

  footer .contact-icon {
  margin-right: 7px;
  }
      
  footer .newsletter {
  margin-bottom: 30px;
  }
      
  footer .newsletter h3 {
  font-size: 24px;
  margin-bottom: 15px;
  }
      
  footer form {
  display: flex;
  justify-content: center;
  gap: 10px;
  }
      
  footer input[type="email"] {
  padding: 12px;
  font-size: 18px;
  border: none;
  border-radius: 4px;
  width: 300px;
  }
      
  footer button {
  padding: 12px 25px;
  font-size: 18px;
  border: solid 1px #f9f9f9;
  border-radius: 4px;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  }
      
  footer button:hover {
  background-color: #ff7f00;
  }
      
  footer .footer-info p {
  font-size: 17px;
  margin: 5px 0;
  }


  @media (max-width: 768px) {
  header {
  padding: 15px;
  }

  header .logo {
  font-size: 24px;
  }

  header nav {
  flex-direction: column;
  gap: 10px;
  }

  header nav a {
  font-size: 16px;
  padding: 8px 0;
  }

  .main-banner {
  height: 500px;
  background-size: cover;
  background-position: center;
  padding: 20px;
  }

  .main-banner h1 {
  font-size: 50px !important;
  }

  .main-banner p {
  font-size: 17px !important;
  }

  .main-banner button {
  font-size: 15px;
  }

  .catalog-content {
  flex-direction: column;
  gap: 20px;
  }

  .catalog-text {
  font-size: 20px;
  }

  .catalog .item {
  width: 100%;
  height: auto;
  }

  .catalog .item img {
  width: 100%;
  height: auto;
  }

  .catalog .item button {
  width: 70px;
  font-size: 14px;
  margin-top: 10px;
  }

  .blog-post {
  width: 100%;
  }

  .blog-post img {
  height: 200px;
  object-fit: cover;
  }

  .social .team-content {
  flex-direction: column;
  align-items: center;
  padding: 20px;
  }

  .social .text-content p {
  font-size: 18px;
  }

  .social .image-content img {
  display: none;
  }

  footer {
  padding: 20px 30px;
  }

  footer .newsletter input[type="email"] {
  width: 100%;
  }

  footer button {
  width: 100%;
  }
}


  @media (max-width: 1024px) {
  .main-banner {
  height: 550px;
  }

  .main-banner h1 {
  font-size: 80px;
  }

  .main-banner p {
  font-size: 20px;
  }

  .catalog-content {
  flex-direction: column;
  }

  .catalog .item {
  width: 45%;
  height: auto;
  }

  .catalog .item img {
  width: 100%;
  height: 250px;
  }

  .catalog .item p {
  margin-top: 10px;
  }

  .catalog .item button {
  margin-top: 10px;
  width: 100%;
  }

  .blog-post {
  width: 45%;
  }

  .social .team-content {
  padding: 20px;
  }

  footer .newsletter input[type="email"] {
  width: 250px;
  }

  footer button {
  width: 250px;
  }
}