﻿/* About Page Styles */

/* Modern About Page Design - KodLegal Style */

/* Page Header - Enhanced */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 16, 101, 0.02) 0%, rgba(46, 16, 101, 0.05) 100%);
    pointer-events: none;
}

.page-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 3.5rem;
    color: var(--kodlegal-dark);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--kodlegal-primary), var(--kodlegal-secondary));
    border-radius: 2px;
    transition: all 0.4s ease;
}

.page-title:hover::after {
    width: 120px;
    background: linear-gradient(90deg, var(--kodlegal-primary), var(--kodlegal-secondary), var(--kodlegal-accent));
    height: 4px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--kodlegal-primary);
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Content sections with modern backgrounds */
.about-section {
    padding: 5rem 0;
    position: relative;
}

.about-section:nth-child(even) {
    background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
}

.about-section:nth-child(odd) {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

/* Values section - Reduced top padding */
.values-section {
    padding-top: 1rem !important;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    color: var(--kodlegal-dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--kodlegal-primary), var(--kodlegal-secondary));
    transition: all 0.4s ease;
    border-radius: 2px;
}

.section-title:hover::after {
    width: 100px;
    background: linear-gradient(90deg, var(--kodlegal-primary), var(--kodlegal-secondary), var(--kodlegal-accent));
    height: 4px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title.text-center:hover::after {
    width: 100px;
    background: linear-gradient(90deg, var(--kodlegal-primary), var(--kodlegal-secondary), var(--kodlegal-accent));
    height: 4px;
}

/* Story Section - Glassmorphism Card */
.about-section:first-of-type .row {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.about-section:first-of-type .row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--kodlegal-primary), var(--kodlegal-secondary));
}

.about-section:first-of-type img {
    border-radius: 20px;
    filter: drop-shadow(0 15px 35px rgba(46, 16, 101, 0.15));
    transition: all 0.3s ease;
}

.about-section:first-of-type img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 20px 40px rgba(46, 16, 101, 0.2));
}

/* Difference items - Modern cards */
.difference-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.difference-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.difference-item:hover::before {
    transform: scaleY(1);
}

.difference-item:hover, .difference-item:active {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 16, 101, 0.1);
    border-color: rgba(46, 16, 101, 0.15);
}

.difference-item .me-3 i {
    background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem !important;
}

.difference-item h5 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: var(--kodlegal-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.difference-item p {
    color: var(--kodlegal-gray);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Value cards - Enhanced glassmorphism */
.value-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 250, 250, 0.9));
    backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(46, 16, 101, 0.02) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover, .value-card:active {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(46, 16, 101, 0.12);
    border-color: rgba(46, 16, 101, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Her değer kartı için farklı renk şeması */
.value-card:nth-child(1) .value-icon {
    background: linear-gradient(135deg, #8E44AD, #3498DB);
}

.value-card:nth-child(2) .value-icon {
    background: linear-gradient(135deg, #27AE60, #16A085);
}

.value-card:nth-child(3) .value-icon {
    background: linear-gradient(135deg, #F39C12, #E67E22);
}

.value-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
    transform: rotate(-45deg) translateX(-100%);
}

.value-card:hover .value-icon::after,
.value-card:active .value-icon::after {
    transform: rotate(-45deg) translateX(100%);
}

.value-card:hover .value-icon,
.value-card:active .value-icon {
    transform: scale(1.05) rotate(-1deg); /* 5 dereceden 1 dereceye düşürüldü */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.value-icon i {
    color: white;
    font-size: 2rem;
    z-index: 2;
    position: relative;
}

.value-card h5 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: var(--kodlegal-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.value-card:hover h5 {
    color: var(--kodlegal-primary);
}

.value-card p {
    color: var(--kodlegal-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.value-card:hover p {
    opacity: 1;
}

/* Mission & Vision Cards */
.mission-vision-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 250, 250, 0.9));
    backdrop-filter: blur(12px);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(46, 16, 101, 0.03) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-vision-card:hover::before {
    opacity: 1;
}

.mission-vision-card:hover, .mission-vision-card:active {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(46, 16, 101, 0.12);
    border-color: rgba(46, 16, 101, 0.2);
}

.mv-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mv-image {
    width: 100%;
    height: 200px;
    margin: 0 0 1.5rem 0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    margin-top: -1px;
    margin-left: -1px;
    margin-right: -1px;
}

.mv-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: all 0.3s ease;
}

.mission-vision-card:hover, .mission-vision-card:active .mv-img {
    transform: scale(1.05);
}

.mission-vision-card:hover, .mission-vision-card:active .mv-image {
    transform: none;
    box-shadow: none;
}

/* Icon stil adjustment */
.mission-vision-card .mv-icon {
    width: 100%;
    height: 200px;
    border-radius: 20px 20px 0 0;
    margin: 0 0 1.5rem 0;
    margin-top: -1px;
    margin-left: -1px;
    margin-right: -1px;
}

.mv-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
    transform: rotate(-45deg) translateX(-100%);
}

.mission-vision-card:hover .mv-icon::after,
.mission-vision-card:active .mv-icon::after {
    transform: rotate(-45deg) translateX(100%);
}

.mission-vision-card:hover .mv-icon,
.mission-vision-card:active .mv-icon {
    transform: scale(1.02) rotate(-1deg); /* 5 dereceden 1 dereceye düşürüldü, scale 1.1'den 1.02'ye */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.mv-icon i {
    color: white;
    font-size: 2rem;
    z-index: 2;
    position: relative;
}

.mission-vision-card h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: var(--kodlegal-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.mission-vision-card:hover h3 {
    color: var(--kodlegal-primary);
}

.mission-vision-card p {
    color: var(--kodlegal-gray);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.mission-vision-card:hover p {
    opacity: 1;
}

/* Stats section - Enhanced */
.stats-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(130, 88, 208, 0.32) 0%, rgba(130, 88, 208, 0) 42%),
        radial-gradient(circle at 85% 80%, rgba(86, 58, 157, 0.32) 0%, rgba(86, 58, 157, 0) 46%),
        linear-gradient(135deg, #2a1156 0%, #3b1f79 45%, #4b2c95 100%);
    color: var(--kodlegal-white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    background-size: 130% 130%, 130% 130%, 100% 100%;
    animation: statsGradientFlow 14s ease-in-out infinite;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
    background-size: 60px 60px;
    animation: moveLines 8s linear infinite;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
    background-size: 50px 50px, 30px 30px, 70px 70px;
    animation: floatDots 12s ease-in-out infinite;
}

@keyframes moveLines {
    0% { transform: translateX(-60px) translateY(-60px); }
    100% { transform: translateX(60px) translateY(60px); }
}

@keyframes statsGradientFlow {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    50% {
        background-position: 18% 12%, 82% 88%, 50% 50%;
    }
}

@keyframes floatDots {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.stat-item:hover, .stat-item:active {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, white, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.96;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Team section - Modern card */
.team-intro {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    padding: 5rem 0;
}

.team-intro .row {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.team-intro img {
    border-radius: 20px;
    filter: drop-shadow(0 10px 25px rgba(46, 16, 101, 0.1));
    transition: all 0.3s ease;
}

.team-intro img:hover {
    transform: scale(1.02);
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--kodlegal-primary), var(--kodlegal-secondary)) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 0.8rem 2rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    color: white !important;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(46, 16, 101, 0.3) !important;
    color: white !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .page-title {
        font-size: 2.8rem;
    }
    
    .difference-item,
    .value-card {
        margin-bottom: 2rem;
    }
    
    .about-section:first-of-type .row {
        padding: 2rem 1.5rem;
    }
    
    .team-intro .row {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .about-section:first-of-type .row,
    .team-intro .row {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .difference-item {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .team-meet-btn {
        margin-bottom: 1.5rem;
    }
}

/* Team Meet Button */
.team-meet-btn {
    background: var(--kodlegal-primary) !important;
    border: 2px solid var(--kodlegal-primary) !important;
    color: var(--kodlegal-white) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    border-radius: 30px !important;
    padding: 0.5rem 1.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    outline: none !important;
    display: inline-block !important;
    text-align: center !important;
    text-decoration: none !important;
}

.team-meet-btn:hover,
.team-meet-btn:active {
    background: var(--kodlegal-white) !important;
    color: var(--kodlegal-primary) !important;
    border-color: var(--kodlegal-primary) !important;
    text-decoration: none !important;
}

