@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&display=swap');

.exo {
    font-family: "Comic Relief", system-ui;
    font-weight: 700;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
}

header {
    background-image: linear-gradient(to right, rgb(0, 0, 0), rgba(0, 0, 0, 0)), url("./cekici4.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom right;
    color: white;
    padding: 5px 20px;
    /* text-align: center; */
    position: relative;
    overflow: hidden;
    height: 700px;
}

header h1 {
    margin-top: 0;
    font-size: 50px;
    margin-bottom: 1px;
}

header h2 {
    margin-top: 0px;
    font-size: 45px;
margin-left: 100px;
    margin-bottom: 1px;
}

header p {
    margin-top: 1px;
    font-size: 30px;
    margin-left: 175px;
}

nav {
    background: #660000;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffd700;
}

section {
    padding: 60px 20px;
    text-align: center;
}

.swiper {
    max-width: 70%;
    height: 500px;
    margin: 40px auto;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}

.cta {
    margin-top: 20px;
    display: inline-block;
    padding: 15px 30px;
    background: #b30000;
    color: white;
    text-decoration: none;
    font-size: 20px;
    border-radius: 8px;
    transition: background 0.3s;
}

.cta:hover {
    background: #990000;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* Yeni stil: sarı-siyah uyarı işareti ve animasyonlu parlak çerçeve */
.warning-sign {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 40px auto;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid #f1c40f;
    position: absolute;
    top: 0;
    left: 0;
    filter: drop-shadow(0 0 10px yellow);
    animation: pulse 1.5s infinite ease-in-out;
}

.triangle::after {
    content: '!';
    position: absolute;
    top: 20px;
    left: -7px;
    font-size: 50px;
    color: black;
    font-weight: bold;
}

@keyframes pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 5px yellow);
    }

    50% {
        filter: drop-shadow(0 0 15px yellow);
    }
}

/* Header sağ ve sol animasyonlu uyarı simgesi */
.header-icon {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 60px;
}

.header-icon.left {
    left: 20px;
}

.header-icon.right {
    right: 40px;
}

.header-icon .triangle {
    transform: scale(1);
}


@media only screen and (max-width:800px) {
    .header-icon .triangle {
        transform: scale(0.6);
        top: 25px;
    }

    .header-icon {
        top: 30%;

    }

    .swiper {
        max-width: 90%;
    }

    .cta {
        margin-top: 10px;
        padding: 15px 20px;
        font-size: 15px;
    }

    header {
        height: 250px;
    }

    header h1 {
        font-size: 50px;
    }

    header h2 {
        font-size: 35px;
    }

    header p {
        font-size: 15px;
    }
}

@media only screen and (max-width:700px) {

    .header-icon .triangle {
        transform: scale(0.4);
    }

    .triangle {
        top: 0 !important;
    }

    header h1 {
        font-size: 45px;
    }

    header h2 {
        font-size: 30px;
        margin-left: 75px;
    }

    header p {
        font-size: 15px;
    }
    .swiper {
    max-width: 80%;
    height: 300px;
    margin: 40px auto;
}

}

@media only screen and (max-width:540px) {

    header h1 {
        font-size: 40px;
    }

    header h2 {
        font-size: 25px;
        margin-left: 50px;
    }

header p{
    margin-left: 90px;
}

}

@media only screen and (max-width:480px) {

    header h1 {
        font-size: 30px;
    }

    header h2 {
        font-size: 15px;
    }

    header p {
        font-size: 10px;

    }

}