/* --- Global Variables & Resets --- */
:root {
  --dark-teal: #004d4d;
  --light-gold: #d4af37;
  --teal-accent: #118ab2;
  --bg-cream: #f4ebd9;
  --card-teal: #138a8a;
}

* {
  margin: 0;
  padding: 0;
}

body {
  animation: pureFade 1.1s ease-in-out;
}

/* 2. This defines exactly how the animation looks */
@keyframes pureFade {
  0% {
    opacity: 0; /* Completely invisible */
  }
  100% {
    opacity: 1; /* Fully visible */
  }
}

/* --- Header / Navigation --- */






/* Temporary placeholder for the elegant ornamental logo icon */


/* This controls the "arry" and "e" */

/* This controls only the "M"s */

.tagline {
  font-family: "Instrument Sans", sans-serif;
  color: var(--light-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  font-weight: 600;
}

/* --- Hero Showcase Section --- */
.hero-section {
  background-color: #ffffff;
  background-image: url("../images/Ring.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 550px;
  padding: 60px 5%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e8e2d5;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-content {
  max-width: 500px;
}

.sub-title {
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: #666;
  display: block;
  margin-bottom: 10px;
}

/* 1. This centers the words with each other but keeps the block on the left */
.main-title {
  text-align: center;
  width: fit-content;
}

/* 2. Update catalog to inline-block so it centers properly */
/* 1. This centers the words with each other but keeps the block on the left */


/* 2. Update catalog to inline-block so it centers properly */
.font-catalog {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 200;
  letter-spacing: 11px;
  color: #0b5e56;
  display: inline-block;
  padding-bottom: 12px;
  position: relative;
  top: -30px;
}

/* 3. This pushes the line perfectly to the middle of the word */
.font-catalog::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #0b5e56;
}
/* 3. This pushes the line perfectly to the middle of the word */




.cursive-text {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #444;
}



.main-title {
  font-family: "Instrument Sans", sans-serif;
  font-size: 3.5rem;
  line-height: 1.1;
  color: #111;
  font-weight: 400;
  margin-bottom: 15px;
}









/* --- Collection Grid Section --- */


.collection-header {
  margin-bottom: 30px;
}
/* --- Collection Link Styles --- */

/* 1. This removes the blue color and underline from the link */
.collection-link {
  color: #0b5e56;
}

/* 2. This adds the slight zoom effect when you hover over the card */
.collection-link:hover {
  opacity: 0.9;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

/* 3. This forces the massive images to shrink and fit inside the card perfectly */
.collection-link img {
  max-width: 100%;
}

/* Replace .collection-label with .section-label if that is what your HTML uses! */
.collection-label {
  background-color: #bda67a;
  text-transform: uppercase;
  margin: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-title {
  font-size: 2rem;
  color: var(--dark-teal);
  letter-spacing: 1px;
  margin-top: 2px;
}

.title-underline {
  width: 80px;
  height: 1.5px;
  background-color: var(--dark-teal);
  margin-top: 8px;
}












/* ========================================================= */
/* --- LUXURY FOOTER STYLES --- */
/* ========================================================= */

.luxury-footer {
  background-color: #123e39;
  font-family: "Instrument Sans", sans-serif;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 220px;
}

/* Typography */
.footer-heading {
  text-transform: uppercase;
  margin-bottom: 25px;
}

.small-heading {
  font-size: 0.85rem;
  margin-top: 25px;
  margin-bottom: 12px;
}

/* Links Layout */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.footer-links a {
  letter-spacing: 1.5px;
  transition: color 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  transform: translateX(3px);
}

/* Text & Map */
.footer-text {
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-text p {
  margin: 5px 0;
}



.footer-map iframe {
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer-map iframe:hover {
  opacity: 1;
}

/* Badges (Socials & Payments) - DESKTOP VIEW */
.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
  margin-top: 15px;
}

.footer-badges {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-start;
}

.footer-badges span {
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* --- NEW: Social Links Styling --- */
.social-links a {
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease,
    transform 0.3s ease;
}

.social-links i {
  font-size: 1.1rem;
}

/* The Hover Effect */
.social-links a:hover {
  transform: translateY(
    -2px
  );
}

/* Bottom Bar */




/* ========================================================= */
/* --- MOBILE FOOTER LAYOUT (PERFECTED & VISIBLE) --- */
/* ========================================================= */
@media (max-width: 768px) {
  .luxury-footer {
    padding: 50px 0 20px 0;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 40px;
  }

  .footer-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-heading {
    margin-bottom: 15px;
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* FORCES SOCIALS AND BANKS TO PROPERLY DISPLAY & CENTER ON MOBILE */
  .footer-bottom-flex {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .footer-badges {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .footer-map iframe {
    height: 200px;
    width: 100%;
  }
}

/* --- Mobile / Tablet Settings --- */
@media (max-width: 992px) {
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    padding-left: 0;
    margin-bottom: 30px;
  }
  .main-title {
    font-size: 2.5rem;
  }
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }
}
/* --- BACK BUTTON STYLES --- */
.back-btn {
  align-items: center;
  font-family: "Instrument Sans", sans-serif;
  transition: all 0.3s ease;
}


/* --- THE ULTIMATE MOBILE HERO FIX --- */
@media (max-width: 768px) {
  .hero-section {
    /* Pulls the right side of the background image (the ring) into the screen */
    background-position: 65% center !important;

    /* Shrinks that massive empty space */
    min-height: 50vh !important;
    height: auto !important;

    /* Vertically centers the text perfectly */
    display: flex !important;
    align-items: center !important;
    padding: 40px 20px !important;
  }

  /* 1. THE TEXT CONTAINER: Locks all the words safely to the left */
  .hero-content {
    width: 65% !important;
    margin: 0 !important;
    text-align: left !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* 2. THE MAIN TITLE ("JEWELRY") */
  .main-title {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
    text-align: left !important;
    margin-bottom: 0 !important; /* Removes default gaps */
  }

  /* 3. THE WORD "CATALOG" */
  .font-catalog {
    display: inline-block !important;
    position: relative !important; /* This is the magic rule that keeps the line attached to the word! */
    top: 0 !important; /* Disables the desktop overlap cleanly */

    /* THIS IS YOUR GAP: Adjust this number to push it closer or further from JEWELRY */
    margin-top: 10px !important;

    text-align: left !important;
    letter-spacing: 8px !important;
    padding-bottom: 12px !important; /* Gives the green line room to sit underneath */
  }

  /* 4. Bring the green line back and align it left! */
  .font-catalog::after {
    display: block !important; /* Brings the line back from the dead! */
    left: 25% !important; /* Aligns it perfectly to the left edge of the "C" */
    transform: none !important; /* Stops it from trying to center itself */
  }
}
/* ===================================================================== */
/* MOBILE FIX: BOTTOM FEATURES BAR (NO SCROLLBAR)                        */
/* ===================================================================== */
@media (max-width: 768px) {
  

  

  

  
}
/* ========================================= */
/* --- TOOLBAR (FILTERS & SEARCH) --- */
/* ========================================= */

.toolbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* --- Left Side: Filters --- */
.filter-group {
  display: flex;
}

.luxury-filter {
  background-color: transparent;
  font-family: "Fraunces", serif;
  outline: none;
  cursor: pointer;
  appearance: none;
  padding-right: 35px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"6\" viewBox=\"0 0 12 6\"><path fill=\"%23d4af37\" d=\"M0 0l6 6 6-6z\"/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  transition: all 0.3s ease;
}

.luxury-filter:hover,
.luxury-filter:focus {
  border-color: #b89728;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

/* --- Right Side: Search Container --- */
.search-container {
  margin: 0;
  max-width: 300px;
  position: relative;
  width: 100%;
  flex: 1;
}

#ring-search {
  width: 100%;
  padding-right: 45px;
  background-color: transparent;
  font-family: "Fraunces", serif;
  outline: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

#ring-search::placeholder {
  color: #999999;
  font-style: italic;
  letter-spacing: 1px;
}

#ring-search:focus {
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  border-color: #b89728;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  pointer-events: none;
  opacity: 0.7;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .toolbar-container {
    margin: 20px;
    flex-direction: column; /* Stacks filters on top of search on small phones */
    align-items: stretch;
  }
  .filter-group {
    flex-wrap: wrap;
    justify-content: center;
  }
  .luxury-filter {
    flex: 1;
    min-width: 30%;
  }
}

/* Wedding-band catalog search and pair pricing */
.wedding-toolbar .filter-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wedding-toolbar .filter-label {
  margin-left: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5c4b41;
}
.wedding-toolbar .price-input-stack {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wedding-toolbar .price-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wedding-toolbar .price-input {
  width: 112px;
  padding: 10px 13px;
  border: 1px solid #d4af37;
  border-radius: 30px;
  background: transparent;
  outline: none;
  font-family: "Fraunces", serif;
  font-size: 1rem;
}
.wedding-toolbar .currency-symbol,
.wedding-toolbar .price-separator {
  color: #7a685d;
}
.pair-card-pricing {
  width: min(100%, 320px);
  border-bottom: 1px solid rgba(179, 145, 64, 0.35);
  font-family: "Instrument Sans", sans-serif;
}
.pair-card-title {
  display: block;
  margin-bottom: 9px;
  font-weight: 600;
}
.pair-card-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0;
}

.pair-card-row.best-pair-price {
  color: #0a6157;
}
.pair-card-note {
  margin-top: 8px;
  color: #8a786d;
  font-size: 0.64rem;
  line-height: 1.35;
}
.wedding-no-results {
  display: none;
  grid-column: 1 / -1;
  padding: 55px 20px;
  text-align: center;
  color: #7c6b61;
}
.wedding-no-results h3 {
  margin-bottom: 8px;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  letter-spacing: 2px;
}
@media (max-width: 768px) {
  .wedding-toolbar .filter-group {
    width: 100%;
  }
  .wedding-toolbar .filter-wrapper {
    width: 100%;
  }
  .wedding-toolbar .price-input-stack {
    justify-content: center;
  }
  .wedding-toolbar .price-input {
    width: 100px;
  }
}


/* Wishlist/bag badge + heart icon styling now lives in one place:
   css/figma-refresh.css (search "SINGLE SOURCE OF TRUTH"). */
