

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

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

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* Tablet görünümü (768px ve altı) */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sütun olacak */
    }
}

/* Mobil görünümü (480px ve altı) */
@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr; /* Tek sütun olacak */
    }
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.news-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    text-decoration: none;
}

.news-description {
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

.read-more {
    display: inline-block;
    padding: 8px 16px;
    background-color: #003366;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: auto;
    width: 100%;
}

.read-more:hover {
    background-color: #002244;
}

.hero-section {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    background: url('assets/img/coskun.jpg') no-repeat center center;
    background-size: cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.2));
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    margin: 0;
    margin-bottom: 60px;
    margin-left: 60px;
}

.slide-header {
    background: rgba(0, 51, 102, 0.8);
    padding: 15px 30px;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.slide-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 500;
}

.slide-text {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    color: #333;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.slide-text h2 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #003366;
}

.slide-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .slide-content {
        margin-left: 30px;
        margin-bottom: 40px;
    }

    .slide {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .slide-content {
        margin-left: 15px;
        margin-bottom: 30px;
    }
} 


.footer {
    background-color: #003366;
    color: white;
    padding: 60px 0 20px;
    margin-top: 50px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #ffffff;
}

.footer-section p {
    margin: 10px 0;
    color: #cccccc;
}

.footer-section p i {
    margin-right: 10px;
    color: #ffffff;
}

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

.social-links a {
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

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

.footer-bottom p {
    color: #cccccc;
    font-size: 14px;
}

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

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}


/* about me */


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

.about-header {
    text-align: center;
    padding: 20px 0;
}

.about-title {
    font-size: 36px;
    color: #003366;
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.about-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    color: #444;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.about-highlights {
    margin: 40px 0;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background-color: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.highlight-icon i {
    color: #fff;
    font-size: 20px;
}

.highlight-text {
    flex: 1;
}

.highlight-title {
    font-weight: bold;
    color: #003366;
    margin-bottom: 5px;
}

.highlight-description {
    color: #666;
    font-size: 14px;
}

.keywords {
    margin: 40px 0;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
}

.keywords h3 {
    color: #003366;
    margin-bottom: 15px;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-tag {
    background-color: #003366;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 28px;
    }

    .about-subtitle {
        font-size: 18px;
    }
}

/* projects */
.project-links {
    display: flex;
    gap: 20px;
}

.project-column {
    flex: 1;
}

.project-column p {
    margin: 8px 0;
}

.project-column a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.project-column a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .project-links {
        flex-direction: column;
        gap: 10px;
    }
}