﻿/* ============================================================ */
/* OPTIMIZED CSS: GALERIE FOTO & CARD GOOGLE (HOME PAGE)       */
/* ============================================================ */

/* --- 1. STILURI PENTRU GALERIA FOTO (Din _google-photos.css) --- */

.gg-photos-gallery-wrapper {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a; /* Background negru pentru integrare */
    color: #fff;
    padding-bottom: 1rem;
}

@media (min-width: 640px) {
    .gg-photos-gallery-wrapper {
        padding-top: 2rem;
        padding-bottom: 5rem;
    }
}

.gg-photos-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.gg-photos-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gg-photos-title {
    font-family: 'Teko', sans-serif;
    font-size: 2rem; /* Ajustat la 2.5rem pentru consistență */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    line-height: 1;
    margin: 0;
    color: white;
}

.gg-photos-title-highlight {
    color: #FF4D00;
    white-space: nowrap;
}

.gg-photos-subtitle {
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem; /* Ajustat la 1.125rem pentru consistență */
    color: #9ca3af;
    line-height: 1.5;
}

/* Grid Imagini */
.gg-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .gg-photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .gg-photos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gg-photos-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    aspect-ratio: 1 / 1; /* Păstrează pozele pătrate */
}

    .gg-photos-grid-item:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(255, 77, 0, 0.2);
        z-index: 2;
    }

    .gg-photos-grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Buton Load More */
.gg-photos-load-more-container {
    text-align: center;
    margin-top: 3rem;
    display: none; /* Controlat de JS */
}

.gg-photos-load-more-btn {
    background-image: linear-gradient(to right, #FF4D00, #FF8C00);
    color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}

    .gg-photos-load-more-btn:hover {
        transform: scale(1.05);
    }

/* Lightbox */
.gg-photos-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .gg-photos-lightbox.active {
        opacity: 1;
        pointer-events: auto;
    }

.gg-photos-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 0.5rem;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.gg-photos-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    font-weight: 300;
}

/* --- 2. STILURI PENTRU CARDUL GOOGLE (Acum arată ca primul exemplu) --- */

.google-section-review {
    padding: var(--space-24) 0; /* Folosim variabilele vechi de spacing */
    background: #0a0a0a;
    display: flex; /* Asigură că se centrează dacă e singur */
    justify-content: center; /* Centrează conținutul */
    align-items: center; /* Centrează vertical */
    margin-top: 40px;
    margin-bottom: 20px;
}

.google-card-review {
    /* Fundalul exact ca în primul exemplu (gradient cu o notă de alb/gri) */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; /* --radius-lg */
    padding: 24px; /* --space-24 */
    text-align: center;
    max-width: 420px; /* Mai compact */
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Umbră mai subtilă */
    position: relative;
    overflow: hidden;
    padding-top:10px;
    padding-bottom:10px;
}

    /* Efect de "glow" sau "conic-gradient" de la vechiul CSS */
    .google-card-review::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(from 0deg, transparent, rgba(66, 133, 244, 0.1), transparent); /* Albastru Google */
        animation: rotate 10s linear infinite; /* Animația de rotire */
        z-index: 0;
    }

    .google-card-review > * {
        position: relative;
        z-index: 1; /* Asigură că conținutul e peste pseudo-element */
    }

/* Stiluri pentru "Excelent Pe Google" */
.stat-label-review-verificabil {
    color: #ffffff; /* Alb, pentru contrast */
    text-transform: capitalize; /* Fără uppercase, doar prima literă mare */
    font-size: 1.125rem; /* Ajustat puțin mai mare */
    letter-spacing: normal; /* Fără letter-spacing mare */
    font-weight: 500;
    margin-bottom: 5px; /* Spațiu sub label */
}

.google-header-review {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px; /* --space-16 */
    margin-bottom: 10px; /* --space-20 */
}

.google-logo-review {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

    .google-logo-review svg {
        height: 100%; /* Ocupă tot spațiul wrapper-ului */
        width: 100%;
    }


.google-rating-review {
    display: flex;
    align-items: center;
    gap: 8px; /* --space-8 */
    font-size: 1.125rem;
}

.rating-number-review {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.5rem; /* Mai mic pentru a se potrivi */
}

.stars-review {
    color: #FDBB33; /* Google Yellow */
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.review-count-review {
    color: #ffffff; /* Alb */
    font-weight: 500;
    font-size: 0.9rem; /* Puțin mai mic */
}

.cta-text-review {
    color: #ffffff;
    font-size: 1.125rem;
    margin-bottom: 16px; /* --space-16 */
    font-weight: 500;
}

.btn-review.btn--primary-review {
    /* Buton portocaliu, exact ca în primul exemplu */
    background: linear-gradient(135deg, #FF4D00 0%, #FF8C00 100%);
    color: #ffffff;
    padding: 12px 24px; /* --space-12 --space-24 */
    border-radius: 9999px; /* --radius-full */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); /* --ease-standard */
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
    font-size: 16px; /* Dimensiune font consistentă */
    min-height: 44px; /* Înălțime minimă */
    display: inline-flex; /* Pentru a centra conținutul */
    align-items: center;
    justify-content: center;
}

    .btn-review.btn--primary-review:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4);
        background: linear-gradient(135deg, #e6440a 0%, #e67d00 100%);
    }


/* Adaugă animatia de rotire, dacă nu există deja */
@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}
