/* Modern Comments Design - Tab-Based Müşteri Yorumları Tasarımı */

/* Section Title Enhancements for Comments */
.comments-home-main-div .modules-header-main {
    margin-bottom: 0px;
}

.comments-home-main-div .modules-header-main-head {
    position: relative;
    padding-bottom: 0px !important;
}

.comments-home-main-div .modules-header-main-baslik {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.comments-home-main-div .modules-header-main-spot {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.85;
}

/* Main Container Enhancements */
.comments-home-main-div { 
    margin: 0px auto; 
    position: relative;
    overflow: visible !important;
}

/* ===== CAROUSEL NAVIGATION - Üstte Kişiler (Dikdörtgen Kutular) ===== */
.comments-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -10px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.comments-carousel-container {
    flex: 1;
    max-width: 1000px;
    overflow: hidden;
    position: relative;
}

.comments-carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0 10px 0;
}

.comment-person-item {
    flex: 0 0 auto;
    width: 250px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.comment-person-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    border-color: rgba(102, 126, 234, 0.3);
}

.comment-person-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(-5px);
}

.comment-person-avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    position: relative;
}

.comment-person-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    background: #f0f0f0;
}

.comment-person-item.active .comment-person-avatar img {
    border-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.comment-person-info {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.comment-person-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comment-person-item.active .comment-person-name {
    color: #ffffff !important;
}

.comment-person-position {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.75;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comment-person-item.active .comment-person-position {
    color: #ffffff !important;
    opacity: 0.9;
}

/* Carousel Navigation Buttons */
.comments-carousel-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    outline: none;
    margin: 0 10px;
}

.comments-carousel-nav:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transform: scale(1.1);
}

.comments-carousel-nav:active {
    transform: scale(0.95);
}

.comments-carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.comments-carousel-nav:disabled:hover {
    background: #ffffff;
    color: #666;
    transform: none;
}

/* ===== CONTENT - Altta Yorumlar (Carousel'e Bitişik) ===== */
.comments-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.comments-content-item {
    display: none;
    animation: fadeInContent 0.5s ease-out;
}

.comments-content-item.active {
    display: block;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comments-content-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 45px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.comments-content-box::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 180px;
    font-family: Georgia, serif;
    color: rgba(0,0,0,0.02);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.comments-content-title {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.comments-content-stars {
    font-size: 24px;
    margin-bottom: 25px;
    letter-spacing: 5px;
    position: relative;
    z-index: 1;
}

.comments-content-stars span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.comments-content-stars span:hover {
    transform: scale(1.2);
}

.comments-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    position: relative;
    z-index: 1;
    text-align: justify;
}

/* ===== EMPTY STATE ===== */
.comments-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 0 auto;
}

.comments-empty-icon {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.comments-empty-text {
    font-size: 16px;
    color: #999;
}

.comments-home-main-div-inside{
    width: 1200px; 
    height: auto; 
    overflow: visible; 
    margin: 0px auto; 
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Responsive Design for Tab-Based Layout */

/* Mobile - Very Small (0px - 321px) */
@media screen and (max-width:321px) {
    .comments-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
        margin: 0 5px;
    }
    
    .comments-carousel-track {
        gap: 10px;
        padding: 20px 0 8px 0;
    }
    
    .comment-person-item {
        width: 200px;
        padding: 15px;
        gap: 12px;
    }
    
    .comment-person-item:hover {
        transform: translateY(-2px);
    }
    
    .comment-person-item.active {
        transform: translateY(-3px);
    }
    
    .comment-person-avatar {
        width: 45px;
        height: 45px;
    }
    
    .comment-person-avatar img {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
    
    .comment-person-name {
        font-size: 13px;
        margin-bottom: 3px;
    }
    
    .comment-person-position {
        font-size: 11px;
    }
    
    .comments-content-box {
        padding: 25px 15px;
        border-radius: 15px;
        margin-top: 8px;
    }
    
    .comments-content-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .comments-content-stars {
        font-size: 20px;
        margin-bottom: 20px;
        letter-spacing: 3px;
    }
    
    .comments-content-text {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .comments-content-box::before {
        font-size: 120px;
        top: -10px;
        left: 15px;
    }
    
    .comments-empty-state {
        padding: 40px 20px;
    }
    
    .comments-empty-icon {
        font-size: 60px;
    }
}

/* Mobile - Small (321px - 410px) */
@media screen and (max-width:410px) and (min-width:321px) {
    .comments-carousel-nav {
        width: 42px;
        height: 42px;
        font-size: 15px;
        margin: 0 6px;
    }
    
    .comments-carousel-track {
        gap: 12px;
        padding: 20px 0 8px 0;
    }
    
    .comment-person-item {
        width: 220px;
        padding: 16px;
        gap: 13px;
    }
    
    .comment-person-avatar {
        width: 50px;
        height: 50px;
    }
    
    .comment-person-avatar img {
        width: 50px;
        height: 50px;
    }
    
    .comment-person-name {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .comment-person-position {
        font-size: 12px;
    }
    
    .comments-content-box {
        padding: 30px 20px;
        border-radius: 15px;
        margin-top: 8px;
    }
    
    .comments-content-title {
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .comments-content-stars {
        font-size: 22px;
        margin-bottom: 22px;
        letter-spacing: 4px;
    }
    
    .comments-content-text {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .comments-content-box::before {
        font-size: 140px;
        top: -15px;
        left: 20px;
    }
}

/* Mobile - Medium (410px - 767px) */
@media screen and (max-width:767px) and (min-width:410px) {
    .comments-carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 16px;
        margin: 0 8px;
    }
    
    .comments-carousel-track {
        gap: 13px;
        padding: 20px 0 8px 0;
    }
    
    .comment-person-item {
        width: 230px;
        padding: 18px;
        gap: 14px;
    }
    
    .comment-person-avatar {
        width: 55px;
        height: 55px;
    }
    
    .comment-person-avatar img {
        width: 55px;
        height: 55px;
    }
    
    .comment-person-name {
        font-size: 15px;
    }
    
    .comment-person-position {
        font-size: 12px;
    }
    
    .comments-content-box {
        padding: 35px 25px;
        margin-top: 8px;
    }
    
    .comments-content-title {
        font-size: 22px;
    }
    
    .comments-content-text {
        font-size: 15px;
    }
}

/* Tablet (767px - 1023px) */
@media screen and (max-width:1023px) and (min-width:767px) {
    .comments-carousel-track {
        padding: 20px 0 8px 0;
    }
    
    .comment-person-item {
        width: 240px;
        padding: 19px;
    }
    
    .comment-person-avatar {
        width: 58px;
        height: 58px;
    }
    
    .comment-person-avatar img {
        width: 58px;
        height: 58px;
    }
    
    .comments-content-box {
        padding: 40px 35px;
        margin-top: 8px;
    }
}

/* Desktop - Small (1023px - 1200px) */
@media screen and (max-width:1200px) and (min-width:1023px) {
    .comments-home-main-div-inside{width: 98% !important; }
    
    .comment-person-item {
        width: 180px;
    }
}

/* Desktop - Medium (1200px - 1439px) */
@media screen and (max-width:1439px) and (min-width:1200px) {
    .comments-home-main-div-inside{width: 1180px !important; }
}

/* Desktop - Large (1440px+) */
@media screen and (min-width:1440px) {
    .comments-home-main-div-inside{width: 1200px !important; }
}

/* Animation Classes */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.comments-tab-content.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Additional Visual Enhancements */

/* Smooth scroll behavior */
.comments-home-main-div * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Print Styles */
@media print {
    .comments-box-inside {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .comments-box-inside {
        border: 2px solid #000;
    }
    .comments-box-quote {
        border: 2px solid #fff;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .comments-box-inside,
    .comments-box-quote,
    .comments-box-stars span,
    .comments-box-img img,
    .owl-theme .owl-dots .owl-dot span {
        transition: none !important;
        animation: none !important;
    }
    .comments-box-inside:hover {
        transform: none !important;
    }
}

