@font-face {
  font-family: "Soage";
  src: url("../fonts/Soage.eot");
  src:
    url("../fonts/Soage.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Soage.woff2") format("woff2"),
    url("../fonts/Soage.woff") format("woff"),
    url("../fonts/Soage.ttf") format("truetype"),
    url("../fonts/Soage.svg#Soage") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #540d08;
  --color-secondary: #790202;
  --color-light: #fff;
  --color-gold: #d7bb79;
  --font-base: "DM Sans", sans-serif;
  --font-heading: "Soage", sans-serif;
  --transition-base: all 0.25s ease-out;
}

html,
body {
  overscroll-behavior-y: none; /* Prevents rubber-band scroll jitter */
}

html {
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-base);
  color: var(--color-light);
  overflow-x: clip;
  background-color: var(--color-primary);
}

a {
  color: var(--color-secondary);
  transition: var(--transition-base);
}

a:hover,
a:focus {
  color: var(--color-primary);
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1050;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  /* Prevents AOS layout shifts from shaking the header */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.site-header.sticky {
  background-color: var(--color-primary);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
  --bs-navbar-nav-link-padding-x: 1rem;
}

.brand-logo {
  width: auto;
  height: 50px;
}

.nav-link {
  color: var(--color-light);
  font-weight: 400;
  transition: var(--transition-base);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--color-gold);
}

.nav-action {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-base);
}

.btn {
  --bs-btn-padding-x: 2rem;
  --bs-btn-padding-y: 0.9rem;
  --bs-btn-font-weight: 700;

  transition: var(--transition-base);
  border-radius: 0.75rem;
}

.btn-brand {
  color: #fff;
  background: var(--color-secondary);
  border-color: transparent;
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline-brand {
  color: var(--color-light);
  border-color: var(--color-light);
  background: rgba(255, 255, 255, 0);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  color: var(--color-primary);
  background: var(--color-light);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.hero-section {
  background: url("../img/hero_img1.jpg") no-repeat center center;
  background-size: cover;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.primary-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: normal;
  line-height: 1.2;
}
.hero-subheading {
  font-size: 1.125rem;
}
.diamond-animation {
  display: flex;
  align-items: center;
}
/* Base setup for any diamond image */
.diamond-icon {
  /* Default size if no size class is provided */
  --size: 40px;
  width: var(--size);
  height: var(--size);
  transform: rotate(0deg) scale(1);
  display: inline-block;
}

/* Size variations */
.diamond-icon.sm {
  --size: 20px;
}
.diamond-icon.md {
  --size: 40px;
}
.diamond-icon.lg {
  --size: 80px;
}
.diamond-icon.xl {
  --size: 150px;
}

/* Active animation class */
.diamond-icon.is-animating {
  --anim-delay: 0.5s; /* Delay before the animation starts */
  animation: pulseZoom 1.5s ease-in-out 2;
  animation-delay: var(--anim-delay);
}

@keyframes pulseZoom {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(45deg) scale(0); /* Shrinks out */
  }
  100% {
    transform: rotate(90deg) scale(1); /* Returns to normal naturally */
  }
}
/* Base Line Setup */
.line-animation {
  --line-max-width: 200px;
  width: 100%; /* Hidden until scrolled into view */
  height: 1px;
  background-color: var(--color-light);
  max-width: var(--line-max-width);
}

/* Scroll Animation Trigger */
.line-animation.is-animating {
  --anim-delay: 0s; /* Delay before the animation starts */
  animation: lineGrow 2s ease-in-out var(--anim-delay) both;
}

.our-story-images {
  position: relative;
}

.our-story-images .img2 {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 350px;
}
.our-story-images .diamond-animation {
  position: absolute;
  bottom: 10px;
  left: 60px;
}
.secondary-heading {
  font-family: var(--font-heading);
  font-weight: normal;
  line-height: 1.2;
  margin-top: 3rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.secondary-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  transform: translateY(-50%);
  width: 70px;
  height: 1px;
  background-color: var(--color-light);
}
@keyframes lineGrow {
  0% {
    width: 0px;
  }
  100% {
    width: 100%;
  }
}
.our-collection {
  background: url("../img/feature_collection_bg.jpg") no-repeat center center;
  background-size: cover;
}
#collectionCarousel img {
  object-fit: contain;
}
.our-collection .diamond-animation {
  position: absolute;
  left: 0px;
  z-index: 0;
  width: 100%;
}
.explore-collection {
  border: 1px solid var(--color-light);
  padding: 1.25rem;
  border-radius: 1rem;
  margin-top: 2.5rem;
  position: relative;
  font-size: 1.125rem;
}
.explore-collection .diamond-animation {
  position: absolute;
  z-index: 0;
}
.explore-collection .diamond-animation.one {
  top: 0;
  left: 40px;
}
.explore-collection .diamond-animation.two {
  bottom: -10px;
  right: 40px;
}
.bride-collection .diamond-animation,
.customer-container .diamond-animation.one {
  margin-top: -20px;
}

#galleryCarousel img {
  border-radius: 20rem 20rem 1.5rem 1.5rem;
}
.our-gallery .diamond-animation.one {
  margin-top: -40px;
  position: relative;
  z-index: 1;
}
.owner-dialogue {
  display: flex;
  align-items: center;
  position: relative;
}
.owner-dialogue::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-light);
}
.owner-dialogue .text {
  background-color: var(--color-primary);
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.quote-icon {
  width: 200px;
}
.founder-sign {
  width: 150px;
}
.customer-feedback {
  background: url("../img/customer_bg.jpg") no-repeat center center;
  background-size: cover;
  color: var(--color-primary);
}
.customer-container {
  border: 2px solid var(--color-primary);
  border-radius: 1.125rem;
  padding: 2rem;
}
.customer-container .diamond-animation.mt-n {
  margin-top: -30px;
}
.customer-feedback .line-animation {
  background-color: var(--color-primary);
}
.influencer-user {
  border-radius: 2rem;
  border: 5px solid var(--color-light);
  box-shadow: 0px 10px 0px 0px var(--color-light);
}
.customer-feedback .explore-collection {
  border-color: var(--color-primary);
}
.customer-feedback h3 {
  font-family: var(--font-heading);
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 0px;
}
/* Read-Only Stars using CSS --rating variable */
.stars-display {
  --star-size: 1.25rem;
  --star-color: #cbd5e1;
  --star-background: #f59e0b;

  display: inline-block;
  font-size: 1.5rem;
  font-family: Times, serif; /* Clean rendering for unicode stars */
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stars-display::before {
  content: "★★★★★";
  background: linear-gradient(
    90deg,
    var(--star-background) calc(var(--rating) / 5 * 100%),
    var(--star-color) calc(var(--rating) / 5 * 100%)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-social-icons {
  list-style: none;
  padding-left: 0px;
  display: flex;
  column-gap: 1rem;
  font-size: 1.125rem;
}
.footer-social-icons li a {
  color: var(--color-light);
}
.footer-social-icons li a:hover {
  color: var(--color-gold);
}
.footer-wrapper .form-control {
  border-radius: 0.75rem 0 0 0.75rem;
  background: transparent;
  color: #fff;
}
.footer-wrapper .form-control::placeholder {
  color: #fff;
}
@media (min-width: 1200px) {
  .primary-heading {
    font-size: 4rem;
  }
  #collectionCarousel img {
    height: 600px;
  }
  .our-collection .diamond-animation {
    top: -130px;
  }
  .our-collection .hero-subheading {
    top: 400px;
    max-width: 400px;
  }
  #signatureCarousel,
  #brideCarousel {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    z-index: -1;
    margin-top: -90px;
  }
}
@media (min-width: 768px) {
  .our-story,
  .our-signature-wrapper,
  .our-gallery,
  .customer-feedback,
  .footer-wrapper {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .our-story .primary-heading {
    margin-left: -8rem;
  }
  .our-signature,
  .bride-collection {
    position: relative;
    overflow: hidden;
  }
  .our-signature-wrapper {
    background: linear-gradient(
      to right,
      rgba(84, 13, 8, 1) 25%,
      rgba(84, 13, 8, 0) 65%
    );
    position: relative;
    z-index: 1;
  }
  #brideCarousel {
    margin-top: 0px;
  }
  #signatureCarousel img,
  #brideCarousel img {
    height: 100%;
    object-fit: cover;
    object-position: bottom;
  }
  .secondary-heading {
    font-size: 2rem;
  }
  .our-collection .primary-heading {
    position: absolute;
    top: 100px;
    left: 3rem;
    z-index: 2;
  }
  .our-collection .hero-subheading {
    position: absolute;
    top: 400px;
    right: 0px;
    max-width: 400px;
    z-index: 2;
  }
  .carousel-item {
    position: relative;
    z-index: 1;
  }
  .bride-collection .our-signature-wrapper {
    background: linear-gradient(
      to right,
      rgba(84, 13, 8, 0) 0%,
      rgba(84, 13, 8, 1) 80%
    );
  }
}
@media (max-width: 1199px) {
  .navbar-collapse {
    padding-top: 1rem;
    background-color: var(--color-primary);
  }

  .nav-link {
    padding-left: 0;
    padding-right: 0;
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
  #collectionCarousel img {
    height: 500px;
  }
  .our-collection .diamond-animation {
    top: -108px;
  }
  .our-collection .hero-subheading {
    top: 300px;
    max-width: 250px;
  }
}

@media (max-width: 767px) {
  .brand-logo {
    height: 45px;
  }

  .hero-section {
    background-size: auto 200px;
    background-position: center top;
    padding: 230px 15px 3rem 15px;
    min-height: auto;
  }
  .hero-section .btn-brand,
  .bride-collection .btn {
    width: 100%;
  }
  .our-story,
  .our-collection,
  .bride-collection,
  .our-gallery {
    padding-bottom: 3rem;
  }
  .our-story-images .img2 {
    height: 200px;
  }
  #collectionCarousel img {
    height: 400px;
  }
  .our-collection .hero-subheading {
    max-width: 100%;
  }
  .our-collection .diamond-animation {
    top: 242px;
  }
  .our-collection .primary-heading,
  .our-collection .hero-subheading {
    margin-left: 40px;
  }
  #signatureCarousel,
  #brideCarousel {
    margin-bottom: 30px;
  }
  .customer-feedback,
  .footer-wrapper {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .customer-container {
    padding: 1rem;
  }
  .stars-display {
    margin-left: 3rem;
  }
  .footer-wrapper .brand-logo {
    display: none;
  }
}
