/*#region [rgba(255, 255, 255, 0.1)] GeneralClasses*/
@font-face { font-family: "Metrosant-Regular"; src: url("Metrosant-Regular.ttf"); }
:root { --green-button-bgcolor: rgb(6, 24, 82); --green-hover: #ce1b1bbd; --main-font-family: 'Poppins', sans-serif; --cta-color: #10B981; --cta-hover-color: #059669; }

html { 
    scroll-behavior: smooth; 
    -webkit-text-size-adjust: 100%; 
    text-size-adjust: 100%;
    height: 100%;
}
body {
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
}

main {
    flex: 1 0 auto; 
    background: linear-gradient(to top left, rgb(3, 17, 63) 1%, rgb(13, 29, 56) 100%);
    color: white;
}
footer {
    flex-shrink: 0; 
    background: linear-gradient(to top left, rgb(3, 17, 63) 1%, rgb(13, 29, 56) 100%);
    color: white;
}

*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; }
li { list-style: none; }

.section { padding-left:5px; padding-right:5px; margin-left:auto; margin-right:auto; }
.container1920 { max-width:1600px; margin-left:auto; margin-right:auto; }
.container-int { width: 92%; margin: 0 auto;}
@media (min-width: 768px) { .container-int { width: calc(80% - 10px); max-width: 1700px; } }
/*#endregion GeneralClasses*/


/*#region [rgba(0, 205, 30, 0.25)] header*/
header {
    background-color: #fff;
    color: #333; 
}
img.telmail {
    max-height: 18px; 
    display: block;
}
.telemail { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 35px; 
    white-space: nowrap; 
    padding: 0 15px; 
}
@media (min-width: 768px) { 
    .telemail { 
        justify-content: flex-end; 
        padding: 15px 50px 15px 0px; 
        gap: 25px; 
    } 
}
.header-tel-only, .header-email-only { 
    display: flex;
    align-items: center;
    gap: 8px; 
    font-size: 14px; 
}
.header-icons-text { 
    font-size: 3vw; 
    color: #333; 
}
@media (min-width: 460px) { 
    .header-icons-text { 
        font-size: 14px; 
    } 
}
/*#endregion header*/


/*#region [rgba(0, 100, 115, 0.3)] hero & Meniu */
.hero-row-a { display: flex; justify-content: space-between; align-items: center; padding: clamp(5px, 2.5vw, 15px) 15px; }
@media (min-width: 768px) { .hero-row-a { padding: 20px 60px; }}
.hero-logo { width: 75px; height: auto; filter: brightness(0) invert(1); display: block; }
.nav-links a { color: #fff; font-weight: 500; font-size: 16px; padding-bottom: 7px; border-bottom: 3px solid transparent; }
.hamburger { display: inline-block; font-size: 35px; user-select: none; cursor: pointer; }
@media (min-width: 1200px) { .hamburger { display: none; } }
.menu { display: none; position: absolute; top: 100px; left: 50%; right: 0; z-index: 99; background: rgba(10, 25, 50, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 0 0 0 12px; padding: 20px 30px; text-align: right; }
@media (min-width: 1200px) { .menu { display: flex; position: static; gap: 1.5em; background: none; padding: 0; } }
@media (min-width: 1200px) { .menu a:hover { border-bottom: 3px solid var(--cta-color); transition: 0.3s ease; } }
.menu li { margin-top: 20px; }
@media (min-width: 1200px) { .menu li { margin-top: 0; padding: 5px 0px 0px 14px; } }
input[type=checkbox] { display: none; }
input[type=checkbox]:checked ~ .menu { display: block; }
.dropdown { position: relative; }
.submenu { display: none; position: absolute; top: 100%; left: 0; background: rgba(10, 25, 50, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 8px; padding: 10px 0; min-width: 160px; z-index: 100; }
@media (min-width: 1200px) { .dropdown:hover .submenu { display: block; } }
.submenu li { margin-top: 0; padding: 5px 15px; }
.submenu li a { font-size: 15px; border-bottom: none !important; display: block; width: 100%; }
.submenu li a:hover { color: var(--cta-color); }
@media (max-width: 1199px) { .submenu { display: block; position: static; background: none; backdrop-filter: none; padding-left: 20px; border-radius: 0; } .submenu li { padding: 0; } }
/*#endregion hero & Meniu */


/*#region [rgba(80, 44, 215, 0.3)] heroB - Video Section */
.hero-row-b-ems-video { 
    padding: 0 15px 40px; 
}
@media (min-width: 768px) {
    .hero-row-b-ems-video { padding: 20px 60px; }
}
.video-item01 { 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
}
.video-description { 
    text-align: left;
    margin-bottom: 25px; 
}
.video-container { 
    width: 100%; 
    max-width: 960px;
    margin: 0 auto; 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 12px; }
.video-title { 
    font-family: 'Metrosant-Regular', sans-serif; 
    font-size: 28px; 
    line-height: 1.5; 
    padding-bottom: 10px; 
    color: white; 
    margin-top: 0; 
}
.video-text { font-size: 16px; line-height: 1.8; color: #ccc; }
/*#endregion heroB - Video Section */


/*#region GalerieFoto Carusel */
/* MODIFICARE FINALA: Adaugam o latime maxima si centram caruselul */
.galerie-container {
    padding: 40px 15px 0; /* Padding lateral pentru a nu se lipi de margini */
    max-width: 1600px; /* Latimea maxima a intregii sectiuni carusel */
    margin: 0 auto; /* Centrarea sectiunii pe pagina */
    box-sizing: border-box;
}
.galerie-titlu {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    font-family: 'Metrosant-Regular', sans-serif;
}
.carousel-container {
    width: 100%; /* Acum ocupa 100% din parintele limitat (.galerie-container) */
    margin: auto;
    overflow: hidden;
    position: relative;
}
.carousel-track {
    display: flex;
    width: calc(2 * (4 * 50%)); 
    animation: scroll 60s linear infinite;
}
.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}
.carousel-slide {
    flex-shrink: 0;
    width: 50%;
    padding: 0 10px;
    box-sizing: border-box;
}
.card {
    display: flex;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
}
.card img {
    width: 40%; 
    max-height: 140px; 
    object-fit: contain; 
    padding: 5px; 
    box-sizing: border-box; 
}
@media (min-width: 768px) {
    .card img {
        max-height: 180px; 
    }
}
@media (min-width: 1024px) {
    .card img {
        max-height: 200px; 
    }
}
.card-description {
    padding: 12px; 
    width: 60%;
    display: flex; 
    flex-direction: column;
    justify-content: center; 
}
.card-description h2 {
    margin: 0 0 8px 0; 
    font-size: 1.0em; 
    color: #fff;
}
.card-description p {
    font-size: 0.9em; 
    color: #ccc; 
    line-height: 1.5; 
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * (4 * 50%))); }
}
@media (min-width: 768px) {
    .carousel-slide { width: 33.333%; }
    .carousel-track { width: calc(2 * (4 * 33.333%)); }
    @keyframes scroll { 100% { transform: translateX(calc(-1 * (4 * 33.333%))); } }
    .card-description p {
        -webkit-line-clamp: 4; 
    }
}
@media (min-width: 1024px) {
    .carousel-slide { width: 25%; }
    .carousel-track { width: calc(2 * (4 * 25%)); }
    @keyframes scroll { 100% { transform: translateX(calc(-1 * (4 * 25%))); } }
}
/*#endregion GalerieFoto Carusel */


/*#region Footer*/
footer {
    padding-top: 40px; 
    padding-bottom: 20px;
}
.footer-centered { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 10px 5px; 
    gap: 10px; 
    text-align: center; 
}
/*#endregion Footer*/