/*
Theme Name: DI Luna Bootstrap
Theme URI: http://localhost:8080
Author: DI Luna Studio
Description: Clean Bootstrap 5 theme for a hair coloring and extensions studio.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.1
Text Domain: di-luna
*/

:root {
  --di-ink: #121212;
  --di-muted: #6d665f;
  --di-soft: #f7f3ef;
  --di-cream: #fffaf5;
  --di-blush: #d8a59b;
  --di-bronze: #8c6b52;
  --di-line: rgba(18, 18, 18, 0.12);
}

body {
  color: var(--di-ink);
  background: var(--di-cream);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.navbar-brand,
.display-font {
  font-family: "Cormorant Garamond", Georgia, serif;
}

a {
  color: var(--di-ink);
}

.site-header {
  background: rgba(255, 250, 245, 0.92);
  border-bottom: 1px solid var(--di-line);
  backdrop-filter: blur(14px);
}

.brand-logo {
  height: 56px;
  width: auto;
}

.brand-wordmark {
  display: grid;
  line-height: 1;
  color: var(--di-ink);
}

.brand-wordmark span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.brand-wordmark small {
  margin-top: 0.18rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: lowercase;
}

.nav-link {
  color: var(--di-ink);
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--di-bronze);
}

.header-phone {
  align-items: center;
  color: var(--di-ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover,
.header-phone:focus {
  color: var(--di-bronze);
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-phone-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--di-line);
  border-radius: 50%;
  color: #fff;
  background: var(--di-ink);
  text-decoration: none;
}

.mobile-phone-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.btn-di {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--di-ink);
  --bs-btn-border-color: var(--di-ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--di-bronze);
  --bs-btn-hover-border-color: var(--di-bronze);
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
}

.btn-di-outline {
  --bs-btn-color: var(--di-ink);
  --bs-btn-border-color: var(--di-line);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--di-ink);
  --bs-btn-hover-border-color: var(--di-ink);
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
}

.hero-section {
  min-height: calc(100vh - 84px);
  padding: 5.5rem 0 4rem;
  background:
    linear-gradient(90deg, rgba(255, 250, 245, 0.96) 0%, rgba(255, 250, 245, 0.84) 42%, rgba(255, 250, 245, 0.22) 100%),
    url("assets/img/hero-home.png") right center / cover no-repeat,
    var(--di-cream);
}

.eyebrow {
  color: var(--di-bronze);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.95;
}

.lead {
  color: var(--di-muted);
}

.section-padding {
  padding: 5rem 0;
}

.section-soft {
  background: var(--di-soft);
  border-top: 1px solid var(--di-line);
  border-bottom: 1px solid var(--di-line);
}

.service-card {
  position: relative;
  height: 100%;
  border: 1px solid var(--di-line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.service-card-body {
  padding: 1.6rem;
}

.service-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.8rem;
}

.service-card a {
  font-weight: 700;
  color: var(--di-bronze);
}

.service-hero {
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.78) 0%, rgba(18, 18, 18, 0.52) 42%, rgba(18, 18, 18, 0.14) 100%),
    var(--di-cream);
  color: #fff;
}

.service-coloring {
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.8) 0%, rgba(18, 18, 18, 0.52) 42%, rgba(18, 18, 18, 0.12) 100%),
    url("assets/img/hero-coloring.png") right center / cover no-repeat,
    var(--di-cream);
}

.service-extensions {
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.8) 0%, rgba(18, 18, 18, 0.52) 42%, rgba(18, 18, 18, 0.12) 100%),
    url("assets/img/hero-extensions.png") right center / cover no-repeat,
    var(--di-cream);
}

.service-hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.service-hero .eyebrow {
  color: #f1c9be;
}

.price-line {
  border-top: 1px solid var(--di-line);
  padding: 1rem 0;
}

.price-line:last-child {
  border-bottom: 1px solid var(--di-line);
}

.step-card,
.info-panel {
  height: 100%;
  border: 1px solid var(--di-line);
  border-radius: 8px;
  background: #fff;
  padding: 1.6rem;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  color: #fff;
  background: var(--di-ink);
  font-weight: 700;
}

.step-card h3,
.info-panel h3 {
  font-size: 1.65rem;
  margin-bottom: 0.8rem;
}

.step-card p,
.info-panel li {
  color: var(--di-muted);
}

.info-panel ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.2rem;
}

.faq-accordion {
  border: 1px solid var(--di-line);
  border-radius: 8px;
  overflow: hidden;
}

.faq-accordion .accordion-item {
  border-color: var(--di-line);
}

.faq-accordion .accordion-button {
  color: var(--di-ink);
  background: #fff;
  font-weight: 700;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--di-ink);
  background: var(--di-cream);
}

.certificate-card {
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--di-line);
  border-radius: 8px;
  background: #fff;
}

.certificate-card img {
  display: block;
  width: 100%;
  height: auto;
}

.certificate-card figcaption {
  padding: 1rem;
  color: var(--di-muted);
  font-weight: 700;
  text-align: center;
}

.portfolio-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.portfolio-heading h3 {
  margin: 0;
  font-size: 2rem;
}

.portfolio-heading a {
  color: var(--di-bronze);
  font-weight: 700;
  text-decoration: none;
}

.portfolio-card {
  position: relative;
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--di-line);
  border-radius: 8px;
  background: #fff;
  line-height: 0;
  margin: 0;
}

.portfolio-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.2rem 1rem 1rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  background: linear-gradient(transparent, rgba(18, 18, 18, 0.76));
}

.portfolio-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.site-footer {
  background: var(--di-ink);
  color: rgba(255, 255, 255, 0.82);
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  font-size: 1.12rem;
}

.contact-list a,
.contact-list span {
  border-bottom: 1px solid var(--di-line);
  color: var(--di-ink);
  padding-bottom: 0.9rem;
  text-decoration: none;
}

.map-frame {
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--di-line);
  border-radius: 8px;
  background: #fff;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.site-footer a {
  color: #fff;
}

.footer-logo {
  filter: invert(1);
  height: 64px;
  width: auto;
}

.wp-content img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 5rem;
    background:
      linear-gradient(rgba(255, 250, 245, 0.9), rgba(255, 250, 245, 0.9)),
      url("assets/img/hero-home.png") center / cover no-repeat,
      var(--di-cream);
  }

  .service-coloring,
  .service-extensions {
    background-position: center;
  }

  .brand-logo {
    height: 46px;
  }

  .brand-wordmark span {
    font-size: 1.25rem;
  }

  .mobile-phone-btn {
    display: inline-flex;
  }
}

@media (max-width: 575.98px) {
  .portfolio-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
