* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%; /* Genişliği tam yap */
}

.logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1e3c72;
    font-weight: bold;
}

.logo-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 8px;
}

/* Sağdaki logo için yeni class */
.logo-img-right {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
}

.header-text {
    flex: 1; /* Ortadaki metinlerin esnek olmasını sağla */
    text-align: center; /* Metinleri ortala */
    margin: 0 20px; /* Yan boşluklar */
}

.header-text h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.header-text p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex; /* Tüm butonları flex yap */
  align-items: center; /* Dikey hizalama */
  gap: 8px; /* İkonlar ve metin arası boşluk */
  min-height: 44px; /* Minimum yükseklik belirle */
  box-sizing: border-box; /* Padding'i dahil et */
}

.nav-menu li a:hover,
.nav-menu li a.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  margin-left: auto; /* Arrow'u sağa yasla */
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 15px 0;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    color: #333 !important;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border-radius: 0;
    background: transparent !important;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background: linear-gradient(135deg, #1e3c72, #2a5298) !important;
    color: white !important;
    transform: none;
    padding-left: 30px;
}

.dropdown-menu li a i {
    width: 18px;
    text-align: center;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #1e3c72;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: #666;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Team Structure */
.team-structure {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Management Level */
.management-level {
    text-align: center;
}

.management-level h3 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.management-level h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff6b35;
    border-radius: 2px;
}

.management-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.director-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 5px solid #ff6b35;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

.director-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.director-card:hover::before {
    left: 100%;
}

.director-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.assistant-director-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #2a5298;
    max-width: 320px;
}

.assistant-director-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.staff-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.staff-card:nth-child(1) { border-top: 3px solid #28a745; }
.staff-card:nth-child(2) { border-top: 3px solid #17a2b8; }
.staff-card:nth-child(3) { border-top: 3px solid #ffc107; }
.staff-card:nth-child(4) { border-top: 3px solid #dc3545; }

/* Avatar Styles */
.member-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(30,60,114,0.3);
    position: relative;
}

.director-card .member-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    font-size: 2.2rem;
}

.assistant-director-card .member-avatar {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #2a5298, #1e3c72);
}

.member-avatar::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b35, #1e3c72, #ff6b35);
    z-index: -1;
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.director-card:hover .member-avatar::after {
    opacity: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Text Styles */
.member-name {
    font-size: 1.3rem;
    color: #1e3c72;
    margin-bottom: 10px;
    font-weight: 600;
}

.director-card .member-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.member-position {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

.member-department {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.contact-item h4 {
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p, .footer-section li {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-section {
        flex-direction: column; /* Mobilde alt alta sırala */
        text-align: center;
    }
    
    .header-text {
        margin: 10px 0; /* Mobilde dikey boşluk */
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .management-grid {
        flex-direction: column;
        align-items: center;
    }

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

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