/* UTF-8 Karakter Desteği */
@charset "UTF-8";

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f5f5f5;
    padding-bottom: 0px;
}

header {
    background: #004c97;
    background: linear-gradient(135deg, #004c97 0%, #003a75 100%);
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header img {
    max-height: 60px;
    margin-bottom: 10px;
}

h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Banner Styles */
.banner-section {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Banner Logo - Sağ Alt Köşe */
.banner-logo {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* Banner'a overlay ve text eklemek isterseniz */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-text {
    color: white;
    text-align: center;
    padding: 20px;
}

.banner-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border: none;
}

.banner-text p {
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

section {
    background: white;
    padding: 30px;
    margin: 20px auto;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

h2 {
    color: #004c97;
    border-bottom: 2px solid #da2020;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#announcements h2 {
    color: #da2020;
}

h3 {
    color: #333;
    margin-top: 20px;
}

#eft-info {
    background: #f9f9f9;
}

#eft-info p {
    font-size: 18px;
    margin: 10px 0;
}

#eft-info ul {
    background: #fff;
    padding: 20px;
    border-left: 4px solid #da2020;
    margin: 20px 0;
}

#eft-info li {
    margin-bottom: 10px;
    list-style: none;
}

a {
    color: #004c97;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
color: #da2020;
    text-decoration: underline;
}

#contact a {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 20px;
    background: #004c97;
    color: white;
    border-radius: 5px;
    transition: background 0.3s;
}

#contact a:hover {
background: #da2020;
    text-decoration: none;
}

footer {
    background: #004c97;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form button {
    background: #004c97;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #003970;
}

/* Employee Grid Styles */
.employee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.employee-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.employee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.employee-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.employee-card h3 {
    color: #004c97;
    margin: 10px 0 5px;
}

.employee-card .position {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

/* Announcement Styles */
#announcements {
    background: #e6f2ff;
border-left: 5px solid #da2020;
}

.announcement {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.announcement h3 {
color: #da2020;
    margin-top: 0;
    margin-bottom: 10px;
}

.announcement p {
    color: #333;
    line-height: 1.6;
}

/* Menu Grid Styles */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Gallery Slider Styles */
.gallery-slider {
    width: 100%;
    margin: 20px 0;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.slider-wrapper {
    position: relative;
    height: 450px;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
}

.slide-overlay h4 {
    margin: 0 0 5px;
    color: white;
    font-size: 24px;
}

.slide-overlay p {
    margin: 0;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

.slider-btn.prev {
    left: 10px;
    border-radius: 0 5px 5px 0;
}

.slider-btn.next {
    right: 10px;
    border-radius: 5px 0 0 5px;
}

/* Slider Dots */
.slider-dots {
    text-align: center;
    padding: 20px 0 10px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #004c97;
}

.menu-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.menu-card h3 {
    color: #004c97;
    margin: 0 0 10px;
    font-size: 18px;
}

.menu-card p {
    color: #666;
    margin: 10px 0;
}

.menu-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #004c97;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.menu-link:hover {
    background: #da2020;
    text-decoration: none;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-section {
        height: 250px;
    }
    
    .banner-logo {
        bottom: 10px;
        right: 10px;
        padding: 8px 15px;
    }
    
    .banner-logo img {
        height: 30px;
    }
    
    .banner-text h2 {
        font-size: 32px;
    }
    
    .banner-text p {
        font-size: 18px;
    }
    body {
        padding-bottom: 0px;
    }
    
    header {
        padding: 15px 0;
    }
    
    header img {
        max-height: 50px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 20px;
        margin: 15px auto;
    }
    
    /* Employee Grid */
    .employee-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .employee-card img {
        width: 100px;
        height: 100px;
    }
    
    /* Menu Grid */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Form */
    form {
        padding: 15px;
    }
    
    footer {
        font-size: 14px;
        padding: 8px 0;
    }
}

@media (max-width: 480px) {
    .banner-section {
        height: 200px;
    }
    
    .banner-logo {
        bottom: 8px;
        right: 8px;
        padding: 5px 10px;
    }
    
    .banner-logo img {
        height: 25px;
    }
    
    .banner-text h2 {
        font-size: 24px;
    }
    
    .banner-text p {
        font-size: 16px;
    }
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    section {
        padding: 15px;
        margin: 10px auto;
    }
    
    /* Employee Grid */
    .employee-grid {
        grid-template-columns: 1fr;
    }
    
    .employee-card {
        padding: 15px;
    }
    
    /* Contact links */
    #contact a {
        display: block;
        text-align: center;
        margin: 10px 0;
    }
    
    /* Form inputs */
    form input[type="text"],
    form input[type="email"],
    form textarea {
        font-size: 16px; /* iOS zoom'u önlemek için */
    }
    
    form button {
        width: 100%;
    }
}

/* Menü butonları için ek responsive stil */
@media (max-width: 600px) {
    .menu-link {
        display: block;
        width: 100%;
        text-align: center;
    }
}
