/* ==========================================================================
   blian EVENTS — styles.css
   A luxury event planning website for Nairobi, Kenya
   Palette: Deep Forest Green · Champagne Gold · Ivory · Warm Charcoal
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --clr-green-deep:   #1a2e1f;   /* Deep forest green — primary background */
  --clr-green-mid:    #2c4a33;   /* Mid green — cards, sections */
  --clr-green-light:  #3d6645;   /* Light green — hover states */
  --clr-gold:         #c9a84c;   /* Champagne gold — accents & CTAs */
  --clr-gold-light:   #e0c47a;   /* Light gold — hover gold */
  --clr-gold-muted:   #a68a36;   /* Muted gold — subtle details */
  --clr-ivory:        #faf6ef;   /* Warm ivory — page background */
  --clr-ivory-warm:   #f2ead8;   /* Slightly deeper ivory — alternating sections */
  --clr-cream:        #efe7cf;   /* Cream — card backgrounds */
  --clr-charcoal:     #2a2a2a;   /* Near-black text */
  --clr-text-body:    #4a4540;   /* Body text — warm grey */
  --clr-text-muted:   #8a7f72;   /* Muted labels & eyebrows */
  --clr-white:        #ffffff;
  --clr-border:       rgba(201, 168, 76, 0.18); /* Subtle gold border */

  /* Typography */
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;

  /* Sizing scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.5rem;
  --text-6xl:  5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);
  --section-pad:   clamp(4rem, 8vw, 7rem);

  /* Radii */
  --radius-sm:  4px;
  --radius-md:  10px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(26, 46, 31, 0.08);
  --shadow-md:  0 4px 20px rgba(26, 46, 31, 0.10);
  --shadow-lg:  0 12px 40px rgba(26, 46, 31, 0.14);
  --shadow-xl:  0 24px 60px rgba(26, 46, 31, 0.18);
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.20);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Navigation height */
  --nav-height: 80px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--clr-text-body);
  background-color: var(--clr-ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   3. Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad);
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. Typography Shared
   -------------------------------------------------------------------------- */
.section__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  display: block;
  margin-bottom: var(--space-3);
}

.section__heading {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 400;
  line-height: 1.1;
  color: var(--clr-charcoal);
  margin-bottom: var(--space-4);
}

.section__heading em {
  font-style: italic;
  color: var(--clr-green-mid);
}

.section__sub {
  max-width: 52ch;
  color: var(--clr-text-muted);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section__header .section__sub {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn--gold {
  background: var(--clr-gold);
  color: var(--clr-green-deep);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--clr-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(201, 168, 76, 0.30);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--clr-white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

.btn:focus-visible {
  outline: 3px solid var(--clr-gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(26, 46, 31, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.nav__logo:hover { color: var(--clr-gold); }

.nav__logo-icon {
  color: var(--clr-gold);
  font-size: var(--text-lg);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.80);
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--clr-gold);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--clr-white);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link--cta {
  background: var(--clr-gold);
  color: var(--clr-green-deep) !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
  background: var(--clr-gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--clr-white);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

/* Toggle animation — open state */
.nav__toggle.open .nav__toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle.open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle.open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1800&q=85');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed; /* Subtle parallax on desktop */
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 16, 0.82) 0%,
    rgba(13, 27, 16, 0.60) 50%,
    rgba(13, 27, 16, 0.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-block: var(--space-20);
}

.hero__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-gold);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 7vw, var(--text-6xl));
  font-weight: 300;
  line-height: 1.05;
  color: var(--clr-white);
  margin-bottom: var(--space-6);
}

.hero__heading em {
  font-style: italic;
  color: var(--clr-gold-light);
  font-weight: 300;
}

.hero__sub {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
  line-height: 1.65;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  z-index: 2;
  animation: heroScrollBounce 2.5s ease-in-out infinite;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--clr-gold));
}

.hero__scroll-text {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  font-weight: 500;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* --------------------------------------------------------------------------
   8. Stats Strip
   -------------------------------------------------------------------------- */
.stats {
  background: var(--clr-green-deep);
  padding-block: var(--space-12) var(--space-16);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stats__item {
  text-align: center;
  position: relative;
  padding: var(--space-6);
}

.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--clr-border);
}

.stats__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 400;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stats__number sup {
  font-size: 0.5em;
  vertical-align: super;
}

.stats__label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   9. About Section
   -------------------------------------------------------------------------- */
.about {
  background: var(--clr-ivory);
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
  }
}

.about__visual {
  position: relative;
}

.about__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 5;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about__img-wrap:hover .about__img {
  transform: scale(1.04);
}

.about__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--clr-gold);
  color: var(--clr-green-deep);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  box-shadow: var(--shadow-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.about__badge-icon {
  font-size: var(--text-xl);
}

.about__body {
  margin-bottom: var(--space-5);
  color: var(--clr-text-body);
  font-size: var(--text-lg);
  line-height: 1.7;
}

.about__pillars {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about__pillar {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.pillar__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  font-size: var(--text-sm);
  margin-top: 2px;
}

.about__pillar strong {
  display: block;
  font-weight: 500;
  color: var(--clr-charcoal);
  margin-bottom: var(--space-1);
}

.about__pillar p {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. Services Section
   -------------------------------------------------------------------------- */
.services {
  background: var(--clr-ivory-warm);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__img {
  transform: scale(1.06);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 46, 31, 0.5), transparent);
}

.service-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-card__icon {
  font-size: var(--text-2xl);
  color: var(--clr-gold);
  line-height: 1;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--clr-charcoal);
  line-height: 1.2;
}

.service-card__text {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: 1.6;
  flex: 1;
}

.service-card__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-gold-muted);
  letter-spacing: 0.04em;
  transition: color var(--transition-fast), gap var(--transition-fast);
  align-self: flex-start;
}

.service-card__link:hover { color: var(--clr-gold); }

/* --------------------------------------------------------------------------
   11. Portfolio Section
   -------------------------------------------------------------------------- */
.portfolio {
  background: var(--clr-green-deep);
}

.portfolio .section__eyebrow { color: var(--clr-gold); }

.portfolio .section__heading {
  color: var(--clr-white);
}

.portfolio .section__sub {
  color: rgba(255, 255, 255, 0.60);
}

/* Filter buttons */
.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition-base);
  cursor: pointer;
  background: transparent;
}

.filter-btn:hover,
.filter-btn--active {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-green-deep);
  font-weight: 500;
}

/* Portfolio grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .portfolio__grid { grid-template-columns: repeat(3, 1fr); }
}

.portfolio__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.portfolio__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio__item:hover .portfolio__img {
  transform: scale(1.07);
}

.portfolio__caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 16, 0.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio__item:hover .portfolio__caption {
  opacity: 1;
}

.portfolio__caption-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--clr-white);
  line-height: 1.2;
}

.portfolio__caption-sub {
  display: block;
  font-size: var(--text-xs);
  color: var(--clr-gold-light);
  letter-spacing: 0.1em;
  margin-top: var(--space-1);
}

/* Hidden items during filtering */
.portfolio__item.hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   12. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials {
  background: var(--clr-cream);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 168, 76, 0.10);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  font-style: normal;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
  font-size: var(--text-base);
  color: var(--clr-gold);
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--clr-charcoal);
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--clr-gold);
}

.testimonial-card__name {
  display: block;
  font-weight: 500;
  color: var(--clr-charcoal);
  font-style: normal;
  font-size: var(--text-sm);
}

.testimonial-card__role {
  display: block;
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   13. Contact Section
   -------------------------------------------------------------------------- */
.contact {
  background: var(--clr-ivory);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-20);
  }
}

.contact .section__heading {
  margin-bottom: var(--space-5);
}

.contact .section__heading em {
  color: var(--clr-gold-muted);
}

.contact__body {
  color: var(--clr-text-muted);
  font-size: var(--text-lg);
  line-height: 1.7;
  max-width: 40ch;
  margin-bottom: var(--space-8);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact__detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact__detail-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  font-size: var(--text-base);
  margin-top: 2px;
}

.contact__detail strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-charcoal);
  margin-bottom: 2px;
}

.contact__detail p,
.contact__detail a {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  transition: color var(--transition-fast);
}

.contact__detail a:hover { color: var(--clr-gold-muted); }

/* --------------------------------------------------------------------------
   14. Contact Form
   -------------------------------------------------------------------------- */
.contact-form {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-charcoal);
  margin-bottom: var(--space-2);
}

.form-label span { color: var(--clr-gold); }

.form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #e5dfd4;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--clr-charcoal);
  background: var(--clr-ivory);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: #b8afa4; }

.form-input:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
  background: var(--clr-white);
}

.form-input.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.10);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a7f72' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  display: block;
  font-size: var(--text-xs);
  color: #c0392b;
  margin-top: var(--space-1);
  min-height: 1em;
}

/* Submit button loading state */
.btn__loading { display: none; }

.btn.loading .btn__text   { display: none; }
.btn.loading .btn__loading { display: inline; }

/* Success message */
.form-success {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: rgba(44, 74, 51, 0.08);
  border: 1px solid rgba(44, 74, 51, 0.20);
  border-radius: var(--radius-md);
  color: var(--clr-green-mid);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--clr-green-deep);
  padding-top: var(--space-16);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--clr-border);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}

.footer__logo:hover { color: var(--clr-gold); }

.footer__logo span { color: var(--clr-gold); }

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
  letter-spacing: 0.03em;
}

.footer__link:hover { color: var(--clr-gold); }

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-2px);
}

.footer__bottom {
  padding-block: var(--space-5);
  text-align: center;
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.30);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   16. Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-6);
  z-index: 500;
  width: 44px;
  height: 44px;
  background: var(--clr-gold);
  color: var(--clr-green-deep);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(12px);
}

.back-to-top:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--clr-gold-light);
  transform: translateY(-3px);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--clr-gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   17. Responsive — Mobile Navigation
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
    z-index: 10;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    background: var(--clr-green-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity var(--transition-base), transform var(--transition-base);
  }

  .nav__menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav__link {
    font-size: var(--text-2xl);
    font-family: var(--font-display);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
  }

  .nav__link--cta {
    padding: 0.8rem 2.5rem;
    font-size: var(--text-base) !important;
    font-family: var(--font-body) !important;
  }
}

/* --------------------------------------------------------------------------
   18. Miscellaneous & Focus Styles
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: rgba(201, 168, 76, 0.25);
  color: var(--clr-charcoal);
}

/* Disable parallax on mobile — performance */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
}

/* Print styles */
@media print {
  .header, .hero__scroll, .back-to-top, .nav__toggle { display: none; }
}
