/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #222;
  background-color: #f7f7f7;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #111;
  color: #fff;
}

.site-header .logo img {
  height: 48px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.main-nav a:hover {
  color: #ff4081;
}

/* Banner */
.banner {
  width: 100%;
  background: url('banner.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.banner-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.banner h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.banner p {
  font-size: 16px;
}

/* Profiles Section */
.profiles {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.profiles h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.profile-box {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.profile-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.profile-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.profile-box h3 {
  padding: 12px 10px 16px;
  font-size: 18px;
}

/* About + Ratings + Comments */
.about-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 30px;
}

.about-text h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.ratings-comments {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.rating-box {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.rating-box h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.rating-score {
  font-size: 20px;
  font-weight: 700;
  color: #ff9800;
}

.rating-stars {
  font-size: 18px;
  color: #ff9800;
}

.comments-box h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.comments-box ul {
  list-style: disc;
  margin-left: 18px;
}

.comments-box li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: #222;
  color: #ddd;
  padding: 40px 20px 10px;
}

.footer-columns {
  max-width: 1200px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 6px;
}

.footer-col a {
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: #ff4081;
}

.footer-bottom {
  border-top: 1px solid #444;
  text-align: center;
  padding-top: 10px;
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 992px) {
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .banner h1 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}
