:root {
  --bg-page: #f3f3f3;
  --bg-card: #f9f9fb;
  --text-main: #ffffff;
  --text-dark: #222222;
  --text-muted: #b8bbc3;
  --shadow-soft: 0 20px 40px rgba(0,0,0,0.35);
  --radius-card: 26px;
  --radius-pill: 999px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
}

/* HERO SECTION */
.hero {
  position: relative;
  z-index: 0;
  min-height: 70vh;
  padding: 32px 40px 120px;
  background-image: url("../images/background8.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
  z-index: 0;
}

/* NAVBAR */
.navbar {
  position: relative;
  z-index: 9999; /* always above hero content */
  max-width: 820px;
  margin: 0 auto 60px;
  padding: 12px 40px;
  border-radius: 999px;
  background: transparent;      /* remove grey bar */
  box-shadow: none;             /* remove shadow of bar */
  display: flex;
  justify-content: center;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
}

.nav-center a {
  color: #ffffff;               /* white links on dark hero */
  text-decoration: none;
  padding-bottom: 4px;
  position: relative;
  font-weight: 500;
}

.nav-center a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;          /* white underline */
  transition: width .2s ease;
}

.nav-center a.active::after,
.nav-center a:hover::after {
  width: 70%;
}

/* HAMBURGER TOGGLE – hidden on desktop, shown on mobile in media query */
.nav-toggle {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 22px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: none; /* default: hidden on large screens */
  z-index: 3;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: #ffffff;          /* WHITE hamburger bars */
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease, bottom 0.25s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
  bottom: 0;
}

/* Animate to "X" when menu is open */
.navbar.nav-open .nav-toggle span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.navbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.navbar.nav-open .nav-toggle span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* HERO CONTENT */
.hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.hero-content {
  max-width: 520px;
  margin-left: 40px;
  margin-bottom: 40px;
}

.hero-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.7);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 12px;
  margin-bottom: 20px;
}

.tag-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 58px;
  margin-bottom: 12px;
}

.hero-text {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 390px;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  padding: 10px 26px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
}

.primary {
  background: #fff;
  color: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}

.hero-meta {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ========================================= */
/* CATEGORY CARDS SECTION */
/* ========================================= */

.cards-section {
  width: 100%;
  background: var(--bg-page);
  padding-bottom: 40px;
}

.cards-wrapper {
  width: 100%;
  max-width: 100%;
  margin-top: -40px;
  padding: 0 184px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  align-items: stretch;
}

.product-card {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 14px 16px 16px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  height: 325px;
  width: 420px;
  overflow: hidden;
}

.card-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8d8f96;
  margin-bottom: 2px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333333;
}

.card-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 10px;
}

.card-image img {
  width: 70%;
  height: 107%;
  object-fit: cover;
  display: block;
}

.card-btn {
  margin-top: auto;
  align-self: flex-start;
  background: #111;
  color: #fff;
  padding: 7px 18px;
  border: none;
  border-radius: 999px;
  font-size: 11px;
  cursor: pointer;
}

.cards-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
  cursor: pointer;
}

/* ========================================= */
/* DIAMONDS & ENGAGEMENT SECTION */
/* ========================================= */

.engagement-section {
  background: #ffffff;
  padding: 60px 40px 80px;
}

.engagement-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
}

.engagement-heading {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  line-height: 1.2;
  color: #222222;
  margin-bottom: 16px;
}

.engagement-text {
  font-size: 14px;
  color: #666666;
  max-width: 360px;
  margin-bottom: 20px;
}

.engagement-cta {
  padding: 9px 22px;
  border-radius: 999px;
  border: none;
  background: #111111;
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
}

.engagement-slider {
  position: relative;
}

.engagement-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 8px;
}

.engagement-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #f1f1f4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.engagement-arrow span {
  font-size: 16px;
}

.engagement-card-row {
  margin-top: 40px;
  display: flex;
  gap: 18px;
}

.engagement-card {
  background: #f9f9fb;
  border-radius: 20px;
  padding: 12px 14px 14px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  width: 230px;
  font-size: 11px;
  color: #555555;
}

.eng-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.eng-card-category {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #aaaaaf;
  display: block;
}

.eng-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}

.eng-card-heart {
  font-size: 14px;
  color: #bbbbc0;
}

.eng-card-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 10px;
}

.eng-card-image {
  width: 100%;
  height: 120px;
  margin-bottom: 10px;
  border-radius: 16px;
  overflow: hidden;
}

.eng-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eng-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.eng-price-current {
  font-weight: 600;
  font-size: 12px;
  margin-right: 4px;
}

.eng-price-old {
  font-size: 11px;
  color: #999999;
  text-decoration: line-through;
}

.eng-card-btn {
  border: none;
  border-radius: 999px;
  font-size: 10px;
  padding: 5px 10px;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
}

/* ========================================= */
/* GET THE BEST DIAMONDS SECTION */
/* ========================================= */

.business-section {
  background: #ffffff;
  padding: 70px 40px 80px;
}

.business-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
}

.business-copy {
  color: #222222;
}

.business-heading {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.business-text {
  font-size: 14px;
  line-height: 1.8;
  color: #555555;
  max-width: 420px;
  margin-bottom: 20px;
}

.business-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  background: #333333;
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
}

/* images on the right */
.business-images {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
}

.business-image-card {
  width: 260px;
  height: 380px;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.business-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================= */
/* RUBY JEWELLERY SECTION (CENTERED) */
/* ========================================= */

.ruby-section {
  background-image: url("../images/black1.jpg");
  background-size: cover;
  background-position: center;
  padding: 50px 40px 60px;
  color: #ffffff;
}

.ruby-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ruby-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.ruby-heading {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  letter-spacing: 0.05em;
  text-align: center;
}

.ruby-nav {
  display: flex;
  gap: 10px;
}

.ruby-arrow {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: none;
  background: #ffffff;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
  cursor: pointer;
  font-size: 18px;
}

.ruby-card-row {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.ruby-card {
  background: #f9f9fb;
  border-radius: 20px;
  padding: 12px 14px 14px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.35);
  width: 250px;
  font-size: 11px;
  color: #555555;
}

.ruby-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.ruby-card-category {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #aaaaaf;
  display: block;
}

.ruby-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}

.ruby-card-heart {
  font-size: 14px;
  color: #bbbbc0;
}

.ruby-card-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 10px;
}

.ruby-card-image {
  width: 100%;
  height: 120px;
  margin-bottom: 10px;
  border-radius: 16px;
  overflow: hidden;
}

.ruby-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ruby-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ruby-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ruby-price-current {
  font-weight: 600;
  font-size: 12px;
  color: #222222;
}

.ruby-price-old {
  font-size: 11px;
  color: #999999;
  text-decoration: line-through;
}

.ruby-card-btn {
  border: none;
  border-radius: 999px;
  font-size: 10px;
  padding: 5px 10px;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
}

/* ========================================= */
/* CRAFTING JEWELLERY SECTION (NEW COLLAGE) */
/* ========================================= */

.craft-section {
  background: #ffffff;
  padding: 60px 40px 80px;
}

.craft-inner {
  max-width: 1100px;
  margin: 98px auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

/* whole collage block */
.craft-images {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr;
  gap: 18px;
  height: 420px;               /* controls total collage height */
}

/* left big image */
.craft-main {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.craft-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* right column */
.craft-right {
  display: grid;
  grid-template-rows: 1.1fr 1fr;
  gap: 18px;
}

/* top-right large image */
.craft-right-top {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  box-shadow: 0 18px 32px rgba(0,0,0,0.25);
}

/* bottom row: two small images side-by-side */
.craft-right-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.craft-right-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 18px 32px rgba(0,0,0,0.2);
}

/* text part */
.craft-copy {
  color: #222222;
}

.craft-heading {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.craft-text {
  font-size: 13px;
  line-height: 1.7;
  color: #666666;
  max-width: 420px;
  margin-bottom: 18px;
}

.craft-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: none;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
}

/* ========================================= */
/* SOCIAL FOLLOW GRID – FULL-WIDTH COLLAGE */
/* ========================================= */

.social-follow {
  background: #000;
  padding: 0;                 /* remove extra black margins */
  position: relative;
}

.social-grid {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 220px;      /* height of each row */
  gap: 0;                     /* no gaps so images touch */
}

.social-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: #000000;
  padding: 14px 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.45);
  font-family: "Playfair Display", serif;
  font-size: 20px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.social-text {
  letter-spacing: 0.08em;
}

/* ========================================= */
/* RESPONSIVE TWEAKS – SOCIAL (existing) */
/* ========================================= */

@media (max-width: 900px) {
  .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 160px;
  }

  .social-grid img {
    height: 100%;
  }

  .social-cta {
    font-size: 16px;
    padding: 10px 20px;
  }
}

/* ========================================= */
/* NEWSLETTER SECTION (BIGGER) */
/* ========================================= */

.newsletter-section {
  position: relative;
  padding: 140px 40px;
  min-height: 70vh;
  background-image: url("../images/background21.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.newsletter-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  margin-bottom: 20px;
}

.newsletter-text {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.newsletter-form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 6px;
  display: flex;
  align-items: center;
}

.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #ffffff;
  padding: 16px 20px;
  font-size: 15px;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.85);
}

.newsletter-form button {
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  padding: 12px 30px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
}

/* ========================================= */
/* FOOTER */
/* ========================================= */

.site-footer {
  background-image: url("../images/black1.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 40px 40px 30px;
  font-size: 13px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 28px;
}

.footer-brand-copy {
  font-size: 12px;
  line-height: 1.6;
  max-width: 420px;
}

.footer-social {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.footer-heading {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 6px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 10px;
  font-size: 11px;
}

.footer-copy {
  opacity: 0.9;
}

.footer-locale {
  opacity: 0.95;
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ========================================= */
/* ABOUT US PAGE */
/* ========================================= */

/* hero */
.about-hero {
  position: relative;
  min-height: 80vh;
  padding: 32px 40px 120px;
  background-image: url("../images/background11.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.0),
    rgba(0, 0, 0, 0.0)
  );
  z-index: 0;
}

/* text block inside hero */
.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-left: 40px;
  margin-top: 140px;
}

.about-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-hero-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 10px;
}

.about-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: 0.9;
}

.about-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
}

.about-breadcrumb a:hover {
  text-decoration: underline;
}

/* content wrapper */
.about-wrapper {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 40px 40px 0;
}

/* each white block */
.about-block {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin: 60px 0;
  padding: 0 0 40px;
}

/* two-column grid (text + image) */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

/* reversed layout for second block */
.about-grid-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.about-heading {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-bottom: 8px;
  color: #222222;
}

.about-subtitle {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b0b0b4;
  margin-bottom: 14px;
}

.about-text p {
  font-size: 13px;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 10px;
}

/* images */
.about-image {
  width: 100%;
}

.about-image img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

/* simple responsive tweaks */
@media (max-width: 900px) {
  .about-hero {
    padding: 60px 24px;
  }

  .about-wrapper {
    padding: 24px 20px 0;
  }

  .about-block {
    padding: 28px 22px;
  }

  .about-grid,
  .about-grid-reverse {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1; /* image on top for mobile */
  }

  .about-hero-title {
    font-size: 32px;
  }
}

/* =========================================================
   NAV WRAPPER (so navbar sits above the hero image)
   ========================================================= */
.navbar-wrapper {
  position: relative;
  z-index: 20;
  padding-top: 16px;
  background: transparent;
}

/* =========================================================
   COLLECTION PAGE
   ========================================================= */

.collection-hero {
  position: relative;
  min-height: 50vh;
  margin-top: -140px;
  padding: 200px 40px 80px;
  background-image: url("../images/background8.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  display: flex;
  align-items: flex-end;
}

.collection-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.85)
  );
}

.collection-hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.collection-crumb {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.9;
}

.collection-crumb span {
  opacity: 1;
}

.collection-hero-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
}

/* Main collection area */
.collection-wrapper {
  background: #f7f5f2;
  padding: 60px 40px 80px;
}

.collection-section {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid of product cards */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

/* Individual card */
.collection-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 26px 30px 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.collection-image {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.collection-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.collection-name {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7f8289;
  margin-bottom: 16px;
}

/* Add to cart button */
.collection-btn {
  width: 100%;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: #f4f4f6;
  color: #222222;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.collection-btn:hover {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Responsive tweaks – collection existing */
@media (max-width: 1100px) {
  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .collection-wrapper {
    padding: 40px 20px 60px;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================== */
/*                EXTRA GLOBAL RESPONSIVE TWEAKS (NEW)                   */
/* ===================================================================== */

/* --------- Tablets and small laptops (<= 1024px) --------- */
@media (max-width: 1024px) {

  .navbar {
    max-width: calc(100% - 40px);
    margin: 10px auto 40px;
    padding: 10px 26px;
  }

  .nav-center {
    gap: 22px;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cards-wrapper {
    padding: 0 60px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    width: 100%;
  }

  .engagement-inner,
  .business-inner {
    grid-template-columns: 1fr 1fr;
  }

  .craft-inner {
    margin: 70px auto;
    grid-template-columns: 1fr 1fr;
  }

  .ruby-card-row {
    flex-wrap: wrap;
  }
}

/* --------- Phones in landscape / large phones (<= 768px) --------- */
@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    max-width: calc(100% - 24px);
    margin: 8px auto 28px;
    padding: 8px 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.4);
    justify-content: flex-end;
    position: relative;
  }

  /* show hamburger */
  .nav-toggle {
    display: block;
  }

  /* dropdown menu */
  .nav-center {
    gap: 16px;
    font-size: 13px;
    flex-wrap: wrap;
    justify-content: center;

    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 10px;
    max-width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;

    background: radial-gradient(circle at top, rgba(255,255,255,0.97), rgba(94 90 90));
    padding: 10px 18px 14px;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.5);

    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .navbar.nav-open .nav-center {
    display: flex;
  }

  .navbar.nav-open .nav-center a {
    color: #333333;                 /* dark text on white dropdown */
  }
  .navbar.nav-open .nav-center a::after {
    background: #333333;
  }

  .nav-center a {
    width: 100%;
    display: block;
  }

  /* HOME HERO */
  .hero {
    min-height: 80vh;
    padding: 24px 20px 80px;
  }

  .hero-inner {
    align-items: flex-end;
  }

  .hero-content {
    margin-left: 0;
    margin-bottom: 32px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-text {
    max-width: 100%;
    font-size: 13px;
  }

  .hero-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* CATEGORY CARDS */
  .cards-wrapper {
    padding: 0 20px;
    grid-template-columns: 1fr;
    margin-top: -20px;
  }

  .product-card {
    width: 100%;
    height: auto;
  }

  /* ENGAGEMENT / BUSINESS / RUBY / CRAFT */
  .engagement-section,
  .business-section,
  .craft-section,
  .ruby-section {
    padding: 40px 20px 50px;
  }

  .engagement-inner,
  .business-inner {
    grid-template-columns: 1fr;
  }

  .engagement-text,
  .business-text {
    max-width: 100%;
  }

  .engagement-card-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .business-images {
    justify-content: center;
  }

  .ruby-card-row {
    flex-wrap: wrap;
  }

  .craft-inner {
    margin: 60px auto;
    grid-template-columns: 1fr;
  }

  .craft-images {
    height: 320px;
    margin-bottom: 24px;
  }

  /* NEWSLETTER */
  .newsletter-section {
    padding: 100px 20px;
  }

  .newsletter-title {
    font-size: 36px;
  }

  .newsletter-text {
    font-size: 14px;
  }

  /* ABOUT PAGE */
  .about-hero {
    min-height: 70vh;
    padding: 40px 20px 60px;
  }

  .about-hero-inner {
    margin-left: 0;
    margin-top: 120px;
    max-width: 90%;
  }

  .about-wrapper {
    padding: 24px 20px 0;
    margin-bottom: 60px;
  }

  /* COLLECTION PAGE HERO */
  .collection-hero {
    min-height: 60vh;
    margin-top: -120px;
    padding: 160px 20px 60px;
  }

  .collection-wrapper {
    padding: 40px 20px 60px;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* FOOTER */
  .site-footer {
    padding: 32px 20px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}

/* --------- Small phones (<= 480px) --------- */
@media (max-width: 480px) {

  /* NAVBAR */
  .navbar {
    max-width: calc(100% - 16px);
    padding: 8px 14px;
  }

  .nav-center {
    gap: 10px;
    font-size: 12px;
  }

  /* HERO */
  .hero {
    padding: 20px 16px 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-text {
    font-size: 12px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  /* CARDS */
  .cards-wrapper {
    padding: 0 16px;
  }

  /* ABOUT HERO */
  .about-hero-inner {
    margin-top: 110px;
    margin-left: 0;
  }

  .about-hero-title {
    font-size: 30px;
  }

  /* COLLECTION HERO */
  .collection-hero {
    padding: 140px 16px 50px;
  }

  .collection-hero-title {
    font-size: 32px;
  }

  /* NEWSLETTER */
  .newsletter-title {
    font-size: 30px;
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: 24px;
  }

  .newsletter-form input {
    padding: 12px 14px;
  }

  .newsletter-form button {
    width: 100%;
    margin-top: 6px;
  }

  /* FOOTER */
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

/* ====== KILL HORIZONTAL SCROLL GLOBALLY ====== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Make product cards shrink instead of forcing 420px width */
.product-card {
  width: 100%;
  max-width: 420px;
}

/* On small screens the cards wrapper should not have big side padding */
@media (max-width: 1024px) {
  .cards-wrapper {
    padding: 0 20px;
  }
  .product-card {
    max-width: 100%;
  }
}
