:root {
    --primary-red: #E31E24;
    --primary-blue: #1D438A;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    color: var(--primary-blue);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 600;
    color: var(--primary-blue);
}

nav a:hover {
    color: var(--primary-red);
}

/* Hero */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a1f44 100%);
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: #c0191e;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 0 auto;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Projects */
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.project-status {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-ongoing {
    background: #fef3c7;
    color: #92400e;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-blue);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Contact */
.map-container {
    margin-top: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Announcements */
.announcement-card {
    background: linear-gradient(135deg, var(--white) 0%, #fff5f5 100%);
    border-left: 5px solid var(--primary-red);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.announcement-date {
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 100px;
}

.announcement-date span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.announcement-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.announcement-badge {
    display: inline-block;
    background: #ffebeb;
    color: var(--primary-red);
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Faaliyetlerimiz */
.activity-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.activity-item:hover {
    transform: translateX(10px);
    background: #f8fbff;
}

.activity-year {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.activity-text {
    flex: 1;
}

.activity-text p {
    font-size: 0.95rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .announcement-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    nav ul {
        display: none;
    }
}