/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d7a;
    --secondary-color: #2c6b9e;
    --accent-color: #d4a574;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px; /* Header yüksekliği için padding */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

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

.contact-info a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info i {
    margin-right: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 18px;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    gap: 20px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    max-height: 72px;
    height: 72px;
    width: auto;
    object-fit: contain;
}

.ataturk-image {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ataturk-image img {
    max-height: 72px;
    height: 72px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    display: none;
}

.logo img[style*="display: none"] ~ .logo-text {
    display: block;
}

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

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    list-style: none;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

/* Historical image with subtle zoom-out effect - edge-to-edge coverage */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Historical image with subtle scale for zoom-out effect + blue overlay */
    background-image: 
        linear-gradient(rgba(26, 77, 122, 0.4), rgba(26, 77, 122, 0.4)),
        url('../images/berberlereski.jpg');
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
    transform: scale(0.96);
    z-index: 0;
    pointer-events: none;
}

/* Subtle dark overlay for enhanced text readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle radial gradient overlay - stronger in center where text is */
    /* Provides gentle contrast for text without obscuring the image */
    background: radial-gradient(ellipse 50% 70% at center, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.05) 60%,
        rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInUp 1s;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.2s both;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #c49564;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-all:hover {
    color: var(--secondary-color);
}

.view-all i {
    margin-left: 5px;
}

/* Welcome Section */
.welcome-section {
    background: var(--white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.welcome-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.welcome-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.welcome-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.welcome-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Quick Access Section */
.quick-access {
    background: var(--bg-light);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.quick-access-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quick-access-item i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.quick-access-item span {
    font-weight: 600;
    font-size: 1.1rem;
}

.quick-access-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quick-access-item:hover i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* News Section */
.news-section {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Info Section */
.info-section {
    background: var(--bg-light);
    padding: 40px 0;
}

.info-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-box i {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-box p {
    margin: 0;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.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 ul {
    list-style: none;
}

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

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

.footer-section a:hover {
    color: var(--white);
}

.footer-section i {
    margin-right: 10px;
}

.footer .social-links {
    margin-top: 15px;
}

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

/* Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content-section {
    padding: 60px 0;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.content-section h3 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.content-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-section li {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.8;
}

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

/* Board of Directors Specific Styles - Institutional Design */
.board-president-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.board-vice-president-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

/* Board Card Base Styles - Institutional, Static */
.board-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 30px 25px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* President Card - Larger, Top Center */
.board-card-president {
    max-width: 320px;
    width: 100%;
    padding: 35px 30px;
}

/* Vice President Card - Centered Below President */
.board-card-vice-president {
    max-width: 280px;
    width: 100%;
    padding: 30px 25px;
}

/* Board Members Grid - Symmetrical Layout */
.board-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    justify-items: center;
    align-items: start;
}

@media (min-width: 900px) {
    .board-members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .board-members-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }
}

/* Audit Committee Grid - Custom Layout */
.audit-committee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
    align-items: start;
}

.audit-committee-secretary {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
}

@media (max-width: 900px) {
    .audit-committee-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    
    .audit-committee-secretary {
        grid-column: auto;
        grid-row: auto;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .audit-committee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .audit-committee-secretary {
        grid-column: auto;
        grid-row: auto;
        max-width: 100%;
    }
}

.board-card-member {
    max-width: 240px;
    width: 100%;
    padding: 25px 20px;
}

/* Square Image Wrapper - 1:1 Ratio, No Circular */
.board-card-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-card-president .board-card-image-wrapper {
    margin-bottom: 25px;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.board-card-vice-president .board-card-image-wrapper {
    margin-bottom: 22px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.board-card-member .board-card-image-wrapper {
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Square Images - Face Centered, No Cropping */
.board-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Specific adjustment for Yılmaz DEMİRYÜREK's photo - show full head */
.board-card-president img[src*="Yılmaz DEMİRYÜREK"],
.board-card-president img[alt="Yılmaz DEMİRYÜREK"] {
    object-position: center 38%;
}

/* Card Content - Center Aligned */
.board-card-content {
    padding: 0;
}

.board-card h3 {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.board-card-president h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.board-card-vice-president h3 {
    font-size: 1.3rem;
    margin-bottom: 9px;
    font-weight: 700;
}

.board-card .position {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.4;
}

.board-card-president .position {
    font-size: 1rem;
    font-weight: 400;
}

.board-card-vice-president .position {
    font-size: 0.95rem;
    font-weight: 400;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin-left: 0;
}

.service-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Contact Page - Redesigned */
.contact-page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.contact-page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contact-page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 400;
}

.contact-content-section {
    padding: 80px 0;
    background: var(--bg-light);
    min-height: calc(100vh - 400px);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-card {
    background: var(--white);
    padding: 50px 60px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-info-card h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.3rem;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.contact-details p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.contact-details a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 45px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.contact-social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(26, 77, 122, 0.2);
}

/* Contact Form (legacy - kept for compatibility) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Training Gallery Section */
.training-gallery-section {
    padding: 100px 0;
    background: var(--white);
}

.training-gallery-section:first-of-type {
    padding-top: 80px;
}

.training-gallery-section:last-of-type {
    padding-bottom: 100px;
}

/* Enhanced Section Header for Gallery Sections */
.training-gallery-section .section-header {
    margin-bottom: 60px;
    padding-bottom: 30px;
    position: relative;
}

.training-gallery-section .section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.training-gallery-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    color: var(--primary-color);
}

.training-gallery-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.training-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
}

.gallery-item {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: var(--bg-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery item with faces - prioritize top positioning */
.gallery-item-faces img {
    object-position: top center;
}

/* Specific positioning for etkinlik1.jpeg to center faces */
.gallery-item-etkinlik1 img {
    object-position: center 40%;
}

/* Yapacağımız Faaliyetler Section - Video Section */
.future-activities-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.future-activities-section .section-header {
    margin-bottom: 50px;
}

.future-activities-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.future-activities-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #000;
}

.future-activities-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.future-activities-text {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: fit-content;
}

.future-activities-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.future-activities-text .festival-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 600;
    line-height: 1.4;
}

.future-activities-text .festival-subtitle {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-align: left;
    font-weight: 500;
    line-height: 1.6;
}

.future-activities-text .festival-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 25px;
    text-align: justify;
}

.future-activities-text .festival-highlights {
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.05) 0%, rgba(44, 107, 158, 0.05) 100%);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--accent-color);
}

.future-activities-text .festival-highlights p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.future-activities-text .festival-highlights p:last-child {
    margin-bottom: 0;
}

.future-activities-text .festival-tagline {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    text-align: left;
    margin: 35px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
    border-radius: 8px;
    line-height: 1.6;
}

.future-activities-text .festival-date {
    text-align: left;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.future-activities-text .festival-date .date-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.future-activities-text .festival-date .date-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.future-activities-text .festival-date .cta-text {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 968px) {
    .future-activities-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .future-activities-video-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .future-activities-section {
        padding: 70px 0;
    }

    .future-activities-text {
        padding: 35px 25px;
    }

    .future-activities-text h3 {
        font-size: 1.75rem;
    }

    .future-activities-text .festival-title {
        font-size: 1.5rem;
    }

    .future-activities-text .festival-subtitle {
        font-size: 1.1rem;
    }

    .future-activities-text .festival-description {
        font-size: 1rem;
        text-align: left;
    }

    .future-activities-text .festival-tagline {
        font-size: 1.2rem;
        padding: 15px;
    }

    .future-activities-text .festival-date .date-text {
        font-size: 1.3rem;
    }

    .future-activities-text .festival-date .cta-text {
        font-size: 1rem;
    }

    .future-activities-text .festival-highlights {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .future-activities-section {
        padding: 60px 0;
    }

    .future-activities-text {
        padding: 30px 20px;
    }

    .future-activities-text h3 {
        font-size: 1.5rem;
    }

    .future-activities-text .festival-title {
        font-size: 1.3rem;
    }

    .future-activities-text .festival-subtitle {
        font-size: 1rem;
    }

    .future-activities-text .festival-description {
        font-size: 0.95rem;
    }

    .future-activities-text .festival-tagline {
        font-size: 1.1rem;
        padding: 12px;
    }

    .future-activities-text .festival-date .date-text {
        font-size: 1.2rem;
    }

    .future-activities-text .festival-date .cta-text {
        font-size: 0.95rem;
    }
}

/* Historical Tribute Section - Nostalgic, Archival Design */
.historical-tribute-section {
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 60px 0;
    background: var(--white);
}

.historical-tribute-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.historical-tribute-item {
    flex: 0 1 auto;
    text-align: center;
    max-width: 280px;
    width: 100%;
}

.historical-tribute-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    margin: 0 auto 25px;
    overflow: hidden;
    border: 1px solid rgba(200, 180, 160, 0.4);
    background: #faf9f7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
}

.historical-tribute-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255, 248, 240, 0.1) 0%,
        rgba(240, 235, 230, 0.05) 50%,
        rgba(250, 245, 240, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.historical-tribute-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: sepia(8%) saturate(95%) brightness(98%);
    position: relative;
    z-index: 0;
}

.historical-tribute-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.3px;
    margin-top: 0;
}

.historical-tribute-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin-top: 8px;
    text-transform: uppercase;
}

.historical-tribute-date {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.2px;
    margin-top: 5px;
}

/* Responsive Design for Historical Tribute */
@media (max-width: 768px) {
    .historical-tribute-section {
        margin-top: 60px;
        margin-bottom: 60px;
        padding: 50px 0;
    }

    .historical-tribute-grid {
        flex-direction: column;
        align-items: center;
        gap: 45px;
        max-width: 100%;
    }

    .historical-tribute-item {
        max-width: 260px;
        width: 100%;
    }

    .historical-tribute-image-wrapper {
        margin-bottom: 20px;
    }

    .historical-tribute-name {
        font-size: 1rem;
    }

    .historical-tribute-title {
        font-size: 0.85rem;
    }

    .historical-tribute-date {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .historical-tribute-section {
        margin-top: 50px;
        margin-bottom: 50px;
        padding: 40px 0;
    }

    .historical-tribute-grid {
        gap: 40px;
    }

    .historical-tribute-item {
        max-width: 240px;
    }

    .historical-tribute-name {
        font-size: 0.95rem;
    }

    .historical-tribute-title {
        font-size: 0.8rem;
    }

    .historical-tribute-date {
        font-size: 0.75rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 120px; /* Mobil için daha küçük padding */
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
        order: 3;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }

    /* Group logo and Atatürk image together on the left */
    .nav-wrapper {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
    }

    .logo {
        order: 1;
        margin-right: 8px;
    }

    .logo img {
        max-height: 60px;
        height: 60px;
    }

    .ataturk-image {
        order: 2;
        display: flex;
        align-items: center;
    }

    .ataturk-image img {
        max-height: 45px;
        height: 45px;
        width: auto;
    }

    /* Hide nav-menu from flex order (it's positioned fixed anyway) */
    .nav-menu {
        order: 4;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        gap: 0;
        z-index: 1001;
        overflow-y: auto;
        height: 100vh;
        width: 100%;
        max-width: 100%;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu > li > a {
        display: block;
        padding: 18px 15px;
        font-size: 1.1rem;
        color: var(--text-color);
        text-decoration: none;
        transition: background-color 0.3s, color 0.3s;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-menu > li > a:hover,
    .nav-menu > li > a.active {
        background-color: var(--bg-light);
        color: var(--primary-color);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: var(--bg-light);
        border-top: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .dropdown.active .dropdown-menu {
        max-height: 200px;
        padding: 10px 0;
    }

    .dropdown-menu li {
        border-bottom: none;
    }

    .dropdown-menu a {
        padding: 12px 35px;
        font-size: 0.95rem;
        color: var(--text-light);
    }

    .dropdown-menu a:hover {
        background-color: rgba(26, 77, 122, 0.1);
        color: var(--primary-color);
    }

    .nav-menu .dropdown > a {
        position: relative;
    }

    .nav-menu .dropdown > a i {
        float: right;
        transition: transform 0.3s;
        margin-left: 10px;
    }

    .nav-menu .dropdown.active > a i {
        transform: rotate(180deg);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    /* Contact Page Mobile */
    .contact-page-header {
        padding: 70px 0;
    }

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

    .contact-page-header p {
        font-size: 1.1rem;
    }

    .contact-content-section {
        padding: 40px 0;
    }

    .contact-info-card {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .contact-info-card h2 {
        font-size: 1.75rem;
        margin-bottom: 35px;
        text-align: left;
    }

    .contact-items {
        gap: 35px;
    }

    .contact-item {
        gap: 20px;
        padding-bottom: 35px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .contact-item:last-of-type {
        padding-bottom: 0;
    }

    .contact-icon {
        margin: 0;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-details {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .contact-details h3 {
        font-size: 1.05rem;
        text-align: left;
        width: 100%;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .contact-details p,
    .contact-details a {
        font-size: 0.95rem;
        text-align: left;
        width: 100%;
        margin: 0;
        line-height: 1.6;
    }

    .contact-social-links {
        margin-top: 35px;
        padding-top: 30px;
        gap: 15px;
    }

    .contact-social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    /* Top Bar Mobile - Compact Layout */
    .top-bar {
        padding: 5px 0;
    }

    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .contact-info {
        gap: 12px;
        flex-wrap: nowrap;
    }

    .contact-info a {
        font-size: 11px;
        white-space: nowrap;
    }

    .contact-info i {
        margin-right: 4px;
        font-size: 11px;
    }

    .social-links {
        gap: 10px;
        flex-shrink: 0;
    }

    .social-links a {
        font-size: 15px;
    }

    .training-gallery-section {
        padding: 70px 0;
    }

    .training-gallery-section:first-of-type {
        padding-top: 60px;
    }

    .training-gallery-section:last-of-type {
        padding-bottom: 70px;
    }

    .training-gallery-section .section-header {
        margin-bottom: 45px;
        padding-bottom: 25px;
    }

    .training-gallery-section .section-header h2 {
        font-size: 2rem;
    }

    .training-gallery-section .section-header p {
        font-size: 1rem;
    }

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

    .gallery-item {
        padding-bottom: 75%;
        border-radius: 6px;
    }

    /* Board of Directors Tablet Responsive */
    .board-card-president {
        max-width: 280px;
        padding: 25px 20px;
    }

    .board-card-president h3 {
        font-size: 1.35rem;
    }

    .board-card-president .position {
        font-size: 0.95rem;
    }

    .board-card-president .board-card-image-wrapper {
        margin-bottom: 20px;
    }

    .board-card-vice-president {
        max-width: 100%;
        padding: 28px 22px;
    }

    .board-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 100%;
    }

    .board-card-member {
        max-width: 100%;
    }

    /* Mobile Image Optimization - Keep faces visible and properly proportioned */
    .board-card img {
        object-fit: cover;
        object-position: center 40%;
    }

    /* Specific adjustments for president photo on mobile */
    .board-card-president img[src*="Yılmaz DEMİRYÜREK"],
    .board-card-president img[alt="Yılmaz DEMİRYÜREK"] {
        object-position: center 38%;
    }

    /* Ensure proper spacing between cards on mobile */
    .board-members-grid {
        justify-items: center;
    }

    .audit-committee-grid {
        justify-items: center;
    }
}

@media (max-width: 480px) {
    /* Top Bar Extra Small Mobile - Ultra Compact */
    .top-bar {
        padding: 4px 0;
    }

    .top-bar-content {
        gap: 8px;
    }

    .contact-info {
        gap: 10px;
    }

    .contact-info a {
        font-size: 10px;
    }

    .contact-info i {
        margin-right: 3px;
        font-size: 10px;
    }

    .social-links {
        gap: 8px;
    }

    .social-links a {
        font-size: 14px;
    }

    .logo img {
        max-height: 50px;
        height: 50px;
    }

    .ataturk-image img {
        max-height: 38px;
        height: 38px;
    }

    .hero {
        min-height: 400px;
        height: auto;
    }

    section {
        padding: 50px 0;
    }

    .training-gallery-section {
        padding: 60px 0;
    }

    .training-gallery-section:first-of-type {
        padding-top: 50px;
    }

    .training-gallery-section:last-of-type {
        padding-bottom: 60px;
    }

    .training-gallery-section .section-header {
        margin-bottom: 35px;
        padding-bottom: 20px;
    }

    .training-gallery-section .section-header h2 {
        font-size: 1.75rem;
    }

    .training-gallery-section .section-header p {
        font-size: 0.95rem;
    }

    .welcome-grid,
    .news-grid,
    .team-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Board of Directors Mobile Responsive - Typography */
    .board-card-president h3 {
        font-size: 1.3rem;
    }

    .board-card-vice-president h3 {
        font-size: 1.2rem;
    }

    .board-card-member h3 {
        font-size: 1.1rem;
    }

    .training-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-item {
        padding-bottom: 75%;
    }

    /* Board of Directors Mobile Responsive */
    .board-members-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 100%;
    }

    .board-card-president,
    .board-card-vice-president,
    .board-card-member {
        max-width: 100%;
        padding: 25px 20px;
    }

    .board-card-president {
        max-width: 240px;
        padding: 22px 18px;
    }

    .board-card-vice-president {
        padding: 28px 22px;
    }

    .board-card-president h3 {
        font-size: 1.2rem;
    }

    .board-card-vice-president h3 {
        font-size: 1.2rem;
    }

    .board-card-member h3 {
        font-size: 1.1rem;
    }

    .board-president-wrapper,
    .board-vice-president-wrapper {
        margin-bottom: 35px;
    }

    /* Mobile Image Optimization - Refined positioning for smaller screens */
    .board-card img {
        object-fit: cover;
        object-position: center 42%;
    }

    /* President photo adjustment for small mobile */
    .board-card-president img[src*="Yılmaz DEMİRYÜREK"],
    .board-card-president img[alt="Yılmaz DEMİRYÜREK"] {
        object-position: center 38%;
    }

    /* Ensure single column layout is properly centered */
    .board-members-grid {
        justify-items: center;
    }

    /* Denetim Kurulu - 2 sütun düzeni mobilde (estetik görünüm) */
    .audit-committee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
        max-width: 100%;
    }

    .audit-committee-grid .board-card-member {
        max-width: 100%;
        padding: 20px 15px;
    }

    /* Kavel AY - Genel Sekreter, üyelerle aynı boyutta ve Mehmet ALLI'nın yanında */
    .audit-committee-secretary {
        grid-column: auto;
        grid-row: auto;
        max-width: 100%;
        padding: 20px 15px;
    }

    /* Contact Page Small Mobile */
    .contact-page-header {
        padding: 60px 0;
    }

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

    .contact-page-header p {
        font-size: 1rem;
    }

    .contact-content-section {
        padding: 35px 0;
    }

    .contact-info-card {
        padding: 25px 18px;
        margin: 0 10px;
    }

    .contact-info-card h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
        text-align: left;
    }

    .contact-items {
        gap: 30px;
    }

    .contact-item {
        gap: 18px;
        padding-bottom: 30px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
        text-align: left;
    }

    .contact-item:last-of-type {
        padding-bottom: 0;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin: 0;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-details {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .contact-details h3 {
        text-align: left;
        width: 100%;
        font-size: 1rem;
        margin-bottom: 8px;
        margin-top: 0;
    }

    .contact-details p,
    .contact-details a {
        text-align: left;
        width: 100%;
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.6;
    }

    .contact-social-links {
        margin-top: 30px;
        padding-top: 25px;
        gap: 12px;
    }

    .contact-social-links a {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

