*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: IBM Plex Sans;
    color: white;
    background-color: #171717;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* HEADER */

header {
    background: transparent;
    top: 0;
    left: 0;
    width: 100%;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1.5rem;
}

.logo {
    width: 200px;
}

#menu-toggle {
    display: none;
}

.hamburger-menu {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
    margin-right: 10px;
}

.hamburger-menu:hover {
    opacity: 60%;
}

.hamburger-menu img {
    width: 100%;
    height: auto;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 12000;
}

#menu-toggle:checked ~ .mobile-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu .logo {
    width: 260px;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.mobile-menu-links a{
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
}

.mobile-menu-links a:hover {
    opacity: 0.6;
}

.social-media-mobile-menu {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 60px;
}

.social-media-mobile-menu img {
    width: 35px;
    height: 35px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.social-media-mobile-menu img:hover {
    opacity: 1;
}

/* MAIN */

.contact-main {
    display: flex;
    flex-direction: row;
    height: 100vh;
    min-height: 800px;
}

.contact-stanga {
    position: relative;
    flex: 0 0 62%;
    overflow: hidden;
    background: url('../imagini-site/DoraGaitanovici3.jpg') center/cover no-repeat;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.contact-stanga-text {
    position: absolute;
    bottom: 10%;
    left: 5%;
    z-index: 2;
}

.contact-titlu {
    font-family: IBM Plex Sans;
    font-size: clamp(5rem, 12vw, 13rem);
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    opacity: 0.35;
    line-height: 0.9;
    letter-spacing: -2px;
    margin: 0;
    background: none;
    padding: 0;
    display: block;
}

.contact-subtitlu {
    font-family: IBM Plex Sans;
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.contact-dreapta {
    flex: 1;
    background: #1c1c1c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2.5rem;
    gap: 1rem;
}

.contact-card {
    background: white;
    color: #111;
    width: 100%;
    height: 100%;
    max-width: 380px;
    max-height: 500px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-card-label {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
}

.contact-card-nume {
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: #111;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleY(1.15);
}
.contact-card-telefon {
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: #111;
    line-height: 1.2;
    text-align: center;
    margin-top: auto;
    transform: scaleY(1.15);
}

.contact-card-mail {
    font-size: clamp(0.6rem, 0.8vw, 0.9rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #111;
    line-height: 1.2;
    text-align: center;
    margin-top: auto;
    transform: scaleY(1.15);
}

.universal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    border-top: 3px solid #333;
    padding-top: 1.5rem;
    width: 100%;
    max-width: 380px;
}

.universal-label {
    font-size: 0.81rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    color: #888;
}

.logo-universal {
    width: 170px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.logo-universal:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .contact-main {
        flex-direction: column;
        height: auto;
    }

    .contact-stanga {
        flex: none;
        height: 50vh;
    }

    .contact-titlu {
        font-size: 5rem;
    }

    .contact-dreapta {
        padding: 2.5rem 1.5rem;
    }
}

/* FOOTER */

footer {
    text-align: center;
    margin-top: 70px;

}

footer .footer-logo {
    margin-bottom: 25px;
    height: 85px;
}

footer .social {
    text-align: center;
    margin-bottom: 10px;
}

.social a {
    text-decoration: none;
}

.social img {
    width: 30px;
    height: 30px;
    margin-left: 15px;
    margin-right: 15px;
    display: inline-block;
    transition: opacity 0.3s;
}

.social img:hover {
    opacity: 60%;
}

footer ul {
    margin-top: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}

footer ul > li {
    display: inline-block;
    padding: 0 15px;
}

footer ul li a {
    text-decoration: none;
    color: white;
    transition: opacity 0.3s;
}

footer ul li a:hover {
    opacity: 60%;
}

footer .copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    margin-bottom: 30px;
    color: #ccc;
}

@media (max-width: 768px) {
    main {
        margin: 80px 1.5rem 0 1.5rem;
    }

    .date-contact {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
    }

    .logo-universal {
        width: 150px;
    }

    h1 {
        font-size: 2rem;
        padding: 4px 14px;
    }
}

@media (max-width: 600px) {

    .nav {
        padding: calc(env(safe-area-inset-top, 0px) + 1.2rem) 1.15rem 0.6rem;
    }

    .logo {
        width: 128px;
    }

    .hamburger-menu {
        width: 34px;
        height: 34px;
        margin-right: 0;
    }

    .close-menu {
        top: calc(env(safe-area-inset-top, 0px) + 1.1rem);
        right: 1.1rem;
        font-size: 2.8rem;
    }

    .mobile-menu .logo {
        width: 280px;
    }

    .mobile-menu-links {
        gap: 2.8rem;
    }

    .mobile-menu-links a {
        font-size: 1.75rem;
        letter-spacing: 0.16em;
    }

    .social-media-mobile-menu {
        gap: 30px;
        margin-top: 70px;
    }

    .social-media-mobile-menu img {
        width: 40px;
        height: 40px;
    }

    h1 {
        font-size: 1.6rem;
        padding: 3px 12px;
        margin-bottom: 30px;
    }

    main {
        margin: 70px 1rem 0 1rem;
    }

    .date-contact {
        gap: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .date-contact h3 {
        font-size: 1.2rem;
    }

    .logo-universal {
        width: 120px;
    }

    footer {
        margin-top: 52px;
    }

    footer .footer-logo {
        height: 72px;
    }

    .social img {
        width: 30px;
        height: 30px;
        margin: 0 11px;
    }

    footer ul li {
        display: block;
        padding: 4px 0;
    }

    footer ul {
        font-size: 15px;
        line-height: 1.75;
    }

    footer .copyright {
        margin-top: 12px;
        margin-bottom: 24px;
    }
}
