﻿
#html-editor {
    height: 100vh;
    width: 100%;
    border: 1px solid #ccc;
}

#preview-frame {
    height: 100vh;
    width: 100%;
    border: 1px solid #ccc;
}

.image-flex-wrapper {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 1em;
}

    .image-flex-wrapper img {
        max-width: 200px;
        height: auto;
        display: block;
    }

.image-text-content {
    min-width: 300px;
    min-height: 150px;
    border: 1px dashed #ccc;
    padding: 8px;
    outline: none;
    white-space: normal;
}
.image-text-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    table-layout: fixed; /* genişliklerin korunması için */
}

    .image-text-table td {
        vertical-align: top;
        padding-right: 10px;
    }

        /* Sabit genişlik yerine max-width ile esnek genişlik */
        .image-text-table td:first-child {
            width: 260px; /* geniş ekranlar için */
            max-width: 40vw; /* küçük ekranlarda genişliği sınırla */
        }

    /* Resmin kutudan taşmaması için */
    .image-text-table img {
        max-width: 100%;
        height: auto;
        display: block;
    }

/* Küçük ekranlar için medya sorgusu */
@media (max-width: 600px) {
    .image-text-table {
        display: block;
    }

        .image-text-table tr {
            display: block;
        }

        .image-text-table td {
            display: block;
            width: 100% !important;
            padding-right: 0 !important;
        }
}

.auto-title {
    white-space: nowrap; /* Satır kırılmasını önler */
    font-size: clamp(8px, 8vw, 55px); /* Minimum 28px, maksimum 55px, ekran genişliğine göre otomatik */
}

.auto-subtitle {
    white-space: nowrap;
    font-size: clamp(5px, 5vw, 40px); /* Minimum 18px, maksimum 40px, ekran genişliğine göre otomatik */
}
.auto-text {
    font-size: clamp(3px, 2vw, 20px); /* Minimum 14px, maksimum 20px, ekran genişliğine göre otomatik */
    line-height: 1.6; /* Okunabilirliği artırır */
}

    .htmldiv img {
        max-width: 100%;
        height: auto;
    }
#sidebar {
    width: 250px;
    height: 100vh;
    background-color: #0F223D;
    color: white;
    position: fixed;
    transition: width 0.3s ease;
}

    #sidebar.collapsed {
        width: 150px;
    }

    #sidebar .nav-link {
        color: white;
        padding-left: 2rem;
    }

        #sidebar .nav-link:hover {
            background-color: #495057;
        }

    #sidebar .menu-text {
        display: inline;
    }

    #sidebar.collapsed .menu-text {
        display: none;
    }

    #sidebar .logo {
        padding: 1rem;
        text-align: center;
    }

#toggleSidebar {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    margin-left: 0.5rem;
}

#main-content {
    margin-left: 250px;
    padding: 2rem;
    transition: margin-left 0.3s ease;
}

#sidebar.collapsed + #main-content {
    margin-left: 150px;
}

.navbar{
    background-color:#0F223D;
}

#btn-uye-giris {
    background-color: #F26716;
    color: white;
    font-weight: bold;
    border-radius: 20px;
}

#btn-bagis-yap {
    background-color: #2EA64C;
    color: white;
    font-weight: bold;
    border-radius: 20px;
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: grey !important;
    font-size: 20px;
  
}

.dropdown-toggle::after {
    margin-left: 5px;
}


.dropdown-menu {
    background-color: grey !important; /* Açık gri */
}

    .dropdown-menu .dropdown-item {
        color: white !important;
        background-color: lightslategrey !important;
        /* Yazı rengi siyah */
        font-size: 20px !important;
    }
.full-width-card {
    width: 100%;
}


.contact-box {
    border: 1px solid #ccc;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-title {
    font-weight: bold;
    color: #b35a00;
    font-size: 2rem;
}

.btn-orange {
    background-color: #ff7a00;
    color: #fff;
    border-radius: 20px;
    padding: 8px 25px;
    font-weight: bold;
}

    .btn-orange:hover {
        background-color: #e56d00;
    }

.contact-info i {
    font-size: 1.5rem;
    color: #ff7a00;
}

.contact-info p {
    margin: 0;
}


#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white; /* İstersen arka plan rengini değiştir */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


.img-fixed {
    width: 100%;
    height:400px;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

    .card-hover:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    }
/* Logonun başlangıç stili */
#loader-logo {
    width: 150px;
    transform: translateZ(0) scale(1);
    animation: logoForward 2s ease forwards;
}

/* Animasyon: öne doğru gelme + büyüme efekti */
@keyframes logoForward {
    0% {
        transform: translateZ(0) scale(1);
        opacity: 1;
    }

    70% {
        transform: translateZ(80px) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translateZ(200px) scale(0);
        opacity: 0;
    }
}

.full-height-img {
    height: 100%;
    object-fit: cover;
}
.circle-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: lightcoral;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.footer-wrapper {
    background-color: #0F223D;
    color: #fff;
    font-family: sans-serif;
    padding: 30px;

}

.footer-container {
    display: flex;
    flex-wrap: wrap;
   justify-content: space-between;
    gap:10px;

}


.footer-column {
    flex: 1;
    min-width: 150px;
    border-right: 2px solid white;
}




.imgIcon {
    width: 28px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

    .footer-column h4 {
        margin-bottom: 15px;
        color: #f0a500;
    }

    .footer-column p {
      
        font-size: 15px;
    }

.social-icons a img {
    width: 28px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

    .social-icons a img:hover {
        transform: scale(1.1);
        filter: brightness(1);
    }

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #444;
    font-size: 13px;
}

