html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

header {
    background-image: url('poze/4.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 1rem;
    text-align: center;
   }
header h1 {
    font-size: 5rem; /* sau 3rem dacă vrei și mai mare */
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    text-shadow: 
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

.sigla {
    width: 100px;
    height: 100px;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 50%;
}
/* butoane */

.navbar  .nav-link {
    color: #fff;
}
nav {
    background-color: #333;
    padding: 0.5rem;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s, transform 0.2s;
    position: relative;
    padding: 5px 10px;
}

nav ul li a:hover {
    color: #00ff5e; /* verde neon sau altă culoare */
}


/* Navbar general */
.navbar {
  font-size: 1rem;
}

/* Linkuri din meniu */
.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
}

/* Iconul social */
.navbar .d-flex img {
  transition: transform 0.2s ease;
}
.navbar .d-flex img:hover {
  transform: scale(1.1);
}

/* Varianta mobil */
@media (max-width: 992px) {


     header h1 {
        font-size: 3rem;
    }

     .sigla {
        width: 64px;
        height: 64px;
        margin-left: -10px;
        margin-right: 7px;
    }

        .navbar-collapse {
        background-color: #333;
        padding: 1rem;
    } 

     .navbar>.container{
        display: flex;
        flex-wrap: inherit;
        align-items: unset;
        justify-content: end!important;
    }

  /* Meniul când e desfăcut */
  .navbar-collapse {
   
    padding: 1rem;
  }

   .navbar-toggler:focus {
        box-shadow: none!important;
    }

  /* Linkuri mai mari și mai clare */
  .navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
  }
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  /* Iconul Facebook pe mobil */
  .navbar .d-flex {
    margin-top: 1rem;
    justify-content: center;
  }
}

/* Varianta foarte mică (telefoane mici sub 400px) */
@media (max-width: 400px) {

    header h1 {
        font-size: 2rem;
    }
    .sigla {
        width: 44px;
        height: 44px;
        margin-left: -20px;
        margin-right: 7px;
    }
    .navbar-toggler {
        background-color: #0066cc!important;
        max-width: 60px;
        color: #fff!important;
    }

    .navbar-toggler:focus {
        box-shadow: none!important;
    }
  .navbar-brand {
    font-size: 0.9rem;
  }
  .navbar .d-flex img {
    width: 24px;
    height: 24px;
  }

  .navbar .nav-link {
        color: #aaa;
    }

    .navbar .nav-link:hover {
        color: #fff;
    }
}



main {
    background-color: #f5f5f5;
    padding: 2rem;
    text-align: center;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 0.4rem 1rem;  /* scade înălțimea, dar păstrează spațiu pe lateral */
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 0.85rem;     /* opțional: micșorează textul */
}

.galerie img {
    width: 250px;         /* sau orice lățime vrei tu */
    height: 250px;        /* pătrată: toate pozele vor avea aceeași zonă de afişare */
    object-fit: cover;    /* important: nu deformează imaginea, ci taie excesul */
    border-radius: 10px;  /* opțional: colțuri rotunjite */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* opțional: umbră */
}
}
.img-fundal {
    background-color: cyan;
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 300px;
    height: auto;
}
.map-container {
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* paragrafe si text in pagina Despre */

main.istoric {
    background-color: #fdfdfd;
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #111;
    max-width: 900px;
    margin: auto;
    text-align: justify;
}

main.istoric h2 {
    text-align: center;
    margin-bottom: 2rem;
}

main.istoric ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}
main.istoric p {
    text-indent: 2em; /* sau 30px, cum preferi */
    margin-bottom: 1rem;
}

/* imagine in index modificata */

.imagine-cu-text {
    display: flex;
    flex-direction: row; /* asta mută imaginea în stanga */
    align-items: center;
    gap: 20px;
    margin: 2rem auto;
    max-width: 800px;
    padding: 0 1rem;
}

.imagine-cu-text img.mic {
    width: 450px;
    height: auto;
    border-radius: 8px;
}

.imagine-cu-text p.langa-poza {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
}
/* poza index cu prezentare*/
.imagine-cu-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin: 2rem auto;
    max-width: 900px;
    padding: 0 1rem;
}

.imagine-cu-text img.mic {
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    margin-bottom: 25px;
}

.imagine-cu-text p.langa-poza {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #222;
    text-align: justify;
}
/* link facebook*/
.social {
    position: absolute;
    right: 20px;
    top: 10px;
}

.icon-social {
    width: 30px;
    height: 30px;
    transition: transform 0.2s;
}

.icon-social:hover {
    transform: scale(1.2);
}

/* organizare*/
.butoane-organizare {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px auto;
    max-width: 1000px;
}

.butoane-organizare a {
    background-color: #444;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    min-width: 200px;
}

.butoane-organizare a:hover {
    background-color: #f1c40f;
    color: black;
    transform: scale(1.05);
}
.organizare-titlu {
    text-align: center;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    color: #222222;
    margin-bottom: 1.5rem;
}
/* conducere*/
.pagina-conducere {
    text-align: center;
    padding: 0.1rem;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background-color: #f9f9f9;
}

.titlu-pagina {
    font-size: 2.5rem;
    color: #222;
    margin-top: 0.5rem; /* scade spațiul de sus */
    margin-bottom: 2rem;
}



.director {
    margin-bottom: 2rem;
}

.director img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.nume-director {
    font-size: 1.3rem;
    color: #333;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        justify-content: center;
        margin: 0 auto;
    }

}