@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #efca08, #edca13, #ebcd34, #ebd049, #ebd567, #fce377 , #ebd049, #ebcd34, #edca13, #efca08);
    background-size: 400% 400%;
    animation: BackgroundGradient 15s ease infinite;
    text-align: center;
    color: #333;
}

@keyframes BackgroundGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


header {
    background: #aacc00;
    color: white;
    padding: 12px 0;
    letter-spacing: 1px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    position: relative; /* ADĂUGAT pentru poziționare absolută internă */
    text-align: center;

}}

header h1 {
    font-size: 36px;
    margin: 0;
    font-weight: bold;
text-shadow: 1px 1px 3px rgba(0,0,0,0.5); 
 line-height: 0;
    letter-spacing: 1px;
     
}

header h2 {
    font-size: 20px;
    margin: 4px 0 2px 0;
    font-style: italic;
text-shadow: 1px 1px 3px rgba(0,0,0,0.5); 
    color: white;
 line-height: 1;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    left: 15px;
}

.menu {
    list-style: none;
    padding: 0;
    display: none;
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    left: 10px;
    top: 50px;
    width: 300px;
    border-radius: 10px;
}

.menu li {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s;
}

.menu li:hover {
    background: #e1e1e1;
}

.menu li a {
    color: black;
    text-decoration: none;
    display: block;
    font-weight: bold;
    transition: color 0.3s;
}

.menu li a:hover {
    color: gray;
}


section {
    padding: 50px 20px;
    background: #a5be00;
    margin: 40px auto;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
    color: white;
    transition: transform 0.3s;
}

section:hover {
    transform: scale(1.02);
}

footer {
    background: #aacc00;
    color: white;
    padding: 9px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

#back-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 20px;
    background-color: #690379;
    border: 2px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.5s;
}

#back-button:hover {
    background-color: #eebbeb;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.button {
    background-color: #006400;
    color: white;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.button:hover {
    background-color: #006400;
    transform: translateY(-3px);
}

.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.logo {
    max-width: 200px;
    width: 100%;
    margin: 10px;
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    header h1 {
        font-size: 28px;
    }

    header h2 {
        font-size: 18px;
    }

    section {
        width: 95%;
        padding: 30px 10px;
    }

    .menu {
        width: 70%;
    }
}

.popup {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.popup-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border-radius: 10px;
}

.class-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.class-button {
    background-color: #006400;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    margin: 10px;
    flex: 1 1 30%;
}

.class-button:hover {
    background-color: #006400;
}
.header-logo {
    position: absolute;
    top: 10px;
    right: 20px;
    max-height: 60px;
}

.header-logo {
    position: absolute;
    top: 10px;
    right: 20px;
    max-height: 80px;
    transition: all 0.3s ease;
}

/* Responsivitate pentru ecran mic */
@media (max-width: 600px) {
    .header-logo {
        position: static;
        display: block;
        margin: 0 auto 10px auto;
        max-height: 60px;
    }

    header h1 {
        font-size: 24px;
    }

    header h2 {
        font-size: 16px;
    }
}
#intro h2 {
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.icon {
    font-size: 30px;
    color: white;
    background-color: #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.icon.facebook {
    background-color: #3b5998;
}

.icon.whatsapp {
    background-color: #25D366;
}

.icon:hover {
    transform: scale(1.2);
}
.contact-info a {
    color: white;
    text-decoration: underline;
}

