/* =========================
   BASE
========================= */
:root {
  --primary: #0a2a43;
  --secondary: #00a6ff;
  --dark: #061521;
  --light: #f5f7fb;
  --white: #fff;
  --text: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background: var(--light);
  color: var(--text);
}

/* =========================
   HERO
========================= */
.conf-hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../../../image/majeste1 (6).jpeg") center/cover no-repeat;
  color: white;
  text-align: center;
}

.conf-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

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

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
}

.hero-content p {
  margin-top: 10px;
  font-size: 18px;
  max-width: 700px;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 80px 20px;
}

.container {
  max-width: 1000px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 40px;
  color: var(--primary);
}

/* =========================
   GRID 3
========================= */
.grid-3 {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.img-box {
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   EVENTS
========================= */
.event-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.event-card {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.event-img {
  width: 40%;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-text {
  padding: 20px;
  width: 60%;
}

.event-text h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* =========================
   CTA
========================= */
.cta {
  text-align: center;
  padding: 90px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.cta h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: white;
  color: var(--primary);
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .event-card {
    flex-direction: column;
  }

  .event-img, .event-text {
    width: 100%;
  }
}