* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

header, footer {
    background-color: #2f855a;
    color: white;
    padding: 20px 0;
    text-align: center;
    
}
a {
  color: #02421d;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

a:hover {
  color: #007c53;
  text-decoration: underline;
}


.container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    background: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.etkinlikler {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.etkinlik {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.etkinlik:hover {
    transform: scale(1.02);
}

.etkinlik img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.etkinlik-content {
    padding: 15px;
}

.etkinlik h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2d3748;
}

.etkinlik p {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 10px;
}

a.button {
    display: inline-block;
    background-color: #2f855a;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

a.button:hover {
    background-color: #276749;
}

footer {
    margin-top: 50px;
}
