/* general settings */
html{
    margin: 0;
    scroll-behavior: smooth;
    
}
body{
    margin: 0;
}

/* Navbar base */
.navbar {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 50px;
  align-items: center;
  position: fixed;
  background-color: rgba(31, 42, 68, 1);
  width: 100%;
  top: 0;
  z-index: 1000;
  color: #ffffff;
  /* no padding allowed */
}

.logo {
  /* font-weight: bold; */
  text-transform: uppercase;
  padding-left: 20px;
  font-size: clamp(0.8rem, 1.8vw, 2.1rem);
}
.logo a {
  text-decoration: none;
  color: #ffffff;
}
.logo a:hover {
  color: red;
}

/* Navigation links */
.nav-links {
  list-style: none;
  display: flex;
  justify-content: end;
  padding-right: 20px;
  gap: 2vw;
  font-size: clamp(0.8rem, 1.3vw, 2rem);
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.25s ease;
  display: inline-block; /* necesar pentru transform */
}

.nav-links li a:hover {
  color: #9ca7be;
  transform: translateY(-2px); /* mică ridicare în sus */
}




/* ===== Hamburger Menu ===== */
.hamburger {
  display: none; /* ascuns pe desktop */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1100; /* peste navbar */
  align-items: flex-end;
}

/* liniile hamburgerului */
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color:#ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;

}

/* când e activ (meniul deschis) — se transformă în X */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* active hamburger meniu */
.nav-links.active {
  position: absolute;
  top: 50px;
  right: 10px;
  background-color: rgba(0, 138, 201, 0.9);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  width: auto; /* nu mai e pe toată lățimea */
}
/* == end of header == */

/* == main == */
main {
  background-color: rgba(35, 55, 95, 1);
  color: #ffffff;
  padding-top: 60px;
}


/* == hero == */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(35, 55, 95, 1);
  color: #fff;
  padding-top: 40px;
  gap: 4vw;
}

.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1vw;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.2;
}

.hero-content h2 {
  /* font-family: 'Raleway', sans-serif; */
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: #e0e6f5;
  margin: 20px 5px;
}



.btn-primary {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  background: rgba(55, 85, 140, 1);
  box-shadow: 0 6px 18px rgba(55, 85, 140, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Raleway', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(55, 85, 140, 0.6);
}


/* == Slider == */

.slider-container {
  width: 100%;
  margin: 0;
  position: relative;
}

.slider {
  width: 100%;
  overflow: hidden;
  border-radius: 0;     /* FARA margini rotunjite */
  box-shadow: none;    /* FARA umbra */
  position: relative;
}


.slides {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.slides img {
  min-width: 100%;
  height: 30vw;
  object-fit: cover;
}


/* Sageti */
.slider .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  width: 50px;
  height: 50px;
  font-size: 26px;
  color: white;
  cursor: pointer;
  border-radius: 14px;
  transition: 0.2s;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.slider .arrow:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.05);
}

.slider .left { left: 15px; }
.slider .right { right: 15px; }

/* Dots */
.slider .dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider .dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
}

.slider .dot.active {
  background: #6c5ce7;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 700px) {
  .slider-container .slides img {
    height: 200px;
  }
}
/* == end of slider == */
/* == end of hero == */


/* Program + Contact Section */
.info-section {
  background-color: rgba(35, 55, 95, 1);
  margin: 10px;
  
}

.info-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.info-box {
  background:#9ca7be;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  color: #333;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
  border: 2px solid transparent; /* pregătit pentru glow */
  scroll-margin-top: 60px;
}

.info-box:hover {
  /* transform: translateY(-6px); */
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  /* border: 2px solid #0066cc; */
}


/* Titlu */
.info-box h2 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #222;
}

/* Table stilizat */
.info-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.info-box td {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.info-box td:first-child {
  font-weight: 600;
}

/* Contact items cu iconițe SVG */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item .icon {
  width: 20px;
  height: 20px;
  fill: #0066cc;
  margin-right: 0.75rem;
  flex-shrink: 0;
  transition: fill 0.25s ease;
}

.contact-item a, .contact-item span {
  color: #333;
  font-size: 1rem;
  text-decoration: none;
}

.contact-item a:hover {
  color: #0066cc;
  text-decoration: underline;
}

/* Icon hover effect */
.contact-item:hover .icon {
  fill: #004080;
}

/* Responsive */
@media (max-width: 768px) {
  .info-container {
    grid-template-columns: 1fr;
  }
}


/* ===== end of program + contact section ===== */

/* ===== ITP info text ===== */
.itp-info {
  margin: 4rem 0;
  padding: 12px;
  font-family: Arial, sans-serif;
  color: #b5b1b1;
  text-align: justify;

}

.itp-info h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #222;
}

.itp-info p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.itp-info h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
  color: #222;
}

.itp-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.itp-list li {
  margin-bottom: 0.5rem;
}
/* ===== end of ITP info text ===== */


/* ===== Map Section ===== */
#map {
  background-color: rgba(35, 55, 95, 1);
  text-align: center;
  scroll-margin-top: 65px;
}

#map h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
  padding: auto 5px;
}
#map h3 {
  color: #9ca7be;
}

#map p {
  font-size: 1.1rem;
  margin: 20px;
  color: #747272;
}

.map-container {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 600px) {
  #map {
    padding: 30px 0; /* mai puțin spațiu pe mobil */
  }

  #map h2 {
    font-size: 1.5rem; /* titlu mai mic pe ecrane înguste */
  }

  #map p {
    font-size: 1rem; /* paragraf mai mic */
  }

  .map-container iframe {
    height: 300px; /* harta mai mică pe mobil */
  }
}
@media (max-width: 1120px) {
.map-container {
  margin: 0 10px;
}

}
/* ===== end of map ===== */


/* Reservation Section */
.reservation {
  padding: 3rem 2rem;
  background-color: rgba(35, 55, 95, 1);
  color: #fff;
  text-align: center;
  border-bottom: solid #9ca7be;
}

.reservation h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #e0e6f5;
}

.reservation p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #e0e6f5;
}

/* Phone list */
.phone-list {
  max-width: 400px;
  margin: 0 auto;
}

.phone-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.phone-icon {
  width: 22px;
  height: 22px;
  fill: #0066cc;
  margin-right: 0.75rem;
  flex-shrink: 0;
  transition: fill 0.25s ease;
}

.phone-item a {
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.phone-item a:hover {
  color: #9ca7be;
  transform: translateY(-3px);
}

.phone-item:hover .phone-icon {
  fill: #004080;
}





/* .programari {
  padding: 3rem 2rem;
  background-color: rgba(35, 55, 95, 1);
  color: #fff;
  text-align: center;
}

.programari h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #e0e6f5;
}
.form-programare {
  max-width: 600px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: left;
}

.form-programare label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-programare input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-programare input:focus {
  border-color: #0066cc;
  box-shadow: 0 0 6px rgba(0,102,204,0.4);
  outline: none;
}
.form-programare button {
  display: inline-block;
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 6px;
  background: rgba(55, 85, 140, 1);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.form-programare button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(55,85,140,0.5);
} */



/* ===== end of Reservation section ===== */



/* == Documente plus loc de asteptare == */

.docloc {
  background-color: rgba(35, 55, 95, 1);
  margin: 10px;
  
}

.docloc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

/* == Documente necesare pentru ITP == */
.documente {
  padding: 3rem 2rem;
  background-color: rgba(35, 55, 95, 1);
  color: #fff;
}

.documente h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  /* text-align: center; */
  color: #222;
}

.documente ul {
  max-width: 600px;
  /* margin: 0 auto; */
  padding-left: 1.2rem; /* spațiu pentru bullet-uri */
  font-size: 1rem;
  line-height: 1.6;
}

.documente li {
  margin-bottom: 0.5rem;
}

/* == Loc de asteptare == */
.ambient {
  padding: 3rem 2rem;
  background-color: rgba(35, 55, 95, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ambient h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #222;
}
.ambient img {
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .docloc-grid {
    grid-template-columns: 1fr;
  }
}
/* == end of Documente plus loc de asteptare == */

/* ===== ITP section ===== */
.itp-section {
  background: #9ca7be;
  padding: 10px;
  /* border-radius: 6px; */
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  color: #333;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
  border: 2px solid transparent; /* pregătit pentru glow */
  scroll-margin-top: 60px;
}

/* Titlu */
.itp-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #222;
}

/* Tabel stilizat */
.itp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.itp-table th,
.itp-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}

/* Header */
.itp-table th {
  font-weight: 600;
  background: rgba(255,255,255,0.3);
  color: #222;
}

/* Prima coloană evidențiată */
.itp-table td:first-child {
  font-weight: 600;
}

/* Observație */
.itp-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #222;
}

/* ===== end of ITP section ===== */


/* ===== footer ===== */
footer {
  position: relative;
  text-align: center;
  padding: 20px;
  /* background: #84b633; */
  background-color: rgba(31, 42, 68, 1);
  color: #fff;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  color: #fff;
  background: rgba(56, 54, 54, 0.25);
  box-shadow: 0 4px 12px rgba(31, 146, 203, 0.5);
}
.back-to-top:hover { transform: translateY(-3px); }
/* ===== enf of footer ===== */

/* Responsive styles */
@media (max-width: 790px) {
  .navbar {
display: grid;
  grid-template-columns: 5fr 1fr;
  }
  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    margin-right: 20px;
    margin-left: auto;


  }
}

