/* Resetare stiluri implicite */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: white; /* Fundal alb */
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 5px 20px  #4b739a;
    z-index: 1000;
    /* Eliminăm justify-content: space-between */
}

/* Containerul care grupează butonul + link-uri */
.header-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Spațiu între elemente */
    margin-left: 20px; /* Spațiu de la marginea stângă */
}

.home-button {
    padding: 8px 15px;
    background-color:  #4b739a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

/* Stilizare link-uri secțiuni */
.header-container a:not(.home-button) {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.header-container a:not(.home-button):hover {
    color: #3498db;
}

.home-button:hover {
    background-color: #2980b9;
}

.buton:hover{
    background-color:#4d9fb0;
}

/* Link-urile din header */
.navigation {
    margin-right: 20px;
}

.navigation a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.navigation a:hover {
    color: #3498db;
}

/* Spațiu pentru a evita suprapunerea cu headerul fix */
main {
    margin-top: 50px; /* Ajustează în funcție de înălțimea headerului */
    padding: 20px;
}

/* Stilizare secțiuni */
.content-section {
    min-height: 10px;
    padding: 20px;
    border-bottom: 1px solid #e3dcdc;
}


.centered-title {
    text-align: center;
    font-size: 40px;
}
.alineat {
    text-align: justify;
    text-indent: 2em; /* Alineat clasic */
    margin-top: 1em; /* Spațiu înaintea paragrafului */
    line-height: 1.5; /* Spațiere între rânduri */
    font-size: 25px;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 0.7rem 1rem;
    transition: all 0.4s;
}

.dropdown-link:hover {
    background-color: #f1f1f1;
    padding-left: 1.2rem;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: #2c3e50;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
    }
    .dropdown-menu {
        position: static;
        display: none;
        margin-top: 0.5rem;
        box-shadow: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; /* Înălțimea containerului */
}

.centered-image {
    transform: translate(275%, 0%);
    max-width: 15%;
    max-height: 15%;
    border-radius: 8px; /* Opțional - pentru colțuri rotunjite */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Opțional - umbra */
}


/* Footer - Stiluri generale */
.site-footer {
    background-color: #4b739a;
    color: #ecf0f1;
    padding: 1.5rem 0 0;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

/* Coloane footer */
.footer-col {
    margin-bottom: 2rem;
}

.footer-title {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #f1c40f;
}

/* Coloana 1 - Despre */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f1c40f;
    margin-bottom: 1rem;
}

.footer-about {
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #f1c40f;
    color: #2c3e50;
    transform: translateY(-3px);
}

/* Coloana 2 - Linkuri */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #f1c40f;
    transform: translateX(5px);
}

/* Coloana 3 - Contact */
.footer-contact {
    list-style: none;
}

.contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

/* Coloana 4 - Newsletter */
.newsletter-desc {
    margin-bottom: 1.5rem;
    color: #bdc3c7;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    min-width: 150px;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: #bdc3c7;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: #f1c40f;
    color: #2c3e50;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #f39c12;
}

/* Footer bottom */
.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    margin-top: 3rem;
    text-align: center;
}

.copyright {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.legal-links a:hover {
    color: #f1c40f;
}

/* Responsivitate */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-col {
        margin-bottom: 1.5rem;
    }
    
    .footer-title {
        margin-bottom: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    margin-top: 3rem;
}

.footer-right-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto; /* Împinge logo-ul în dreapta */
}

.logo-text {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 700;
    color: #f1c40f;
    letter-spacing: 1.5px;
    padding-right: 50px
}