/* Fonturi: Myriad Pro Regular (texte) + SuisseIntl Medium (titlu, butoane) */
/* Fallback web: Source Sans 3, Outfit - poți înlocui cu @font-face dacă ai fișierele */

:root {
  --bg: #ffffff;
  --text: #000000;
  --accent: #e6007e;
  --font-body: "Myriad Pro", "Myriad", "Source Sans 3", system-ui, sans-serif;
  --font-heading: "Suisse Int'l", "SuisseIntl", "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden; /* previne scroll-ul orizontal accidental pe viewport-uri mici */
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-wrap: wrap;
}

/* Coloana stânga – logo Sis 38 */
.col-left {
  flex: 1 1 55%;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
}

.logo-sis-wrap {
  width: 100%;
  max-width: 70vh;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-sis {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Coloana dreaptă – conținut */
.col-right {
  flex: 1 1 45%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem;
  align-items: flex-start;
  text-align: left;
}

/* Antet: logo Uniunea + text */
.header-right {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.logo-uniunea {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

/* Bloc titlu eveniment */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}

.subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 3vw, 2.5rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.8rem 0;
  line-height: 1.1;
}

.title {
  font-family: var(--font-body);
  font-weight: 300;
  /* Mai mică pe desktop + poate rupe cuvintele lungi pe ecrane înguste */
  font-size: clamp(1.4rem, 3.8vw, 3.5rem);
  line-height: 1.15;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.title-line {
  display: block;
}

.title-lower {
  text-transform: lowercase;
}

/* Butoane – grupate orizontal cu badge-uri RO/EN */
.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.sponsor {
  margin-top: 3.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.sponsor-label {
  margin: 0 0 0.5rem 0;
}

.sponsor-image {
  display: block;
  max-width: 420px;
  width: 100%;
  height: auto;
}

.btn-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--text);
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  min-width: 200px;
  gap: 0.5rem;
}

.btn-text {
  flex: 1;
}

.btn-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0.7;
}

.btn:hover {
  background: var(--text);
  color: var(--bg);
}

.btn:hover .btn-badge {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

/* Responsive: ecrane mici – coloane stivuite, logo mai mic */
@media (max-width: 992px) {
  .page {
    flex-direction: column;
    align-items: center;
  }

  .col-left {
    padding: 1.5rem 1rem;
    min-height: 40vh;
  }

  .logo-sis-wrap {
    max-width: 35vh;
  }

  .col-right {
    padding: 1.5rem 1.25rem;
    align-items: flex-start;
    text-align: left;
  }

  .header-right {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .hero {
    text-align: left;
  }

  .actions {
    align-items: flex-start;
  }

  .btn-row {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.35rem;
  }

  .btn-row {
    gap: 0.5rem;
  }

  .btn {
    min-width: auto;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
