/* wwwroot/css/site.css - G?NCELLENM?? ST?LLER */

:root { /* Ana renkleri buradan y?netebilirsin */
    --primary-color: #000;
    --background-color: #fdfaf6; /* Hafif k?r?k beyaz */
    --card-background: #ffffff;
    --text-color: #333;
}

body {
    background-color: var(--background-color);
    font-family: 'Helvetica Neue', sans-serif;
}


/* YEN?: Kategori Grid Stilleri */
.category-grid {
    padding: 3rem 0;
}

.category-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 250px;
    margin-bottom: 2rem;
}

    .category-card:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

.category-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-card__image {
    transform: scale(1.1);
}

.category-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
}

.category-card__title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    z-index: 2;
}

.login-modern-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?q=80&w=2047&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    font-family: 'Poppins', sans-serif; /* Bu font i?in _LoginLayout'a link eklenmeli */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.login-container {
    max-width: 400px;
    width: 100%;
    animation: fadeInSlideUp 0.8s ease-out forwards;
}

.login-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* Safari deste?i i?in */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.form-input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: rgb(0, 0, 0, 0,50); /* Rengi daha soluk yapt?k */
    transition: color 0.3s;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 10px 10px 45px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

    .form-input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .form-input:focus {
        outline: none;
        border-bottom-color: #fff;
    }

        /* YEN?: Input focus oldu?unda ikon rengini de?i?tir */
        .form-input:focus + .input-icon {
            color: #fff;
        }

/* YEN?: ?ifre g?sterme g?z ikonu i?in stil */
.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: color 0.3s;
}

    .toggle-password:hover {
        color: #fff;
    }
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .login-header h1 {
        font-weight: 700;
        font-size: 2.5rem;
    }

    .login-header p {
        color: rgba(255, 255, 255, 0.8);
    }

.form-input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.7);
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 10px 10px 45px; /* ?kon i?in solda bo?luk */
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

    .form-input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .form-input:focus {
        outline: none;
        border-bottom-color: #fff;
    }

.btn-login-modern {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #8A2387, #E94057, #F27121); /* Canl? bir gradient */
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .btn-login-modern:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

.text-danger {
    font-size: 0.85rem;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
    margin-top: -1rem;
    margin-bottom: 1rem;
}


/* Sayfa a??l?? animasyonu */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.page-header {
    margin-bottom: 2rem;
}

.hero-section {
    position: relative;
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

.business-info {
    position: relative;
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

.business-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.8);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    object-fit: cover;
}

.business-info h1 {
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.category-nav {
    background-color: var(--card-background);
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow-x: auto;
    white-space: nowrap;
}

    .category-nav .nav-pills .nav-link {
        color: var(--text-muted-color);
        font-weight: 600;
        padding: 0.75rem 1.5rem;
        border-radius: 50px;
        margin: 0 0.25rem;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }

        .category-nav .nav-pills .nav-link.active,
        .category-nav .nav-pills .nav-link:hover {
            color: #fff;
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

.menu-content .tab-pane {
    display: none; /* JS ile kontrol edilecek */
    animation: fadeInUp 0.5s ease-out;
}

    .menu-content .tab-pane.active {
        display: block;
    }

.product-card {
    display: flex;
    background-color: var(--card-background);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

.product-image {
    width: 130px;
    height: 130px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-details {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
}

.product-description {
    font-size: 0.85rem;
    color: var(--text-muted-color);
    flex-grow: 1;
    margin: 0.25rem 0 1rem 0;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    align-self: flex-end; /* Fiyat? sa?a yaslar */
}

.footer-info {
    background-color: #212529;
    color: rgba(255,255,255,0.8);
    padding: 2.5rem 0;
    text-align: center;
}

/* Animasyonlar */
@keyframes fadeInDown {
    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);
    }
}

/* Custom Toggle Switch CSS */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #28a745; /* Ye?il Renk */
}

input:focus + .slider {
    box-shadow: 0 0 1px #28a745;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/* ========================================================================
   CUSTOM DATATABLES STYLES
   ======================================================================== */

/* Genel tablo ?er?evesi ve arama/sayfalama alanlar? */
.dataTables_wrapper {
    font-size: 0.9rem; /* Tablo i?indeki fontu biraz k???ltelim */
}

/* Tablo ba?l??? (thead) i?in daha ??k bir stil */
.table.dataTable thead th {
    background-color: #f8f9fa; /* Hafif gri arka plan */
    color: #495057; /* Koyu gri metin */
    border-bottom: 2px solid #dee2e6; /* Alt ?izgiyi belirginle?tir */
    font-weight: 600; /* Ba?l?klar? kal?n yap */
    white-space: nowrap; /* Ba?l?klar?n tek sat?rda kalmas?n? sa?la */
}

/* S?ralama ikonlar?n?n rengini de?i?tirme */
.table.dataTable thead .sorting:after,
.table.dataTable thead .sorting_asc:after,
.table.dataTable thead .sorting_desc:after {
    color: #adb5bd; /* ?konlar? daha soft bir renge ?ek */
}

/* Tablo sat?rlar? i?in hover efekti */
.table-hover > tbody > tr:hover {
    background-color: #e9ecef !important; /* !important, Bootstrap'in stilini ezmek i?in */
    cursor: pointer;
}

/* Sat?rlardaki h?creler i?in dikey hizalama ve padding */
.table.dataTable tbody td {
    vertical-align: middle; /* ??eri?i dikeyde ortala (resim, metin, butonlar) */
    padding: 0.75rem;
}

    /* Tablodaki butonlar?n etraf?na biraz bo?luk ekle */
    .table.dataTable tbody td .btn {
        margin-right: 5px;
    }

/* Arama kutusunu (filter) g?zelle?tirme */
.dataTables_filter input {
    border-radius: 20px !important; /* Arama kutusunu yuvarlak yap */
    padding: 6px 12px;
    border: 1px solid #ced4da;
    transition: all 0.2s ease-in-out;
}

    .dataTables_filter input:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

/* Sayfalama (pagination) butonlar?n? daha ??k yapma */
.dataTables_wrapper .pagination .page-item .page-link {
    border-radius: 50% !important; /* Butonlar? tam yuvarlak yap */
    margin: 0 3px;
    border: none;
    transition: all 0.2s ease-in-out;
}

.dataTables_wrapper .pagination .page-item.active .page-link {
    background-color: #007bff; /* Aktif sayfan?n rengi (AdminLTE ana rengi) */
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

.dataTables_wrapper .pagination .page-item:not(.active) .page-link:hover {
    background-color: #e9ecef;
}

/* Responsive (+) butonu i?in stil */
.table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before {
    background-color: #007bff; /* Art? ikonunun rengini ana renkle e?le?tir */
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}
.text h3 {
    color: #ffffff;
}
.subheading {
    color: #ffffff;
}
.footer-info h4 {
    color: #ffffff;
}
@media (max-width: 448px) {
	.pricing-entry .text h3 span {
		font-size: .95rem;
	}
	.pricing-entry .desc p {
		font-size: .9rem;
	}
}