/* ========== Global Styles ========== */
body, html {
  background: #eadff1;
  font-family: 'Libre Baskerville', serif;
  color: #233137;
  margin: 0;
  scroll-behavior: smooth;
}

/* ========== Navigation bar ========== */
nav {
  background: #3f5a67;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
nav a {
  color: #eadff1;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.2s ease;
}
nav a:hover {
  color: white;
  transform: scale(1.05);
}

/* ========== Header ========== */
header {
  background: #526c7c;
  color: white;
  text-align: center;
  padding: 5rem 1rem 1.7rem;
}

header img {
  height: 120px;
  margin-bottom: 0;
}


/* ========== Tagline ========== */
.tagline {
      background: #cfd8dc url("../images/stone_texture.jpg") center/cover no-repeat;
      padding: 1rem 2rem;
      text-align: center;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 1.1rem;
      color: #233137;
      position: relative;
}

    .tagline::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(255, 255, 255, 0.1);
      z-index: 0;
    }
    .tagline p,
    .social-icons {
      position: relative;
      z-index: 1;
    }

        .tagline p {
      margin: 0;
      font-size: 1rem;
      font-weight: 600;
      color: #233137;
    }

/* ========== Social Icons ========== */

    .social-icons a {
      color: #526c7c;
      margin-left: 1rem;
      font-size: 1.2rem;
      transition: color 0.3s ease;
    }
    .social-icons a:hover {
      color: #557d8d;
    }

/* ========== Homepage Intro Section ========== */

/* Intro Hero Section */
.intro-section {
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
              url("../images/PraseSerifos1.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-content {
  max-width: 800px;
}

.intro-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.intro-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.intro-btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: #557d8d;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.intro-btn:hover {
  background: #526c7c;
  transform: translateY(-3px);
}


/* ========== Homepage Gallery Preview Section ========== */
    .preview-gallery-section {
      padding: 2rem 2rem 2rem;
      max-width: 1400px;
      margin: auto;
    }
    .preview-gallery-section h2 {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 2rem;
      color: #233137;
    }
    .preview-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }
    .preview-card {
      position: relative;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .preview-card:hover {
      transform: translateY(-7px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }
    .preview-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }
    .preview-card-content {
      padding: 1rem;
      background: #fdfdfd;
    }
    .preview-card-content h3 {
      margin: 0 0 0.5rem;
      font-size: 1.3rem;
      color: #526c7c;
    }
    .preview-card-content p {
      margin: 0;
      font-size: 0.95rem;
      line-height: 1.5;
      color: #233137;
    }
    .preview-card-overlay {
      position: absolute;
      top:0; left:0;
      width:100%;
      height:100%;
      background: rgba(82,108,124,0.8);
      color: white;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
      font-weight: bold;
      font-size: 1.1rem;
      text-align: center;
      padding: 1rem;
    }
    .preview-card:hover .preview-card-overlay {
      opacity: 1;
    }

    .see-more-btn {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        background: #557d8d;
        color: white;
        border-radius: 8px;
        font-weight: bold;
        text-decoration: none;
        transition: background 0.3s ease, transform 0.2s ease;
    }
    .see-more-btn:hover {
        background: #526c7c;
        transform: translateY(-3px);
    }

.preview-gallery-section a{
        color: white;
        text-decoration:none;

}




/* ========== Homepage Shop Section ========== */

    .shop-section {
        background: #dfe7eb;
        padding: 4rem 2rem;
        text-align: center;
        color: #233137;
    }

    .shop-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #526c7c;
    }

    .shop-section p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }

    .shop-btn {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        background: #557d8d;
        color: white;
        border-radius: 8px;
        font-weight: bold;
        text-decoration: none;
        transition: background 0.3s ease, transform 0.2s ease;
    }

    .shop-btn:hover {
        background: #526c7c;
        transform: translateY(-3px);
    }

.shop-section {
  background: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)),
              url("../images/PraseSerifos1.jpg") center/cover no-repeat;
  padding: 4rem 2rem;
  text-align: center;
}


/* ========== Homepage Exhibitions Section ========== */

.exhibitions-section {
  background: #d1dce1; 
  padding: 4rem 2rem;
  text-align: center;
  color: #233137;
}

.exhibitions-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #526c7c;
}

.exhibitions-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.exhibitions-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #557d8d;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.exhibitions-btn:hover {
  background: #526c7c;
  transform: translateY(-3px);
}




/* ========== Homepage Contact Form ========== */

    .contact-section {
      background: #a9b9c2;
      padding: 2rem 1rem;
      text-align: center;
    }
    .contact-section h2 {
      margin-bottom: 1rem;
      color: #233137;
      font-size: 2rem;
    }
    .contact-form {
      max-width: 600px;
      margin: auto;
      background: white;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .contact-form label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: bold;
      text-align: left;
      color: #526c7c;
    }
    .contact-form input,
    .contact-form textarea {
      width: 95%;
      padding: 0.75rem;
      margin-bottom: 1rem;
      border: 1px solid #a9b9c2;
      border-radius: 8px;
      font-family: 'Libre Baskerville', serif;
      font-size: 1rem;
    }
    .contact-form button {
      background: #557d8d;
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    .contact-form button:hover {
      background: #526c7c;
    }


.contact-section {
  background: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)),
              url("../images/contact_bcr.jpg") center/cover no-repeat;
  padding: 4rem 2rem;
  text-align: center;
}


/* ========== Minerals Gallery Page ========== */
    /* SEARCH BAR */
    .search-container {
        text-align: center;
        margin: 2rem auto;
        position: relative;
        width: 80%;
        max-width: 800px;
    }

    .search-container i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #526c7c;
        font-size: 1rem;
    }

    .search-container input {
        width: 100%;
        padding: 0.8rem 0.8rem 0.8rem 2.5rem; /* extra left padding for the icon */
        border-radius: 8px;
        border: 1px solid #a9b9c2;
        font-size: 1rem;
        font-family: 'Libre Baskerville', serif;
    }
/* GALLERY - Instagram-style layout */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); /* wider cards */
  gap: 2rem;
  max-width: 1500px; /* allows big cards on large screens */
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  max-width: 420px;
  margin: 0 auto; 
}

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

/* Carousel area */

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel img,
.carousel video {
  width: 100%;
  display: none;
}

.carousel .active {
  display: block;
}

/* Hide arrows initially */
.carousel button {
  opacity: 0;
  transition: opacity 0.3s;
}

/* Show on hover */
.card:hover .carousel button {
  opacity: 1;
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4; /* perfect square for Instagram look */
  overflow: hidden;
  border-bottom: 1px solid #e0e0e0;
}

.carousel img,
.carousel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.carousel img.active,
.carousel video.active {
  display: block;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  width: 35px;       /* fixed width */
  height: 35px;      /* fixed height */
  font-size: 1rem;
  cursor: pointer;
  border-radius: 50%; /* makes it a perfect circle */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel button.prev { left: 10px; }
.carousel button.next { right: 10px; }


/* Card text/content */
.card-content {
  padding: 0.8rem 1rem;
}
.card-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  color: #526c7c;
}
.card-content p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #233137;
  line-height: 1.4;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }
}

.sold-label {
  position: absolute;
  bottom: 0; /* sticks to the bottom of the carousel */
  left: 0;
  width: 100%;
  background-color: rgba(178, 34, 34, 0.8); /* deep red with some transparency */
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.4rem 0; /* height of the stripe */
  z-index: 10; /* make sure it appears above the image/video */
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Video gallery media */
.video-gallery .media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  border-radius: 12px;
}

.video-gallery .media-wrapper img,
.video-gallery .media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-gallery .media-wrapper video {
  display: none; /* hidden until hover */
}

.media-wrapper {
  position: relative;
  overflow: hidden;
}

/* All media stacked */
.media-wrapper img,
.media-wrapper video {
  width: 100%;
  display: none;
}

/* Visible slide */
.media-wrapper .active {
  display: block;
}

/* Arrows hidden initially */
.media-wrapper button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 8px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
}

.media-wrapper .prev { left: 5px; }
.media-wrapper .next { right: 5px; }

/* Show arrows on hover */
.media-wrapper:hover button {
  opacity: 1;
}

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox-content img,
#lightbox-content video {
  max-width: 90vw;
  max-height: 90vh;
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }



/* ========== Footer ========== */
/*    footer {
      background: #526c7c;
      color: white;
      text-align: center;
      padding: 1.5rem;
      margin-top: 2rem;
    }
    footer a {
      color: #eadff1;
      text-decoration: underline;
      font-weight: 700;
    }
    footer p {
      margin: 0.3rem 0;
      font-size: 0.95rem;
    }
*/

/*footer {
  background: #354d58;
  color: #eadff1;
  padding: 2rem 1rem;
  text-align: center;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.footer-left, .footer-right {
  flex: 1;
  margin: 0 1rem;
}

.footer-bottom {
  font-size: 0.9rem;
  color: #a9b9c2;
}
*/

footer {
  background: #354d58;
  color: #eadff1;
  padding: 2rem 1rem;
  font-family: 'Libre Baskerville', serif;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1500px;
  margin: auto;
}

.footer-about,
.footer-contact {
  flex: 2 1 400px;   /* take up about twice as much space */
}

.footer-social {
  flex: 1 1 200px;   /* smaller column */
  max-width: 250px;  /* keeps it compact */
}


.footer-about h3,
.footer-contact h3 {
  margin-bottom: 0.5rem;
  color: #eadff1;
}

.footer-about p {
  text-align: justify;
}

/* Contact links */
.footer-contact a {
  color: #eadff1;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Photo */
.footer-photo img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 1rem;
}

/* Social icons */
.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social-icons a {
  color: #eadff1;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: #a0c1d1; /* subtle hover effect */
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}





/* ========== Shop Page ========== */

.shop-container {
  max-width: 800px;
  margin: auto;
  padding: 2rem 1rem;
  text-align: left;
}

.shop-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #526c7c;
  position: relative;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: #557d8d;
  margin: 1.5rem 0 2rem 0;
  border-radius: 2px;
}

.shop-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #233137;
}

.shop-container a {
  color: #557d8d;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.2s ease;
}
.shop-container a:hover {
  color: #3f5a67;
  transform: scale(1.05);
}

/* Table styling (already suggested) */
.shipping-table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.shipping-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.shipping-table th, .shipping-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.shipping-table th {
  background: #526c7c;
  color: white;
  font-weight: bold;
}

.shipping-table tr:last-child td {
  border-bottom: none;
}

/* ========== Exhibitions Page ========== */

/* Exhibitions Page */
.exhibitions-page {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.exhibitions-page .intro {
  text-align: center;
  margin-bottom: 2rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.exhibition-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.exhibition-date {
  flex: 1 1 200px;
  background: #a9b9c2;
  color: #233137;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.exhibition-content {
  flex: 2 1 400px;
  padding: 1.5rem;
}

.exhibition-content img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.exhibition-content p {
  margin-bottom: 1rem;
  color: #233137;
}

.exhibition-content .btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #557d8d;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.exhibition-content .btn:hover {
  background: #526c7c;
}


