/* ================================================
   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;
}

.hero {
  background: linear-gradient(rgba(26,26,26,0.88), rgba(26,26,26,0.92));
  color: white;
  text-align: center;
  padding: 110px 5% 90px;
  margin-bottom: 3rem;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.hero-content p {
  font-size: 1.35rem;
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button, .secondary-button {
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
}

.cta-button {
  background: #00b894;
  color: white;
}

.secondary-button {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.values-section {
  padding: 4rem 5%;
  background: white;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.value-card {
  background: white;
  padding: 2rem 1.8rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
}

.value-card h3 {
  color: #00b894;
  margin-bottom: 1rem;
}

.items-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.item-card-2x2:hover {
  transform: translateY(-3px);
}

.photo-side img,
.video-side video {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.item-info-2x2 {
  grid-column: 1 / -1;
  padding: 1.2rem;
  text-align: center;
  background: #fafafa;
}

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

.view-btn {
  background: #1a1a1a;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
}
/*
.refresh-button {
  background: #00b894;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  cursor: pointer;
}
*/
.footer {
  background: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 2.2rem 1rem;
  margin-top: auto;
}

.footer a {
  color: #00b894;
}

.refresh-container {
  text-align: center;
  margin: 1.5rem 0 2.5rem;
  width: 100%;
}

.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);
}