/**
 * Homepage Styles
 * İleri Sigortacılık Akademisi
 * Clean & Professional
 */

/* ==================== HERO SLIDER ==================== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide-default {
    background: linear-gradient(135deg, var(--primary-color, #1a365d) 0%, var(--primary-dark, #0f2547) 100%);
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(15, 37, 71, 0.85) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full, 9999px);
    font-weight: 500;
    font-size: 0.875rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

/* Hero Title */
.hero-title,
.display-4.fw-bold.hero-title,
.hero-slide h1.display-4 {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
    letter-spacing: -0.02em;
}

/* Hero Description */
.hero-description,
.hero-subtitle {
    font-size: 1.15rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.95) !important;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
    font-weight: 400;
    line-height: 1.7;
}

.text-center .hero-description {
    margin-left: auto;
    margin-right: auto;
}

/* Hero Button */
.hero-btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md, 10px);
    transition: all 0.2s ease;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Shapes - Hidden for clean look */
.hero-shapes {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-lg, 12px);
    opacity: 1;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}

.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.35);
}

.carousel-indicators {
    bottom: 24px;
    z-index: 10;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.2s ease;
}

.carousel-indicators button.active {
    background: #fff;
    width: 24px;
    border-radius: var(--radius-full, 9999px);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stats-wrapper {
    background: #fff;
    border-radius: var(--radius-xl, 16px);
    padding: 2rem;
    box-shadow: var(--shadow-lg, 0 20px 25px -5px rgba(0, 0, 0, 0.08));
    border: 1px solid var(--border-light, #f1f5f9);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
}

.stat-icon-wrapper {
    flex-shrink: 0;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.stat-icon.bg-blue {
    background: var(--primary-light, #2563eb);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.stat-icon.bg-green {
    background: var(--success-color, #059669);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.stat-icon.bg-purple {
    background: #8b5cf6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.stat-icon.bg-orange {
    background: var(--accent-color, #f59e0b);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color, #1a365d);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-number::after {
    content: '+';
    font-size: 1rem;
    color: var(--primary-light, #2563eb);
    margin-left: 2px;
}

.stat-label {
    color: var(--text-secondary, #64748b);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

/* TSB Badge */
.tsb-badge-modern {
    background: linear-gradient(135deg, var(--primary-color, #1a365d) 0%, var(--primary-light, #2563eb) 100%);
    border-radius: var(--radius-lg, 12px);
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.tsb-badge-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.tsb-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.tsb-check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: var(--success-color, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #fff;
}

.tsb-info {
    flex: 1;
    color: #fff;
}

.tsb-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full, 9999px);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.tsb-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    line-height: 1.3;
}

.tsb-info p {
    font-size: 0.8rem;
    opacity: 0.85;
    margin: 0;
}

/* ==================== WHY US SECTION ==================== */
.why-us-section {
    background: #fff;
    padding: var(--section-padding, 80px) 0;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-light, #2563eb);
    color: white;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.text-gradient {
    color: var(--primary-light, #2563eb);
}

.feature-card {
    background: #fff;
    border-radius: var(--radius-lg, 12px);
    padding: 1.75rem;
    height: 100%;
    border: 1px solid var(--border-color, #e2e8f0);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md, 0 10px 15px -3px rgba(0, 0, 0, 0.08));
    border-color: transparent;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.feature-icon.bg-primary { background: var(--primary-light, #2563eb); }
.feature-icon.bg-success { background: var(--success-color, #059669); }
.feature-icon.bg-warning { background: var(--accent-color, #f59e0b); }
.feature-icon.bg-info { background: var(--info-color, #0284c7); }

.feature-card h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--primary-color, #1a365d);
}

.feature-card p {
    color: var(--text-secondary, #64748b);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ==================== TRAINERS SECTION ==================== */
.trainers-section {
    background: var(--gray-100, #f8fafc);
    padding: var(--section-padding, 80px) 0;
}

.trainer-card {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: white;
    border-radius: var(--radius-xl, 16px);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
    border: 1px solid var(--border-color, #e2e8f0);
    transition: all 0.25s ease;
}

.trainer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 20px 25px -5px rgba(0, 0, 0, 0.08));
    border-color: transparent;
}

/* Trainer Image */
.trainer-image-wrapper {
    position: relative;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.trainer-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    border: 3px solid var(--border-color, #e2e8f0);
    transition: all 0.25s ease;
}

.trainer-card:hover .trainer-image-container {
    border-color: var(--primary-light, #2563eb);
}

.trainer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-light, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trainer-placeholder i {
    font-size: 2.5rem;
    color: white;
}

/* Overlay - Simplified */
.trainer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.25s ease;
    border-radius: 50%;
}

.trainer-card:hover .trainer-overlay {
    opacity: 1;
}

.trainer-social {
    display: flex;
    gap: 0.5rem;
}

.trainer-social .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    color: var(--primary-light, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.trainer-social .social-link:hover {
    background: var(--primary-color, #1a365d);
    color: white;
}

/* Glow Effect - Hidden for cleaner look */
.trainer-glow {
    display: none;
}

/* Trainer Info */
.trainer-info {
    position: relative;
}

.trainer-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--primary-color, #1a365d);
}

.trainer-expertise {
    color: var(--text-secondary, #64748b);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.trainer-stats {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

.trainer-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-light, #2563eb);
    font-size: 0.8rem;
    font-weight: 500;
}

.trainer-stats .stat i {
    font-size: 0.9rem;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    background: #fff;
    padding: var(--section-padding, 80px) 0;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-xl, 16px);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
    position: relative;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color, #e2e8f0);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--primary-color, #1a365d) 0%, var(--primary-light, #2563eb) 100%);
    color: #fff;
    border: none;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md, 0 10px 15px -3px rgba(0, 0, 0, 0.08));
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: var(--text-secondary, #64748b);
}

.testimonial-card.featured .testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-card.featured .author-avatar {
    background: rgba(255, 255, 255, 0.2);
}

.author-info h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color, #1a365d);
}

.testimonial-card.featured .author-info h6 {
    color: #fff;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted, #94a3b8);
}

.testimonial-card.featured .author-info span {
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-quote {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2rem;
    color: var(--border-color, #e2e8f0);
}

.testimonial-card.featured .testimonial-quote {
    color: rgba(255, 255, 255, 0.15);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 2.5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color, #1a365d) 0%, var(--primary-light, #2563eb) 100%);
    border-radius: var(--radius-xl, 16px);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

/* CTA Shapes - Hidden for clean look */
.cta-shapes,
.cta-shape,
.cta-shape-1,
.cta-shape-2 {
    display: none;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.btn-cta {
    background: #fff;
    color: var(--primary-color, #1a365d);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md, 10px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: var(--gray-100, #f8fafc);
    color: var(--primary-color, #1a365d);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 480px;
    }
    
    .hero-title,
    .display-4.fw-bold.hero-title,
    .hero-slide h1.display-4 {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .trainer-image-container {
        width: 110px;
        height: 110px;
    }
    
    .cta-box {
        padding: 2.5rem 2rem;
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 420px;
        padding: 60px 0;
    }
    
    .hero-title,
    .display-4.fw-bold.hero-title,
    .hero-slide h1.display-4 {
        font-size: 1.85rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 0.75rem 1.75rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev { left: 12px; }
    .carousel-control-next { right: 12px; }
    
    .trainer-card {
        padding: 1.5rem 1rem;
    }
    
    .trainer-image-container {
        width: 100px;
        height: 100px;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-slide {
        min-height: 380px;
    }
    
    .hero-title,
    .display-4.fw-bold.hero-title,
    .hero-slide h1.display-4 {
        font-size: 1.65rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.875rem;
    }
    
    .stats-section {
        margin-top: -30px;
    }
    
    .stats-wrapper {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.65rem;
    }
    
    .tsb-badge-modern {
        padding: 1rem;
    }
    
    .tsb-badge-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.875rem;
    }
    
    .tsb-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .btn-cta {
        width: 100%;
    }
}
