/* =========================================================
   🎨 J&B Antique Vintage Variety Thrift Store Stylesheet
   Author: TL / J&B Thrift Project
   Last Updated: November 2025
   ========================================================= */

/* 🧱 GLOBAL STYLES */
body {
  margin: 0;
  padding: 0;
  font-family: Georgia, serif;
  background-color: #F3E9D2; /* beige */
  color: #3A2E2A; /* dark brown */
  line-height: 1.6;
}

h1, h2, h3 {
  color: #C5A052; /* gold */
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
}

p, blockquote {
  text-align: center;
  margin: 0.5em auto;
  max-width: 800px;
}

a {
  color: #C5A052;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* =========================================================
   🪞 HEADER & NAVIGATION
   ========================================================= */
.banner {
  position: relative;
  text-align: center;
  color: #fff;
}

.banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(70%);
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.banner-text h1 {
  font-size: 2.5em;
  margin: 0;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.banner-text p {
  font-size: 1.2em;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Navigation Bar */
nav {
  background-color: #3A2E2A;
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 3px solid #C5A052;
  border-bottom: 3px solid #C5A052;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 10px 25px;
}

nav ul li a {
  color: #F3E9D2;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: bold;
  font-size: 1.3em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s, transform 0.2s;
}

nav ul li a:hover {
  color: #C5A052;
  transform: translateY(-2px);
}

/* Responsive Navigation */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  nav ul li {
    margin: 8px 0;
  }
  nav ul li a {
    font-size: 1em;
    letter-spacing: 0.3px;
  }
}

/* =========================================================
   ✝️ SECTIONS
   ========================================================= */
section {
  padding: 40px 20px;
  text-align: center;
  border-bottom: 1px solid #C5A052;
}

blockquote {
  font-style: italic;
  color: #3A2E2A;
  border-left: 4px solid #C5A052;
  margin: 20px auto;
  padding-left: 10px;
}

/* =========================================================
   ✝️ BACK TO TOP
   ========================================================= */

/* =========================================================
   📱 LEARN MORE
   ========================================================= */
   
.mission-learn-more {
    text-align: center;
    margin-top: 15px;
}

.learn-more-btn {
    display: inline-block;
    padding: 8px 16px;          /* smaller size */
    background-color: #F3E9D2;  /* your site’s BEIGE accent */
    color: #C5A052; /* gold */
    text-decoration: none;
    font-size: 0.95rem;         /* smaller text */
    font-weight: 500;
    border-radius: 6px;         /* softer, rounded edges */
    transition: 0.25s ease;
}

.learn-more-btn:hover {
    background-color: #F3E9D2;  /* hover matches site theme */
    transform: scale(1.05);     /* subtle hover motion */
}
/* =========================================================
   🖼️ GALLERY STYLING (2x2 Merchandise + Larger Gaps)
   ========================================================= */
.gallery, .map-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; /* adds slim space between images */
  margin-top: 20px;
  justify-items: center;
}

/* 🛍️ Default Merchandise Gallery (View Online, Collectibles, etc.) */
.gallery img {
  width: 2in;
  height: 2in;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 3px;
}

/* 🗺️ Map Gallery (Slightly Larger) */
.map-gallery img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin: 10px;
}

/* 🏠 Inside-the-Store Gallery (full-size, airy layout) */
#inside-store .gallery {
  gap: 10px;
}

#inside-store .gallery img {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin: 10px;
}

/* 🖼️ Décor & Special Finds - Uniform 2.5x2.5 in */
#decor .gallery img,
#special-finds .gallery img {
  width: 2.5in;
  height: 2.5in;
  object-fit: cover;
  border-radius: 10px;
  margin: 5px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effects (applies everywhere) */
.gallery img:hover,
.map-gallery img:hover,
#inside-store .gallery img:hover,
#decor .gallery img:hover,
#special-finds .gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

/* =========================================================
   🗺️ MAP CAPTIONS BELOW EACH IMAGE
   ========================================================= */
.map-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.map-step img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.map-step img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.map-caption {
  font-family: Georgia, serif;
  font-size: 0.95em;
  color: #3A2E2A;
  background-color: #F8F3E2;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 15px;
  max-width: 280px;
  line-height: 1.4;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* =========================================================
   🎨 BALANCED SPACING + GOLD DIVIDERS (FINAL ADJUSTMENT)
   ========================================================= */

/* Apply consistent gold dividers and tighter vertical spacing */
#inside-store,
#appliances,
#collectibles,
#decor,
#special-finds,
#shoes {
  margin-top: 25px;          /* smaller top gap for continuity */
  margin-bottom: 35px;       /* tighter bottom spacing */
  padding-bottom: 20px;      /* keeps the divider neatly below images */
  border-bottom: 2px solid rgba(197, 160, 82, 0.5); /* ✨ soft gold line */
}

/* Keep grid spacing even and prevent overlap */
#collectibles .gallery,
#decor .gallery,
#special-finds .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(2.5in, 1fr));
  justify-items: center;
  align-items: center;
  row-gap: 15px;  /* balanced vertical space inside each gallery */
  column-gap: 15px;
  overflow: hidden;
}
/* =========================================================
   🖼️ UNIVERSAL LIGHTBOX (ENLARGE ON CLICK)
   ========================================================= */
#lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

/* Enlarged Image Style */
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

#lightbox img:hover {
  transform: scale(1.02);
}

/* =========================================================
   🔗 SOCIAL BUTTONS
   ========================================================= */
.social-follow, .social-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1em;
}

.follow-btn, .social-btn {
  text-decoration: none;
  color: #fff;
  padding: 10px 16px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.follow-btn i, .social-btn i {
  margin-right: 8px;
}

/* Platform Colors */
.facebook { background-color: #3b5998; }
.instagram { background-color: #C13584; }
.twitter { background-color: #1DA1F2; }
.pinterest { background-color: #E60023; }
.tiktok { background-color: #000000; }
.email { background-color: #6C757D; }
.copylink { background-color: #C5A052; }

/* Hover Effects */
.follow-btn:hover, .social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  filter: brightness(1.1);
}

/* =========================================================
   📢 TOAST POPUP (Copy Link Confirmation)
   ========================================================= */
.toast {
  visibility: hidden;
  min-width: 320px;
  background-color: #F3E9D2;
  color: #C5A052;
  text-align: center;
  border-radius: 25px;
  padding: 12px;
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 1000;
  font-weight: bold;
  font-family: Georgia, serif;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.5s, bottom 0.5s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 60px;
}

/* =========================================================
   🧾 FOOTER
   ========================================================= */
footer {
  background-color: #3A2E2A;
  color: #F3E9D2;
  text-align: center;
  padding: 25px 10px;
  font-size: 0.95em;
  line-height: 1.6;
  border-top: 3px solid #C5A052;
}

footer p {
  margin: 6px auto;
  max-width: 800px;
}


/* =========================================================
   📱 RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 768px) {
  .banner-text h1 {
    font-size: 1.8em;
  }
  .banner-text p {
    font-size: 1em;
  }
  section {
    padding: 25px 10px;
  }

  .gallery img {
    width: 1.8in;
    height: 1.8in;
  }

  #decor .gallery img,
  #special-finds .gallery img {
    width: 2in;
    height: 2in;
  }
}
