/*
 * eJewellers website look, loaded after style.css. Every colour comes from
 * the theme variables (--brand-*, set by resources/views/partials/theme),
 * so the admin's choice of theme recolours the whole site.
 *
 * The royal look (16 October 2026): headings in Cormorant Garamond, text in
 * Jost, a hero in the theme's colour with gold (the accent), square,
 * letter-spaced buttons and small capitals, like a jewellery showroom.
 */
:root {
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --ivory: #fbf8f1;
  --body-ink: #4b4a42;
}

/* style.css (the old template) sets Poppins and Open Sans; Jost everywhere, headings in the serif. */
body,
button,
input,
select,
textarea,
.nav-menu a,
#footer {
  font-family: var(--sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
}

/* Even-height figures in the serif, so prices and numbers line up. */
h1, h2, h3, h4, h5, h6, .price, .pricing h4 {
  font-variant-numeric: lining-nums;
}

/* ---------- Header: light ---------- */
#header {
  background: var(--brand-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-accent) 35%, transparent);
  padding: 14px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: var(--brand-bg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

#header .logo img {
  width: auto;
  max-height: 46px;
}

.nav-menu a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.nav-menu a:hover,
.nav-menu .active > a,
.nav-menu li:hover > a {
  color: var(--brand-accent);
}

.get-started-btn {
  border: 1px solid var(--brand-accent);
  border-radius: 2px;
  color: var(--brand-accent-dark);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.get-started-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--ivory);
}

.mobile-nav-toggle i,
.mobile-nav-active .mobile-nav-toggle i {
  color: var(--brand-primary);
}

/* Every header control is at least 40px to tap: the menu links, Login and the phone menu button. */
.nav-menu > ul > li {
  padding: 0 0 0 28px;
}

.nav-menu > ul > li > a {
  display: flex;
  align-items: center;
  min-height: 42px;
}

.get-started-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.mobile-nav-toggle {
  top: 15px;
  right: 6px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero: the theme's colour, with gold ---------- */
#hero {
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 0;
  padding: 220px 0 135px;
  background: var(--brand-gradient);
  color: var(--ivory);
}

#hero .hero-curves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#hero .hero-curves path {
  fill: none;
  stroke: var(--brand-accent-light);
  stroke-width: 1.2;
  opacity: 0.35;
}

#hero .hero-curves path.thin {
  stroke-width: 0.8;
  opacity: 0.45;
}

/* The hero moves a little by itself: its curves (the background) zoom and drift slowly, and the
   arch's column breathes, so the words stay still and sharp. The spin is on the arch itself, so a
   click still turns it. Off for visitors who ask for less motion (below). */
#hero .hero-curves {
  transform-origin: 30% 40%;
  animation: hero-drift 26s ease-in-out infinite alternate;
}

#hero .hero-img {
  animation: hero-breathe 22s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.05) translate3d(-1.2%, 0.8%, 0);
  }
  100% {
    transform: scale(1.08) translate3d(1%, -1.5%, 0);
  }
}

@keyframes hero-breathe {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.04) translate3d(0, -6px, 0);
  }
}

#hero .container {
  position: relative;
  padding-top: 0;
}

#hero .hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand-accent-light);
  margin: 0 0 22px;
}

#hero .hero-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--brand-accent);
}

#hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin: 0;
}

#hero h1 .accent {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--brand-accent-light);
}

#hero .hero-rule {
  width: 90px;
  height: 1px;
  background: var(--brand-accent);
  margin: 26px 0 22px;
}

#hero h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--ivory) 82%, transparent);
  margin: 24px 0 0;
  max-width: 560px;
}

#hero .hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  font-family: var(--sans);
  font-size: 14px;
  color: color-mix(in srgb, var(--ivory) 72%, transparent);
}

#hero .hero-trust span::before {
  content: "\25C6";
  color: var(--brand-accent);
  font-size: 9px;
  margin-right: 9px;
  vertical-align: 2px;
}

#hero .hero-actions {
  gap: 16px;
  margin-top: 36px;
}

/* Square, letter-spaced showroom buttons: gold first, then a gold outline. */
#hero .btn-get-started {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  padding: 16px 30px;
  border-radius: 2px;
  color: var(--brand-deep);
  background: linear-gradient(135deg, var(--brand-accent-light), var(--brand-accent) 55%, var(--brand-accent-dark));
  border: 0;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--brand-accent-dark) 40%, transparent);
}

#hero .btn-get-started:hover {
  color: var(--brand-deep);
  filter: brightness(1.06);
}

#hero .btn-watch-video {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid var(--brand-accent);
  color: var(--brand-accent-light);
}

#hero .btn-watch-video:hover {
  color: var(--brand-deep);
  background: var(--brand-accent-light);
}

/* The logo in an arch with a gold frame, like a jewellery-box window. */
#hero .hero-arch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 360px;
  height: 450px;
  border-radius: 180px 180px 6px 6px;
  background: var(--brand-gradient);
  border: 9px solid var(--brand-accent);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

#hero .hero-arch::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 164px 164px 2px 2px;
  border: 1px solid color-mix(in srgb, var(--brand-accent-light) 45%, transparent);
  pointer-events: none;
}

#hero .hero-arch img {
  width: 62%;
  max-width: 230px;
}

/* A click spins the arch round twice, like a coin, and it settles back. */
#hero .hero-img {
  perspective: 1400px;
}

#hero button.hero-arch {
  padding: 0;
  cursor: pointer;
  outline: none;
  transform-style: preserve-3d;
}

/* The logo on both sides, so it never reads mirrored mid-turn. */
#hero .hero-arch .hero-arch-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(1px);
}

#hero .hero-arch .hero-arch-face.back {
  position: absolute;
  transform: rotateY(180deg) translateZ(1px);
}

#hero button.hero-arch:focus-visible {
  box-shadow: 0 0 0 3px var(--brand-accent-light), 0 30px 60px color-mix(in srgb, var(--brand-deep) 28%, transparent);
}

#hero .hero-arch.spinning {
  animation: hero-spin 1.6s cubic-bezier(0.45, 0.05, 0.25, 1);
}

@keyframes hero-spin {
  0% {
    transform: rotateY(0) scale(1);
  }
  50% {
    transform: rotateY(360deg) scale(1.05);
  }
  100% {
    transform: rotateY(720deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero .hero-arch.spinning {
    animation: none;
  }
  #hero .hero-curves,
  #hero .hero-img {
    animation: none;
  }
}

#hero .animated,
#hero .hero-img img {
  animation: none;
}

/* A tablet on its side or a small laptop: the heading's column is narrow, so a size that keeps
   "Run your jewellery shop" on one line. */
@media (min-width: 992px) and (max-width: 1199px) {
  #hero h1 {
    font-size: 46px;
  }
}

@media (max-width: 991px) {
  #hero {
    min-height: 0;
    padding: 110px 0 60px;
    text-align: center;
  }
  #hero .hero-kicker,
  #hero .hero-trust {
    justify-content: center;
  }
  #hero .hero-rule,
  #hero h2 {
    margin-left: auto;
    margin-right: auto;
  }
  #hero .hero-actions {
    justify-content: center;
  }
  #hero .hero-arch {
    width: 240px;
    height: 310px;
    border-radius: 120px 120px 14px 14px;
    margin-bottom: 30px;
  }
  #hero .hero-arch::after {
    border-radius: 110px 110px 9px 9px;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 44px;
  }
  #hero h2 {
    font-size: 17px;
  }
}

@media (max-width: 575px) {
  #hero h1 {
    font-size: 38px;
  }
  #hero .hero-kicker {
    font-size: 11.5px;
    letter-spacing: 0.2em;
  }
  #hero .hero-kicker::before {
    display: none;
  }
  #hero .hero-actions {
    gap: 14px 22px;
    margin-top: 28px;
  }
}

/* A phone on its side: the words and a smaller arch side by side, so both show on the first screen. */
@media (min-width: 576px) and (max-width: 991px) and (orientation: landscape) {
  #hero {
    padding: 96px 0 40px;
    text-align: left;
  }
  #hero .row > div {
    flex: 0 0 50%;
    max-width: 50%;
  }
  #hero .row > div:first-child {
    order: 1;
    padding-top: 0 !important;
  }
  #hero .hero-img {
    order: 2;
  }
  #hero h1 {
    font-size: 30px;
  }
  #hero h2 {
    font-size: 16px;
  }
  #hero .hero-rule {
    margin: 16px 0 14px;
  }
  #hero h2,
  #hero .hero-rule {
    margin-left: 0;
  }
  #hero .hero-actions {
    justify-content: flex-start;
    gap: 12px 20px;
    margin-top: 22px;
  }
  #hero .hero-arch {
    width: 180px;
    height: 236px;
    border-radius: 90px 90px 12px 12px;
    margin-bottom: 0;
  }
  #hero .hero-arch::after {
    inset: 8px;
    border-radius: 82px 82px 8px 8px;
  }
}

/* The template's grey-blue section backgrounds, ivory like the rest of the page. */
.section-bg {
  background-color: var(--ivory);
}

/* ---------- The strip under the hero: ivory, small capitals and gold ---------- */
.cliens.section-bg {
  background: var(--ivory);
  border-top: 1px solid var(--brand-accent);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-accent) 35%, transparent);
}

/* The footer's bottom band (copyright) in the same gradient. */
#footer .footer-band {
  background: var(--brand-gradient);
}

/* Footer links and social buttons big enough to tap. */
#footer .footer-top .footer-links ul li {
  padding: 0;
}

#footer .footer-top .footer-links ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

#footer .footer-top .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0 6px 6px 0;
}

.cliens {
  padding: 16px 0;
}

p.imageTxt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin: 6px 0;
}

p.imageTxt .gem {
  color: var(--brand-accent);
  font-size: 8px;
  margin-right: 10px;
  vertical-align: 2px;
}

/* ---------- Headings across the website ---------- */
.section-title h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 46px;
  text-transform: none;
  color: var(--brand-deep);
}

.section-title h2::after {
  background: var(--brand-accent);
}

.why-us .content h3,
.skills .content h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 38px;
  color: var(--brand-deep);
}

/* ---------- "Everything your counter needs": three cards with a gold top ---------- */
.royal-cards {
  padding: 80px 0 70px;
  background: var(--ivory);
  text-align: center;
}

.royal-cards .ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--brand-accent);
  margin: 4px 0 16px;
}

.royal-cards .ornament::before,
.royal-cards .ornament::after {
  content: "";
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.royal-cards .ornament::after {
  transform: scaleX(-1);
}

.royal-cards .ornament b {
  width: 7px;
  height: 7px;
  background: currentColor;
  transform: rotate(45deg);
}

.royal-cards h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 46px;
  color: var(--brand-deep);
  margin: 0 0 8px;
}

.royal-cards .lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body-ink);
  max-width: 640px;
  margin: 0 auto 46px;
}

.royal-card {
  height: 100%;
  text-align: left;
  background: #fff;
  padding: 34px 32px 32px;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 30%, transparent);
  border-top: 3px solid var(--brand-accent);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--brand-deep) 8%, transparent);
}

.royal-card .ico {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-accent);
  color: var(--brand-accent-dark);
  font-size: 24px;
  margin-bottom: 20px;
}

.royal-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  color: var(--brand-deep);
  margin: 0 0 10px;
}

.royal-card p {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--body-ink);
  margin: 0;
}

/* ---------- Buttons for any website page ---------- */
.btn-royal,
.btn-royal:visited {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 2px;
  color: var(--ivory);
  background: var(--brand-primary);
  border: 1px solid var(--brand-accent);
}

.btn-royal:hover,
.btn-royal:focus {
  color: var(--ivory);
  background: var(--brand-soft);
}

.btn-royal-outline,
.btn-royal-outline:visited {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 2px;
  color: var(--brand-primary);
  border: 1px solid var(--brand-accent);
  background: transparent;
}

.btn-royal-outline:hover,
.btn-royal-outline:focus {
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-accent) 12%, transparent);
}

/* A promise still to come, in the theme's gold (it was a fixed colour). */
.about .soon-note {
  color: var(--brand-accent-dark);
}

/* The service cards: a gold top and the serif, like the feature cards. */
.services .icon-box {
  border-top: 3px solid var(--brand-accent);
}

.services .icon-box h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
}
