/* Genel Stiller */
body {
    font-family: 'Times New Roman', serif;
    background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)), url('high-resolution-blue-background-g09nt3i1k5w4dpc1-scaled.jpg');
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
    justify-content: flex-start;
}

html {
    scroll-behavior: smooth;
}

/* Başlık Konteyneri */
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 40px;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 1600px;
    width: 100%;
    z-index: 1100;
    margin-top: 30px;
}

.title-container img {
    width: 700px;
    height: auto;
    margin-right: -7px;
    margin-top: -10px;
}

/* Konteynerler */
.container {
    width: 100%;
    max-width: 1000px;
    padding: 0;
    position: relative;
}

.contact-row {
    margin-bottom: 10px;
}

.contact-row a {
    text-decoration: none;
    color: #000;
}

.contact-row a:hover {
    color: #007bff;
}

.buttons-container {
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 0.5s ease;
}

/* Sekme Düğmeleri */
.tab-button {
    background-color: white;
    color: green;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 19px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tab-button:hover {
    background-color: green;
    color: white;
    transform: scale(1.3);
}

/* Profil Konteyneri */
.profile-container {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    width: 100%;
    border: 3px solid green;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    max-width: 945px;
    box-sizing: border-box;
}
.profile-container:hover {
    background-color: rgba(255, 255, 255, 1); /* Make background fully opaque on hover */
    border-color: darkgreen; /* Change border color on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
    transform: scale(1.02); /* Slightly enlarge the element on hover */
}

/* Profil Fotoğrafı */
.profile-photo {
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin-right: 20px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), 0 0 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.2);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header {
    background-color: white;
    color: green;
    border: 3px solid green;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
}
.profile-header:hover {
    color: darkgreen; /* Change text color on hover */
    border-color: darkgreen; /* Change border color on hover */
    transform: scale(1.05); /* Slightly enlarge the element on hover */
}

.profile-header h1 {
    margin: 0;
    font-size: 34px;
}

.profile-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 300;
}

/* Profil İçeriği */
.profile-content {
    width: 100%;
    background-color: #f4f4f9;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    text-align: center;
}

.profile-content table {
    width: 100%;
    border-collapse: collapse;
}

.profile-content table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.profile-content table td:first-child {
    font-weight: bold;
    color: #4b6cb7;
    font-size: 16px;
}

.profile-content table td:last-child {
    font-weight: bold;
    text-align: left;
    font-size: 16px;
}

.profile-content table a {
    color: #1a73e8;
    text-decoration: none;
}

.profile-content table a:hover {
    text-decoration: underline;
}

/* Sekme İçerikleri */
.tabs-container {
    margin: 0;
    padding: 0;
    width: 100%;
}

.tab-content {
    display: none;
    padding: 15px;
    font-size: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 20px auto;
    text-align: center;
}

.tab-content h3 {
    margin-top: 0;
    font-size: 30px;
}

.tab-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-content li {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tab-content a {
    color: #388e3c;
    text-decoration: none;
}

.tab-content a:hover {
    text-decoration: underline;
}


.news-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the content horizontally */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.news-item img {
    width: 100%;
    max-width: 400px; /* Adjust max width for smaller images */
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
}

.news-content {
    padding: 20px;
    max-width: 600px; /* Restrict the width of the content */
    text-align: center; /* Center the text */
    background-color: #e8f5e9;
    border: 1px solid green;
    border-radius: 8px;
}

.news-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px; /* Smaller font size */
    color: #333;
}

.news-content p {
    margin: 0;
    font-size: 14px; /* Smaller font size */
    color: #666;
    line-height: 1.5;
}

.news-nav {
    background-color: #388e3c;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.news-nav:hover {
    background-color: #2e7d32;
}


/* Mobile adjustments */
@media (max-width: 600px) {
    .news-item img {
        max-width: 100%; /* Ensure full width on mobile */
    }

    .news-content {
        padding: 15px;
        max-width: 100%; /* Full width on mobile */
    }

    .news-content h4 {
        font-size: 16px; /* Slightly smaller font for mobile */
    }

    .news-content p {
        font-size: 12px; /* Slightly smaller font for mobile */
    }
}

/* Medya Sorguları */
@media only screen and (max-width: 768px) {
    body {
        padding: 10px;
    }
    .title-container {
        display: flex; /* Enables flexbox */
        justify-content: center; /* Centers horizontally */
        align-items: center; /* Centers vertically */
        flex-direction: column;
        font-size: 36px;
        padding: 20px;
        margin-top: 10px;
        text-align: center;
    }

    .title-container img {
        width: 350px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .container {
        padding: 0 10px;
    }

    .profile-container {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        margin: 10px auto;
    }

    .profile-photo {
        width: 120px; /* Mobil cihazlarda daha küçük fotoğraf */
        height: 120px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .profile-header h1 {
        font-size: 24px;
    }

    .profile-header h2 {
        font-size: 18px;
    }

    .profile-content table td:first-child,
    .profile-content table td:last-child {
        font-size: 14px;

    }

    .tab-button {
        background-color: #ffffff;
        color: #4b6cb7;
    }

    .tab-button:hover {
        background-color: green;
        color: white;
        transform: scale(1.3);
    }

    .tab-content {
        max-width: 100%;
        margin: 10px auto;
        padding: 10px;
    }
}
