        :root {
            --primary: #2c3e50;
            --accent: #8A5017; 
            --bg: #faf9f6;
            --text: #333;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
        }

        header {
            text-align: center;
            padding: 4rem 1rem;
            background: #fff;
        }

        h1 {
            font-size: 3rem;
            letter-spacing: 5px;
            margin: 0;
            text-transform: uppercase;
        }

        .subtitle {
            color: var(--accent);
            font-weight: 300;
            letter-spacing: 2px;
        }

        nav {
            position: sticky;
            top: 0;
            background: rgba(255, 255, 255, 0.9);
            padding: 1rem;
            text-align: center;
            border-bottom: 1px solid #eee;
            z-index: 1000;
        }

        nav a {
            margin: 0 15px;
            text-decoration: none;
            color: var(--primary);
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.9rem;
        }

        .container {
            max-width: 1100px;
            margin: 2rem auto;
            padding: 0 20px;
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .art-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }

        .art-card:hover {
            transform: translateY(-5px);
        }

        .art-card img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
        }

        .art-info {
            padding: 1.5rem;
        }
        .art-card-f {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }

        .art-card-f:hover {
            transform: translateY(-5px);
        }

        .art-card-f img {
            width: 100%;
            height: 800px;
            object-fit: cover;
            display: block;
        }

        .art-card-fp img {
            width: 100%;
            height: 900px;
            object-fit: cover;
            display: block;
        }

        .art-info-f {
            padding: 1.5rem;
        }
        .art-card-p {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }

        .art-card-p:hover {
            transform: translateY(-5px);
        }

        .art-card-p img {
            width: 100%;
            height: 800px;
            object-fit: cover;
            display: block;
        }

        .art-info-p {
            padding: 1.5rem;
        }
        .category {
            font-size: 0.8rem;
            color: var(--accent);
            text-transform: uppercase;
        }

        footer {
            text-align: center;
            padding: 3rem;
            background: var(--primary);
            color: white;
            margin-top: 4rem;
        }

        .contact-btn {
            display: inline-block;
            padding: 10px 25px;
            background: var(--accent);
            color: white;
            text-decoration: none;
            border-radius: 5px;
            margin-top: 1rem;
        }
        .popup-overlay {
            display: none; /* Ascuns implicit */
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9); /* Negru transparent */
            cursor: pointer;
        }

        .popup-content {
            margin: auto;
            display: block;
            max-width: 80%;
            max-height: 80%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border: 3px solid white;
            border-radius: 5px;
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 35px;
            color: white;
            font-size: 40px;
            font-weight: bold;
        }

        #backToTop {
            display: none; /* Ascuns implicit până când utilizatorul dă scroll */
            position: fixed; /* Rămâne fix în fereastră */
            bottom: 30px; /* Distanța de jos */
            right: 30px; /* Distanța din dreapta */
            z-index: 99; /* Se asigură că stă deasupra altor elemente */
            border: none;
            outline: none;
            background-color: #333; /* Poți schimba culoarea să se potrivească cu tema LenArt */
            color: white;
            cursor: pointer;
            padding: 15px;
            border-radius: 50%; /* Îl face rotund */
            font-size: 18px;
            transition: opacity 0.3s;
        }

        #backToTop:hover {
            background-color: #555; /* Efect la trecerea cu mouse-ul */
        }