
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f5f3ef;
    background-attachment: fixed !important;
    color: #333;
    height: 100%;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: #ff1c42;
    font-size: 2.5rem;
}

p {
    color: #666;
    font-size: 1rem;
    max-width: 870px;
}

.body-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

section {
    background: #fff;
    padding: 0.75rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    margin-right: 0.50rem;
    margin-left: 0.50rem;
    max-width: 870px;
    animation: fadeInUp 1s;
}


form {
    display: flex;
    flex-direction: column;
}

ul {
    margin-bottom: 1rem;
    margin-left: -1rem;
}

/* Medya Sorguları */
@media (max-width: 768px) {
    /* Tablet boyutları ve daha küçük cihazlar için */
    ul {
        margin-bottom: 1rem;
        margin-left: -2rem;
    }
}

@media (max-width: 480px) {
    /* Mobil cihazlar için */
    ul {
        margin-bottom: 1rem;
        margin-left: -2rem;
    }
}


li {
    margin-bottom: 1rem;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translatey(-20px);
    }
    to {
        opacity: 1;
        transform: translatey(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.entry {
    position: relative;
    background: none; /* Arka plan resmini kaldır */
    color: #fff;
    text-shadow: 5px 10px 15px rgba(0, 0, 0, 0.724);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 265px;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.entry::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/static/images/ssldnew2.jpg') no-repeat center center/cover;
    z-index: -1; /* İçerikten arka planda olacak */
    filter: blur(3px);
}

.entry-content {
    position: relative;
    z-index: 0; /* İçeriği blur efektinden üstte tut */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
    padding: 1rem;
}

.entry h2, .entry p {
    z-index: 1;
    color: white;
}

.entry h2 {
    font-size: 28px; /* Varsayılan büyük ekranlar için font boyutu */
}

/* Medya Sorguları */
@media (max-width: 768px) {
    /* Tablet boyutları ve daha küçük cihazlar için */
    .entry h2 {
        font-size: 28px; /* Tablet için daha uygun bir font boyutu */
    }
}

@media (max-width: 480px) {
    /* Mobil cihazlar için */
    .entry h2 {
        font-size: 28px; /* Mobil cihazlar için daha uygun bir font boyutu */
        line-height: 1.6;
    }
}

.image-text-section {
    overflow: hidden; /* Taşan içerikleri keser */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Gölge efekti */
    border-radius: 10px; /* Köşeleri yuvarlak yapar */
}

.image-container img {
    width: 100%; /* Resmi konteyner genişliğine sığdır */
    height: auto; /* Yüksekliği otomatik ayarla */
    display: block; /* Blok seviyesinde görüntüle, altında boşluk bırakmaz */
}

.text-container {
    padding: 20px;
    background-color: #fff; /* Metin konteyneri için arka plan rengi */
}


/* Medya Sorguları */
@media (max-width: 768px) {
    /* Tablet boyutları ve daha küçük cihazlar için */
    .text-container {
        padding: 10px;
        background-color: #fff; /* Metin konteyneri için arka plan rengi */
    }
}

@media (max-width: 480px) {
    /* Mobil cihazlar için */
    .text-container {
        padding: 10px;
        background-color: #fff; /* Metin konteyneri için arka plan rengi */
    }
}

.container-center {
    display: flex;
    text-align: center;
    justify-content: center;
}

/* Medya Sorguları */
@media (max-width: 768px) {
    /* Tablet boyutları ve daha küçük cihazlar için */
    .container-center {
        display: block;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Mobil cihazlar için */
    .container-center {
        display: block;
        text-align: center;
        justify-content: center;
    }
}

.text-container h2 {
    margin-top: 0; /* Üstte boşluk bırakmaz */
    color: #333; /* Başlık rengi */
}

.text-container p,
.text-container li {
    color: #666; /* Paragraf metni rengi */
    line-height: 1.6; /* Satır yüksekliği */
}

.btn2 {
    display: flex;
    padding: 0.75em 1.5em;
    margin: 10px 0;
    text-decoration: none;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    justify-content: center;
}

.btn-section {
    display: flex;
    padding: 0.75em 1.5em;
    margin: 10px 0;
    text-decoration: none;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    justify-content: center;
    float: right;
}

.btn-primary {
    background-color: #fd284c;
    color: white;
    border: none;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #ce0325;
    color: white;
}

/* Tablo çevresinde kaydırılabilir bir alan oluşturur */
.contacts-container {
    overflow-x: auto; /* Yatay olarak kaydırılabilir yapar */
}

.contacts-table {
    width: 90%; /* Tablonun genişliği */
    border-collapse: collapse; /* Hücre aralarındaki çift çizgileri kaldırır */
    margin: 20px 0; /* Üst ve alttaki boşluğu ayarlar */
    inline-size: fit-content;
}

.contacts-table th,
.contacts-table td {
    border: 1px solid #ddd; /* Hücre çerçeveleri */
    padding: 8px; /* İç boşluk */
    text-align: left; /* Metin hizalaması */
}

.contacts-table th {
    background-color: #f4f4f9; /* Başlık arka plan rengi */
    color: #333; /* Başlık metin rengi */
    font-weight: bold; /* Başlık font kalınlığı */
}

.contacts-table tr:nth-child(even) {
    background-color: #f9f9f9; /* Çift satırlar için arka plan rengi */
}

.contacts-table tr:hover {
    background-color: #f1f1f1; /* Üzerine gelindiğinde arka plan rengi */
}

.contacts-table td {
    color: #666; /* Hücre metin rengi */
}

/* Küçük cihazlar için özel medya sorguları */
@media (max-width: 768px) {
    .contacts-table th, .contacts-table td {
        display: inline-flex;
    }

    .contacts-table tr {
        margin-bottom: 10px;
        border-bottom: 1px solid #ccc;
    }

    .contacts-table th {
        display: none;  /* Başlıkları gizle */
    }

    .contacts-table td {
        text-align: right;
        padding-left: 50%;  /* Metni sağa yasla */
        position: relative;
    }

    .contacts-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .contacts-table th, .contacts-table td {
        display: inline-flex;
    }

    .contacts-table tr {
        margin-bottom: 10px;
        border-bottom: 1px solid #ccc;
    }

    .contacts-table th {
        display: none;  /* Başlıkları gizle */
    }

    .contacts-table td {
        text-align: right;
        padding-left: 50%;  /* Metni sağa yasla */
        position: relative;
    }

    .contacts-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }
}

/* Webkit tarayıcılar için genel scrollbar stilini ayarla */
::-webkit-scrollbar {
    width: 15px; /* Dikey scrollbar genişliği */
    height: 15px; /* Yatay scrollbar yüksekliği */
}

::-webkit-scrollbar-thumb {
    background-color: #fd284c; /* Pembe renk */
    border-radius: 3px; /* Kenarları yuvarlat */
    border: 3px solid #fd284c; /* Kenarlık rengi ve genişliği */
}

/* Scrollbar track (arka plan) için stil */
::-webkit-scrollbar-track {
    background-color: #fde4e6; /* Açık pembe arka plan rengi */
    border-radius: 3px; /* Kenarları yuvarlat */
}

/* Scrollbar üzerine geldiğinde thumb'ın stilini değiştir */
::-webkit-scrollbar-thumb:hover {
    background-color: #e42545; /* Daha koyu bir pembe tonu */
}

.sticky-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white; /* Yazı rengi */
    text-align: center;
    padding: 10px 0; /* Üst ve alt boşluk */
}

.sticky-footer .container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-footer button {
    padding: 8px 16px;
    background-color: #007BFF; /* Buton rengi */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.slider-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    background-color: #000000;
}

.mySlides {
    display: none;
}

img {
    vertical-align: middle;
}

/* Slider kontrolleri */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.fade {
    animation-name: fade;
    animation-duration: 2s;
}

@keyframes fade {
    from {opacity: .5}
    to {opacity: 1}
}

.serve-a {
    text-decoration: none;
    color: #333;
    font-size: 17px;
    font-weight: 650;
}

.serve-a:hover {
    color: #fd284c; /* Hover effect for navigation links */
}

.banner {
    position: relative;
    width: 100%;
    height: 500px; /* Banner yüksekliği */
    overflow: hidden;
    margin-top: -100px;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8)); /* Degrade renk */
    backdrop-filter: blur(3px); /* Blur efekti */
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}

.banner-content h1 {
    font-size: 55px;
    color: #fff;
    margin-bottom: 20px;
}

.banner-content p {
    color: #fff;
    font-size: 35px;
    line-height: 2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    font-size: 20px;
    padding: 10px 30px;
    background-color: #fa5d3d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ff664b;
}

@media (max-width: 768px) {
    .banner {
        height: 500px; /* Mobil cihazlar için banner yüksekliği */
        margin-top: -40px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 500px; /* Mobil cihazlar için banner yüksekliği */
        margin-top: -40px;
    }
}

.contact-buttons a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background-color: #ff2020;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: large;
}

.contact-buttons a i {
    margin-right: 5px;
}

.contact-buttons a:hover {
    background-color: #b30000;
}