/* RESET DE BAZĂ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #f7fafc;
    color: #2d3748;
}
/* LINKURI */
a {
    text-decoration: none;
    color: inherit;
}
/* HERO */
/* HERO – container slider */
.hero {
    width: 90%;
    max-width: 1200px;
    height: 75vh;
    margin: 30px auto 0 auto;
    border-radius: 12px;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero-content {
position: absolute;
bottom: 90px;
left: 50%;
transform: translateX(-50%);
z-index: 2;
max-width: 900px;
width: 100%;
text-align: center;
}
.hero h1 {
    font-size: 3.2em;
    margin-bottom: 15px;
}
.hero p {
    font-size: 1.4em;
    margin-bottom: 30px;
}
.btn {
    padding: 12px 26px;
    font-size: 0.9em;
    background-color: #f6ad55;
    border-radius: 10px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-3px) scale(1.05); /* ridică și mărește puțin */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background-color: #f0932b; /* culoare mai închisă la hover */
}
/* HEADER / MENIU */
/* HEADER / MENIU STICKY */
header {
    background-color: #edf2f7;
    padding: 20px;
    text-align: center;
    position: sticky;   /* rămâne sus */
    top: 0;             /* fix sus */
    z-index: 1000;      /* deasupra celorlalte elemente */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
header nav a {
    margin: 0 15px;
    font-weight: bold;
    color: #2b6cb0;
    transition: color 0.3s, transform 0.3s;
}
header nav a:hover {
    color: #f6ad55;
    transform: scale(1.05);
}
header nav a.active {
    color: #f0932b;          /* culoare diferită pentru link activ */
    border-bottom: 2px solid #f0932b; /* bandă sub link */
    padding-bottom: 2px;
}
/* BANDA ALBASTRA SUBTIRE */
/* BANDA ALBASTRA — aceeasi latime ca HERO */
.menu-bar {
    background-color: #1e4fa3;
    color: white;
    width: 90%;
    max-width: 1200px;
    margin: 10px auto 0 auto;   /* centru */
    padding: 0;
    border-radius: 10px;
}
/* container interior — aceeași lățime ca hero */
.menu-bar-inner {
    padding: 4px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* stanga */
.menu-bar-left {
    font-weight: bold;
    font-size: 13px;
}
/* dreapta */
.menu-bar-right {
    display: flex;
    gap: 25px;
}
.menu-bar-right a {
    color: white;
    font-weight: 600;
    font-size: 13px;
}
.menu-bar-right a:hover {
    text-decoration: underline;
}
/* SECTIUNI */
section {
    padding: 60px 20px;
    text-align: center;
}
/* CARDURI */
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.card {
    background-color: white;
    width: 260px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    cursor: pointer;
}
.card:hover {
    transform: translateY(-7px) scale(1.03); /* ridică și mărește cardul */
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    background-color: #fef8f0; /* un ton ușor diferit la hover */
}
.card-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
}
.card h3 {
    margin: 10px 0;
    font-size: 1.2em;
}
.card p {
    color: #4a5568;
    font-size: 1em;
}
/* FOOTER */
footer {
    background-color: #edf2f7;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}
/* BANDA ALBASTRĂ SUB HERO – aliniată cu poza */
/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        padding-bottom: 80px;
    }
    .hero h1 {
        font-size: 2.2em;
    }
    .hero p {
        font-size: 1.1em;
    }
        .cards {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
        margin-bottom: 20px;
    }
}
/* PAGINA INSCRIERI */
.page-hero {
    background: #1e4fa3;
    color: white;
    padding: 80px 20px;
    text-align: center;
}
.inscrieri-wrap {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 60px 20px;
}
.inscriere-card {
    background: white;
    width: 300px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: left;
}
.inscriere-card h2 {
    margin-bottom: 15px;
    color: #1e4fa3;
}
.inscriere-card ul {
    padding-left: 18px;
    line-height: 1.6;
}
.inscriere-cta {
    background: #edf2f7;
    text-align: center;
    padding: 60px 20px;
}
/* PROFESORI */
.prof-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 60px 20px;
}
.prof-card {
    background: white;
    width: 240px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.prof-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}
.prof-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}
.prof-card h3 {
    margin-bottom: 6px;
    color: #1e4fa3;
}
.prof-card p {
    color: #555;
}
.prof-card {
    position: relative; /* Esențial pentru a poziționa emailul în interiorul lui */
    cursor: pointer;
    transition: 0.3s;
}
/* Caseta mică cu email */
.email-overlay {
    display: none; /* Rămâne ascuns până la click */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 79, 163, 0.98); /* Albastru închis opac */
    color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    z-index: 100;
    
    /* ACESTEA SUNT LINIILE IMPORTANTE PENTRU ALINIERE: */
    flex-direction: column; /* Pune elementele unul sub altul */
    align-items: center;    /* Le centrează pe orizontală */
    gap: 10px;              /* Lasă spațiu între email și buton */
    min-width: 200px;       /* Să nu fie prea îngustă caseta */
}

/* Forțăm afișarea de tip FLEX când cardul este activat */
.prof-card.show-email .email-overlay {
    display: flex; 
    animation: fadeIn 0.3s forwards;
}

/* Stilul butonului de copiere */
.copy-btn {
    background: #f6ad55; /* Portocaliu */
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: 0.2s;
}

.copy-btn:hover {
    background: #ed8936;
}

/* Animația de apariție */
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Stil pentru când emailul este vizibil */
.prof-card.show-email .email-overlay {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
} 
/* FOOTER BOGAT */
.footer {
    background-color: #1e4fa3;
    color: white;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    width: 250px;
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 10px;
}

.footer-col p {
    margin-bottom: 6px;
    font-size: 0.95em;
}

.footer-bottom {
    background-color: #163d82;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
}
/* ICONURI FOOTER */
.footer-icon {
    margin-right: 8px;
    font-size: 1.1em;
}
/* TITLU MENIU */
.menu-title {
    font-weight: bold;
    font-size: 13px;
    color: white;
    margin-bottom: 6px;
}

/* BOX GALBEN CU LINKURI */
.nav-mini-box {
    background: #fff7cc;
    border: 1px solid #b22222;
    border-radius: 8px;
    padding: 10px 12px;

    width: 260px;

    margin: 12px 0 0 0;   /* fara auto, fara calc */

    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* LINKURI DIN BOX */
.nav-mini-box a {
    display: block;       /* asta le pune UNA SUB ALTA */
    margin-bottom: 8px;
    text-decoration: none;
    color: #003366;
    font-weight: 500;
}

.nav-mini-box a:hover {
    color: #8b0000;
}
/* ========================= */
/* LAYOUT PRINCIPAL */
.main-content {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    margin-top: 0;
    padding-top: 0;
}

.main-content-inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 0;
    padding-top: 0;
}

/* STANGA */
.left-column {
    width: 260px;
    flex-shrink: 0;

}

/* nav-mini-box rămâne cum este */

/* DREAPTA */
.right-column {
    flex: 1;
}

/* TITLU */
.welcome-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 10px;
}

/* LINIE */
.welcome-line {
    width: 280px;
    height: 2px;
    background-color: #999;
    margin-bottom: 15px;
}

/* TEXT */
.welcome-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 15px;
    text-align: justify;
}
/* ALINIERE PERFECTĂ STÂNGA între bara albastră și boxul galben */
.menu-bar-inner,
.main-content-inner {
    width: 1100px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

/* scoatem orice deplasare pe stanga */
.left-column {
    margin-left: 0;
    padding-left: 0;
}

/* nav-mini-box sa inceapa fix din margine */
.nav-mini-box {
    margin-left: 0;
}
/* NOUTATI */
.news {
    background-color: #edf2f7;
}

.news-container {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.news-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.news-item h3 {
    margin-bottom: 10px;
    color: #1e4fa3;
    font-size: 16px;
}

.news-item p {
    font-size: 14px;
    line-height: 1.6;
}
/* STATISTICI */
.stats {
    background: #1e4fa3;
    color: white;
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.stat h2 {
    font-size: 42px;
    margin-bottom: 8px;
}

.stat p {
    font-size: 15px;
    letter-spacing: 1px;
}
/* GALERIE */
.gallery-preview {
    background-color: #f7fafc;
}

.gallery-grid {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.inscriere-menu{
max-width:1000px;
margin:40px auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:25px;
padding:20px;
}

.inscriere-btn{
background:white;
border-radius:12px;
padding:30px;
text-align:center;
font-weight:600;
color:#1e4fa3;
box-shadow:0 6px 15px rgba(0,0,0,0.1);
transition:0.3s;
display:block;
}


/* --- STILURI PENTRU MODAL (POP-UP) --- */
.overlay-gradinita {
    display: none; 
    position: fixed;
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(5px); 
    justify-content: center;
    align-items: center;
}

.modal-content-gradinita {
    background: #ffffff;
    width: 95%;
    max-width: 1100px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.boxuri-gradinita-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.box-gradinita {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.box-gradinita img {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 45px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}

.close-btn:hover {
    color: #ff0000;
}

.inscriere-btn span{
display:block;
font-size:32px;
margin-bottom:10px;
}

.inscriere-btn:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
background:#f7fafc;
}
.decizii-page {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

/* ============================= */
/* PAGINA DECIZII CONSILIU */

.decizii-page {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}
.decizii-page h1 {
    text-align: center;
    margin-bottom: 40px;
}
.decizii-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.decizie-box {
    display: block;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    color: #003366;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.decizie-box:hover {
    background: #1e4fa3;
    color: white;
    transform: translateY(-5px);
}
/* ============================= */
/* PAGINA ANUNTURI */
.anunturi-page {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}
.anunturi-page h1 {
    text-align: center;
    margin-bottom: 40px;
}
.anunturi-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.anunturi-box {
    display: block;
    background: #ffffad;
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    color: #003366;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.anunturi-box:hover {
    background: #1e4fa3;
    color: white;
    transform: translateY(-5px);
}
/* HERO SLIDER */
.hero-slider{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:0;
}
.hero-slide{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
opacity:0;
transition:opacity 1s;
}
.hero-slide.active{
opacity:1;
}
.casuta-link {
  border-radius: 8px;
  transition: 0.3s;
}
.casuta-link img {
  width: 120px !important;
  height: auto;
}
.casuta-link:hover {
  background-color: #f5f5f5;
  transform: scale(1.03);
}
/* STILURI REVIZUITE PENTRU CELE 5 BOXURI */
.info-boxes-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 30px 0;
    text-align: left;
}
.info-box {
    width: 19%;
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    overflow: hidden;
}
.info-box-img {
    width: 100%;
    height: 130px;/* Limitează înălțimea pozei */
    overflow: hidden;
    border-bottom: 1px solid #eee;
}
.info-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Previne deformarea și mărirea pozei */
    display: block;
    margin: 0;
}
.info-box p {
    padding: 8px;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    color: #333;
}
/* Pentru mobil, să nu rămână prea mici */
@media (max-width: 600px) {
    .info-boxes-container {
        flex-direction: column;
    }
    .info-box {
        width: 100%;
        margin-bottom: 15px;
    }
}
/* STILURI MODAL FOTO */
.modal-foto {
  display: none; /* Ascuns implicit */
  position: fixed;
  z-index: 2000; /* Peste meniul sticky */
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9); /* Fundal negru transparent */
  cursor: zoom-out;
}
.modal-continut {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border: 3px solid white;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  /* Animatie de aparitie */
  animation: zoom 0.3s;
}
@keyframes zoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}
.inchide-modal {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
/* Cursor de lupa pe pozele mici ca sa stie omul ca se poate da click */
.info-box-img img {
  cursor: zoom-in;
  transition: 0.3s;
}
.info-box-img img:hover {
  opacity: 0.8;
}
/* Stilul pentru butonul cu PDF */
.btn-pdf {
    color: #ff0000;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap
}

.atentie {
    color: #ff0000;
    margin-left: 5px;
    display: inline-block;
    animation: clipire 0.8s infinite alternate;
}

/* Definirea animației pentru clipit */
@keyframes clipire {
    from {
        opacity: 1; /* Vizibil complet */
    }
    to {
        opacity: 0; /* Invizibil */
    }
}

/* Fundalul care acoperă tot site-ul */
.overlay-gradinita {
    display: none; /* Ascuns implicit */
    position: fixed;
    z-index: 3000; /* Peste orice altceva */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Negru transparent */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Efect de încețoșare fundal */
}

/* Fereastra albă din mijloc */
.modal-content-gradinita {
    background: #f7fafc;
    width: 90%;
    max-width: 1100px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto; /* Permite scroll dacă boxurile sunt prea mari */
}

/* Containerul celor 4 boxuri */
.boxuri-gradinita-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Stilul fiecărei cutii mari */
.box-gradinita {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.box-gradinita img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.box-gradinita h3 {
    color: #1e4fa3;
    margin-bottom: 10px;
}

.box-gradinita p {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}

/* Butonul X de închidere */
.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 35px;
    cursor: pointer;
    color: #333;
}
.close-btn:hover { color: red; }

.modal-formular {
  background: white;
  width: 90%;
  max-width: 500px;
  margin: 80px auto;
  padding: 25px;
  border-radius: 10px;
  position: relative;
  text-align: center;
}

.modal-formular textarea {
  width: 100%;
  height: 150px;
  margin: 15px 0;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: none;
}
/* MODAL PDF */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);

    justify-content: center;
    align-items: center;
}

/* container PDF */
.pdf-modal-content {
    width: 90%;
    height: 90%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* iframe PDF */
.pdf-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* buton X */
.close-pdf {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
}

.close-pdf:hover {
    color: red;
}

/* text clicabil */
.open-pdf {
    cursor: pointer;
    transition: 0.3s;
}

.open-pdf:hover {
    color: #1e4fa3;
    text-decoration: underline;
}

