/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0;
        transform: translateX(-50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0;
        transform: translateX(50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.scale-in {
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s ease forwards;
}

/* Header */
#header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 80px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    margin-left: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.nav-link.active {
    color: #e63946;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e63946;
}

.nav-link:hover {
    color: #e63946;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    border-radius: 5px;
    overflow: hidden;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
    background-color: #f8f9fa;
    color: #e63946;
    padding-left: 1.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.hamburger:hover {
    transform: scale(1.1);
}

/* Team Hero Section */
.team-hero {
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon points="0,0 1000,0 1000,1000" fill="white"/></svg>');
    background-size: cover;
}

.team-hero h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.team-hero .tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    position: relative;
}

.team-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    position: relative;
}

/* Team Intro Section */
.team-intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1d3557;
}

.intro-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-stats {
    flex: 1;
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e63946;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.1rem;
    color: #1d3557;
    font-weight: 600;
}

/* Team Members Section */
.team-members {
    padding: 80px 0;
}

.section-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1d3557;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.member-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.member-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Görseli kırpmadan tam sığdırır */
    background-color: #f1f1f1; /* Görsel oranı farklıysa arkada nötr bir zemin görünür */
    padding: 10px; /* Görsel kenarlara çok yapışmasın */
    border-radius: 6px;
    transition: transform 0.5s ease;
}


.member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-icon {
    position: absolute;
    bottom: 10px; /* eskiden -18px'ti, artık görselin içinde kalacak */
    left: 50%;
    transform: translateX(-50%);
    width: 40px; /* biraz daha orantılı görünmesi için */
    height: 40px;
    background: #e63946;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    transition: transform 0.3s ease, background 0.3s ease;
}

.member-icon:hover {
    transform: translateX(-50%) scale(1.15);
    background: #ff4757; /* hover rengi: markanın daha açık tonu */
}

.member-icon i {
    font-size: 0.9rem;
    color: white;
}

.member-info {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #1d3557;
}

.position {
    color: #e63946;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Team Work Section */
.team-work {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.work-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.work-text {
    flex: 1;
}

.work-text h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1d3557;
}

.work-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.work-visual {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.work-item {
    background: white;
    padding: 1.2rem 0.8rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.work-item i {
    font-size: 1.5rem;
    color: #e63946;
    margin-bottom: 0.8rem;
}

.work-item h4 {
    color: #1d3557;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Footer */
footer {
    background-color: #1d3557;
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 90px;
    margin-bottom: 1rem;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .intro-content,
    .work-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .team-hero h1 {
        font-size: 2.8rem;
    }
    
    .intro-text h2,
    .work-text h2 {
        font-size: 2.2rem;
    }
    
    .work-visual {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .work-item {
        padding: 1rem 0.6rem;
        min-height: 120px;
    }
    
    .work-item i {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .work-item h4 {
        font-size: 0.9rem;
    }
    
    .member-icon {
        width: 34px;
        height: 34px;
        bottom: -17px;
    }
    
    .member-icon i {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .team-hero {
        padding: 120px 0 60px;
    }
    
    .team-hero h1 {
        font-size: 2.2rem;
    }
    
    .team-hero .tagline {
        font-size: 1.2rem;
    }
    
    .team-intro,
    .team-members,
    .team-work {
        padding: 60px 0;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .work-visual {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .work-item {
        min-height: 110px;
        padding: 0.8rem 0.5rem;
    }
    
    .work-item i {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .work-item h4 {
        font-size: 0.85rem;
    }
    
    .member-icon {
        width: 32px;
        height: 32px;
        bottom: -16px;
    }
    
    .member-icon i {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .member-card {
        margin: 0 auto;
        max-width: 320px;
    }
    
    .work-item {
        min-height: 100px;
        padding: 0.7rem 0.4rem;
    }
    
    .work-item i {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .work-item h4 {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .member-icon {
        width: 30px;
        height: 30px;
        bottom: -15px;
        border: 2px solid white;
    }
    
    .member-icon i {
        font-size: 0.75rem;
    }
}