/* =========================================================
   Royal Ascot Windsor - Fabrics Collection Page
   Uses global.css for shared header, footer and core variables.
   ========================================================= */

.fc-body {
  margin: 0;
  overflow-x: hidden;
  color: #f6f0e5;
  background: #03110f;
  font-family: "Montserrat", sans-serif;
}

.fc-page {
  /* padding-top: 72px; */
  background:
    radial-gradient(circle at 50% 30%, rgba(179, 142, 89, 0.035), transparent 40%),
    #03110f;
}

.fc-container {
  width: min(100%, 1480px);
  margin-inline: auto;
  padding-inline: clamp(20px, 3.4vw, 58px);
}

/* Hero */
.fc-hero {
  position: relative;
  min-height: 585px;
  overflow: hidden;
  border-bottom: 1px solid rgba(179, 142, 89, 0.38);
  background: #04110f;
  isolation: isolate;
  background-image: url("../img/fabrics-collection/fabric-hero.webp");
  background-position: center;
  background-size: cover;
}

.fc-hero-media,
.fc-hero-shade {
  position: absolute;
  inset: 0;
}

/* .fc-hero-media {
  z-index: -3;
  background-image: url("../img/fabrics-collection/fabrics-hero.webp");
  background-position: center;
  background-size: cover;
} */

.fc-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(1, 10, 8, 0.98) 0%, rgba(1, 10, 8, 0.94) 31%, rgba(1, 10, 8, 0.48) 56%, rgba(1, 10, 8, 0.1) 100%),
    linear-gradient(180deg, rgba(1, 10, 8, 0.25), rgba(1, 10, 8, 0.15));
}

.fc-breadcrumb {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.67rem;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.fc-breadcrumb a:hover {
  color: var(--gold, #b38e59);
}

.fc-breadcrumb i {
  color: rgba(179, 142, 89, 0.75);
  font-size: 0.48rem;
}

.fc-breadcrumb span {
  color: var(--gold, #b38e59);
}

.fc-hero-row {
  min-height: 500px;
}

.fc-hero-copy {
  max-width: 470px;
  padding: 26px 0 56px;
}

.fc-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.5rem, 8vw, 7.2rem);
  font-weight: 500;
  letter-spacing: 5px;
  line-height: 0.82;
  text-transform: uppercase;
}

.fc-title-rule {
  position: relative;
  width: 300px;
  max-width: 76%;
  height: 18px;
  margin: 15px 0 7px;
}

.fc-title-rule::before,
.fc-title-rule::after {
  position: absolute;
  top: 50%;
  height: 1px;
  content: "";
  background: rgba(179, 142, 89, 0.76);
}

.fc-title-rule::before {
  left: 0;
  width: calc(50% - 11px);
}

.fc-title-rule::after {
  right: 0;
  width: calc(50% - 11px);
}

.fc-title-rule span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold, #b38e59);
  transform: translate(-50%, -50%) rotate(45deg);
}

.fc-hero-kicker {
  margin: 0 0 16px;
  color: #c3a16d;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.25px;
}

.fc-hero-text {
  max-width: 425px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.75;
}

.fc-btn {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.fc-btn-gold {
  color: #07130f;
  background: var(--gold, #b38e59);
  border: 1px solid var(--gold, #b38e59);
}

.fc-btn-gold:hover,
.fc-btn-gold:focus {
  color: #07130f;
  background: #c6a36c;
  border-color: #c6a36c;
  transform: translateY(-2px);
}

/* Benefits */
.fc-benefits {
  position: relative;
  padding: 22px 0 26px;
  background:
    linear-gradient(rgba(2, 18, 15, 0.93), rgba(2, 18, 15, 0.96)),
    url("../img/fabrics-collection/fabric-texture.webp") center/cover;
  border-bottom: 1px solid rgba(179, 142, 89, 0.26);
}

.fc-benefit-row {
  border-bottom: 1px solid rgba(179, 142, 89, 0.24);
}

.fc-benefit {
  position: relative;
  min-height: 178px;
  padding: 14px 30px 23px;
  text-align: center;
}

.fc-benefit:not(:last-child)::after {
  position: absolute;
  top: 20px;
  right: 0;
  width: 1px;
  height: calc(100% - 40px);
  content: "";
  background: rgba(179, 142, 89, 0.36);
}

.fc-benefit-icon {
  display: flex;
  width: 61px;
  height: 61px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  color: var(--gold, #b38e59);
  font-size: 2.25rem;
}

.fc-benefit h2 {
  margin: 0 0 8px;
  color: #f5efe4;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fc-benefit p {
  max-width: 245px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
  line-height: 1.65;
}

/* Collection */
.fc-collection {
  padding: 28px 0 35px;
  background:
    radial-gradient(circle at 50% 0, rgba(179, 142, 89, 0.06), transparent 28%),
    #03110f;
}

.fc-section-heading {
  margin-bottom: 19px;
  text-align: center;
}

.fc-section-heading h2 {
  margin: 0 0 6px;
  color: #c8a56d;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 600;
  letter-spacing: 2.2px;
  line-height: 1;
  text-transform: uppercase;
}

.fc-section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.06rem;
  line-height: 1.35;
}

.fc-fabric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
}

.fc-fabric-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: rgba(5, 24, 20, 0.78);
  border: 1px solid rgba(179, 142, 89, 0.68);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.fc-fabric-card:hover {
  border-color: rgba(202, 166, 106, 0.95);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.29);
  transform: translateY(-5px);
}

.fc-fabric-card figure {
  aspect-ratio: 1.28 / 1;
  margin: 0;
  overflow: hidden;
  background: #111a17;
  border-bottom: 1px solid rgba(179, 142, 89, 0.33);
}

.fc-fabric-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.fc-fabric-card:hover img {
  filter: brightness(1.06);
  transform: scale(1.045);
}

.fc-card-content {
  display: flex;
  min-height: 177px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 13px 13px 12px;
  text-align: center;
}

.fc-card-content h3 {
  min-height: 36px;
  margin: 0 0 7px;
  color: #c8a56d;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: 1.06;
  text-transform: uppercase;
}

.fc-card-content p {
  max-width: 225px;
  margin: 0 auto 13px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.66rem;
  line-height: 1.55;
}

.fc-card-content a {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 8px 15px;
  color: #c8a56d;
  border: 1px solid rgba(179, 142, 89, 0.7);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

.fc-card-content a:hover {
  color: #07130f;
  background: #c8a56d;
}

/* Appointment */
.fc-appointment {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(179, 142, 89, 0.72);
  background: rgba(4, 23, 19, 0.88);
}

.fc-appointment-image {
  height: 100%;
  min-height: 292px;
  background: #111813;
}

.fc-appointment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-appointment-content {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 4.2vw, 58px);
}

.fc-appointment-content h2 {
  margin: 0 0 7px;
  color: #c8a56d;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 3.4vw, 3.15rem);
  font-weight: 600;
  letter-spacing: 1.8px;
  line-height: 0.95;
  text-transform: uppercase;
}

.fc-appointment-content > p {
  max-width: 610px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.79);
  font-size: 0.82rem;
  line-height: 1.65;
}

.fc-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 21px;
  color: rgba(255, 255, 255, 0.84);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.02rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.fc-contact-line span,
.fc-contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.fc-contact-line i {
  color: var(--gold, #b38e59);
}

.fc-contact-divider {
  width: 1px;
  height: 28px;
  background: rgba(179, 142, 89, 0.55);
}

.fc-contact-line a:hover {
  color: #c8a56d;
}

@media (max-width: 1199.98px) {
  .fc-fabric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fc-benefit {
    padding-inline: 22px;
  }
}

@media (max-width: 991.98px) {
  .fc-page {
    /* padding-top: 68px; */
  }

  .fc-hero {
    min-height: 670px;
  }

  .fc-hero-media {
    background-position: 67% center;
  }

  .fc-hero-shade {
    background:
      linear-gradient(90deg, rgba(1, 10, 8, 0.96) 0%, rgba(1, 10, 8, 0.88) 52%, rgba(1, 10, 8, 0.5) 100%),
      linear-gradient(180deg, rgba(1, 10, 8, 0.18), rgba(1, 10, 8, 0.25));
  }

  .fc-hero-row {
    min-height: 595px;
  }

  .fc-hero-copy {
    max-width: 540px;
  }

  .fc-benefit:nth-child(2)::after {
    display: none;
  }

  .fc-benefit:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(179, 142, 89, 0.27);
  }

  .fc-appointment-image {
    min-height: 330px;
  }
}

@media (max-width: 767.98px) {
  .fc-container {
    padding-inline: 18px;
  }

  .fc-hero {
    min-height: 710px;
  }

  .fc-hero-media {
    background-position: 71% center;
  }

  .fc-hero-shade {
    background:
      linear-gradient(180deg, rgba(1, 10, 8, 0.78) 0%, rgba(1, 10, 8, 0.91) 52%, rgba(1, 10, 8, 0.98) 100%),
      linear-gradient(90deg, rgba(1, 10, 8, 0.76), rgba(1, 10, 8, 0.26));
  }

  .fc-breadcrumb {
    min-height: 52px;
  }

  .fc-hero-row {
    min-height: 635px;
    align-items: flex-end !important;
  }

  .fc-hero-copy {
    max-width: 100%;
    padding: 46px 0 48px;
  }

  .fc-hero h1 {
    font-size: clamp(3.9rem, 17vw, 5.4rem);
    letter-spacing: 3px;
  }

  .fc-hero-text {
    max-width: 600px;
  }

  .fc-benefit {
    min-height: 166px;
  }

  .fc-benefit::after {
    display: none !important;
  }

  .fc-benefit:not(:last-child) {
    border-bottom: 1px solid rgba(179, 142, 89, 0.27);
  }

  .fc-fabric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fc-card-content {
    min-height: 184px;
  }

  .fc-appointment-content {
    min-height: auto;
    padding: 30px 24px 34px;
  }
}

@media (max-width: 479.98px) {
  

  .fc-hero {
    min-height: 720px;
  }

  .fc-hero-media {
    background-position: 74% center;
  }

  .fc-hero h1 {
    font-size: 3.7rem;
  }

  .fc-title-rule {
    width: 230px;
  }

  .fc-hero-kicker {
    font-size: 1.25rem;
  }

  .fc-hero-text {
    font-size: 0.77rem;
  }

  .fc-btn {
    width: 100%;
  }

  .fc-fabric-grid {
    grid-template-columns: 1fr;
  }

  .fc-fabric-card figure {
    aspect-ratio: 1.42 / 1;
  }

  .fc-card-content {
    min-height: 165px;
  }

  .fc-section-heading p br {
    display: none;
  }

  .fc-contact-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .fc-contact-divider {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-fabric-card,
  .fc-fabric-card img,
  .fc-btn {
    transition: none;
  }
}

/* Align the fabrics hero with the custom shirts and alterations hero system. */
.fc-container {
  width: min(100%, 1510px);
  padding-inline: clamp(22px, 4vw, 68px);
}

.fc-hero {
  min-height: 560px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2,7,6,.99) 0%, rgba(2,7,6,.96) 31%, rgba(2,7,6,.72) 43%, rgba(2,7,6,.2) 63%, rgba(2,7,6,.04) 100%),
    url("../img/fabrics-collection/fabric-hero.webp") 76% center / cover no-repeat;
}

.fc-hero-shade {
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.3), transparent 50%);
}

.fc-breadcrumb { display: none; }
.fc-hero-row { min-height: 560px; }
.fc-hero-copy { max-width: 635px; padding: 64px 0 54px; }

.fc-hero h1 {
  margin: 0 0 5px;
  color: #d1a765;
  font-size: clamp(3.5rem, 5.8vw, 6rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: .92;
  text-transform: none;
}

.fc-title-rule {
  width: 72px;
  max-width: none;
  height: 1px;
  margin: 18px 0 17px;
  background: var(--gold, #b38e59);
}

.fc-title-rule::before,
.fc-title-rule::after,
.fc-title-rule span { display: none; }

.fc-hero-kicker {
  margin: 0;
  color: #fff8ec;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.1;
}

.fc-hero-text {
  max-width: 565px;
  color: rgba(255,255,255,.9);
  font-size: .86rem;
  line-height: 1.72;
}

.fc-btn-gold {
  color: #fff;
  background: linear-gradient(135deg, #b98f50, #8e6733);
  border-color: #c9a15f;
}

.fc-btn-gold:hover,
.fc-btn-gold:focus {
  color: #fff;
  background: #c09a5b;
  border-color: #c9a15f;
}

@media (max-width: 991.98px) {
  .fc-hero {
    min-height: 610px;
    background:
      linear-gradient(90deg, rgba(2,7,6,.98) 0%, rgba(2,7,6,.9) 45%, rgba(2,7,6,.46) 72%, rgba(2,7,6,.22) 100%),
      url("../img/fabrics-collection/fabrics-hero.webp") 72% center / cover no-repeat;
  }
  .fc-hero-row { min-height: 610px; }
  .fc-hero-copy { max-width: 540px; }
}

@media (max-width: 767.98px) {
  .fc-container { padding-inline: 18px; }
  .fc-hero {
    min-height: 660px;
    background:
      linear-gradient(180deg, rgba(1,5,4,.38) 0%, rgba(1,5,4,.55) 30%, rgba(1,5,4,.9) 67%, rgba(1,5,4,.98) 100%),
      url("../img/fabrics-collection/fabrics-hero.webp") 64% top / auto 57% no-repeat,
      #020806;
  }
  .fc-hero-row { min-height: 660px; align-items: flex-end !important; }
  .fc-hero-copy { max-width: 100%; padding: 310px 0 45px; }
  .fc-hero h1 { font-size: clamp(3.25rem, 13vw, 5rem); letter-spacing: 0; }
  .fc-hero-text { max-width: 600px; }
}

@media (max-width: 479.98px) {
  .fc-hero { min-height: 650px; }
  .fc-hero h1 { font-size: clamp(3.25rem, 13vw, 4.2rem); }
  .fc-title-rule { width: 72px; }
  .fc-hero-kicker { font-size: 1.35rem; }
}
