/* Design DNA: Split-screen hero — bold production copy left / lit stone courtyard event right; night indigo + candle gold; grand event-production mood */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
  --ej-dark: #12152B;
  --ej-indigo: #1A1F4A;
  --ej-gold: #D4AF37;
  --ej-gold-light: #E8C96A;
  --ej-stone: #E8E2D6;
  --ej-stone-dark: #C9C2B4;
  --ej-white: #FAF9F6;
  --ej-text: #2A2D3E;
  --ej-text-muted: #6B6E7D;
  --ej-font-display: 'Cinzel', Georgia, serif;
  --ej-font-body: 'Raleway', 'Segoe UI', sans-serif;
  --ej-radius: 4px;
  --ej-shadow: 0 8px 32px rgba(18, 21, 43, 0.35);
  --ej-transition: 0.3s ease;
  --ej-max: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ej-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ej-text);
  background: var(--ej-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ej-gold);
  text-decoration: none;
  transition: color var(--ej-transition);
}

a:hover {
  color: var(--ej-gold-light);
}

h1, h2, h3, h4 {
  font-family: var(--ej-font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ej-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Header ── */
.ej-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(18, 21, 43, 0.97);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(8px);
}

.ej-header__inner {
  max-width: var(--ej-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.ej-logo {
  font-family: var(--ej-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ej-stone);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ej-logo:hover {
  color: var(--ej-gold);
}

.ej-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.ej-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ej-gold);
  transition: var(--ej-transition);
}

.ej-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.ej-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ej-stone);
}

.ej-nav a:hover,
.ej-nav a.ej-nav__active {
  color: var(--ej-gold);
}

/* ── Hero Split-screen ── */
.ej-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  margin-top: 72px;
}

.ej-hero__copy {
  background: var(--ej-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  position: relative;
}

.ej-hero__copy::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--ej-gold), transparent);
}

.ej-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ej-gold);
  margin-bottom: 1.5rem;
}

.ej-hero__copy h1 {
  color: var(--ej-stone);
  margin-bottom: 1.5rem;
}

.ej-hero__copy p {
  color: var(--ej-stone-dark);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.ej-hero__visual {
  position: relative;
  overflow: hidden;
}

.ej-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ej-hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 21, 43, 0.4) 0%, transparent 60%);
  z-index: 1;
}

/* ── Buttons ── */
.ej-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--ej-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ej-gold);
  color: var(--ej-gold);
  background: transparent;
  cursor: pointer;
  transition: var(--ej-transition);
  border-radius: var(--ej-radius);
}

.ej-btn:hover {
  background: var(--ej-gold);
  color: var(--ej-dark);
}

.ej-btn--fill {
  background: var(--ej-gold);
  color: var(--ej-dark);
}

.ej-btn--fill:hover {
  background: var(--ej-gold-light);
  border-color: var(--ej-gold-light);
  color: var(--ej-dark);
}

.ej-btn--dark {
  border-color: var(--ej-stone);
  color: var(--ej-stone);
}

.ej-btn--dark:hover {
  background: var(--ej-stone);
  color: var(--ej-dark);
}

/* ── Sections ── */
.ej-section {
  padding: 5rem 1.5rem;
}

.ej-section--dark {
  background: var(--ej-dark);
  color: var(--ej-stone);
}

.ej-section--dark h2,
.ej-section--dark h3 {
  color: var(--ej-stone);
}

.ej-section--indigo {
  background: var(--ej-indigo);
  color: var(--ej-stone);
}

.ej-section--indigo h2,
.ej-section--indigo h3 {
  color: var(--ej-stone);
}

.ej-section--stone {
  background: var(--ej-stone);
}

.ej-container {
  max-width: var(--ej-max);
  margin: 0 auto;
}

.ej-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.ej-section__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ej-gold);
  margin-bottom: 0.75rem;
}

.ej-section--dark .ej-section__eyebrow,
.ej-section--indigo .ej-section__eyebrow {
  color: var(--ej-gold);
}

/* ── Page Hero (inner pages) ── */
.ej-page-hero {
  margin-top: 72px;
  background: var(--ej-dark);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ej-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(26, 31, 74, 0.6) 0%, transparent 70%);
}

.ej-page-hero h1 {
  color: var(--ej-stone);
  position: relative;
  margin-bottom: 1rem;
}

.ej-page-hero p {
  color: var(--ej-stone-dark);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ── Grid layouts ── */
.ej-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ej-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ej-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ── Cards ── */
.ej-card {
  background: var(--ej-white);
  border-radius: var(--ej-radius);
  overflow: hidden;
  box-shadow: var(--ej-shadow);
  transition: transform var(--ej-transition);
}

.ej-card:hover {
  transform: translateY(-4px);
}

.ej-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.ej-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ej-card:hover .ej-card__img img {
  transform: scale(1.04);
}

.ej-card__body {
  padding: 1.75rem;
}

.ej-card__body h3 {
  margin-bottom: 0.75rem;
}

.ej-card__body p {
  color: var(--ej-text-muted);
  font-size: 0.95rem;
}

.ej-section--dark .ej-card {
  background: var(--ej-indigo);
}

.ej-section--dark .ej-card__body p {
  color: var(--ej-stone-dark);
}

.ej-section--dark .ej-card__body h3 {
  color: var(--ej-stone);
}

/* ── Service catalog ── */
.ej-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.ej-service:last-child {
  margin-bottom: 0;
}

.ej-service--reverse {
  direction: rtl;
}

.ej-service--reverse > * {
  direction: ltr;
}

.ej-service__img {
  border-radius: var(--ej-radius);
  overflow: hidden;
  box-shadow: var(--ej-shadow);
}

.ej-service__content h3 {
  margin-bottom: 1rem;
}

.ej-service__list {
  list-style: none;
  margin-top: 1.25rem;
}

.ej-service__list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--ej-text-muted);
  font-size: 0.95rem;
}

.ej-service__list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--ej-gold);
  font-size: 0.6rem;
  top: 0.65rem;
}

/* ── Portfolio gallery ── */
.ej-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ej-gallery__item {
  position: relative;
  border-radius: var(--ej-radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.ej-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ej-gallery__item:hover img {
  transform: scale(1.05);
}

.ej-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(18, 21, 43, 0.9));
  color: var(--ej-stone);
}

.ej-gallery__caption h3 {
  color: var(--ej-stone);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.ej-gallery__caption p {
  font-size: 0.8rem;
  color: var(--ej-stone-dark);
  margin: 0;
}

/* ── Stats ── */
.ej-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.ej-stat__number {
  font-family: var(--ej-font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ej-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ej-stat__label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ej-stone-dark);
}

/* ── CTA Banner ── */
.ej-cta {
  position: relative;
  border-radius: var(--ej-radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ej-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ej-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 21, 43, 0.75);
}

.ej-cta__content {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
  max-width: 600px;
}

.ej-cta__content h2 {
  color: var(--ej-stone);
  margin-bottom: 1rem;
}

.ej-cta__content p {
  color: var(--ej-stone-dark);
  margin-bottom: 2rem;
}

/* ── About split ── */
.ej-about-img {
  border-radius: var(--ej-radius);
  overflow: hidden;
  box-shadow: var(--ej-shadow);
}

.ej-about-img img {
  width: 100%;
}

/* ── Contact form ── */
.ej-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.ej-contact-info h3 {
  margin-bottom: 1.5rem;
}

.ej-contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.ej-contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--ej-indigo);
  border-radius: var(--ej-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ej-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.ej-contact-detail strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ej-gold);
  margin-bottom: 0.25rem;
}

.ej-contact-detail span,
.ej-contact-detail a {
  color: var(--ej-stone-dark);
  font-size: 0.95rem;
}

.ej-form {
  background: var(--ej-indigo);
  padding: 2.5rem;
  border-radius: var(--ej-radius);
}

.ej-form h3 {
  color: var(--ej-stone);
  margin-bottom: 1.5rem;
}

.ej-form__group {
  margin-bottom: 1.25rem;
}

.ej-form__group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ej-stone-dark);
  margin-bottom: 0.5rem;
}

.ej-form__group input,
.ej-form__group select,
.ej-form__group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--ej-font-body);
  font-size: 0.95rem;
  background: rgba(18, 21, 43, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--ej-radius);
  color: var(--ej-stone);
  transition: border-color var(--ej-transition);
}

.ej-form__group input:focus,
.ej-form__group select:focus,
.ej-form__group textarea:focus {
  outline: none;
  border-color: var(--ej-gold);
}

.ej-form__group textarea {
  min-height: 140px;
  resize: vertical;
}

.ej-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Privacy ── */
.ej-privacy {
  max-width: 760px;
  margin: 0 auto;
}

.ej-privacy h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.35rem;
}

.ej-privacy h2:first-child {
  margin-top: 0;
}

.ej-privacy p,
.ej-privacy li {
  color: var(--ej-text-muted);
}

.ej-privacy ul {
  margin: 0.75rem 0 1rem 1.5rem;
}

.ej-privacy li {
  margin-bottom: 0.5rem;
}

/* ── Footer ── */
.ej-footer {
  background: var(--ej-dark);
  color: var(--ej-stone-dark);
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.ej-footer__grid {
  max-width: var(--ej-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.ej-footer__brand {
  font-family: var(--ej-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ej-stone);
  margin-bottom: 1rem;
}

.ej-footer__col h4 {
  font-family: var(--ej-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ej-gold);
  margin-bottom: 1.25rem;
}

.ej-footer__col ul {
  list-style: none;
}

.ej-footer__col li {
  margin-bottom: 0.6rem;
}

.ej-footer__col a {
  color: var(--ej-stone-dark);
  font-size: 0.9rem;
}

.ej-footer__col a:hover {
  color: var(--ej-gold);
}

.ej-footer__col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.ej-footer__bottom {
  max-width: var(--ej-max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ── Cookie Modal ── */
.ej-cookie {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(18, 21, 43, 0.7);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ej-cookie.ej-cookie--show {
  display: flex;
}

.ej-cookie__box {
  background: var(--ej-dark);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--ej-radius);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--ej-shadow);
}

.ej-cookie__box h3 {
  color: var(--ej-stone);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.ej-cookie__box p {
  color: var(--ej-stone-dark);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.ej-cookie__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Utility ── */
.ej-text-gold { color: var(--ej-gold); }
.ej-text-muted { color: var(--ej-text-muted); }
.ej-mb-0 { margin-bottom: 0; }
.ej-mt-2 { margin-top: 2rem; }
.ej-center { text-align: center; }

/* ── Responsive: 900px ── */
@media (max-width: 900px) {
  .ej-burger {
    display: flex;
  }

  .ej-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(18, 21, 43, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--ej-transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  body.ej-nav-open .ej-nav {
    transform: translateY(0);
    opacity: 1;
  }

  body.ej-nav-open .ej-burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  body.ej-nav-open .ej-burger span:nth-child(2) {
    opacity: 0;
  }

  body.ej-nav-open .ej-burger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .ej-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ej-hero__copy {
    padding: 3rem 1.5rem;
    min-height: 50vh;
  }

  .ej-hero__copy::after {
    display: none;
  }

  .ej-hero__visual {
    min-height: 50vh;
  }

  .ej-grid-2,
  .ej-grid-3,
  .ej-grid-4,
  .ej-contact-grid,
  .ej-service,
  .ej-footer__grid,
  .ej-stats {
    grid-template-columns: 1fr;
  }

  .ej-service--reverse {
    direction: ltr;
  }

  .ej-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .ej-form__row {
    grid-template-columns: 1fr;
  }

  .ej-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ── Responsive: 560px ── */
@media (max-width: 560px) {
  .ej-header__inner {
    height: 60px;
    padding: 0 1rem;
  }

  .ej-logo {
    font-size: 0.95rem;
  }

  .ej-hero {
    margin-top: 60px;
  }

  .ej-page-hero {
    margin-top: 60px;
    padding: 3.5rem 1rem 2.5rem;
  }

  .ej-nav {
    top: 60px;
  }

  .ej-section {
    padding: 3rem 1rem;
  }

  .ej-hero__copy {
    padding: 2.5rem 1rem;
  }

  .ej-gallery {
    grid-template-columns: 1fr;
  }

  .ej-form {
    padding: 1.5rem;
  }

  .ej-cookie__box {
    padding: 1.75rem;
  }

  .ej-stats {
    grid-template-columns: 1fr 1fr;
  }
}
