/* ===== GENERAL ===== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f1ea;
  color: #333;
  line-height: 1.6;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: url("https://images.unsplash.com/photo-1500382017468-9049fed747ef") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 90px 20px;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(58,47,27,0.45); /* lighter */
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
}

/* ===== NAV ===== */
nav {
  margin-top: 20px;
}

nav a {
  margin: 0 15px;
  color: #f4d03f;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: white;
}

/* ===== MAIN ===== */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

/* ===== HEADINGS ===== */
h1 { font-size: 50px; }
h2 { text-align: center; }

.intro {
  max-width: 700px;
  margin: 20px auto 40px;
  text-align: center;
}
.intro h2 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #2c2c2c;
}

.intro h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #f4d03f;
  margin: 10px auto 0;
}

.intro p {
  font-size: 18px;
  color: #555;
}

/* ===== FEATURED ===== */
.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: center;
}

.card img {
  width: 250px;
  border-radius: 10px;
}

.card-text {
  flex: 1;
}

/* ===== INVENTORY GRID (FIXED + WORKING) ===== */
.gallery-grid {
  max-width: 800px;
  margin: 0 auto;
}

/* ===== INVENTORY CARD ===== */

.inventory-text p {
  margin: 6px 0;
}

/* ===== SIDE-BY-SIDE LAYOUT ===== */
.inventory-card {
  display: flex;
  gap: 15px;
}

/* Thumbnail */
.inventory-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}


/* Text */
.inventory-text {
  flex: 1;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  background: #ddd;
}

/* ===== PERMISSIONS ===== */
.permission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.permission-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid #f4d03f;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.permission-card iframe {
  width: 100%;
  height: 300px;
  border-radius: 8px;
}

/* ===== SEARCH ===== */
input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .inventory-card {
    flex-direction: column;
    text-align: center;
  }

  .inventory-card img {
    width: 70%;
    max-width: 250px;
    margin-bottom: 10px;
  }

  .inventory-text {
    text-align: center;
  }

  .card {
    flex-direction: column;
    text-align: center;
  }

  .permission-grid {
    grid-template-columns: 1fr;
  }
}
