/* style-responsive.css – versiune optimizată pentru mobil și tabletă, cu meniu și footer păstrând stilul compact și toate elementele originale restaurate */

/* ======== GENERAL ======== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f8f9fa;
  background: url('../img/background.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* ======== HEADER ======== */
header {
  background: url('../img/header-bg.jpg') center center/cover no-repeat;
  color: white;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-overlay {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
  width: 100%;
}

.logo {
  height: 80px;
  margin-right: 20px;
  border-radius: 8px;
  background: white;
  padding: 5px;
}

.header-text h1 {
  font-size: 28px;
  margin: 0;
}

.header-text p {
  font-size: 16px;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    margin: 0 0 10px 0;
  }
}

/* ======== MENIU ======== */
#tab-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #180b37;
}

.tab-link {
  text-decoration: none;
  padding: 15px 25px;
  color: white;
  display: block;
  font-weight: bold;
}

.tab-link:hover,
.tab-link.active {
  background-color: #2e275d;
}

/* ======== MENIU TABLETA/MOBIL ======== */

.menu-toggle {
  display: none;
  background-color: #333;
  color: white;
  font-size: 24px;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #tab-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #333;
  }

  #tab-menu.show {
    display: flex;
  }

  #tab-menu li {
    width: 100%;
    text-align: left;
  }

  #tab-menu a {
    padding: 12px 16px;
    font-size: 1em;
    border-top: 1px solid #444;
  }
}


/* ======== TAB CONTENT ======== */
.tab-content {
  display: none;
  padding: 30px;
  max-width: 800px;
  margin: auto;
  background-color: #e4e0f8;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.tab-content.active {
  display: block;
}

.tab-content a {
  color: #858ec3;
  font-weight: bold;
}

/* ======== LOGIN FORM ======== */
.login-form {
  max-width: 400px;
  margin: auto;
}

.login-form input,
.login-form button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
}

.login-form button {
  background-color: #2e275d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.login-form button:hover {
  background-color: #005bb5;
}

/* ======== VIDEO CONTAINER YouTube ======== */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ======== FOOTER ======== */
footer {
  background-color: #180b37;
  color: #ccc;
  padding: 40px 20px;
  margin-top: 50px;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-container > div {
  flex: 1;
  min-width: 250px;
  padding: 10px;
}

footer a {
  color: #858ec3;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  text-align: center;
  margin-top: 30px;
}

.footer-links h3 {
  color: #fff;
}

footer .copyright {
  font-size: 13px;
  color: #777;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-container > div {
    width: 100%;
  }
}
