/* =========================
   GLOBAL RESET & BASE
   ========================= */
body {
  background-color: white;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 18px;
  color: #222;
  overflow-x: hidden; /* previne scroll-ul orizontal */
}

div {
  width: 75%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: #f6b914 dashed 5px;
  min-height: 100vh;
  padding-top: 136px;
  box-sizing: border-box;
}

div.table_div {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  margin: auto;
  border-bottom: none;
  padding: 0;
}

/* =========================
   LINKS
   ========================= */
a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

/* =========================
   HEADINGS
   ========================= */
h1 {
  font-weight: normal;
  font-size: 200%;
}

h2 {
  font-weight: normal;
  font-size: 140%;
}

/* =========================
   IFRAME RESPONSIV
   ========================= */
iframe {
  width: 100%;
  border: none;
}

/* =========================
   CARD STYLE — folosit pentru toate secțiunile principale
   ========================= */
.card-style {
  background-color: white;
  padding: 40px 30px;
  margin-bottom: 60px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}

/* Aplica card-style uniform la toate secțiunile */
.whoiam, .offer, .book, .contact {
  padding: 60px 20px;
  background-color: white;
  font-family: 'Inter', sans-serif;
  max-width: 1000px;
  margin: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

/* =========================
   Grafic
   ========================= */
.results-graph {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* =========================
   HOME LOGO 
   ========================= */
div.homelogo {
  width: 100%;
  min-height: 300px;
  height: 50vh;
  margin-top: 136px;
  background-image: url("../graphics/hero_court.png");
  background-position:center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: none;
  display: flex;
  border-bottom:0;
	border-bottom-style:none;
	padding-top:0;
}

div.homelogo img {
  width: 100%;
  height: auto;
  object-fit: cover; /* păstrează proporțiile corect */
}

/* Mobile */
@media (max-width: 768px) {
  .homelogo {
    height: 200px;
  }
}

/* =========================
   QUOTE
   ========================= */
div.quote1 {
  font-style: italic;
  font-weight: bold;
  font-size: 150%;
  background: white;
  height: calc(50vh - 136px);
  text-align: right;
  width: 100%;
  padding-top: 0;
}

div.quote1 p {
  background: #f6b914;
  padding-right: 12.5%;
  color: white;
  margin: 0;
  padding-top: 1%;
  padding-bottom: 1%;
}

/* =========================
   SEPARATOR
   ========================= */
div.separator {
  min-height: 50px;
}

/* =========================
   NAVIGATION
   ========================= */
ul.topnav {
  list-style-type: none;
  margin: 0 auto;
  width: 100%;
  position: fixed;
  top: 0;
  padding: 0;
  overflow: hidden;
  background-color: white;
  text-align: center;
  z-index: 9999;
}

ul.topnav li {
  display: inline-block;
  vertical-align: middle;
}

ul.topnav li a {
  display: inline-block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

ul.topnav li a:hover {
  background-color: #f6b914;
}

ul.topnav li.icon,
ul.topnav li.logosub {
  display: none;
}

ul.topnav li a img {
  max-width: 100px;
  max-height: 100px;
}

ul.topnav li ul {
  display: none;
  position: absolute;
  z-index: 10000;
}

/* =========================
   FLEX CONTAINER
   ========================= */
.flex-container {
  border-bottom: none;
  padding: 0;
  max-width: 75%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.flex-container div {
  border-bottom: none;
  padding: 0;
  margin: 0;
}

.flex-container a {
  margin: 1%;
}

/* ================================
   .whoiam, .offer, .book, .contact 
   ================================ */
.whoiam h2,
.offer h2,
.book h2,
.contact h2 {
  color: black;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: left;
  font-size: 2rem;
}

.whoiam ul,
.offer ul,
.book ul 
.contact ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.whoiam ul li,
.offer ul li,
.book ul li 
.contact ul li {
  margin-bottom: 12px;
  line-height: 1.9;
  color: #333;
}

.whoiam p,
.offer p,
.book p,
.contact p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 24px;
}

/* offset general pentru toate secțiunile */
div.card-style[id] {
  scroll-margin-top: 120px; /* mai mare ca să prindă și titlul de la Participă */
}

@media screen and (max-width: 768px) {
  div.card-style[id] {
    scroll-margin-top: 80px; /* pe mobil, headerul e mai mic */
  }
}

/* ================================
   .whoiam - DE CE NU TOATE?
   ================================ */
.whoiam ul.valori {
  list-style: none;
  padding-left: 0;
}

.whoiam ul.valori li {
  background-color: #e9f4fc;
  padding: 10px 15px;
  border-left: 4px solid #007acc;
  border-radius: 4px;
  margin-bottom: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.whoiam ul.valori li:hover {
  background-color: #d5ebfb;
}

/* =========================
   TESTIMONIALE
   ========================= */
.testimonials {
  list-style-type: disc;
  margin-left: 20px;
  color: #444;
  padding-left: 20px;
}

.testimonials li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

ul.testimonials li strong {
  display: inline-block;
  margin-top: 1.2em;
  font-size: 1.1rem;
  color: #222;
}

/* =========================
   CTA BUTTON & NOTE
   ========================= */
.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #005BBB;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #004799;
}

.note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555;
}

/* =========================
   FOOTER
   ========================= */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  background-color: #f8f8f8;
  color: #666;
  border-top: 1px solid #ddd;
}

/* =========================
   RESPONSIVE
   ========================= */
@media screen and (max-width: 1000px) {
  div {
    padding-top: 55px;
    width: 90%;
  }

  ul.topnav li {
    display: none;
  }

  ul.topnav li.icon {
    float: right;
    display: inline-block;
  }

  ul.topnav.responsive {
    position: fixed;
    min-height: 100vh;
  }

  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  ul.topnav.responsive li.logo {
    display: none;
  }

  ul.topnav.responsive li {
    float: none;
    display: inline;
  }

  ul.topnav.responsive li.topnavSeparator {
    display: none;
  }

  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }

  div.homelogo {
    margin-top: 55px;
  }

  div.quote1 {
    height: calc(50vh - 55px);
    font-size: 120%;
  }
}

/* =========================
   Secțiunea Participă - cred ca inutila in mare parte
   ========================= */
#Inscrieri,
#BookCourses,
#BuchKurse {
  /* lasă-l ca pe celelalte carduri */
  width: 100%;                 /* ok să rămână 100% */
  max-width: 1000px;           /* <- la fel ca .whoiam/.offer/.book/.contact */
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
  min-height: auto;
  border-bottom: #f6b914 dashed 5px;  /* <- readuce linia galbenă la finalul secțiunii */
  box-sizing: border-box;
}

#Inscrieri .package,
#Inscrieri .extras,
#Inscrieri .support,
#BookCourses .package,
#BookCourses .extras,
#BookCourses .support,
#BuchKurse .package,
#BuchKurse .extras,
#BuchKurse .support {
  /* NU moștenesc min-height:100vh sau linia punctată galbenă */
  min-height: auto;
  border-bottom: none;
  padding: 20px 20px 14px; /* padding de jos mai mic */
  margin: 0 0 14px 0;
  width: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

/* titluri compacte (fără gol sus) */
#Inscrieri .package h3,
#Inscrieri .extras h3,
#Inscrieri .support h3,
#BookCourses .package h3,
#BookCourses .extras h3,
#BookCourses .support h3,
#BuchKurse .package h3,
#BuchKurse .extras h3,
#BuchKurse .support h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* liste compacte */
#Inscrieri .package ul,
#Inscrieri .extras ul,
#Inscrieri .support ul,
#BookCourses .package ul,
#BookCourses .extras ul,
#BookCourses .support ul,
#BuchKurse .package ul,
#BuchKurse .extras ul,
#BuchKurse .support ul {
  margin: 0 0 10px 20px;  /* micșorăm spațiul de jos */
  padding-left: 0;
}

/* elimină ultimul spațiu sub conținut */
#Inscrieri .package > *:last-child,
#Inscrieri .extras  > *:last-child,
#Inscrieri .support > *:last-child,
#BookCourses .package > *:last-child,
#BookCourses .extras  > *:last-child,
#BookCourses .support > *:last-child,
#BuchKurse .package > *:last-child,
#BuchKurse .extras  > *:last-child,
#BuchKurse .support > *:last-child {
  margin-bottom: 0;
}

/* buton mai compact și fără spațiu în plus dedesubt */
#Inscrieri .cta-button,
#BookCourses .cta-button,
#BuchKurse .cta-button {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 0;   /* important ca să nu lase „coadă” */
  padding: 8px 16px;
  background: #ffb400;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}
#Inscrieri .cta-button:hover,
#BookCourses .cta-button:hover,
#BuchKurse .cta-button:hover { background: #e09c00; }

/* pe mobil: nu mai adăugăm padding-top artificial */
@media screen and (max-width: 1000px) {
  #Inscrieri,
  #BookCourses,
  #BuchKurse {
    padding-top: 0;
  }

  #Inscrieri .package,
  #Inscrieri .extras,
  #Inscrieri .support,
  #BookCourses .package,
  #BookCourses .extras,
  #BookCourses .support,
  #BuchKurse .package,
  #BuchKurse .extras,
  #BuchKurse .support {
    padding: 16px 16px 12px;
    margin-bottom: 12px;
  }
}


#Inscrieri.card-style,
#BookCourses.card-style,
#BuchKurse.card-style {
  scroll-margin-top: 120px; /* mută puțin mai jos, ca să nu îți taie titlul */
}

@media screen and (max-width: 768px) {
  #Inscrieri.card-style,
#BookCourses.card-style,
#BuchKurse.card-style {
    scroll-margin-top: 90px; /* mobil, mai mic */
  }
}



