* 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #D6678D;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

.site-name {
    font-size: 20px;
    font-weight: bold;
}

/*navigation buttons*/
.nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav a:hover {
  background-color: #ffd1d9; 
  color: #333;
}

/*color inig click*/
.nav a:active {
  background-color: #ffb6c1;
  color: #333;
}

.main {
    text-align: center;
    padding: 40px;
}

.title {
    font-size: 36px;
    margin-bottom: 30px;
}

.movie-grid {
  display: grid;

  /*5 movies per row on desktop*/
  grid-template-columns: repeat(5, 1fr);

  gap: 25px;

  width: 100%;
  padding: 0 40px;
  margin: 0 auto;

  text-align: center;
}

/*movie card*/
.movie-item {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background-color: rgba(59, 58, 58, 0.72);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.movie-item img {
  width: 100%;
  height: 300px;        
  object-fit: cover;    
  display: block;

  transition: transform 0.25s ease;
}

.movie-item:hover img {
  transform: scale(1.06);
}

.movie-title {
  width: 100%;
  padding: 12px 10px;
  background-color: #D6678D;
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-align: center;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-item a {
  display: block;
}

.footer {
  background-color: #D6678D;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  margin-top: 60px;
}

.footer p {
  margin: 6px 0;
}


/*para responsive*/

/*large tablets / small laptops*/
@media (max-width: 1200px) {
  .movie-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 30px;
  }
}

/*tablets*/
@media (max-width: 900px) {
  .movie-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 20px;
  }
}

/*phones*/
@media (max-width: 600px) {
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
  }

  .movie-item img {
    height: 260px;
  }
}
@media (max-width: 420px) {
  .movie-grid {
    grid-template-columns: 1fr;
  }

  .movie-item img {
    height: 240px;
  }
}


/*about*/
.about-title {
  margin-top: 30px;
  margin-bottom: 0px;
  font-size: 40px;
}

body {
  color: white;
  font-family: Arial, sans-serif;

  background-image: url("barbieland.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(226, 97, 177, 0.65);
  z-index: -1;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  min-height: 100vh;
  padding: 40px;
}

.about-image {
  padding: 10px; 
  border-radius: 26px;
  background: rgba(255, 192, 203, 0.25); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 8px 30px rgba(255, 105, 180, 0.35),
    inset 0 0 0 1px rgba(255, 182, 193, 0.6);
}

.about-image img {
  width: 500px;
  height: auto;
  display: block;
  border-radius: 18px;
}
.about-text p {
  font-size: 18px;
  margin-bottom: 8px;
  text-align: left;
   line-height: 4.5; 
}
/* ABOUT responsive (mobile friendly) */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
    text-align: center;
  }

  .about-text h1 {
    font-size: 34px;
  }

  .about-text p {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
  }

  .header {
    padding: 14px 18px;
  }

  .site-name {
    font-size: 18px;
  }

  .nav a {
    padding: 6px 12px;
  }
}