* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header {
   background: #ffffff;
    color: #111;
    border-bottom: 1px solid #eee;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo img {
    height: 70px;
    width: auto;
}

nav a {
    color: #111;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: #e60023;
}




.hero {
    position: relative;
    height: 70vh; /* 100vh yerine 70vh yaptık, boyu %30 kısaldı */
    overflow: hidden;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease-in-out, transform 1.5s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Overlay karartma efekti */
.slide::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 50, 0.5);
    top: 0;
    left: 0;
}

/* Hover efekti (isteğe bağlı) */
.slide:hover {
    transform: scale(1.02);
}

/* Hero yazı animasyonu */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 45%;
    transform: translateY(-50%);
    color: white;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: bold;
}

.hero-content p {
    font-size: 18px;
    margin-top: 10px;
}

/* Yazı animasyonu tanımı */
@keyframes fadeInUp {
    0% {opacity: 0; transform: translateY(30px);}
    100% {opacity: 1; transform: translateY(0);}
}


.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 18px;
    font-size: 14px;
    background: #e60023;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 3px 8px rgba(230, 0, 35, 0.3);
}

.btn:hover {
    background: #b8001c;
}

.section {
    padding: 60px 0;
    text-align: center;
}

.gray {
    background: #f4f4f4;
}

.cards {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: white;
    padding: 20px;
    flex: 1;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Mobil uyum */
@media(max-width: 768px) {
    .cards {
        flex-direction: column;
    }

    header .container {
        flex-direction: column;
    }

    nav {
        margin-top: 10px;
    }
}