/* ===== Global Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* ===== Fixed Header ===== */
header.header {
  background: #404040;
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
header .logo img {
  max-height: 40px;
}

/* ===== Navigation Bar ===== */
nav {
  background: #404040;
  margin-top: 60px; /* Push below header */
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}
nav ul li {
  margin: 0 15px;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  display: block;
}
nav a:hover {
  background: #4caf50;
}

/* ===== Main Content Area ===== */
main {
  padding: 20px;
  margin: 80px auto 20px; /* Extra top margin to clear fixed header */
  max-width: 1200px;
}

/* ===== Intro Section ===== */
section.intro {
  text-align: center;
  margin-bottom: 30px;
}
section.intro h1 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 10px;
}
section.intro p {
  font-size: 1.1rem;
  color: #555;
}

/* ===== Models Grid ===== */
.model-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.model-grid-item {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  text-align: center;
}
.model-grid-item img {
  width: 100%;
  display: block;
}
.model-grid-caption {
  background: #404040;
  padding: 10px;
}
.model-grid-caption a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  display: block;
  transition: background 0.3s ease;
}
.model-grid-caption a:hover {
  background: #4caf50;
}
.model-grid-status,
.model-grid-category {
  padding: 8px;
  font-size: 14px;
  color: #555;
}
.model-grid-category a {
  color: #404040;
  text-decoration: none;
}
.model-grid-category a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
footer {
  background: #404040;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* ===== Age Verification Overlay ===== */
#age-verification {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px;
}
#age-content {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
}
.btn-age {
  padding: 10px 20px;
  margin: 10px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}
.enter-btn {
  background-color: #4CAF50;
  color: #fff;
}
.exit-btn {
  background-color: #555;
  color: #fff;
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
  .model-grid {
    flex-direction: column;
    align-items: center;
  }
}
