﻿@tailwind base;
@tailwind components;

@layer utilities {
    .rotate-45 {
        transform: rotate(45deg) !important;
    }
    .hidden {
        display: none;
    }
    .mt-4 {
        margin-top: 16px !important;
    }
    .tracking-wider {
        letter-spacing: 0.05em !important;
    }
    .contrast-50 {
        filter: contrast(.5) !important;
    }
    .absolute {
        position: absolute !important;
    }
    .left-2 {
        left: 2% !important;
    }
    .left-4 {
        left: 4% !important;
    }
    .left-8 {
        left: 8% !important;
    }
    .left-10 {
        left: 10% !important;
    }
    .left-55 {
        left: 55% !important;
    }
    .left-62 {
        left: 62% !important;
    }
    .text-start {
        text-align: start !important;
    }
    .text-end {
        text-align: end !important;
    }
    .pt-88px {
        padding-top: 88px !important;
    }

    .h-contact-banner {
        height: 61vh !important;
    }
    @media screen and (max-width: 768px) {
        .h-contact-banner {
            height: 21vh !important;
        }
    }
    .h-contact-banner-text {
        top: 30% !important;
    }
    @media screen and (max-width: 768px) {
        .h-contact-banner-text {
            top: 18% !important;
        }
    }

    .h-36 {
        height: 36px !important;
    }
    .h-80 {
        height: 80px !important
    }
    .h-88px {
        height: 88px !important
    }
    .h-320px {
        height: 320px !important
    }
    .h-400px {
        height: 420px !important
    }
    .h-45vh {
        height: 45vh !important;
    }
    .h-100vh {
        height: 100vh !important;
    }
    @media screen and (max-width:1024px) {
        .h-100vh {
            height: 100vh !important;
        }
    }
    .w-80 {
        width: 80px !important;
    }
    .w-150 {
        width: 150px !important;
    }
    .w-190 {
        width: 190px !important;
    }
    .w-280 {
        width: 280px !important;
    }
    .w-350 {
        width: 350px !important;
    }
    .w-600 {
        width: 600px !important;
    }
    .w-740 {
        width: 740px !important;
    }
    .w-1000 {
        width: 1000px !important;
    }
    .w-1450 {
        width: 1450px !important;
    }
    .w-1500 {
        width: 1500px !important;
    }
    .text-faq-color {
        color: #054a85 !important;
    }
    .text-erp-color {
        color: #1b4058 !important;
    }
    .text-white-color {
        color: #ffffff !important;
    }
    .text-white-hover-color:hover {
        color: #ffffff !important;
    }
    .text-blue-color {
        color: #2e8fce !important;
    }
    .text-blue-hover-color:hover {
        color: #2e8fce !important;
    }
    .text-contact-form {
        color: #212529 !important;
    }
    .bg-header {
        background-color: rgba(248, 249, 250, 0.95) !important;
    }
    .bg-blue-color {
        background-color: #2e8fce !important;
        transition: background-color 0.3s ease !important;
    }
    .bg-blue-hover-color:hover {
        background-color: #2e8fce !important;
    }
    .bg-gray-color {
        background-color: #eaebec !important;
        transition: background-color 0.3s ease !important;
    }
    .bg-gray-hover-color:hover {
        background-color: #eaebec !important;
    }
    .bg-black-color {
        background-color: #1A1A1A !important;
    }
    .bg-black-hover-color:hover {
        background-color: #1A1A1A !important;
    }
    .bg-contact-form {
        background-color: #212529 !important;
    }
    .bg-sosyal-medya {
        background-color: #f1f8ff !important;
    }
    .bg-opacity-60 {
        background-color: rgba(46, 143, 206, 0.6) !important;
    }
    .border-blue-hover-color:hover {
        border-color: #2e8fce !important;
    }
}

@tailwind utilities;

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

header {
    z-index: 100 !important;
    position: fixed !important;
}

div main {
    z-index: 10 !important;
}

body {
    font-family: "Work Sans", sans-serif;
    margin: auto;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

/* Snippets Starts */
.snip1585 {
    background-color: linear-gradient(to right, #2e8fce, black);
    color: #fff;
    display: inline-block;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    min-width: 230px;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
}

    .snip1585 * {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all 0.45s ease;
        transition: all 0.45s ease;
    }

    .snip1585:before,
    .snip1585:after {
        background-color: rgba(46, 52, 64, 0.5);
        border-top: 70px solid rgba(26, 26, 26, 0.5);
        border-bottom: 70px solid rgba(26, 26, 26, 0.5);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        content: "";
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        z-index: 1;
        opacity: 0;
    }

    .snip1585:before {
        -webkit-transform: scaleY(2);
        transform: scaleY(2);
    }

    .snip1585:after {
        -webkit-transform: scaleY(2);
        transform: scaleY(2);
    }

    .snip1585 img {
        vertical-align: top;
        max-width: 100%;
        backface-visibility: hidden;
    }

    .snip1585 figcaption {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        align-items: center;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.1em;
        opacity: 0;
        z-index: 2;
        -webkit-transition-delay: 0s;
        transition-delay: 0s;
    }

    .snip1585 h3 {
        font-size: 1em;
        font-weight: 400;
        letter-spacing: 1px;
        margin: 0;
        text-transform: uppercase;
    }

        .snip1585 h3 span {
            display: block;
            font-weight: 700;
        }

    .snip1585 a {
        z-index: 3;
    }

    .snip1585:hover > img,
    .snip1585.hover > img {
        opacity: 0.7;
    }

    .snip1585:hover:before,
    .snip1585.hover:before,
    .snip1585:hover:after,
    .snip1585.hover:after {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }

    .snip1585:hover figcaption,
    .snip1585.hover figcaption {
        opacity: 1;
        -webkit-transition-delay: 0.1s;
        transition-delay: 0.1s;
    }
/* Snippets Ends */

/* Header Categories Border */
.catMenu:after {
    display: block;
    content: "";
    border-bottom: solid 3px #2e8fce;
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
    transform-origin: 0% 50%;
}

.catMenu:hover:after {
    transform: scaleX(1);
}

/* Header Dropdown */
.catMenu:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 88px;
    text-align: start;
    background-color: #fff;
}

    .dropdown li a {
        padding: 20px 60px;
        border-bottom: 1px solid #c1c3c4;
        width: 100%;
        display: block;
    }

/*.dropdown-menu:hover {
    border-left: 8px solid #2e8fce;
}*/

.dropdown-menu:hover .subMenu {
    display: block;
}

.subMenu {
    display: none;
    position: absolute;
    left: 265px;
    text-align: start;
    background-color: #fff;
    width: 100%;
}

.subMenu li {
    box-sizing: border-box;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.dropdown-menu {
    box-sizing: border-box !important;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.dropdown .dropdown-menu:hover {
    border-left: 6px solid #2e8fce !important;
}
.subMenu li:hover {
    border-left: 6px solid #2e8fce !important;
}

/* Footer */
.links:after {
    display: block;
    content: "";
    border-bottom: solid 2px #2e8fce;
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
}

.links:hover:after {
    transform: scaleX(1);
}

.links:after {
    transform-origin: 0% 50%;
}

/* Banner Top Swiper Slider */
.swiper-container {
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
}

@media screen and (max-width: 1024px) {
    .swiper-container {
        width: 100%;
        height: auto;
        position: relative;
        top: 88px !important;
        overflow: hidden !important;
    }
    .banner-about {
        padding-top: 88px !important;
    }
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #eaebec;
    /* Center slide text vertically */
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.slider-button {
    border: 2px solid #2e8fce;
    background-color: #2e8fce;
    color: white;
}
.slider-button:hover {
    border: 2px solid white;
    background-color: white;
    color: #2e8fce;
}

.shadow-bottom {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.swiper-pagination-bullet-active {
    background-color: rgb(46 143 206) !important;
}

.swiper-pagination-bullet {
    border-radius: 0% !important;
    width: 50px !important;
    height: 4px !important;
    margin: 0px !important;
}

.swiper-button-prev,
.swiper-button-next {
    color: #2e8fce !important;
}

@media screen and (max-width: 600px) {
    .swiper-pagination-bullet {
        border-radius: 0% !important;
        width: 30px !important;
        height: 3px !important;
        margin: 0px !important;
    }
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* References */
.reference img {
    padding: 12px;
}

.max-h-0 {
    max-height: 0;
}

.group:focus .group-focus\:max-h-40 {
    max-height: 10rem;
}

/* Telefon ve E-mail kopyalanamaz */
.phone,
.e-mail {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.listimage li {
    margin: 0;
    padding-left: 40px;
    list-style: none !important;
    background-image: url("/assets/icons/check.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 30px;
}

@media screen and (max-width: 1440px) {
    .slider {
        width: 40%;
    }
}

/* Sayaç Sayfaları FAQ Accordionlar */
.truncatetext {
    width: 100% !important;
    word-wrap: break-word !important;
}

.accordion {
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2212";
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
/* Sayaç Sayfaları FAQ Accordionlar Son */

/* Hamburger Menu */
#hamburger {
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-left: 20px;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: black;
    transition: all 0.3s ease;
}

#hamburger.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#hamburger.open .bar:nth-child(2) {
    opacity: 0;
}

#hamburger.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hamburger-menu {
    display: none;
    width: 100%;
    height: auto;
    background-color: #f8f9fa;
    position: fixed;
    top: 87px;
}

.hamburger-menu.show {
  display: block;
}
/* Hamburger Menu Son */

/* Mobile Dropdown */
main-list {
    overflow: auto;
}

.sub-list {
    display: none;
}

.sub-list.active {
    display: block;
}

.sub-sub-list {
    display: none;
    text-align: start;
}

.sub-sub-list.active {
    display: block;
}

.active:after {
    content: "";
}
/* Mobile Dropdown Son */