/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #002147;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4CAF50;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.hamburger i {
    font-size: 24px;
    color: white;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide menu on small screens */
        flex-direction: column; /* Stack items vertically */
        background-color: #002147;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* Hero Section */
.hero {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Profile Photo Styling */
.profile-photo {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #002147;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* Publications Section */
.publications, .conferences {
    padding: 4rem 0;
}

.publication-item, .conference-item {
    background: #fff;
    padding: 1.5rem;
    border-left: 4px solid #002147;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pub-number, .conf-number {
    color: #002147;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.pub-content, .conf-content {
    flex: 1;
    font-size: 1rem;
    color: #333;
}

.pub-content strong, .conf-content strong {
    font-weight: bold;
    color: #002147;
}

.pub-content em, .conf-content em {
    font-style: italic;
}

/* Footer */
footer {
    background: #002147;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

/* Highlights */
.highlights {
    padding: 3rem 0;
}

.highlights .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    flex: 1;
    min-width: 250px;
}

/* Research Interests */
.research-interests {
    padding: 4rem 0;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.research-card {
    background: white;
    padding: 2rem;
    border-left: 4px solid #002147;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* CV Page */
.cv-section {
    margin-bottom: 3rem;
}

.cv-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.cv-table td {
    padding: 0.8rem;
    border: 1px solid #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .publication-item, .conference-item {
        font-size: 14px;
        flex-direction: column;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background: #002147;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* Journals Page Styling */
.journals {
    padding: 4rem 0;
    text-align: center;
}

.journals-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.journal-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 200px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.journal-card:hover {
    transform: translateY(-5px);
}

.journal-cover {
    width: 100%;
    height: auto;
}

.journal-info {
    padding: 1.5rem;
}

.journal-title {
    font-size: 1.5rem;
    color: #002147;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.journal-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.journal-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: #002147;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.journal-link:hover {
    background: #4CAF50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .journals-list {
        flex-direction: column;
        align-items: center;
    }
}

/* Projects Section */
.projects {
    padding: 4rem 0;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #002147;
    margin-right: 1rem;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.project-info .author {
    font-size: 1rem;
    color: #555;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Badges for Type, Status, and Date */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
    margin-right: 0.5rem;
}

.badge.type {
    background: #1565C0;
}

.badge.status {
    background: #4CAF50;
}

.badge.date {
    background: #FF9800;
}

.amount {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-card {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Contact Section */
.contact {
    padding: 4rem 0;
    text-align: center;
}


.contact-info, .contact-form {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2, .contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #002147;
}

.contact-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.contact-info p i {
    color: #002147;
    margin-right: 0.5rem;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info .social-icons {
    margin-top: 1rem;
}

.contact-info .social-icons a {
    display: inline-block;
    font-size: 1.5rem;
    color: #002147;
    margin-right: 1rem;
    transition: color 0.3s ease-in-out;
}

.contact-info .social-icons a:hover {
    color: #4CAF50;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: #002147;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.contact-form button:hover {
    background: #4CAF50;
}

/* Contact Map */
.contact-map {
    margin-top: 2rem;
    text-align: center;
}

.contact-map h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #002147;
}

/* Centering Contact Info and Form */
.contact-content {
    display: flex;
    align-items: center; /* Vertically centers content */
    justify-content: center; /* Centers horizontally */
    gap: 3rem;
    flex-wrap: wrap;
    min-height: 60vh; /* Ensures vertical centering */
}

.contact-info, .contact-form {
    max-width: 500px;
    width: 100%;
}

/* Styling for Form Success Message */
.contact-form .success-message {
    background: #4CAF50;
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-radius: 5px;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
    }
}

.cv-section {
    padding: 50px 20px;
    text-align: center;
}

.cv-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.cv-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.cv-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cv-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.cv-list li {
    padding: 10px;
    border-left: 3px solid #007BFF;
    margin-bottom: 10px;
    background: #f9f9f9;
}

.cv-download-container {
    text-align: center;
    margin-top: 20px;
}

.cv-download-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.cv-download-btn:hover {
    background-color: #0056b3;
}

.journal-logos {
    text-align: center;
    padding: 10px 0;
    background-color: #f8f8f8;
}

.journal-logos h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.journal-logos .logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.journal-logos .logos img {
    max-width: 250px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.journal-logos .logos img:hover {
    transform: scale(1.1);
}

/* Lightbox Stilleri */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 3px solid white;
    border-radius: 5px;
}

/* Kapatma Butonu */
.close-btn {
        
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.gallery-title {
    text-align: center;
    margin: 2rem 0;
    color: #333;
    font-size: 2.5em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.photo-card:hover {
    transform: translateY(-5px);
}

.photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center center; /* Varsayılan */
    border-bottom: 1px solid #eee;
}

.caption {
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 0.95em;
}

/* Dikey fotoğraflar için özel pozisyon */
.photo.vertical img {
    object-position: top center;
}

@media (max-width: 768px) {
.gallery-grid {
    gap: 15px;
}

.gallery-title {
    font-size: 2em;
}
}
