/* ================================================
   QuirkyThrift - Final Unified Style.css
   Works with both index.html and featured.html
   ================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f4f4f4;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==================== TOP BAR ==================== */
.top-bar {
  background: #ffffff;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo2 img {
  height: 62px;
  width: auto;
}

/* ==================== MENU BAR ==================== */
.menu-bar {
  background: #1a1a1a;
  color: white;
  padding: 0 5%;
}

.menu-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 62px;
}

.main-menu {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

.main-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.main-menu a:hover,
.main-menu a.active {
  color: #00b894;
}

.vinted-link a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 22px;
  border: 2px solid #00b894;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.vinted-link a:hover {
  background: #00b894;
  color: #1a1a1a;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
  flex: 1;
  background: white;
  padding: 2.5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: #1a1a1a;
  text-align: center;
  font-weight: 700;
}

/* Disclaimer */
.ai-disclaimer {
  font-style: italic;
  color: #666;
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 700px;
  font-size: 0.95rem;
}

/* ==================== FEATURED ITEMS - SINGLE COLUMN ==================== */
.items-grid-single {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 520px;
  margin: 0 auto;
}

.item-card-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.item-card-single:hover {
  transform: translateY(-8px);
}

/* Left Column - AI Video */
.left-column {
  position: relative;
}

.left-column video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  border-radius: 12px;
}

/* Right Column - Top image + Bottom text */
.right-column {
  display: flex;
  flex-direction: column;
}

.right-top {
  flex: 1;
  padding-bottom: 12px;
}

.right-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.right-bottom {
  padding-top: 12px;
  text-align: center;
}

.right-bottom h3 {
  font-size: 1.28rem;
  margin-bottom: 0.8rem;
}

.item-price {
  font-size: 1.48rem;
  font-weight: 700;
  color: #00b894;
  margin-bottom: 1rem;
}

.view-btn {
  background: #1a1a1a;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
}

.view-btn:hover {
  background: #00b894;
}

/* Unmute Button */
.unmute-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

.unmute-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
}

/* Refresh Button */
.refresh-container {
  text-align: center;
  margin-bottom: 2.5rem;
}

.refresh-button {
  background: #00b894;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 1.05rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refresh-button:hover {
  background: #00a07e;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 2.2rem 1rem;
  margin-top: auto;
}

.footer a {
  color: #00b894;
}

.footer a:hover {
  color: #00d4a8;
}

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
  .item-card-single {
    grid-template-columns: 1fr;
  }
  .left-column video {
    min-height: 300px;
  }
  .right-top img {
    height: 180px;
  }
}

.thumb-sidebar {
  position: sticky;
  top: 30px;
  align-self: flex-start;
}

.thumb-list img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #ddd;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.thumb-list img:hover {
  border-color: #ff6b9d;   /* Quirky pink accent – change to match your site */
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.thumb-list img.active {
  border-color: #ff6b9d;
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.4);
  transform: scale(1.05);
}

/* Style for the big featured item (make it stand out) */
.featured-item {
  border: 4px solid #ff6b9d;
  border-radius: 12px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.featured-item img {
  width: 100%;
  border-radius: 8px;
}