* {
    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 Styles */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(102,126,234,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(102,126,234,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(102,126,234,0.02)"/><circle cx="10" cy="50" r="0.5" fill="rgba(102,126,234,0.02)"/><circle cx="90" cy="30" r="0.5" fill="rgba(102,126,234,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Başkan Üst Bölüm */
.president-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    animation: slideInDown 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.president-image-top {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.president-image-top:hover {
    transform: scale(1.1);
    border-color: #667eea;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
}

.president-info-top {
    text-align: center;
}

.president-top .president-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2c3e50;
}

.president-top .president-title {
    font-size: 16px;
    opacity: 0.8;
    font-weight: 300;
    color: #5a6c7d;
}

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

/* Header Social Media */
.header-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    opacity: 0.7;
}

.social-icon.facebook {
    background: #1877f2;
    color: white;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.twitter {
    background: #1DA1F2;
    color: white;
}

.social-icon.youtube {
    background: #FF0000;
    color: white;
}

.social-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 1;
}

.social-icon.facebook:hover {
    background: #166fe5;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #e0822a 0%, #d05731 25%, #c71f38 50%, #b71e5a 75%, #a71676 100%);
}

.social-icon.twitter:hover {
    background: #1a91da;
}

.social-icon.youtube:hover {
    background: #e60000;
}

.logo-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.logo-small {
    max-width: 80px;
    height: auto;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-top: 8px;
}

.logo-container {
    flex: 1;
    text-align: center;
    position: relative;
    padding-top: 2px;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

.logo {
    max-width: 180px;
    height: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    border-radius: 10px;
    padding: 5px;
    background: rgba(102, 126, 234, 0.05);
    position: relative;
    z-index: 2;
}

.logo:hover {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

/* Başkan Bölümü */
.president-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.president-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
    pointer-events: none;
}

.president-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.president-image-square {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.9);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.president-image-square:hover {
    transform: scale(1.05);
    border-color: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.president-info-square {
    text-align: center;
    color: white;
}

.president-info-square .president-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.president-info-square .president-title {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Navigation */
.nav {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-left: 20px;
}

.nav li {
    position: relative;
}

.nav a {
    display: block;
    color: #2c3e50;
    text-decoration: none;
    padding: 12px 20px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav a:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
    transform: translateY(-1px);
}

.nav a:hover::before {
    width: 70%;
}

/* Welcome Slider */
.welcome-slider {
    margin-bottom: 40px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.slider-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.welcome-content {
    padding: 20px 0;
}

.welcome-content .section-title {
    margin-bottom: 20px;
    font-size: 32px;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.main-content {
    min-width: 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.president-sidebar {
    background: transparent;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    color: #2c3e50;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.president-sidebar-image {
    width: 139px;
    height: 150px;
    border-radius: 15px;
    object-fit: cover;
    border: 4px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.president-sidebar-image:hover {
    transform: scale(1.05);
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.president-sidebar-info {
    position: relative;
    z-index: 1;
    margin-top: -5px;
}

.president-sidebar-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
}

.president-sidebar-title {
    font-size: 16px;
    opacity: 0.8;
    font-weight: 300;
    color: #5a6c7d;
    margin: 0;
}

.section {
    background: white;
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.section:hover::before {
    transform: scaleX(1);
}

.section-title {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
    background: linear-gradient(145deg, #ffffff, #ffffff);
}

.card:hover::before {
    transform: scaleY(1);
}

.card-title {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    color: #667eea;
    font-size: 18px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    text-align: center;
    padding: 50px 0 30px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::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:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 20px 0;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .logo-left {
        justify-content: center;
        order: 1;
        margin-bottom: 0;
    }
    
    .logo-small {
        max-width: 70px;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        position: static;
        order: -1;
    }
    
    .president-sidebar {
        padding: 25px;
    }
    
    .president-sidebar-image {
        width: 115px;
        height: 124px;
    }
    
    .president-sidebar-name {
        font-size: 20px;
    }
    
    .president-sidebar-title {
        font-size: 14px;
    }
    
    .nav {
        position: relative;
        background: #ffffff;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav a {
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 12px 20px;
        color: #2c3e50;
    }
    
    .nav a:hover {
        background: rgba(102, 126, 234, 0.08);
        color: #667eea;
    }
    
    .main {
        padding: 40px 0;
    }
    
    .section {
        padding: 30px 20px;
        margin-bottom: 30px;
        border-radius: 15px;
    }
    
    .section-title {
        font-size: 28px;
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .welcome-images {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .welcome-image {
        height: 250px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card {
        padding: 25px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .logo-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-small {
        max-width: 60px;
    }
    
    .slider-container {
        height: 200px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
        opacity: 0.6;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .president-sidebar {
        padding: 20px;
    }
    
    .president-sidebar-image {
        width: 92px;
        height: 99px;
    }
    
    .president-sidebar-name {
        font-size: 18px;
    }
    
    .president-sidebar-title {
        font-size: 13px;
    }
    
    .section {
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInLeft {
    from { 
        transform: translateX(-50px) rotateY(-10deg); 
        opacity: 0;
    }
    to { 
        transform: translateX(0) rotateY(0); 
        opacity: 1;
    }
}

.slide-in-down {
    animation: slideInDown 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Bounce Animation */
.bounce {
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
