/* style.css - QuirkyThrift with Texas A&M Corpus Christi Colors */

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0067C5;        /* Islander Blue - Main background */
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Bar - White for clean contrast */
.top-bar {
  background: white;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.logo img {
  height: 60px;
  width: auto;
}

/* Menu Bar - Darker blue for depth */
.menu-bar {
  background: #003f7f;               /* Darker shade of Islander Blue */
  color: white;
  padding: 0 5%;
}

.menu-bar ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  height: 56px;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.menu-bar a:hover,
.menu-bar a.active {
  color: #00c4ff;                    /* Bright accent blue */
}
/* new menu bar */
/* Menu Bar Layout - Left + Right */
.menu-bar {
  background: #003f7f;
  color: white;
  padding: 0 5%;
}

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

.main-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

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

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

/* Vinted Store Link on the right */
.vinted-link a {
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 2px solid #00c4ff;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.vinted-link a:hover {
  background: #00c4ff;
  color: #003f7f;
  transform: translateY(-1px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .menu-container {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 1rem;
  }
  
  .main-menu {
    gap: 1.2rem;
  }
  
  .vinted-link a {
    padding: 10px 20px;
    font-size: 1.1rem;
  }
}
/* Main Content Area - White cards on blue background */
.main-content {
  flex: 1;
  background: white;
  color: #111;
  padding: clamp(2rem, 6vw, 4rem) 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  border-radius: 0 0 12px 12px;
}

/* Featured Items Grid */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.item-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.item-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: opacity 0.6s ease-in-out;
}

.item-info {
  padding: 1.2rem;
}

.item-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.item-price {
  font-size: 1.35rem;
  font-weight: bold;
  color: #0067C5;                    /* Islander Blue */
  margin-bottom: 1rem;
}

.view-btn {
  display: inline-block;
  background: #0067C5;               /* Islander Blue */
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.view-btn:hover {
  background: #0052a3;               /* Darker blue on hover */
}

/* About Us Specific Styles */
.intro {
  font-size: 1.25rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #333;
}

.story h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #0067C5;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: #f0f7ff;
  padding: 2rem 1.8rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #cce0ff;
}

.value-card h3 {
  margin-bottom: 1rem;
  color: #0067C5;
}

/* Footer */
.footer {
  background: #003f7f;
  color: #ddd;
  text-align: center;
  padding: 1.8rem 1rem;
  font-size: 0.95rem;
  margin-top: auto;
}

.footer a {
  color: #ffffff;           /* Pure white */
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #00c4ff;           /* Bright blue on hover */
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .logo img { 
    height: 48px; 
  }
  
  .item-card img { 
    height: 200px; 
  }
}

@media (max-width: 520px) {
  .menu-bar ul {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 1.1rem;
  }
}

.model-side video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  border-radius: 0 12px 0 0;   /* Optional: round top right corner */
}

/* Make video look nicer */
.model-side {
  position: relative;
  overflow: hidden;
}

.model-side video {
  transition: opacity 0.6s ease;
}

/* Two Column Layout - Photo + Video */
.items-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
  gap: 2rem;
}

.item-card-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.item-card-2col:hover {
  transform: translateY(-6px);
}

/* Make both sides same height */
.photo-side, .video-side {
  position: relative;
  overflow: hidden;
}

.photo-side img,
.video-side video {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* This is key - keeps proportions */
  min-height: 380px;           /* Forces similar height */
}

/* Info section below both images */
.item-info-2col {
  grid-column: 1 / -1;
  padding: 1.2rem;
  text-align: center;
  background: #f8f9fa;
}

/* Mobile - Stack vertically */
@media (max-width: 768px) {
  .items-grid-2col {
    grid-template-columns: 1fr;
  }
  
  .item-card-2col {
    grid-template-columns: 1fr;
  }
  
  .photo-side img,
  .video-side video {
    min-height: 280px;
  }
}

