/* custom.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter/Inter.ttc') format('ttc'),
    url('/fonts/InterVariable.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Inter', sans-serif;
}

 /*span, b, strong, p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word !important;
    word-break: break-word !important;
}*/

    /* Index-Blog styling */
.bl-bg {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px) brightness(150%) contrast(120%);
    border-radius: 0.5rem;
    padding: 1rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #ffffff;
}

.bl-bg:hover .button {
    transform: translateX(10px);
}

.blog-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.blog-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-item .content {
    position: relative;
    z-index: 1;
}

.bg-sc {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

details[open] .faq-content {
    max-height: 500px; /* İçeriğin yüksekliğine göre ayarlayın */
}


.transition-max-height {
    transition: max-height 0.5s ease-in-out;
}

details[open] .faq-content {
    max-height: 200px; /* İçeriğin yüksekliğine göre ayarlayın */
}

.bg-60 {
    background-color: rgb(255 255 255 / 60%);
    backdrop-filter: blur(10px) brightness(150%) contrast(120%);
}

.bg-80 {
    background-color: rgb(255 255 255 / 80%);
    backdrop-filter: blur(10px) brightness(150%) contrast(120%);
}

.bg-90 {
    background-color: rgb(255 255 255 / 90%);
    backdrop-filter: blur(4px) brightness(100%) contrast(100%);
}

.text-shadow {
    @apply text-shadow-md;
}

.tx-sc {
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #00214e;
}

.tx-sc-div h1,
.tx-sc-div h2,
.tx-sc-div h3,
.tx-sc-div h4,
.tx-sc-div h5,
.tx-sc-div h6,
.tx-sc-div b {
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #00214e;
}
/*.tx-sc-div h1,*/
/*@apply text-4xl font-bold;*/
h1 {
    font-size: 1.75rem !important;
    line-height: 2rem !important;
}

/*.tx-sc-div*/
h2 {
    /*@apply text-3xl font-semibold;*/
    font-size: 1.65rem !important;
    line-height: 1.85rem !important;
}

/*.tx-sc-div*/
h3 {
    /*@apply text-2xl font-medium;*/
    font-size: 1.5rem !important;
    line-height: 1.75rem !important;
}

/*.tx-sc-div */
h4 {
    font-size: 1.35rem !important;
    line-height: 1.65rem !important;
    /*@apply text-xl font-normal;*/
}

/*.tx-sc-div */
h5 {
    /*@apply text-lg font-light;*/
    font-size: 1rem !important;
    line-height: 1.65rem !important;
}

/*.tx-sc-div */
h6 {
    /*@apply text-base font-thin;*/
    font-size: 0.75rem !important;
    line-height: 1.5rem !important;
}

.tx-sc-div b {
    @apply font-bold;
}

.bg-bo {
    @apply bg-white-95;
}

hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 20%;
  margin-left: auto;
  margin-right: auto;
}


.hidden {
    display: none;
}

.text-danger {
    font-size: 0.85rem;
    color: red;
}

input, textarea {
    padding: 0 10px;
}

.grid-column-2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
}

.grid-column-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

.grid-column-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
}

.grid-column-5 {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
}


.select2-selection {
    height: 36px !important;
}

.select2-container--default .select2-selection, .select2-container--default .select2-selection--multiple {
    border-color: rgb(203 213 225);
}

.select2-container--default.select2-container--focus .select2-selection,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #4f46e5;
    border-width: 2px;
}

.btn-loader {
    width: 25px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 4px solid;
    border-color: #000 #0000;
    animation: l1 1s infinite;
}


.ck-editor__editable {
    height: 400px;
    background-color: #fff;
    border-color: rgb(209 213 219) !important;
    border-radius: 5px !important;
}

.ck-editor__editable:focus {
    border-color: rgb(79 70 229) !important;
    border-width: 2px !important;
}

.dz-clickable {
    border-color: rgb(209 213 219) !important;
    border-radius: 5px !important;
    border-width: 1px !important;
}

.usaged-images {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

#hover-menu:hover .mega-menu {
    display: block !important;
    visibility: visible !important;
}

.mega-menu div[data-parent^=sub-menu-] {
    display: none;
}

.mega-menu div[data-parent^=sub-menu-1] {
    display: flex;
}


/* MENU */
.bg-20,.bg-30,.bg-40,.bg-50,.bg-60,.bg-70,.bg-80 {
    backdrop-filter: blur(10px) brightness(150%) contrast(120%);
}
.bg-10, .bg-20 {
    backdrop-filter: blur(2px) brightness(120%) contrast(120%):
}
#hover-div,
.mega-menu {
    left: 0;
    width: 100%
}
#hover-div,
.mega-menu,
.toggle-input,
.toggle-input:not(checked) ~ .mega-menu {
    display: none
}
#hover-button:hover + #hover-div,
.hoverable:hover .mega-menu,
.toggle-input:checked ~ .mega-menu {
    display: block
}
.bg-10 {
    background-color: rgba(255,255,255,.1)
}
.bg-20 {
    background-color: rgba(255,255,255,.2)
}
.bg-30 {
    background-color: rgba(255,255,255,.3)
}
.bg-40 {
    background-color: rgba(255,255,255,.4)
}
.bg-50 {
    background-color: rgba(255,255,255,.5)
}
.bg-60 {
    background-color: rgba(255,255,255,.6)
}
.bg-70 {
    background-color: rgba(255,255,255,.7)
}
.bg-80 {
    background-color: rgba(255,255,255,.8)
}
.mega-menu {
    position: absolute;
    text-align: left
}
.bg-sc,
.blog-item {
    box-shadow: rgba(0,0,0,.2) 0 4px 8px
}
.bg-90 {
    background-color: rgba(255,255,255,.9);
    backdrop-filter: blur(4px) brightness(100%) contrast(100%)
}
.tx-sc,
.tx-sc-div b,
.tx-sc-div h1,
.tx-sc-div h2,
.tx-sc-div h3,
.tx-sc-div h4,
.tx-sc-div h5,
.tx-sc-div h6 {
    text-shadow: rgba(0,0,0,.1) 0 4px 6px;
    color: #00214e;
    margin-top: 2px;
    margin-bottom: 2px
}
.wb-tsc {
    text-shadow: -1px 1px 4px rgb(255 255 255);
}
.bl-bg,
.toggle-input:checked + label {
    color: #fff;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial
}
.bl-bg {
    background-color: rgba(255,255,255,.5);
    backdrop-filter: blur(10px) brightness(150%) contrast(120%);
    border-radius: .5rem;
    padding: 1rem;
    bottom: 0;
    right: 0
}
.toggle-input:checked + label {
    background-color: #10b981
}
.bl-bg:hover .button {
    transform: translateX(10px)
}
.blog-item img {
    width: 100%;
    height: auto;
    object-fit: cover
}
.blog-item .content {
    position: relative;
    z-index: 1
}
.hoverable > a::after,
.toggleable > label::after {
    content: "▼";
    font-size: 10px;
    padding-left: 6px;
    position: relative;
    top: -1px
}
.toggle-input:checked ~ label::after {
    font-size: 10px;
    padding-left: 6px;
    position: relative;
    top: -1px;
    content: "▲"
}
.hoverable {
    position: static
}
#hover-div {
    position: fixed;
    top: 0;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 1000
}


.image-style-align-left {
    float: left;
    margin-right: 20px;
}

.image-style-align-right {
    float: right;
    margin-left: 20px;
}

.blog-cover-sm {
    height: 400px !important;
}

.hidden-content {
    filter: blur(4px);
}
.acc h2 {
    font-size: 1.1rem !important;
    text-shadow: rgba(0, 0, 0, .1) 0 4px 6px;
        color: #00214e !important;
        margin-top: 2px !important;
        margin-bottom: 2px !important;
}



/* PAGINATION */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.375rem;
}

.page-link {
    position: relative;
    display: block;
    color: #0d6efd;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 0.375rem 0.75rem;
    margin-left: -1px;
}

.page-link:hover {
    z-index: 2;
    color: #0a58ca;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-link:focus {
    z-index: 3;
    color: #0a58ca;
    background-color: #e9ecef;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination-lg .page-link {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
}

.pagination-lg .page-item:first-child .page-link {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.pagination-lg .page-item:last-child .page-link {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.pagination-sm .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.pagination-sm .page-item:first-child .page-link {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.pagination-sm .page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.page-link {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 50px;
}


/* Mobil menüyü varsayılan olarak gizle */
#mobile-menu {
    display: none; /* Mobil menü varsayılan olarak gizli */
}





@keyframes l1 {
    to {
        transform: rotate(.5turn)
    }
}


@media (min-width: 1024px) {
    .dropdown-menu {
        left: -60px;
    }
}
/* Ekran genişliği 640px (sm breakpoint) ve üstü için */
@media (min-width: 640px) {
    #mobile-menu {
        display: none; /* Ekran genişse mobil menüyü gizle */
    }

    .desktop-menu {
        display: block; /* Ekran genişse masaüstü menüyü göster */
    }
}

/* Ekran genişliği 640px (sm breakpoint) altı için */
@media (max-width: 639px) {
    .desktop-menu {
        display: none; /* Ekran dar ise masaüstü menüyü gizle */
    }

    .image-style-align-left, .image-style-align-right {
        float: none;
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 1023px) {
    .search-products {
        height: 500px;
    }
}
@keyframes slideLeft {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.content-slide-left {
    animation: slideLeft 0.8s ease-in-out;
}

.content-slide-right {
    animation: slideRight 0.8s ease-in-out;
}

.image-filter {
    transition: filter 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.image-filter.active {
    filter: blur(0);
    opacity: 1;
}
@layer utilities {
    @keyframes zoom {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.2);
            opacity: 0.8;
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    .animate-zoom {
        animation: zoom 16s infinite ease-in-out;
    }

