
@font-face {
    font-family: 'Gilroy-Light';
    
    src: url('../gilroy/Gilroy-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


.google-reviews-section {
    width: 100%;
    padding: 80px 0;
    box-sizing: border-box;
    font-family: 'Gilroy-Light', sans-serif;
    background-color: #f8f8f8; 
    overflow: hidden; 
}

.google-reviews-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}


.reviews-header {
    text-align: center;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-title {
    font-size: 42px;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    font-weight: 300; 
}


.google-summary-card {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    padding: 15px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.google-summary-card:hover {
    transform: translateY(-3px);
}

.google-g-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.summary-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.summary-score-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.summary-score {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.summary-stars {
    display: flex;
    gap: 1px;
}

.summary-stars svg {
    width: 18px;
    height: 18px;
    color: #fbbf24;
}

.summary-text {
    font-size: 14px;
    color: #5f6368;
    font-weight: 500;
}

.summary-count-bold {
    color: #1a73e8; 
    font-weight: 700;
}

.google-logo-icon {
    width: 24px;
    height: 24px;
}


.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    opacity: 0; 
    transform: translateY(10px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.tab-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Gilroy-Light', sans-serif;
    font-size: 16px;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-btn:hover {
    background: #f1f3f4;
    color: #202124;
}

.tab-btn.active {
    background: #1a73e8; 
    color: #fff;
    border-color: #1a73e8;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}


.tab-content {
    display: none; 
    animation: fadeInTab 0.5s ease-in-out;
}

.tab-content.active {
    display: block; 
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



.reviews-slider-wrapper {
    position: relative;
    padding: 10px 0 40px 0; 
}

.reviews-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory; 
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
    align-items: flex-start; 
}

.reviews-slider::-webkit-scrollbar {
    display: none; 
}

/* KART STİLİ */
.review-card {
    flex: 0 0 auto; 
    width: 320px;
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    scroll-snap-align: start; 
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    
    opacity: 0;
    transform: translateY(50px);
    
    
    height: fit-content;
    min-height: 200px;
}

.review-card:hover {
    transform: translateY(-5px) !important; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}


.card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
}


.user-initial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 16px;
    font-weight: 600; 
    margin: 0;
    color: #202124;
}

.user-date {
    font-size: 12px;
    color: #70757a;
}

.google-icon-small {
    opacity: 0.8;
}

/* YILDIZLAR */
.card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 15px;
}

.star-icon {
    width: 18px;
    height: 18px;
    color: #fbbf24; 
}


.card-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #4d4d4d;
    margin: 0;
    
    
    display: block;
    overflow: visible;
    height: auto;
    max-height: none;
    -webkit-line-clamp: unset;
}


.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 18px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #333;
    color: #fff;
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }


.google-reviews-section.visible .reviews-header {
    opacity: 1;
    transform: translateY(0);
}

.google-reviews-section.visible .tabs-nav {
    opacity: 1;
    transform: translateY(0);
}

.google-reviews-section.visible .review-card {
    animation: slideUpFade 0.8s ease-out forwards;
}


.google-reviews-section.visible .review-card:nth-child(1) { animation-delay: 0.1s; }
.google-reviews-section.visible .review-card:nth-child(2) { animation-delay: 0.2s; }
.google-reviews-section.visible .review-card:nth-child(3) { animation-delay: 0.3s; }
.google-reviews-section.visible .review-card:nth-child(4) { animation-delay: 0.4s; }
.google-reviews-section.visible .review-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    .nav-btn {
        display: none; 
    }
    .google-reviews-container {
        padding: 0 15px;
    }
    .review-card {
        width: 280px; 
    }
    .tabs-nav {
        gap: 8px; 
    }
    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}