﻿:root {
    --bg-light: rgb(249, 247, 247);
    --soft-blue: rgb(219, 226, 239);
    --mid-blue: rgb(63, 114, 175);
    --dark-blue: rgb(17, 45, 78);
    --nav-blur-bg: rgba(17, 45, 78, 0.35);
    --nav-solid-bg: rgba(17, 45, 78, 0.95);
    --nav-text: #ffffff;
    --footer-bg: #0d1b2a;
    --footer-bottom-bg: #08101c;
    --footer-link-hover: #ff4d4d;
}

body {
    background-color: var(--bg-light);
    color: var(--dark-blue);
    font-family: 'Inter', sans-serif !important;
    padding-top: 0 !important;
    margin: 0;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.features-title,
.navbar-brand,
.custom-navbar .nav-link,
.service-card h5,
.trust-card h5,
.fw-bold,
.display-6 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
}

main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

header.fixed-top + .hero-section {
    margin-top: 80px !important;
}



.custom-navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) saturate(100%);
    -webkit-backdrop-filter: blur(12px) saturate(100%);
    border-bottom: 6px solid var(--mid-blue) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.4rem 1.5rem;
    transition: padding 0.3s ease;
}

    .custom-navbar .container-fluid {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .custom-navbar .navbar-brand {
        font-weight: 700;
        font-size: 1.8rem;
        color: var(--dark-blue) !important;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .custom-navbar a {
        font-size: 1.2rem;
    }

.nav-logo {
    height: 42px;
    width: auto;
    filter: saturate(1.3) contrast(1.10) brightness(1.00);
    position: relative;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

    .nav-logo:hover {
        transform: scale(1.12);
    }

.custom-navbar .nav-link {
    color: var(--dark-blue) !important;
    margin: 0 0.8rem;
    font-weight: 600;
    transition: all 0.25s ease;
    opacity: 1;
    font-size: 1.3rem;
}

    .custom-navbar .nav-link.active {
        color: var(--mid-blue) !important;
        border-bottom: 2px solid var(--mid-blue);
        font-weight: 700;
    }

    .custom-navbar .nav-link:hover {
        color: var(--mid-blue) !important;
        transform: translateY(-2px);
    }

.custom-navbar.scrolled {
    padding: 0.6rem 1.5rem;
}


.navbar-toggler {
    border: none !important;
    outline: none !important;
    padding: 0.25rem 0.5rem;
    transition: transform 0.3s ease;
    box-shadow: none !important; 
}

    .navbar-toggler:focus,
    .navbar-toggler:active {
        outline: none !important;
        box-shadow: none !important; 
        border: none !important;
    }

.navbar-toggler-icon {
    filter: brightness(0) !important;
}

/* Dropdown */
.custom-navbar .dropdown-menu {
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 10px;
}

.custom-navbar .dropdown-item {
    color: var(--dark-blue) !important;
}

    .custom-navbar .dropdown-item:hover {
        background-color: var(--soft-blue);
    }

.custom-navbar:has(.navbar-toggler[aria-expanded="true"]),
.custom-navbar:has(.navbar-collapse.show) {
    background: rgba(255, 255, 255, 0.98) !important;
}

@media (max-width: 991px) {
    .custom-navbar .navbar-collapse {
        background: transparent;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .custom-navbar .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

        .custom-navbar .nav-link:last-child {
            border-bottom: none;
        }


    .custom-navbar .navbar-nav.lang-nav {
        flex-direction: row; 
        margin-left: 0 !important;
        margin-top: 15px;
        padding-left: 0.8rem; 
        gap: 20px; 
    }

        .custom-navbar .navbar-nav.lang-nav .nav-link {
            border-bottom: none; 
            padding: 0; 
            margin: 0; 
            width: auto;
            display: inline-block;
        }
}

/* --- MEDIA QUERIES MICI --- */

@media (max-width: 420px) {
    .custom-navbar {
        padding: 0.4rem 0.7rem !important;
    }

    .nav-logo {
        height: 34px !important;
    }

    .navbar-brand {
        margin-right: 0 !important;
    }

    .navbar-toggler {
        transform: scale(0.9);
    }

    .custom-navbar .nav-link {
        font-size: 1.15rem;
        margin: 0.35rem 0;
    }
}

@media (max-width: 350px) {
    .custom-navbar {
        padding: 0.35rem 0.55rem !important;
    }

    .nav-logo {
        height: 30px !important;
    }

    .navbar-toggler {
        transform: scale(0.85);
    }
}



.btn-primary {
    background: linear-gradient(90deg, var(--mid-blue), var(--dark-blue));
    border: none;
    color: var(--bg-light);
    box-shadow: 0 2px 6px rgba(17,45,78,0.12);
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: linear-gradient(90deg, #4e89c2, #163b66);
        transform: translateY(-2px);
    }

.card, .custom-card {
    background: white;
    border: 1px solid rgba(63,114,175,0.06);
}

.custom-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(219,226,239,0.18) 100%);
    color: var(--dark-blue);
}

.map-container {
    background: white;
    border: 1px solid rgba(17,45,78,0.04);
}
/* footer */


.footer-modern {
    position: relative;
}

.glass-footer-container {
    position: relative;
    width: 100%;
    min-height: 320px;
    background: #f8fbff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.footer-wrapper {
    position: relative;
    width: 92%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    z-index: 2;
}

/* Overlay comun (imagine + video) */
.video-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.25);
    z-index: 1;
    pointer-events: none;
}




.glass-footer {
    width: 100%;
    position: relative;
    z-index: 3;
    padding: 28px 24px 20px;
    background: transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 22px;
    color: #4a4a4a;
    display: flex;
    flex-direction: column;
}



.footer-links a {
    color: var(--menu-border-blue);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

    .footer-links a:hover {
        opacity: 0.7;
    }

.footer-modern .social-icons a {
    font-size: 1.2rem;
    color: #004aad;
    transition: color 0.3s ease;
    text-decoration:none;
}

    .footer-modern .social-icons a:hover {
        color: #002a60;
    }

.footer-contact li {
    margin-bottom: 8px;
}

.glass-separator {
    border: 0;
    height: 1px;
    background-image: linear-gradient( to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) );
    margin: 30px 0 20px;
}

.copyright-text {
    font-size: 0.85rem;
    color: #6c757d;
}


/*img pe footer*/
.footer--image .footer-bg-pulse {
    position: absolute;
    top: 60%;
    left: 50%;
    width: 70%;
    height: auto;
    opacity: 0.35;
    z-index: 0;
    animation: pulse-zoom-centered 30s ease-in-out infinite;
    will-change: transform;
}

@keyframes pulse-zoom-centered {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
    }

    50% {
        transform: translate(-50%, -50%) scale(0.95);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.85);
    }
}


/*video pe footer*/
.footer--video .footer-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


/*adaptare pe mobil*/
@media (max-width: 480px) {

    .glass-footer-container {
        min-height: 300px;
    }

    .footer--image .footer-bg-pulse {
        animation: none;
        transform: translate(-50%, -50%) scale(0.9);
    }

    .footer--video .video-overlay {
        background-color: rgba(255, 255, 255, 0.4);
    }
}



@media (min-width: 768px) {

    .glass-footer-container {
        min-height: 400px;
        padding: 3rem 0;
    }

    .footer-wrapper {
        width: 85%;
    }

    .glass-footer {
        padding: 40px 40px 20px;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-radius: 25px;
    }

    .footer--image .footer-bg-pulse {
        top: 50%;
        left: 68%;
        width: 40%;
        opacity: 1;
        animation-duration: 25s;
    }

    .video-overlay {
        background-color: rgba(255, 255, 255, 0.2);
    }
}



@media (prefers-reduced-motion: reduce) {
    .footer--image .footer-bg-pulse {
        animation: none !important;
    }
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 18px 20px;
    z-index: 999999;
    font-size: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
    display: none;
}

    .cookie-banner button {
        background: #0ea5e9;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        cursor: pointer;
    }

        .cookie-banner button:hover {
            background: #0284c7;
        }

/* ABOUT ICONS */
.about-icons-section {
    background: #ffffff;
}

.about-icon-box i {
    font-size: 2.4rem;
    margin-bottom: 8px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.about-icon-box:hover i {
    transform: scale(1.15);
    opacity: 0.9;
}

#watermark {
    position: fixed;
    bottom: 0;
    right: 0;
    opacity: 0;
    z-index: 999;
}

/* LANGUAGE SELECTOR */
.nav-item.lang-globe {
    margin-right: -6px;
}

.nav-item.lang-current .nav-link {
    color: #145ec3 !important;
    font-weight: 700 !important;
}

.nav-item.lang-current {
    margin-right: 4px;
}

.nav-item.lang-globe i {
    font-size: 1.1rem;
}



hiddenContent {
    display: none;
}

trigger:hover + .hiddenContent {
    display: block;
    color: red;
}

/*top button*/

#dynamicBackToTop {
    position: fixed;
    right: 30px;
    bottom: 50px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background-color: #2c3e50;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(0px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s ease-out, background-color 0.3s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    #dynamicBackToTop:hover {
        background-color: #18bc9c;
        transform: scale(1.1) translateY(-1px);
    }
}

@media (hover: none) and (pointer: coarse) {
    #dynamicBackToTop:active {
        background-color: #18bc9c;
        transform: scale(0.95);
        transition: transform 0.1s, background-color 0.1s;
    }
}


#dynamicBackToTop.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0px);
}

    
    #dynamicBackToTop.show:hover {
        transform: scale(1.1) translateY(-1px);
    }


@media (max-width: 768px) {
    #dynamicBackToTop {
        right: 20px;
        bottom: 50px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}


@media (max-width: 480px) {
    #dynamicBackToTop {
        right: 15px;
        bottom: 50px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}