@media (max-width: 1024px) {
    /* Sidebar devine un meniu jos */
    .sidebar {
        position: fixed;
        bottom: 0;
        top: auto;
        width: 100%;
        height: 70px;
        flex-direction: row;
        justify-content: space-around;
        padding: 0;
        border-right: none;
        border-top: 2px solid var(--gold);
        z-index: 2000;
        display:none;
    }

    .sidebar-logo {
        display: none;
    }

    .sidebar-nav {
        flex-direction: row;
        gap: 3rem;
    }

    .sidebar-nav a::after {
        display: none; /* tooltip off */
    }

    /* Conținutul principal coboară peste sidebar */
    .main-content {
        margin-left: 0px;
        width: 100%;
        max-width: 100%;
    }


    /* Hero devine vertical (text apoi slider) */
    .hero-split {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .hero-left {
        background: black;
        padding: 3rem 2rem;
        height: auto;
    }

    .hero-text h1 {
        font-size: 2.6rem;
        text-align: center;
    }

    .hero-text .name {
        font-size: 3rem;
        text-align: center;
    }

    .hero-text p {
        font-size: 1.1rem;
        text-align: center;
    }

    .hero-cta {
        display: block;
        width: fit-content;
        margin: 2rem auto 0 auto;
    }

    .hero-right {
        height: 350px;
    }
    
    /* Servicii — cardurile unul sub altul */
    .services-diagonal::before {
        display: none;
    }

    .services-grid-diagonal {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }

    .service-card-diagonal {
        transform: none !important;
    }

    /* Galerie – scrolling mai mic */
    .gallery-scroll {
        padding: 1rem 2rem;
        height: 350px;
    }

    .gallery-item {
        min-width: 250px;
        height: 300px;
    }

    /* About – devine layout simplu stacked */
    .about-asymmetric {
        grid-template-columns: 1fr;
    }

    .about-left,
    .about-right {
        padding: 3rem 2rem;
        min-height: auto;
    }

    .about-left h2 {
        font-size: 2.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    /* Contact — carduri 1 coloană */
    .cards-container {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-minimal {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem;
    }

    .footer-logo-image {
        height: 70px;
        width: 50px;
    }
}

/* ----------- MOBILE MIC (max 600px) ----------- */
@media (max-width: 600px) {

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text .name {
        font-size: 2.4rem;
    }

    .hero-right {
        height: 260px;
    }

    .gallery-item {
        min-width: 200px;
        height: 250px;
    }
    
    .contact-title, .gallery-title {
        font-size:3rem;
      }

    .about-left h2 {
        font-size: 2rem;
        text-align: center;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}
