/* ==========================================================================
   FRONT-PAGE.CSS — Styles page d'accueil Canta de Joia
   ========================================================================== */

/* HERO */
.cdj-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--cdj-darker);
}

.cdj-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.cdj-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(60%);
}

.cdj-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 15vh;
}

.cdj-hero__overlay {
  background: rgba(120, 31, 36, 0.8);
  display: inline-block;
  padding: 40px 50px;
  border-radius: 0 4px 4px 0;
  max-width: 720px;
}

.cdj-hero__title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 900;
  color: var(--cdj-white);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 12px;
  font-style: italic;
}

.cdj-hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 24px;
}

.cdj-hero__featured {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(50, 50, 45, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 560px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cdj-hero__featured-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.cdj-hero__featured-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--cdj-white);
  margin-bottom: 4px;
}

.cdj-hero__featured-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.cdj-hero__featured-link {
  color: var(--cdj-red);
  font-size: 13px;
  font-style: italic;
}

/* EVENTS */
.cdj-events {
  padding: 80px 0;
  background: var(--cdj-white);
}

.cdj-events__card {
  text-align: center;
}

.cdj-events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.cdj-events__card-img {
  width: 280px;
  height: 280px;
  margin: 0 auto 24px;
}

.cdj-events__card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--cdj-text-dark);
}

.cdj-events__card-desc {
  font-size: 14px;
  color: var(--cdj-text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.cdj-events__card-link {
  color: var(--cdj-red);
  font-size: 14px;
  font-weight: 600;
}

/* ABOUT */
.cdj-about {
  padding: 80px 0;
  background: var(--cdj-beige);
}

.cdj-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cdj-about__img {
  width: 100%;
  max-width: 480px;
}

.cdj-about__desc {
  font-size: 15px;
  color: var(--cdj-text-muted);
  margin: 18px 0 28px;
  line-height: 1.7;
}

/* GALLERY */
.cdj-gallery {
  padding: 80px 0;
  background: var(--cdj-dark);
}

.cdj-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.cdj-gallery__col-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cdj-gallery__img-big {
  width: 100%;
  max-width: 360px;
}

.cdj-gallery__img-small {
  width: 100%;
  max-width: 260px;
}

.cdj-gallery__season {
  color: var(--cdj-text-light);
}

.cdj-gallery__season-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--cdj-white);
  margin-bottom: 12px;
}

.cdj-gallery__season-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* SOCIAL / INCLUSION */
.cdj-social {
  padding: 80px 0;
  background: var(--cdj-beige);
}

.cdj-social__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cdj-social__desc {
  font-size: 15px;
  color: var(--cdj-text-muted);
  margin: 18px 0 28px;
  line-height: 1.7;
}

.cdj-social__img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}

/* CONDUCTOR + TESTIMONIALS */
.cdj-conductor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.cdj-conductor__left {
  position: relative;
  overflow: hidden;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--cdj-darker);
}

.cdj-conductor__left-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.cdj-conductor__left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
  z-index: 1;
}

.cdj-conductor__left > *:not(img) {
  position: relative;
  z-index: 2;
}

.cdj-conductor__name {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--cdj-white);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}

.cdj-conductor__date {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.cdj-conductor__right {
  background: var(--cdj-red);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cdj-conductor__quote-mark {
  font-family: var(--font-serif);
  font-size: 72px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  margin-bottom: 16px;
}

.cdj-conductor__quote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--cdj-white);
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 440px;
}

.cdj-conductor__quote-author {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

.cdj-conductor__dots {
  margin-top: 30px;
  display: flex;
  gap: 8px;
}

.cdj-conductor__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.cdj-conductor__dot--active {
  background: var(--cdj-white);
}

/* EUROPE */
.cdj-europe {
  padding: 80px 0;
  background: var(--cdj-beige);
}

.cdj-europe__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: center;
}

.cdj-europe__desc {
  font-size: 15px;
  color: var(--cdj-text-muted);
  margin: 18px 0 28px;
  line-height: 1.7;
}

.cdj-europe__img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* FULLWIDTH IMAGE */
.cdj-fullimg {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.cdj-fullimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cdj-fullimg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

/* ALL DATES */
.cdj-alldates {
  padding: 80px 0;
  background: var(--cdj-white);
  text-align: center;
}

.cdj-alldates__desc {
  font-size: 15px;
  color: var(--cdj-text-muted);
  max-width: 600px;
  margin: 20px auto 30px;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .cdj-hero__title { font-size: 38px; }
  .cdj-hero__overlay { padding: 30px 35px; }
  .cdj-events__grid { grid-template-columns: 1fr; gap: 50px; }
  .cdj-gallery__grid { grid-template-columns: 1fr 1fr; }
  .cdj-about__grid,
  .cdj-social__grid,
  .cdj-europe__grid { grid-template-columns: 1fr; gap: 30px; }
  .cdj-about__img { margin: 0 auto; }
  .cdj-conductor { grid-template-columns: 1fr; }
  .cdj-conductor__left { min-height: 400px; }
  .cdj-conductor__name { font-size: 36px; }
}

@media (max-width: 767px) {
  .cdj-hero__title { font-size: 30px; }
  .cdj-hero__overlay { padding: 25px 30px; }
  .cdj-hero__featured { flex-direction: column; text-align: center; }
  .cdj-gallery__grid { grid-template-columns: 1fr; }
  .cdj-gallery__img-big,
  .cdj-gallery__img-small { max-width: 240px; margin: 0 auto; }
  .cdj-conductor__quote { font-size: 18px; }
  .cdj-conductor__left,
  .cdj-conductor__right { padding: 40px 24px; }
  .cdj-fullimg { height: 250px; }
  .cdj-social__img { margin: 0 auto; }
}

/* Accessibility contrast fixes */
.cdj-events__card-desc,
.cdj-about__desc,
.cdj-social__desc,
.cdj-europe__desc,
.cdj-alldates__desc {
  color: #5f5f58;
}

.cdj-gallery__season-text {
  color: rgba(255, 255, 255, 0.75);
}

.cdj-conductor__quote-author {
  color: var(--cdj-text-light);
}
