/* EĞİTİM DETAY SAYFASI STYLES */

/* Breadcrumb */
.breadcrumb-hero {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.breadcrumb-hero a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-hero a:hover {
    color: #ffffff;
}

.breadcrumb-hero span:last-child {
    color: #ffffff;
    font-weight: 500;
}

.breadcrumb-hero > span {
    color: rgba(255, 255, 255, 0.6);
}

/* Course Hero */
.course-hero-udemy {
    background: linear-gradient(to right, #0f766e 0%, #115e59 75%, #ffffff 75%, #ffffff 100%);
    color: #ffffff;
    padding: 0;
    position: relative;
    min-height: 513px;
    overflow: hidden;
}

.course-hero-bg {
    background: transparent;
    position: relative;
    min-height: 513px;
}

.course-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(15, 118, 110, 0.1) 65%, rgba(15, 118, 110, 0.1) 75%, rgba(0,0,0,0) 75%);
    pointer-events: none;
    z-index: 1;
}

.course-hero-layout {
    display: grid;
    grid-template-columns: 1fr 53%;
    gap: 0;
    padding: 0;
    align-items: stretch;
    min-height: 513px;
    position: relative;
    z-index: 2;
}

/* Hero Info */
.course-hero-info {
    max-width: 700px;
    padding: 2rem 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

.course-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0.95;
}

/* Hero Fiyat ve Butonlar */
.hero-price-wrapper {
    position: relative;
    display: inline-block;
    width: auto;
    max-width: 360px;
}

.hero-discount-badge {
    position: absolute;
    top: -15px;
    left: -10px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.btn-hero-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
    padding: 0.875rem 1.125rem;
    width: 100%;
    border-radius: var(--radius-lg);
}

.btn-hero-primary svg:first-child {
    flex-shrink: 0;
}

.btn-text {
    flex: 1;
    font-size: 1.063rem;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.btn-price {
    font-size: 1.125rem;
    font-weight: 800;
}

.btn-arrow {
    flex-shrink: 0;
    margin-left: auto;
}

.course-hero-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
}

/* Çok Satan badge */
.hero-stat-item:has(.hero-stat-label) {
    background: none;
    padding: 0;
}

.hero-stat-label {
    padding: 0.25rem 0.5rem;
    background: #fbbf24;
    color: #1f2937;
    font-weight: 700;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.hero-stat-item svg {
    color: #f59e0b;
    flex-shrink: 0;
}

.hero-stat-item strong {
    color: #f59e0b;
    font-weight: 700;
}

.course-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #ffffff;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.hero-meta-item svg {
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.hero-meta-item a {
    color: #c0aff5;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.hero-meta-item a:hover {
    color: #ffffff;
}

/* Hero Image Wrapper */
.course-hero-card-wrapper {
    position: relative;
    height: 100%;
    min-height: 513px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.course-card-simple {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 513px;
    max-height: 505px;
    background: radial-gradient(circle at center, #0f766e 0%, #115e59 100%);
    border-radius: 215px;
    border-left: 1px solid #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image-hero {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 215px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-hero-primary {
    background: #ffffff;
    color: #0f766e;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-hero-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero-secondary {
    background: transparent;
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    border: 1px solid #0f766e;
    border-radius: var(--radius-md);
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.why-choose-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 0.375rem;
}

.why-choose-header p {
    font-size: 0.875rem;
    color: #64748b;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.why-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 3rem 1rem 1.25rem 1rem;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.why-item:hover {
    border-color: #0f766e;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.15);
}

.why-icon {
    position: absolute;
    top: -12px;
    left: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 2;
}

.why-icon svg {
    width: 28px;
    height: 28px;
}

.why-item:hover .why-icon {
    transform: scale(1.05) rotate(3deg);
}

.why-item h3 {
    position: absolute;
    top: 5px;
    left: 60px;
    right: 55px;
    font-size: 1rem;
    font-weight: 700;
    color: #0f766e;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.why-item p {
    font-size: 0.813rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.why-item p strong {
    color: #0f766e;
    font-weight: 600;
}

.why-number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(251, 191, 36, 0.4);
    z-index: 2;
}

.why-stats {
    display: flex;
    gap: 0.375rem;
    margin-top: 0.75rem;
    flex-wrap: nowrap;
    justify-content: center;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 1px solid #0f766e;
    color: #0f766e;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-xl);
    font-size: 0.688rem;
    font-weight: 600;
}

.stat-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.why-cta {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.why-cta-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    padding-top: 1rem;
}

.why-cta-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

.why-cta-buttons {
    display: flex;
    gap: 0.625rem;
    flex-shrink: 0;
}

.why-cta-buttons .btn {
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
}

.why-cta-buttons .hero-price-wrapper,
.cta-action .hero-price-wrapper,
.how-cta .hero-price-wrapper {
    position: relative;
    display: inline-block;
    width: auto;
    max-width: 360px;
}

.why-cta-buttons .btn-primary,
.cta-action .btn-primary,
.how-cta .btn-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
    background: #ffffff;
    color: #0f766e;
    border: 2px solid #ffffff;
}

.why-cta-buttons .btn-primary svg:first-child,
.cta-action .btn-primary svg:first-child,
.how-cta .btn-primary svg:first-child {
    flex-shrink: 0;
}

.why-cta-buttons .btn-primary .btn-text,
.cta-action .btn-primary .btn-text,
.how-cta .btn-primary .btn-text {
    flex: 1;
    text-align: left;
    white-space: nowrap;
}

.why-cta-buttons .btn-primary .btn-arrow,
.cta-action .btn-primary .btn-arrow,
.how-cta .btn-primary .btn-arrow {
    flex-shrink: 0;
    margin-left: auto;
}

.why-cta-buttons .btn-primary:hover,
.cta-action .btn-primary:hover,
.how-cta .btn-primary:hover {
    background: #f0fdfa;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* RESPONSIVE - TABLET */

@media (max-width: 992px) {
    .course-hero-card-wrapper {
        margin-top: 2rem;
    }
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
}

/* Hide floating buttons on egitim-detay page */
body .wa-fixed,
body .phone-fixed,
body .wa-wrapper,
body .wa-tooltip,
body .call-fixed {
    display: none !important;
}

/* RESPONSIVE - MOBILE */

@media (max-width: 768px) {
    /* Mobile Bottom Bar */
    .mobile-bottom-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 999;
        padding: 0.875rem 1rem;
        border-top: 1px solid rgba(15, 118, 110, 0.1);
    }

    .mobile-bottom-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        max-width: 100%;
    }

    .mobile-bottom-price {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .mobile-price-badge {
        background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
        color: #ffffff;
        font-size: 0.625rem;
        font-weight: 700;
        padding: 0.125rem 0.5rem;
        border-radius: var(--radius-lg);
        display: inline-block;
        width: fit-content;
        letter-spacing: 0.5px;
    }

    .mobile-price-main {
        font-size: 1.25rem;
        font-weight: 800;
        color: #0f766e;
        line-height: 1;
    }

    .mobile-bottom-actions {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .mobile-bottom-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.375rem;
        padding: 0.75rem;
        border-radius: var(--radius-md);
        font-size: 0.875rem;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .mobile-bottom-btn-info {
        background: #25D366;
        color: #ffffff;
        width: 48px;
        height: 48px;
        padding: 0;
    }

    .mobile-bottom-btn-info:hover {
        background: #20ba5a;
        transform: scale(1.05);
    }

    .mobile-bottom-btn-buy {
        background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
        color: #ffffff;
        flex: 1;
        padding: 0.875rem 1.25rem;
    }

    .mobile-bottom-btn-buy:hover {
        background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
    }

    /* Add padding to body to prevent content being hidden behind bottom bar */
    body {
        padding-bottom: 80px;
    }

    /* Global Mobile Overflow Prevention */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    img {
        max-width: 100% !important;
        height: auto;
    }

    section {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Hero Section Mobile */
    .course-hero-udemy {
        padding: 0.75rem 0;
        background: linear-gradient(135deg, #0f766e 0%, #115e59 100%) !important;
        min-height: auto;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        overflow-x: hidden;
    }

    .course-hero-bg {
        min-height: auto;
        padding: 0.75rem 0;
        width: 100%;
    }

    .course-hero-bg::before {
        display: none;
    }

    .course-hero-layout {
        display: block !important;
        grid-template-columns: none !important;
        min-height: auto;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .course-hero-udemy .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
        width: 100%;
    }

    /* Hide image wrapper on mobile */
    .course-hero-card-wrapper {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    /* Hide breadcrumb visually but keep for SEO */
    .breadcrumb-hero {
        display: none !important;
        visibility: hidden !important;
    }

    /* Hero Info Mobile */
    .course-hero-info {
        padding: 0 !important;
        justify-content: flex-start;
        text-align: center !important;
        max-width: none !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .course-hero-title {
        font-size: 1.75rem;
        margin-top: 0;
        margin-bottom: 0.75rem;
    }

    .course-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Hero Fiyat ve Buton Mobil */
    .hero-price-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .hero-discount-badge {
        top: -12px;
        left: -5px;
        font-size: 0.688rem;
        padding: 0.25rem 0.75rem;
    }

    .btn-hero-primary {
        width: 100%;
        padding: 0.875rem 1rem;
        gap: 0.5rem;
    }

    .btn-hero-primary svg {
        width: 18px;
        height: 18px;
    }

    .btn-text {
        font-size: 0.875rem;
    }

    /* Stats centered on mobile */
    .course-hero-stats {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
        justify-content: center !important;
        overflow-x: auto;
    }

    .hero-stat-item {
        font-size: 0.75rem;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.35rem 0.6rem;
        border-radius: var(--radius-sm);
    }

    .hero-stat-item:first-child {
        background: none;
        padding: 0;
    }

    /* Meta centered on mobile */
    .course-hero-meta {
        margin-bottom: 1rem;
        justify-content: center !important;
    }

    /* Buttons side by side on mobile */
    .hero-buttons {
        display: flex;
        flex-direction: row !important;
        gap: 0.5rem;
    }

    .hero-price-wrapper {
        flex: 0 0 auto;
        max-width: 52%;
    }

    .hero-buttons .btn-hero-primary {
        padding: 0.75rem 0.5rem;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.375rem !important;
    }

    .hero-buttons .btn-hero-secondary {
        flex: 1;
        font-size: 0.813rem;
        padding: 0.75rem 0.5rem;
    }

    .btn-hero-primary svg:first-child {
        flex-shrink: 0;
        margin: 0;
    }

    .btn-text {
        font-size: 0.75rem;
        font-weight: 700;
        flex: 0;
        white-space: nowrap;
    }

    .btn-price {
        font-size: 0.813rem;
        font-weight: 800;
    }

    .btn-arrow {
        flex-shrink: 0;
        margin: 0;
    }

    .btn-hero-primary svg {
        width: 16px;
        height: 16px;
    }

    /* Other Primary Buttons Mobile */
    .why-cta-buttons .hero-price-wrapper,
    .cta-action .hero-price-wrapper,
    .how-cta .hero-price-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .why-cta-buttons .btn-primary,
    .cta-action .btn-primary,
    .how-cta .btn-primary {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.375rem !important;
    }

    .why-cta-buttons .btn-primary svg:first-child,
    .cta-action .btn-primary svg:first-child,
    .how-cta .btn-primary svg:first-child {
        flex-shrink: 0;
        margin: 0;
    }

    .why-cta-buttons .btn-primary .btn-text,
    .cta-action .btn-primary .btn-text,
    .how-cta .btn-primary .btn-text {
        flex: 0;
        white-space: nowrap;
        font-size: 0.875rem;
    }

    .why-cta-buttons .btn-primary .btn-price,
    .cta-action .btn-primary .btn-price,
    .how-cta .btn-primary .btn-price {
        font-size: 0.938rem;
    }

    .why-cta-buttons .btn-primary .btn-arrow,
    .cta-action .btn-primary .btn-arrow,
    .how-cta .btn-primary .btn-arrow {
        flex-shrink: 0;
        margin: 0;
    }

    .why-cta-buttons .btn-primary svg,
    .cta-action .btn-primary svg,
    .how-cta .btn-primary svg {
        width: 18px;
        height: 18px;
    }

    /* Why Choose Section Mobile */
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .why-choose-section {
        padding: 1.5rem !important;
        border-radius: var(--radius-md);
        border-width: 1px;
    }

    .why-choose-header {
        margin-bottom: 1.25rem;
    }

    .why-choose-header h2 {
        font-size: 1.25rem;
    }

    .why-choose-header p {
        font-size: 0.813rem;
    }

    .why-item {
        padding: 3rem 1rem 1.25rem 1rem;
        border-radius: var(--radius-md);
    }

    .why-icon {
        width: 50px;
        height: 50px;
        border-radius: var(--radius-md);
    }

    .why-icon svg {
        width: 28px;
        height: 28px;
    }

    .why-number {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
        top: -10px;
        right: -10px;
    }

    .why-stats {
        margin-top: 0.75rem;
        gap: 0.375rem;
    }

    .stat-badge {
        font-size: 0.688rem;
        padding: 0.25rem 0.5rem;
        border-radius: var(--radius-lg);
    }

    .stat-badge svg {
        width: 12px;
        height: 12px;
    }

    .why-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        border-radius: var(--radius-md);
        gap: 1rem;
    }

    .why-cta-content h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
        padding-top: 1.25rem;
    }

    .why-cta-content p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .why-cta-buttons {
        width: 100%;
        justify-content: center;
    }

    .why-cta-buttons .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.938rem;
        font-weight: 600;
    }

    /* Generic Content Blocks */
    .content-block h2 {
        font-size: 1.5rem;
    }

    .section-title-center {
        font-size: 1.5rem;
    }
}
/* Tab Bölümü */
.course-tabs-section {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    padding: 0 !important;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.course-tabs-width {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.course-tabs-container {
    width: 100%;
}

/* Tab Başlıkları */
.course-tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.course-tabs-nav::-webkit-scrollbar {
    height: 4px;
}

.course-tabs-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.course-tabs-nav::-webkit-scrollbar-thumb {
    background: #0f766e;
    border-radius: var(--radius-sm);
}

.tab-item {
    flex: 1;
    min-width: fit-content;
}

.tab-link {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-link:hover {
    color: #0f766e;
    background: #ffffff;
}

.tab-link.active {
    color: #0f766e;
    border-bottom-color: #0f766e;
    background: #ffffff;
}

/* Tab İçerikleri */
.course-tabs-content {
    padding: 1.25rem;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-pane.active {
    display: block;
}

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

.tab-pane h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 0.75rem;
}

.tab-pane h4 {
    font-size: 0.938rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.tab-pane p {
    font-size: 0.938rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.tab-pane ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.75rem;
}

.tab-pane ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.375rem;
    color: #4b5563;
    line-height: 1.4;
    font-size: 0.813rem;
}

.tab-pane ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0f766e;
    font-weight: 700;
    font-size: 0.875rem;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #0f766e;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.1);
}

.faq-item h4 {
    color: #0f766e;
    margin-bottom: 0.75rem;
}

.faq-item p {
    margin: 0;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .course-tabs-width {
        max-width: 100%;
    }

    .course-tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .tab-item {
        flex: 1 1 auto;
        min-width: auto;
    }

    .course-tabs-content {
        padding: 1rem;
    }

    .tab-link {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }

    .tab-pane h3 {
        font-size: 1.5rem;
    }

    .tab-pane h4 {
        font-size: 1.125rem;
    }
}

/* FAQ Accordion Stili - Anasayfa ile aynı */
.tab-pane .faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tab-pane .faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 0;
    transition: none;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.tab-pane .faq-item:hover {
    border-color: #e5e7eb;
    box-shadow: none;
}

.tab-pane .faq-question {
    width: 100%;
    text-align: left;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    background: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.tab-pane .faq-question:hover {
    background: #f3f4f6;
}

.tab-pane .faq-question.active {
    background: #0f766e;
    color: #ffffff;
}

.tab-pane .faq-question.active .faq-text {
    color: #ffffff;
}

.tab-pane .faq-text {
    flex: 1;
}

.tab-pane .faq-toggle {
    font-size: 1.125rem;
    font-weight: 300;
    color: #0f766e;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.tab-pane .faq-question.active .faq-toggle {
    transform: rotate(45deg);
    color: #ffffff;
}

.tab-pane .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
    background: #ffffff;
}

.tab-pane .faq-answer.open {
    max-height: 500px;
    padding: 0.75rem 1rem;
}

.tab-pane .faq-answer p {
    color: #4b5563;
    font-size: 0.938rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .tab-pane .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .tab-pane .faq-toggle {
        font-size: 1.25rem;
    }
    
    .tab-pane .faq-answer {
        padding: 0 1rem;
    }
    
    .tab-pane .faq-answer.open {
        padding: 1rem;
    }
}

/* Yorumlar - Reviews Summary */
.reviews-summary {
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    border: 1px solid #0f766e;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: center;
}

.summary-rating {
    text-align: center;
}

.big-rating {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f766e;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stars-display {
    font-size: 1.25rem;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.stars-display .star {
    margin: 0 0.1rem;
}

.stars-display .star.filled {
    color: #fbbf24;
}

.stars-display .star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #d1d5db 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.total-reviews {
    color: #64748b;
    font-size: 0.938rem;
    margin: 0;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.rating-bar-item {
    display: grid;
    grid-template-columns: 65px 1fr 40px;
    gap: 0.625rem;
    align-items: center;
}

.bar-label {
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 500;
}

.bar-container {
    height: 6px;
    background: #e5e7eb;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0f766e 0%, #14b8a6 100%);
    border-radius: var(--radius-sm);
    transition: width 0.3s ease;
}

.bar-percent {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: right;
}

/* Reviews List */
.reviews-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid #0f766e;
}

.tab-pane .reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: #0f766e;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.1);
    transform: translateY(-2px);
}

.review-card .review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.625rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #f3f4f6;
}

.reviewer-info {
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
}

.reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.reviewer-name {
    color: #1f2937;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.25rem;
}

.review-meta {
    display: flex;
    gap: 0.375rem;
    align-items: center;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.813rem;
}

.review-date {
    color: #9ca3af;
    font-size: 0.75rem;
}

.verified-badge {
    background: #dcfce7;
    color: #0f766e;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-lg);
    font-size: 0.688rem;
    font-weight: 600;
    white-space: nowrap;
}

.review-card .review-text {
    color: #4b5563;
    font-size: 0.938rem;
    line-height: 1.5;
    margin: 0;
}

/* Load More Button */
.load-more-reviews {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.btn-load-more {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: #ffffff;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.938rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.3);
}

.btn-write-review {
    background: #ffffff;
    color: #0f766e;
    border: 2px solid #0f766e;
    padding: 0.625rem;
    border-radius: var(--radius-md);
    font-size: 0.938rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-write-review:hover {
    background: #0f766e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.3);
}

/* Review Popup */
.review-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.popup-content {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

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

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #374151;
}

.popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-icon svg {
    color: #f59e0b;
}

.popup-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.popup-content p {
    font-size: 0.938rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.popup-btn {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-size: 0.938rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .reviews-summary {
        padding: 1.25rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .summary-rating {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .big-rating {
        font-size: 2.5rem;
        line-height: 1;
        margin: 0;
    }

    .stars-display {
        font-size: 1.25rem;
        margin: 0;
        line-height: 1;
        display: block;
    }

    .total-reviews {
        display: block;
        margin: 0;
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .rating-bar-item {
        grid-template-columns: 65px 1fr 40px;
        gap: 0.5rem;
    }

    .review-card {
        padding: 1rem;
    }

    .review-card .review-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .verified-badge {
        align-self: flex-start;
    }

    .reviewer-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.875rem;
    }

    .reviewer-name {
        font-size: 0.875rem;
    }

    .btn-load-more {
        flex: 1;
    }

    .btn-write-review {
        padding: 0.75rem;
    }
}

