/* ==============================
   Genel Ayarlar
============================== */
html {
    scroll-padding-top: 80px; /* header yüksekliğine eşit */
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, #1a1a1a, #2a2a2a);
    color: #eee;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #ff4d4d;
}

/* ==============================
   Header
============================== */
.header {
    background-color: #111;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff4d4d;
    display: flex;
    align-items: center;
    gap: 10px;
}

#logo_image {
    height: 75px;
}

#nav-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#nav-menu a {
    color: #eee;
    font-size: 16px;
}

/* Hamburger toggle */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* ==============================
   Section Başlıkları
============================== */
.kategori {
    scroll-margin-top: 80px; /* header yüksekliği */
    font-size: 2.5rem;
    margin: 50px 0 30px;
    position: relative;
    color: #ff4d4d;
}

.kategori::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #ff4d4d;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ==============================
   Hero Section
============================== */
.hero {
    text-align: center;
    padding: 100px 20px 50px;
    background: url('../images/background.jpg') no-repeat center center/cover;
    position: relative;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero h1,
.hero p,
.hero .buttons {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero .btn {
    margin: 5px;
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 50px;
    transition: 0.3s;
}

.hero .btn:hover {
    transform: scale(1.05);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==============================
   Card Tasarımı
============================== */
.card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #222;
    opacity: 0;
    transform: translateY(30px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.card .info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    transition: opacity 0.4s;
}

.card:hover .info {
    opacity: 0;
}

.card h1 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.card p {
    font-size: 0.9rem;
}

/* Fade-in Animasyon */
.card.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ==============================
   Footer
============================== */
footer {
    background-color: #111;
    color: #ccc;
    padding: 50px 0 20px;
}

footer h5 {
    color: #ff4d4d;
}

footer a:hover {
    color: #cfc5c5;
}

footer .social-btn {
    font-size: 2rem;
    color: #ff4d4d;
}

/* ==============================
   Hover underline animation
============================== */
.hover-underline {
    font-size: 2rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

.hover-underline::after,
.hover-underline::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #ff0000, #1e2020);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.8s ease-out;
}

.hover-underline::before {
    top: -5px;
    transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
    transform: scaleX(1);
}

/* ==============================
   Responsive
============================== */
@media (max-width:768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .card img {
        height: 200px;
    }

    .menu-toggle {
        display: block;
    }

    #nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: #111;
        flex-direction: column;
        width: 200px;
        padding: 20px;
        display: none;
    }

    #nav-menu.active {
        display: flex;
    }
}

/* Yukarı Çık Butonu */
#scrollToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none; /* Başlangıçta gizli */
    transition: background 0.3s, transform 0.3s;
}

#scrollToTop:hover {
    background-color: #e02a2a;
    transform: scale(1.1);
}

.container #reklam{
  display: block;
    max-width: 100%;
    height: auto;
}
.container .list-group .list-group-item{
    border-bottom: 1px solid rgb(133, 10, 10);
}

s{
    color: red;
}