@font-face {
    font-family: 'Sevillana';
    src: url('../fonts/Sevillana-Regular.eot');
    src: local('Sevillana'), local('Sevillana-Regular'),
        url('../fonts/Sevillana-Regular.eot') format('embedded-opentype'),
        url('../fonts/Sevillana-Regular.woff2') format('woff2'),
        url('../fonts/Sevillana-Regular.woff') format('woff'),
        url('../fonts/Sevillana-Regular.ttf') format('truetype'),
        url('../fonts/Sevillana-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

header {
    background-color: rgba(0, 0, 0, 0.982);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    top: 0;
    z-index: 1000;

}

.logo {
    max-width: 100px;

}

#logo {
    width: 100%;
}

nav {
    width: 100%;
    position: relative;

}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    padding: 20px 25px;
}

nav ul li:hover,
nav ul li.active {
    background-color: rgba(106, 5, 124, 0.728);
}

nav ul li:hover {
    color: aqua;

}

/* nav ul li:hover a{
color: red;
} */
nav ul li a {
    font-size: 30px;
    color: white;
    text-decoration: none;
    font-family: "Sevillana", serif;
    font-weight: 400;
    font-style: normal;
}

/*END HEADER*/


.container {
    margin: 20px 0px;
    padding: 10px 30px;
    font-size: x-large;
}

section h2 {
    text-align: center;
}

section p {
    text-align: justify;
}

#foto {
    width: 100%;
    max-width: 1800px;
    margin: auto;
    text-align: center;
}

#foto img.foto {
    display: inline-block;
    margin: 10px;
    max-width: 500px;
    width: 100%;
    height: auto;
}

/* Culoare text pentru fraze colorate */
.colorat {
    color: black;
    font-weight: bold;
}

/* Îngroșarea textului */
.strong {
    font-weight: bold;
    color: rgb(0, 208, 255);
}

h3 {
    color: rgb(243, 73, 6);
}

/* Stilizare lista ordonată */
ol {
    margin-left: 20px;
    /* Distanță pentru a face lista mai lizibilă */
    padding-left: 20px;
    font-size: 25px;
}

/* Stilizare lista neordonată */
ul {
    margin-left: 20px;
    padding-left: 20px;
    font-size: 25px;
}

/* Stilizarea paragrafului pentru a adăuga spațiu între ele */
p {
    margin-bottom: 20px;
    /* Spațiu mai mare între paragrafe */
    line-height: 1.6;
    font-size: 25px;
}

footer {
    display: flex;
    justify-content: center;
    /* Centrează textul pe orizontală */
    align-items: center;
    /* Centrează elementele pe verticală */
    background-color: rgba(0, 0, 0, 0.874);
    color: white;
    padding: 20px;
    margin-top: 60px;
    text-align: center;
    position: relative;
}

footer .footer-content {
    display: flex;
    justify-content: center;
    /* Centrează conținutul textului */
    flex: 1;
    /* Permite textului să ocupe toată lățimea disponibilă */
}

/* Stilizare buton pentru a-l poziționa în partea dreaptă */
footer .scrollToTop {
    margin-left: 20px;
    background-color: rgba(128, 128, 128, 0.61);
    color: white;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    /* Elimină sublinierea */
}

/* Efect de hover pentru buton */
footer .scrollToTop:hover {
    background-color: grey;

}

/*End footer*/

/* Start table */
/* Stilizare tabel */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

/* Stilizare antet tabel */
th {
    background-color: #7646a6d3;
    color: white;
    text-align: center;
    padding: 12px 15px;
}

/* Stilizare celule tabel */
td {
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

/* Stilizare hover pentru rânduri */
tr:hover {
    background-color: #f1f1f1;
}

/* Stilizare linkuri */
a {
    color: #572c98;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.bold-link {
    font-weight: bold;
}

@media (min-width: 1024px) {

    /* Se aplică doar pe desktop */
    table {
        width: 90%;
        /* Ajustează dimensiunea tabelului */
        margin-left: auto;
        /* Centrează tabelul */
        margin-right: auto;
    }
}

/* End table*/

/*START FORMULAR PENTRU PAGINA BLOG*/
.comment-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    max-width: 600px;
    margin: 0;
    padding: 10px;
}

.comment-box {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 20px 30px;
    max-width: 500px;
    background-color: #f9f9f9;
    margin: 20px;
}

.comment-section form {
    width: 100%;
}

.comment-section textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    box-sizing: border-box;
    font-size: 18px;
}

.comment-section label {
    font-weight: bold;
    font-size: 20px;
}

.comment-section button {
    padding: 10px 22px;
    font-size: 16px;
    height: auto;
    border: none;
    background-color: #7300ff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
}

.comment-section button:hover {
    background-color: #7300ffd2;
}

/*STOP FORMULAR PENTRU PAGINA BLOG*/

/*START FORMULAR CONTACT*/
/* General Layout */

.contact-page footer {
    margin-top: 0;
    padding-top: 0;
}

.page-wrapper {
    background: linear-gradient(45deg, #7b5c67, #080808);
    padding-top: 130px;
    padding-bottom: 130px;
    flex-grow: 1;

}

.wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.card {
    padding: 50px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 10px;
}

/* Titluri */
.title,
.titlu {
    font-family: 'Lato', sans-serif;
    color: #333;
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: capitalize;
    /* Opțional */
}

/* Structură pentru câmpurile formularului */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.col-2 {
    width: calc(50% - 10px);
    /* Două coloane cu spațiere egală */
}

.col-1 {
    width: 100%;
    /* Coloana care ocupă întreaga linie */
}

.input-group {
    width: 100%;
    margin-bottom: 20px;
}

.input--style-4 {
    width: 100%;
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    box-sizing: border-box;
    /* Evită problemele de dimensiune */
}

/* Birthday și Gender pe aceeași linie */
.birthday-gender-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.birthday-box {
    flex: 1;
}

.gender-box {
    flex: 1;
}

/* Male și Female sub Gender */
.gender-options {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 10px;
}

.p-t-10 {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.radio-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.radio-container .checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: transparent;
    margin-left: 5px;
    position: relative;
}

.radio-container input[type="radio"] {
    margin: 0;
}

.radio-container label {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #333;
}

/* Styling pentru select */
.rs-select2 select {
    background-color: #fff;
    color: #333;
    padding: 10px 15px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
}

/* Ascunde opțiunea duplicată "Choose option" */
.rs-select2 select option[value=""] {
    display: none;
    /* Ascunde opțiunea duplicată */
}

/* Subject ocupă două coloane */
.subject-box {
    width: 100%;
    grid-column: span 2;
}

/* Butonul Submit */
.btn--blue {
    background-color: #3f1e47;
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    width: 40%;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.btn--blue:hover {
    background-color: #1b0c10;
}

/* Responsive pentru mobil */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col-2 {
        width: 100%;
    }

    .btn--blue {
        font-size: 14px;
    }

    .birthday-gender-row {
        flex-direction: column;
    }
}

/*END FORMULAR CONTACT*/


/*START MODIFICARI PAG HOME*/

/* MENIU MOBIL */
#menu-toggle {
    display: none;
}

.menu-icon {
    font-size: 25px;
    cursor: pointer;
    color: white;
    z-index: 4000;
    /* Mai mare decât meniul */
    display: block;
    position: absolute;
    top: 35px;
    right: 40px;
}

.menu-icon i:last-child {
    display: none;
}

/* Iconița "X" în colțul meniului deschis */
#menu-toggle:checked+.menu-icon {
    position: fixed;
    top: 35px;
    right: 40px;
    font-size: 25px;
    z-index: 3000;
}

#menu-toggle:checked+.menu-icon i:first-child {
    display: none;
}

#menu-toggle:checked+.menu-icon i:last-child {
    display: inline;
}

/* START BANNER */
.home-page #banner {
    width: 100%;
    height: 600px;
    background-image: url(../images/banner3.gif);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    
}

.home-page #banner h1 {
    color: rgba(0, 255, 255, 0.749);
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* END BANNER */

.home-page #foto {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    /* Elimină complet scroll-ul orizontal */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Centrează imaginile */
    padding: 0;
    /* Elimină orice padding care împinge imaginile */
    box-sizing: border-box;
    /* Asigură că padding-ul nu afectează lățimea */
}

.home-page #foto img.foto {
    display: block;
    margin: 10px;
    max-width: calc(33.33% - 20px);
    /* Pe desktop: 3 imagini pe rând */
    width: auto;
    height: auto;
}

/* MENIU MOBIL */
@media (max-width: 768px) {
    .home-page nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        /* Ocupă tot ecranul */
        background-color: rgba(37, 4, 91, 0.886);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        /* Asigură că meniul stă deasupra bannerului */
    }

    html,
    body {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    /* Afișează meniul când checkbox-ul este activat */
    #menu-toggle:checked~nav {
        display: grid;
    }

    .home-page nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        /* Aranjează elementele vertical */
        align-items: center;
        /* Centrează textul */
        width: 100%;
        text-align: center;
        margin-top: -70px;
    }

    .home-page nav ul li {
        margin-bottom: 10px;
        padding: 10px 0;
    }

    .home-page nav ul li a {
        font-size: 20px;
        /* Mărimea fontului pe mobil */
        font-family: 'Times New Roman', Times, serif;
        color: white;
        text-decoration: none;
    }

    /* Sublinierea „Acasă” când meniul este deschis */
    #menu-toggle:checked~nav ul li a.home-page {
        color: rgb(255, 51, 0);
        /* Culoarea textului */
    }

    .home-page #banner {
        height: 400px;
        position: relative;
        /* Evită ca bannerul să fie fixat peste meniu */
        z-index: 1;
        /* Banner-ul trebuie să fie sub meniu */
    }

    .home-page #banner h1 {
        font-size: 24px;
    }

    .home-page #foto {
        flex-direction: column;
        /* Pune imaginile una sub alta */
        align-items: center;
        /* Centrează imaginile */
    }

    .home-page #foto img.foto {
        max-width: 90%;
        /* Asigură că imaginile nu depășesc ecranul */
        width: auto;
    }

    #menu-toggle:checked~.header-container {
        position: fixed;
        width: 100%;
    }
}

/* Aplica stiluri doar pe mobil, dar nu pe pagina Acasă */
@media (max-width: 768px) {

    /* Meniu orizontal pe mobil */
    body:not(.home-page) header nav ul {
        align-items: center;
        /* Centrează elementele pe verticală */
    }

    /* Stiluri pentru celelalte pagini (nu Acasă) */
    body:not(.home-page) header nav ul li {
        padding: 3px 2px;
        /* Padding uniform pentru elemente */
        line-height: 0;
    }

    body:not(.home-page) header nav ul li a {
        font-size: 13px;
        /* Font mai mic pe mobil */
        padding: 3px 3px;
        /* Am redus padding-ul pentru a ajusta distanțele pe mobil */
        text-align: center;
        line-height: 2;
        font-family: 'Times New Roman', Times, serif;
    }

    body:not(.home-page) header {
        padding: 5px 10px;
        /* Am redus padding-ul general din header */
    }

    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        /* Permite scroll orizontal dacă tabelul e prea mare */
        white-space: nowrap;
        /* Evită ca textul să se spargă aiurea */
    }

    th,
    td {
        font-size: 11.5px;
        padding: 8px;
    }

    #foto {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        overflow: hidden;
        /* Elimină complet scroll-ul orizontal */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* Centrează imaginile */
        padding: 0;
        /* Elimină orice padding care împinge imaginile */
        box-sizing: border-box;
        /* Asigură că padding-ul nu afectează lățimea */
    }

    #foto img.foto {
        display: block;
        margin: 10px;
        max-width: calc(33.33% - 20px);
        /* Pe desktop: 3 imagini pe rând */
        width: auto;
        height: auto;
    }

    .despre-img {
        width: 90%;
        /* Se ajustează la lățimea containerului */
        max-width: 800px;
        /* Setează o lățime maximă rezonabilă */
        display: block;
        margin: 20px auto;
        /* Adaugă spațiu și centrează */

    }
}

@media (max-width: 768px) {
    p {
        text-align: left;
        /* Elimină justify pentru a evita spațiile mari */
        word-break: break-word;
        /* Împiedică formarea spațiilor mari între cuvinte */
        hyphens: auto;
        /* Permite despărțirea naturală a cuvintelor */
        font-size: 1rem;
        /* Păstrează dimensiunea normală a textului */
        line-height: 1.5;
        /* Asigură lizibilitate bună */
        word-spacing: normal;
        /* Resetează spațierea între cuvinte */
        letter-spacing: normal;
        /* Resetează spațierea între litere */
    }

    .container {
        max-width: 90%;
        margin: 0 auto;
        /* Asigură că textul rămâne centrat fără să se întindă prea mult */
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {

    ol li,
    ul li {
        font-size: 1rem;
        /* Ajustează dimensiunea fontului */
    }
}

@media (max-width: 768px) {
    footer {
        display: flex;
        flex-direction: column;
        /* Elemente pe verticală */
        align-items: center;
        /* Centrează conținutul */
        text-align: center;
        padding: 15px 0;
        /* Reduce padding-ul */
    }

    footer .footer-content {
        font-size: 14px;
        /* Dimensiune mai mică */
        line-height: 1.4;
        /* Spațiu echilibrat */
        max-width: 60%;
        /* Ajustează lățimea */
        margin: 0 auto;
        /* Elimină extra spațiu jos */
        padding: 0;
        /* Elimină padding inutil */
    }

    footer .scrollToTop {
        font-size: 14px;
        padding: 6px 12px;
        /* Ajustează padding-ul doar în interior */
        text-align: center;
        margin-top: 5px;
        /* Urcă butonul mai sus */
        margin-left: 0;
        /* Elimină orice decalaj la stânga */
        display: block;
        width: fit-content;
    }
}

@media (min-width: 769px) {
    .menu-icon {
        display: none;
    }

    .header-container {
        display: flexblock;
        justify-content: center;
        width: 100%;
    }

    html,
    body {
        margin: 0;
        padding: 0;
        width: 100%;
    }
}