/*
Theme Name: Jasmin Beauty London Rebuild
Theme URI: https://jasminbeautylondon.com
Author: RuberMedia Recovery
Description: Rebuilt WordPress theme based on archived Jasmin Beauty London pages from 2023. Original stack detected: Neve 2.11.6 and Elementor 3.3.1.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.9
Text Domain: jasmin-rebuild
*/

:root {
  --rose: #eecdc8;
  --rose-soft: #f9efed;
  --wine: #911439;
  --ink: #202031;
  --muted: #6f5d63;
  --line: rgba(32, 32, 49, 0.16);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rose-soft);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-shell {
  width: min(1170px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand img {
  width: 73px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.primary-nav a {
  padding: 28px 0;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--wine);
}

.hero {
  background:
    radial-gradient(circle at 85% 26%, rgba(255, 255, 255, 0.68), transparent 24%),
    linear-gradient(110deg, var(--rose) 0%, var(--rose) 50%, #f4ddd9 100%);
  overflow: hidden;
}

.hero-inner {
  width: min(1170px, calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1.1fr);
  align-items: center;
  gap: 30px;
  padding: 70px 0 100px;
}

.script-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Over the Rainbow", "Comic Sans MS", cursive;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 500;
  line-height: 1.05;
}

.hero h1 {
  margin: 0 0 34px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 400;
  line-height: 0.96;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 18px 50px;
  border-radius: 50px;
  background: var(--white);
  color: var(--wine);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.button:hover {
  background: var(--wine);
  color: var(--white);
}

.hero-collage {
  position: relative;
  min-height: 520px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: 50px;
  box-shadow: 0 22px 60px rgba(84, 39, 52, 0.22);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card.large {
  right: 4%;
  top: 20px;
  width: 66%;
  height: 430px;
}

.hero-card.small {
  left: 0;
  bottom: 0;
  width: 48%;
  height: 310px;
  border: 12px solid var(--rose);
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--rose);
}

.container {
  width: min(1170px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: #c9727a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.section-title {
  margin: 0 auto 36px;
  max-width: 820px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.section-copy {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  border-radius: 42px;
  background: linear-gradient(rgba(32, 32, 49, 0.16), rgba(32, 32, 49, 0.38)), var(--rose-soft);
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: 0 14px 34px rgba(84, 39, 52, 0.18);
  text-align: center;
}

.service-card span {
  display: block;
  width: 100%;
  padding: 18px 14px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  align-items: stretch;
  margin: 26px 0;
  background: var(--rose-soft);
}

.service-detail-title {
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px;
  background: var(--rose);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.service-detail-title h3 {
  margin: 0;
  padding: 18px 24px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  text-align: center;
}

.service-detail-text {
  display: flex;
  align-items: center;
  padding: 42px;
  font-size: 18px;
}

.cert-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cert-grid a,
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(84, 39, 52, 0.12);
}

.cert-grid img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.highlight-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.highlight,
.contact-card {
  padding: 34px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 26px rgba(84, 39, 52, 0.08);
}

.highlight img {
  width: 58px;
  margin: 0 auto 18px;
}

.highlight h3,
.contact-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.highlight p,
.contact-card p {
  margin: 0;
  text-align: center;
}

.map-band {
  min-height: 380px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(145, 20, 57, 0.72), rgba(32, 32, 49, 0.62)),
    url("assets/img/gallery-1.jpeg") center/cover;
  color: #fff;
  text-align: center;
}

.site-footer {
  padding: 30px 20px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.page-hero {
  padding: 92px 20px;
  background: linear-gradient(rgba(32, 32, 49, 0.28), rgba(32, 32, 49, 0.3)), var(--rose);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .nav-shell {
    flex-direction: column;
    padding: 16px 0;
  }

  .primary-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .primary-nav a {
    padding: 8px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-collage {
    min-height: 460px;
  }

  .services-grid,
  .cert-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-grid,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .container,
  .hero-inner {
    width: min(100% - 28px, 1170px);
  }

  .hero-card.large,
  .hero-card.small {
    position: static;
    width: 100%;
    height: 300px;
    margin-bottom: 18px;
  }

  .hero-collage {
    min-height: 0;
  }

  .services-grid,
  .cert-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }
}
