/* Base styles */
body {
  background-color: #0d0d0d;
  color: #eee;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

header, footer {
  background-color: #1a1a1a;
  padding: 20px;
}

h1, h2 {
  margin: 0 0 15px 0;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.tab {
  padding: 10px 20px;
  cursor: pointer;
  background: #222;
  margin: 0 5px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}
.tab.active {
  background: #1caad9;
  color: #fff;
}

/* Gallery */
#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.model-slot {
  background-color: #222;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,0.1);

  /* Fade/slide transition */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.model-slot.visible {
  opacity: 1;
  transform: translateY(0);
}

.sketchfab-embed-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}

.model-info {
  color: #aaa;
  font-size: 14px;
  margin-top: 10px;
}

.model-title, .model-author {
  color: #1caad9;
  text-decoration: none;
}
.model-title:hover, .model-author:hover {
  text-decoration: underline;
}

/* Info Section */
.info-section {
  margin-top: 40px;
  display: none;
}
.info-section.visible { display: block; }
.info-toggle {
  background: #1caad9;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

/* Footer */
footer p {
  color: #ccc;
  margin: 0;
}
