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

/* Default link style */
a {
  color: #176359;          /* Your primary link color */
  text-decoration: none;   /* Remove underline for a cleaner look */
}

/* Visited links */
a:visited {
  color: #4a7b6e;          /* A slightly different color for visited links */
}

/* Hover effect */
a:hover {
  color: #4caf50;          /* Brighter color on hover */
  text-decoration: underline; /* Underline on hover for clarity */
}

/* Active link (when clicking) */
a:active {
  color: #176359;          /* Same as the default or adjust as needed */
}

/* ===== Fixed Header ===== */
header.header {
  background: #222;
  padding: 10px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
header .logo img {
  max-height: 40px;
}

/* Navigation Bar */
nav {
  background: #333;
  margin-top: 80px; /* Increased from 70px */
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}
nav ul li {
  margin: 0 15px;
}
nav a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  font-weight: bold;
}
nav a:hover {
  background: #444;
}

/* Main Content Area */
main {
  padding: 20px 10px;
  max-width: 1200px;
  margin: 90px auto 10px; /* Adjust if needed */
}
.page-title {
  text-align: center;
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 10px;
}
.intro-text {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* ===== Model Grid ===== */
.model-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.grid-item {
  background: #fff;
  border-radius: 4px;
  width: 300px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
}
.grid-item img {
  width: 100%;
  display: block;
}
.grid-caption,
.grid-status,
.grid-category {
  padding: 8px;
  font-size: 14px;
}
.grid-status {
  color: #176359;
}
.grid-category a {
  color: #176359;
}
/* Model Grid Caption Button Style */
.grid-caption a {
  display: inline-block;         /* Makes it behave like a button */
  background-color: #176359;       /* Primary button color */
  color: #fff;                   /* White text */
  padding: 8px 12px;             /* Adequate button padding */
  border: none;                  /* Remove any borders */
  border-radius: 4px;            /* Rounded corners */
  text-decoration: none;         /* No underline */
  font-size: 14px;               /* Set a readable font size */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.grid-caption a:hover {
  background-color: #4caf50;     /* Brighter background on hover */
  color: #fff;                   /* Text color remains white */
}


/* ===== Footer ===== */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

/* ===== 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;
  padding: 20px;
}
#age-content {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
}
.btn-age {
  padding: 10px 20px;
  margin: 10px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}
.enter-btn {
  background: #4caf50;
  color: #fff;
}
.exit-btn {
  background: #555;
  color: #fff;
}

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