@charset "UTF-8";

/* --- RESET & ROOT VARIABLES --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors */
    --color-primary: #1a91e5;
    --color-secondary: #e03a3c;
    --color-dark: #111111;
    --color-dark-accent: #102b3e;
    --color-light: #ffffff;
    --color-text: #484848;
    --color-border: #eaeaea;
    --color-background-light: #f8f9fa;
    --bs-primary: #1a91e5; /* For compatibility with nav-tabs */
    --bs-dark: #212529; /* For compatibility with nav-tabs */

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 60px;

    /* Breakpoints */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;

    /* Fonts */
    --font-primary: 'Rubik', sans-serif;
    --font-secondary: "Raleway", sans-serif;
}

/* --- GLOBAL & BASE STYLES --- */
body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- HEADER --- */
#header-top {
    background: var(--color-dark-accent);
    color: var(--color-light);
}

/* Header Category */
.category-level-1>ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style-type: none;
}

.category-level-1>ul>li {
    position: relative;
    list-style-type: none; /* Inherited from .navbar-item */
}

.category-level-1>ul>li>a {
    display: flex;
    align-items: center;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    padding: var(--space-sm) var(--space-md);
    letter-spacing: .2px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.category-level-1>ul>li:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    left: 0;
    bottom: 0;
    background-color: var(--color-border);
    opacity: 0;
    border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    visibility: hidden;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.category-level-1>ul>li:hover:before {
    opacity: 1;
    visibility: visible;
}

.category-level-1>ul>li:not(:last-child):after {
    content: "";
    position: absolute;
    right: -2.5px;
    top: 50%;
    width: 5px;
    height: 5px;
    background-color: #CBE8EC;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.navbar-item {
    list-style-type: none;
}

.navbar-link:hover,
.category-level-1>ul>li>a:hover {
    color: var(--color-primary);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

/* --- CARDS & WIDGETS --- */
.suggest-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

.suggest-card::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    transition: all linear .3s;
}

.suggest-card:hover::before {
    background: rgba(0, 0, 0, 0.9);
}

.suggest-card img {
    width: 100%;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

.suggest-card h5 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    padding: 0 10px;
    text-align: center;
    color: var(--color-light);
    font-weight: 400;
    text-transform: capitalize;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /* Mobile styles */
    font-size: 16px;
    line-height: 24px;
}

.suggest-card h5 span {
    display: block;
    font-weight: 300;
    /* Mobile styles */
    font-size: 14px;
}

.card-center-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.product-card {
    border: 1px solid var(--color-border);
    -webkit-transition: border 0.2s ease;
    -moz-transition: border 0.2s ease;
    transition: border 0.2s ease;
}

.product-card:hover {
    border: 1.5px solid #000000 !important;
}

.product-card:hover .btn.btn-light {
    background-color: #dc3545 !important;
    color: var(--color-light) !important;
}

/* --- BLOG SECTION --- */
.blog .card {
    border: 0;
    padding: 160px 20px 20px 20px;
    position: relative;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.blog .card-body {
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    transition: ease-in-out 0.4s;
    -webkit-transition: ease-in-out 0.4s;
    -moz-transition: ease-in-out 0.4s;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.blog .card-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.blog .card-title a {
    color: #473d3a;
}

.blog .card-text {
    color: #4b4949;
}

.blog .read-more a {
    color: #656262;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    transition: 0.4s;
}

.blog .read-more a:hover {
    text-decoration: underline;
}

.blog .card:hover .card-body {
    background: #5653ff;
}

.blog .card:hover .read-more a,
.blog .card:hover .card-title,
.blog .card:hover .card-title a,
.blog .card:hover .card-text {
    color: var(--color-light);
}


/* --- FOOTER --- */
#footer {
    color: var(--color-light);
    font-size: 14px;
    background: #414141;
}

#footer .footer-top {
    padding: var(--space-xxl) 0 var(--space-lg) 0;
    background: #434343;
}

#footer .footer-top .footer-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

#footer .footer-top .footer-contact,
#footer .footer-top .footer-links,
#footer .footer-top .footer-newsletter {
    margin-bottom: var(--space-lg);
    flex: 1 1 100%;
}

#footer .footer-top .footer-contact h3 {
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
}

#footer .footer-top .footer-contact h3 span {
    color: var(--color-secondary);
}

#footer .footer-top .footer-contact p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: var(--font-secondary);
}

#footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

#footer .footer-top h4::after {
    content: "";
    position: absolute;
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-secondary);
    bottom: 0;
    left: 0;
}

#footer .footer-top .footer-links ul {
    list-style: none;
}

#footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: var(--color-light);
    font-size: 18px;
    line-height: 1;
}

#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #aaaaaa;
    display: inline-block;
    line-height: 1;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    transition: 0.3s;
}

#footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: var(--color-light);
}

#footer .footer-newsletter {
    font-size: 15px;
}

#footer .footer-newsletter form {
    margin-top: 30px;
    background: var(--color-light);
    padding: 5px 10px;
    position: relative;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    text-align: left;
}

#footer .footer-newsletter form input[type=email] {
    border: 0;
    padding: 4px 8px;
    width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    border: 0;
    background: var(--color-secondary);
    font-size: 16px;
    padding: 0 20px;
    color: var(--color-light);
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type=submit]:hover {
    background: #e35052;
}

#footer .credits {
    padding-top: 5px;
    font-size: 13px;
}

#footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #2b2b2b;
    color: var(--color-light);
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    transition: 0.3s;
}

#footer .social-links a:hover {
    background: var(--color-secondary);
    color: var(--color-light);
    text-decoration: none;
}

/* --- AUTOCOMPLETE --- */
.autoComplete_wrapper {
    display: inline-block;
    position: relative;
    width: 100%;
}

.autoComplete_wrapper>input {
    height: 40px;
    padding-left: 20px;
    font-size: 1rem;
    color: #7b7b7b;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border: 0;
    outline: 0;
    background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="25px" height="25px" viewBox="0 0 511.999 511.999"><path d="M508.874,478.708L360.142,329.976c28.21-34.827,45.191-79.103,45.191-127.309C405.333,90.917,314.416,0,202.667,0S0,90.917,0,202.667s90.917,202.667,202.667,202.667c48.206,0,92.482-16.982,127.309-45.191l148.732,148.732c4.167,4.165,10.919,4.165,15.086,0C513.04,489.627,513.04,482.873,508.874,478.708z M202.667,362.667c-88.229,0-160-71.771-160-160s71.771-160,160-160s160,71.771,160,160S290.896,362.667,202.667,362.667z"/></svg>');
    background-size: 1.4rem;
    background-position: right 1.05rem top .5rem;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-color: var(--color-light);
    width: 18rem; /* Mobile default width */
}

.autoComplete_wrapper>input::placeholder {
    color: rgba(123, 123, 123, .5);
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

.autoComplete_wrapper>ul {
    position: absolute;
    max-height: 226px;
    overflow-y: auto;
    top: 100%;
    left: 0;
    right: 0;
    margin: .5rem 0 0 0;
    border-radius: .6rem;
    -webkit-border-radius: .6rem;
    -moz-border-radius: .6rem;
    background-color: var(--color-light);
    box-shadow: 0 3px 6px rgba(149, 157, 165, .15);
    -webkit-box-shadow: 0 3px 6px rgba(149, 157, 165, .15);
    -moz-box-shadow: 0 3px 6px rgba(149, 157, 165, .15);
    border: 1px solid rgba(33, 33, 33, .07);
    z-index: 1000;
    outline: 0;
}

.autoComplete_wrapper>ul:empty,
.autoComplete_wrapper>ul[hidden] {
    display: block;
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.autoComplete_wrapper>ul>li {
    margin: .3rem;
    padding: .3rem .5rem;
    list-style: none;
    text-align: left;
    font-size: 1rem;
    color: #212121;
    border-radius: .35rem;
    -webkit-border-radius: .35rem;
    -moz-border-radius: .35rem;
    background-color: var(--color-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    transition: all .2s ease;
}

.autoComplete_wrapper>ul>li:hover {
    cursor: pointer;
    background-color: rgba(123, 123, 123, .1);
}

.autoComplete_wrapper>ul>li[aria-selected=true] {
    background-color: rgba(123, 123, 123, .1);
}

.autoComplete_wrapper>ul>li mark {
    background-color: transparent;
    color: #ff7a7a;
    font-weight: 700;
}

/* --- UTILITIES & MISC COMPONENTS --- */
.offcanvas {
    width: 320px !important;
}

.scrollable-x {
    overflow-x: auto;
    overflow-y: hidden;
}

.scrollable-y {
    overflow-y: auto;
    overflow-x: hidden;
}

.scrollable-both {
    overflow: scroll;
}

.swiper {
    width: 100%;
    height: 100%;
}

.icon-bar {
    position: fixed;
    top: 50%;
    left: 0;
    z-index: 1020;
    border-radius: 0 0.5rem 0.5rem 0;
    -webkit-border-radius: 0 0.5rem 0.5rem 0;
    -moz-border-radius: 0 0.5rem 0.5rem 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.icon-bar a {
    display: block;
    text-align: center;
    padding: 0.5rem;
    color: rgb(23, 22, 22);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.icon-bar a:hover {
    background-color: rgb(213, 213, 213);
}

.page-header {
    padding: 5px 0;
    margin-bottom: 7px;
    border-bottom: 2px solid #e0f0fe;
    position: relative;
}

.page-header:after {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 2px;
    background: #009bd9;
    border-right: 2px solid var(--color-light);
    bottom: -2px;
    left: 0;
}

/* --- NAVIGATION --- */
.nav-scroller {
    position: relative;
    z-index: 2;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    margin-top: -1px;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    cursor: pointer;
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-item {
    margin-right: 28px;
}

.nav-tabs .nav-item .nav-link {
    padding: 8px 0;
    font-weight: 600;
    color: var(--bs-dark);
    position: relative;
    display: block;
    border: none;
    border-radius: 0;
}

.nav-tabs .nav-item .nav-link:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bs-primary);
    -webkit-transition: ease-in-out all .55s;
    -moz-transition: ease-in-out all .55s;
    transition: ease-in-out all .55s;
}

.nav-tabs .nav-item .nav-link.active,
.nav-tabs .nav-item .nav-link:hover {
    color: var(--bs-primary);
    border-color: transparent;
}

.nav-tabs .nav-item .nav-link.active:after,
.nav-tabs .nav-item .nav-link:hover:after {
    width: 100%;
}

/* --- CONTACT FORM --- */
.contact .info-wrap {
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.contact .info {
    display: flex;
    align-items: center;
    width: 100%;
}

.contact .info svg {
    font-size: 20px;
    color: #1b7cbd;
    float: left;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    flex-shrink: 0;
}

.contact .info h4 {
    padding: 0 0 0 60px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.contact .info p {
    padding: 0 0 0 60px;
    margin-bottom: 0;
    font-size: 14px;
    color: #444444;
}

.contact .php-email-form {
    width: 100%;
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.12);
    padding: 30px;
    background: var(--color-light);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.contact .php-email-form .form-group {
    padding-bottom: 8px;
}

.contact .php-email-form .error-message {
    display: none;
    color: var(--color-light);
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .error-message br+br {
    margin-top: 25px;
}

.contact .php-email-form .sent-message {
    display: none;
    color: var(--color-light);
    background: #1b7cbd;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: var(--color-light);
    text-align: center;
    padding: 15px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    box-shadow: none;
    font-size: 14px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #1b7cbd;
}

.contact .php-email-form input {
    height: 44px;
}

.contact .php-email-form textarea {
    padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
    background: #1b66ad;
    border: 0;
    padding: 10px 24px;
    color: var(--color-light);
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    transition: 0.4s;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #2ab6e1;
}

@-webkit-keyframes animate-loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* --- RESPONSIVE STYLES (MOBILE-FIRST) --- */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .suggest-card h5 {
        font-size: 1.2rem;
    }

    .suggest-card h5 span {
        font-size: 15px;
    }

    .autoComplete_wrapper>input {
        width: 100% !important;
    }

    #footer .footer-top .footer-contact,
    #footer .footer-top .footer-links,
    #footer .footer-top .footer-newsletter {
        flex-basis: 45%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .category-level-1>ul {
        margin-right: var(--space-xl);
        flex-wrap: nowrap;
    }
    
    #footer .footer-top .footer-contact {
        flex-basis: 100%;
    }
    
    #footer .footer-top .footer-links {
        flex-basis: 45%;
    }
    
    #footer .footer-top .footer-newsletter {
        flex-basis: 45%;
    }
}
/* ——— Breadcrumb ile header arası boşluk ——— */
.breadcrumb {
  margin-top: 1.5rem;
}

/* ——— İçerik ile alt mobil navbar arası boşluk ——— */
.container, .content-wrapper {
  padding-bottom: 4rem;
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #footer .footer-top .footer-contact {
        flex: 1 1 30%;
    }
    
    #footer .footer-top .footer-links {
        flex: 1 1 20%;
    }
    
    #footer .footer-top .footer-newsletter {
        flex: 1 1 35%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Add any extra large screen specific styles here */
}