/*
Theme Name: Madawass Event Coverage
Theme URI: https://madawassconsulting.pro
Author: Madawass Consulting
Description: Theme premium pour une agence de communication specialisee dans la couverture d'evenements.
Version: 1.2.0
Text Domain: madawass-event
*/

:root {
  --black: #0d0d0d;
  --charcoal: #282828;
  --soft-gray: #e6e6e6;
  --white: #ffffff;
  --gold: #f4b000;
  --gold-soft: #d89a28;
  --max: 1180px;
  --header-h: 78px;
}

main > .wp-block-group {
  margin-block-start: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  background: var(--black);
  color: var(--white);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 54px);
  background: rgba(13, 13, 13, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  width: clamp(168px, 20vw, 250px);
  height: 54px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.brand img {
  width: 100%;
  transform: scale(1.22);
}

.main-nav {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 180ms ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 54px) clamp(20px, 6vw, 76px) 76px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/event-coverage-hero.png");
  background-size: cover;
  background-position: center right;
  opacity: 0.82;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.98) 0%, rgba(13, 13, 13, 0.84) 34%, rgba(13, 13, 13, 0.28) 72%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.16) 0%, rgba(13, 13, 13, 0.92) 100%);
}

.hero-content,
.hero-proof {
  position: relative;
  z-index: 2;
}

.hero-content {
  width: min(710px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 6.7rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.3vw, 4.3rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.2;
}

p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
}

.button-primary {
  background: var(--gold);
  color: #111111;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  margin-left: 10px;
}

.hero-proof {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 44px;
  display: grid;
  gap: 8px;
  font-size: clamp(1.05rem, 2.2vw, 2.2rem);
  font-weight: 700;
}

.hero-proof strong {
  color: var(--gold);
}

.section-pad {
  padding: clamp(76px, 10vw, 136px) clamp(20px, 5vw, 64px);
}

.intro,
.formats {
  background: var(--white);
  color: var(--black);
}

.intro p,
.formats p {
  color: rgba(13, 13, 13, 0.68);
}

.intro-grid,
.method,
.contact {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.intro-grid h2,
.formats h2 {
  color: var(--black);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 44px;
}

.section-heading h2 {
  max-width: 860px;
}

.services {
  background: #111111;
}

.service-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-card {
  min-height: 265px;
  padding: clamp(24px, 3vw, 34px);
  background: #151515;
}

.service-icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.timeline-item span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.format-strip {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.format-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(13, 13, 13, 0.14);
  border-radius: 4px;
  color: var(--black);
  font-weight: 700;
  background: #f7f7f7;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  min-height: 560px;
  background: #090909;
}

.showcase-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(44px, 6vw, 84px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-copy h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.showcase-brand {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: clamp(42px, 6vw, 88px);
  background-color: #111111;
  background-image:
    linear-gradient(rgba(244, 176, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 176, 0, 0.1) 1px, transparent 1px);
  background-size: 76px 76px;
}

.showcase-brand::before {
  content: "";
  position: absolute;
  inset: clamp(22px, 4vw, 52px);
  border: 1px solid rgba(244, 176, 0, 0.32);
  pointer-events: none;
}

.showcase-brand img {
  position: relative;
  z-index: 1;
  width: min(680px, 112%);
  max-width: none;
  transform: scale(1.02);
}

.showcase-brand p {
  position: relative;
  z-index: 1;
  margin: -6% 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

.showcase-brand strong {
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #151515;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: #0f0f0f;
  color: var(--white);
  font: inherit;
  padding: 14px 15px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px clamp(20px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #070707;
}

.site-footer img {
  width: 210px;
  height: 46px;
  object-fit: cover;
  object-position: center;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  text-align: right;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .intro-grid,
  .method,
  .contact,
  .showcase {
    grid-template-columns: 1fr;
  }

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

  .hero-proof {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
    font-size: 1.2rem;
  }

  .showcase-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .showcase-brand {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 70px;
  }

  .brand {
    width: 166px;
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 4.2rem);
  }

  .button,
  .button-secondary {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}
