/* About Page Styles */
@import url('/elements/base.css');
@import url('/elements/header.css');
@import url('/elements/footer.css');
@import url('/elements/animations.css');
@import url('/elements/scrool.css');

/* Hero Section */
.about-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('/media/static/image/background-2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    margin-top: 0;
    padding-top: 70px;
    animation: fadeIn 1s ease-out;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.4) 80%);
    z-index: 0;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 7%;
    margin: 0 auto;
}

.about-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.about-hero-content p {
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    color: #f0f0f0;
    font-weight: 300;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

/* Back Button */
.back-button {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.back-button:hover {
    color: #1ed760;
}

/* About Sections */
.about-section {
    padding: 60px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(0.1s * var(--item-index, 0));
}

.about-section.in-view {
    opacity: 1;
    transform: translateY(0);
}

.about-section:nth-child(even) {
    background-color: #121212;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #1ed760;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.section-title:hover {
    transform: translateY(-5px);
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #1ed760;
    margin: 20px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover:after {
    width: 100px;
}

/* About Content */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.7;
    color: #e0e0e0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-text p.in-view {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.about-content.in-view .about-image {
    transform: translateX(0);
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Team Section */
.team-subgrid {
    display: grid;
    margin: 0 auto;
}

/* Üstteki 4’lü ızgara */
.team-subgrid.team-top {
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
}

.team-divider {
    width: 120px;
    height: 1px;
    background-color: #28c57f;
    margin: 20px auto;
}

/* Alttaki 15’li ızgara */
.team-subgrid.team-bottom {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    padding-top: 20px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(15px);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-member.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: calc(0.1s * var(--item-index, 0));
}

.member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #1ed760;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-member:hover .member-avatar {
    transform: scale(1);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 22px;
    margin-bottom: 5px;
    color: white;
}

.member-role {
    font-size: 16px;
    color: #1ed760;
    font-weight: 500;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(15px);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: calc(0.15s * var(--item-index, 0));
}

.feature-icon {
    font-size: 40px;
    color: #1ed760;
    margin-bottom: 20px;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: #e0e0e0;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    background-color: #0a0a0a;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 18px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.3s ease;
}

.contact-item.in-view {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.1s * var(--item-index, 0) + 0.2s);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: #1ed760;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--link-index, 0) + 0.5s);
}

.social-link:hover {
    background: #1ed760;
    color: #000;
    transform: translateY(-5px);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    z-index: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    60% {
        transform: translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1080px) {
    .about-content {
        flex-direction: column;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .team-subgrid.team-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-subgrid.team-bottom {
        grid-template-columns: repeat(3, 1fr);
    }

    .member-avatar {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-hero-content h1 {
        font-size: 32px;
    }

    .about-hero-content p {
        font-size: 16px;
    }

    .team-subgrid.team-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-hero-content h1 {
        font-size: 28px;
    }

    .about-hero {
        height: 40vh;
    }

    .section-title {
        font-size: 24px;
    }

    .team-subgrid.team-top,
    .team-subgrid.team-bottom {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .member-avatar {
        width: 100px;
        height: 100px;
    }

    .contact-item {
        font-size: 16px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* Footer active link */
.footer-links a.active {
    color: #1ed760;
    font-weight: 600;
}