/* ==========================================================
   HFLair – Event Design
   Plain HTML + JS rebuild of the WordPress/Elementor site
   ========================================================== */

:root {
  --gold: #a88757;
  --gold-dark: #8e7046;
  --ink: #1b1b1b;
  --text: #666666;
  --cream: #faf8f7;
  --mist: #e4ebf2;
  --white: #ffffff;

  --font-script: "Great Vibes", cursive;
  --font-body: "Mulish", sans-serif;

  --container: 1170px;
  --radius: 4px;
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 .4em;
  line-height: 1.1;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #fff; padding: 8px 16px; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  padding: 14px 30px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Section title (flower + kicker + script heading) ---------- */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title.left { text-align: left; }
.section-title .flower { width: 46px; margin: 0 auto 10px; }
.section-title.left .flower { margin-left: 0; }
.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-title h2 { font-size: clamp(40px, 5vw, 60px); line-height: 1; }

section { padding: 100px 0; }

/* ==========================================================
   Header / navigation
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.site-header.solid,
.site-header.scrolled,
.menu-open .site-header {
  background: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.site-header .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-script);
  font-size: 42px;
  color: var(--white);
  line-height: 1;
}

.nav { display: flex; align-items: center; }
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 6px;
}
.nav-list > li { position: relative; }
.nav-list a,
.nav-list .dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.nav-list > li > a::after,
.nav-list > li > .dropdown-toggle::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-list > li > a:hover::after,
.nav-list > li > a.active::after,
.nav-list > li > .dropdown-toggle:hover::after,
.nav-list > li > .dropdown-toggle.active::after { transform: scaleX(1); }

.caret { width: 10px; height: 10px; fill: currentColor; transition: transform .25s; }

/* Dropdown */
.dropdown-menu {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 270px;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.dropdown-menu a {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 22px;
  transition: color .2s, padding-left .2s, background .2s;
}
.dropdown-menu a:hover { color: var(--gold); background: var(--cream); padding-left: 28px; }

.has-dropdown.open > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown.open .caret { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 961px) {
  .has-dropdown:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .has-dropdown:hover .caret { transform: rotate(180deg); }
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  color: var(--white);
}
.menu-toggle span {
  display: block; height: 2px; background: currentColor; margin: 5px 0;
  transition: transform .3s, opacity .3s;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
  }
  .menu-open .nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 10px 0; }
  .nav-list a,
  .nav-list .dropdown-toggle {
    color: var(--ink); width: 100%; justify-content: space-between;
    padding: 14px 24px; border-bottom: 1px solid #f0ece8;
  }
  .nav-list > li > a::after,
  .nav-list > li > .dropdown-toggle::after { display: none; }
  .nav-list a.active, .nav-list .dropdown-toggle.active { color: var(--gold); }
  .dropdown-menu {
    position: static; box-shadow: none; border-top: 0; border-radius: 0;
    min-width: 0; padding: 0; background: var(--cream);
    opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .has-dropdown.open > .dropdown-menu { max-height: 400px; }
  .dropdown-menu a { padding-left: 40px; }
  .dropdown-menu a:hover { padding-left: 46px; }
}

/* ==========================================================
   Hero (home)
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--white);
  background: var(--ink) center/cover no-repeat;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.55) 100%);
}
.hero .container { position: relative; }
.hero .tagline {
  font-family: var(--font-script);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--white);
  margin: 0;
}
.hero h1 {
  font-size: clamp(80px, 12vw, 160px);
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1;
}
.hero p {
  max-width: 560px; margin: 0 auto 34px;
  font-size: 17px; color: rgba(255,255,255,.92);
}

/* Inner-page banner */
.page-banner {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 90px;
  text-align: center;
  color: var(--white);
  background: var(--ink) center/cover no-repeat;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.page-banner .container { position: relative; }
.page-banner h1 { color: var(--white); font-size: clamp(56px, 8vw, 90px); margin: 0; }
.breadcrumb {
  list-style: none; padding: 0; margin: 6px 0 0;
  display: flex; justify-content: center; gap: 10px;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
}
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.breadcrumb a:hover { color: var(--gold); }

/* ==========================================================
   About / Who we are
   ========================================================== */
.about .container {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center;
}
.about-img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  max-width: 470px;
  margin: 0 auto;
  box-shadow: 0 0 0 12px var(--cream);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.about p { margin: 0 0 30px; }

/* ==========================================================
   Feature strip (4 icons on cream)
   ========================================================== */
.features { background: var(--cream); padding: 80px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.feature img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 18px; }
.feature h3 { font-size: 30px; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15px; }

/* ==========================================================
   Services (image cards)
   ========================================================== */
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-card {
  position: relative;
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background: var(--ink) center/cover no-repeat;
  isolation: isolate;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.65));
  transition: background .35s;
}
.service-card:hover::before { background: linear-gradient(180deg, rgba(168,135,87,.35), rgba(0,0,0,.7)); }
.service-card .num { font-size: 14px; letter-spacing: 3px; font-weight: 700; }
.service-card h3 { color: var(--white); font-size: clamp(30px, 3vw, 40px); margin: 0; }
.service-card .more {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
  margin-top: 12px; opacity: .85; transition: opacity .25s, gap .25s;
}
.service-card:hover .more { opacity: 1; gap: 14px; }

/* ==========================================================
   Counters
   ========================================================== */
.counters { background: var(--gold); color: var(--white); padding: 70px 0; }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.counter .value {
  font-family: var(--font-script);
  font-size: clamp(54px, 6vw, 72px);
  line-height: 1;
  display: block;
}
.counter .label { font-size: 14px; letter-spacing: 4px; text-transform: uppercase; }

/* ==========================================================
   Testimonials
   ========================================================== */
.testimonials .container {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center;
}
.testimonial-img { border-radius: var(--radius); overflow: hidden; }
.testimonial-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.slider { position: relative; }
.slides { position: relative; min-height: 260px; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(20px);
  transition: opacity .5s, transform .5s;
  pointer-events: none;
}
.slide.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.slide blockquote {
  margin: 0 0 28px;
  font-size: 18px; font-style: italic; line-height: 1.8;
}
.slide blockquote::before {
  content: "\201C"; display: block;
  font-family: var(--font-script); font-size: 90px; line-height: .6;
  color: var(--gold); font-style: normal; margin-bottom: 10px;
}
.author { display: flex; align-items: center; gap: 16px; }
.author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.author strong { display: block; color: var(--ink); font-size: 16px; }
.author span { font-size: 14px; }
.slider-dots { display: flex; gap: 10px; margin-top: 30px; }
.slider-dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold);
  background: transparent; cursor: pointer; padding: 0; transition: background .25s;
}
.slider-dots button.active { background: var(--gold); }

/* ==========================================================
   Gallery
   ========================================================== */
.gallery { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid button {
  padding: 0; border: 0; cursor: zoom-in; background: none;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-grid button:hover img { transform: scale(1.07); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 85vh; max-width: 90vw; border-radius: var(--radius); }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 40px; line-height: 1; padding: 10px 16px;
}
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ==========================================================
   Services page detail blocks
   ========================================================== */
.service-detail { padding: 90px 0; scroll-margin-top: var(--header-h); }
.service-detail:nth-of-type(even) { background: var(--cream); }
.service-detail .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.service-detail:nth-of-type(even) .detail-img { order: 2; }
.detail-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-num { font-family: var(--font-script); font-size: 70px; color: var(--gold); line-height: 1; }
.service-detail h2 { font-size: clamp(38px, 4vw, 52px); }
.service-detail ul { padding: 0; margin: 0 0 30px; list-style: none; }
.service-detail li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.service-detail li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 14px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ==========================================================
   Contact page
   ========================================================== */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact-card {
  text-align: center; padding: 40px 30px;
  background: var(--cream); border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,.07); }
.contact-card .icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--gold); color: #fff;
}
.contact-card .icon svg { width: 26px; height: 26px; fill: currentColor; }
.contact-card h3 { font-size: 32px; }
.contact-card p, .contact-card a { margin: 0; color: var(--text); }
.contact-card a:hover { color: var(--gold); }

.contact-form-wrap { background: var(--cream); }
.contact-form {
  max-width: 820px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.contact-form .full { grid-column: 1 / -1; }
.field label {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ink); margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit; color: var(--ink);
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid #e6e0d9;
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,135,87,.15); }
.field.invalid input,
.field.invalid textarea { border-color: #c0392b; }
.field .error { display: none; color: #c0392b; font-size: 13px; margin-top: 4px; }
.field.invalid .error { display: block; }
.form-actions { text-align: center; }
.form-status { grid-column: 1 / -1; text-align: center; margin: 0; font-weight: 600; min-height: 1.7em; }
.form-status.ok { color: #2e7d4f; }
.form-status.err { color: #c0392b; }

.map { padding: 0; }
.map iframe { width: 100%; height: 450px; border: 0; display: block; filter: grayscale(.3); }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--gold); color: rgba(255,255,255,.9); padding-top: 80px; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px;
}
.site-footer h4 { color: var(--white); font-size: 32px; margin-bottom: 18px; }
.site-footer .logo { font-size: 48px; display: inline-block; margin-bottom: 14px; }
.site-footer p { margin: 0 0 20px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 15px; }
.site-footer a:hover { color: var(--ink); }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; transition: background .25s, color .25s;
}
.socials a:hover { background: var(--white); color: var(--gold); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.25);
  text-align: center; padding: 22px 0; font-size: 14px;
}

/* ==========================================================
   Scroll reveal
   ========================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  section { padding: 70px 0; }
  .about .container,
  .testimonials .container,
  .service-detail .container { grid-template-columns: 1fr; gap: 40px; }
  .service-detail:nth-of-type(even) .detail-img { order: 0; }
  .features-grid,
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .testimonial-img { max-width: 420px; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .logo { font-size: 36px; }
  .features-grid,
  .service-cards,
  .gallery-grid,
  .footer-grid,
  .contact-form { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 260px; }
}
