@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --dark-purple: #261643;
    --main-purple: #4611A7;
    --main-purple-rgb: rgba(66, 21, 141, 0.9);
    --main-black: #000;
    --main-white: #fff;
    --star-color: gold;
    --sponsored-brand: #A71111;
    }

body {
    font-family: Poppins, sans-serif;
}

/* Menü */
.navbar {
    background: var(--main-white) !important;
    height:50px;
    border-bottom: 3px solid var(--main-purple);
}
.navbar-brand {
    margin-left: 20px;
}
@media (max-width: 768px) {
    .navbar {
        background: var(--main-white) !important;
        height:60px;
        border-bottom: 3px solid var(--main-purple);
    }
}
.navbar-collapse {
    background-color: var(--main-white);
    width: 100%;
}
.nav-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-black);
}
.nav-link:hover {
    color: var(--main-purple);
}
.nav-item {
    margin-right: 10px;
}
/* Menü */

/* Anasayfa Search */
.hero-section {
    position: relative;
    height: 400px;
}

.hero-img {
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.search-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--main-purple-rgb);
    padding: 10px;
    border-radius: 0px;
    width: 100%;
    max-width: 800px;
}
.textindex {
    font-weight: 700;
    position: absolute;
    top: 30%;
    right: 40%;
}
/* Mobil cihazlar için (max-width: 768px) */
@media (max-width: 768px) {
    .textindex {
        margin-top: 60px;
        text-align: center;
        top: 15px; /* Mobilde biraz yukarı kaydır */
        right: 50%; /* Mobilde tam ortala */
        transform: translateX(50%); /* Mobilde tam ortala */
    }
    .search-box {
        margin-top: 60px;
    }
}
.form-select  {
    border-radius: 0px;
}
.form-select > option {
    background: var(--main-purple);
    color: var(--main-white);
    border-radius: 0px !important;
}
.form-select option {
    border-radius: 0 !important;
}
.btn-primary {
    border-radius: 0px;
    background: var(--main-purple);
    border: none;
    font-weight: 700;
}
.incele {
    width: 100% !important;
}
/* Anasayfa Search */

/* Kategoriler */
.whitehr {
    border: 2px solid var(--main-white);
    width: 100%;
    margin: 20px auto;
}
.main-categories {
    background: var(--dark-purple);
    padding: 50px 0;
}
.category-text {
    color: var(--main-white);
    font-weight: 300;
}
.maincategory-image {
    transition: 0.5s;
    border: 1px solid transparent;

}
.maincategory-image:hover {
    transition: 0.5s;
    border: 1px solid var(--main-white);

}
/* Kategoriler */

/* Popüler İşletmeler */
.purplehr {
    border: 2px solid var(--main-purple);
    width: 100%;
    margin: 20px auto;
}
.popular-businesses {
    background: var(--main-white);
    padding: 50px 0;
}
.popular-businesses-text {
    color: var(--main-purple);
}

.main-popular-businesses {
    position: relative;
    display: inline-block;
    transition: 0.5s;
}
.main-popular-businesses img {
    min-height: 265px;
    width: 100%;
    object-fit: cover;
}

.main-business-name {
    color: var(--main-white);
    position: absolute;
    top: 50%;
    left: 5%;
    font-weight: 700;
    z-index: 99999999;
}
.stars-card {
    color: var(--main-white);
    position: absolute;
    top: 75%;
    right: 5%;
    font-weight: 700;
    z-index: 99999999;
}
.star-color {
    color: var(--star-color);
}
.main-business-description {
    color: var(--main-white);
    position: absolute;
    top: 60%;
    left: 5%;
    font-weight: 700;
}
.main-business-category {
    color: var(--main-white);
    position: absolute;
    top: 80%;
    left: 5%;
    font-weight: 700;
    font-size: 12px;
    padding: 3px;
    background-color: var(--main-purple);
    border-radius: 5px;
    margin-top: -10px;
}

.overlay-text {
    position: absolute;
    top: 50%; /* Ortalamak için */
    left: 50%;
    transform: translate(-50%, -50%); /* Tam ortalamak için */
    background: rgba(0, 0, 0, 0.5); /* Yazının arka planını biraz koyulaştırmak için */
    color: var(--main-white);
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
}

.main-business-image {
    filter: brightness(50%);
    transition: 0.5s;
    width: 100%; /* Konteynerin tamamını kaplasın */
    height: 250px; /* Sabit yükseklik */
    object-fit: cover; /* Resmi kırparak, boyuta uydurur */
    border-radius: 8px; /* Köşeleri yuvarlat */
}
.main-popular-businesses:hover {
    transform: scale(1.03);
    transition: 0.5s;
}
.popularbrand {
    color: var(--main-white);
    position: absolute;
    top: 10%;
    right: 5%;
    font-weight: 700;
    font-size: 12px;
    padding: 3px;
    background-color: var(--sponsored-brand);
    border-radius: 5px;
    margin-top: -10px;
}
/* Popüler İşletmeler */

/* En İyiler Nasıl Olmalı ? */
.best-businesses {
    background: var(--dark-purple);
    padding: 50px 0;
}
.best-businesses-image {
    height: 400px;
}
/* En İyiler Nasıl Olmalı ? */


/* Haberler */
.purpletext {
    color: var(--main-purple);
}

.news-box {
    position: relative;
    display: inline-block;
}
.main-news-image {
    filter: brightness(50%);
}
.main-news-title {
    position: absolute;
    top: 10%;
    left: 5%;
    color: var(--main-white);

}

.main-news-description {
    position: absolute;
    top: 30%;
    left: 5%;
    color: var(--main-white);

}

/* Haberler */

/* Footer */
.footer a:hover {
    text-decoration: underline !important;
    transition: 0.5s;
}

.footer .bi {
    font-size: 1.2rem;
}
.footer {
    background-color: var(--dark-purple);
}
/* Footer */



/* İşletme Detay Sayfası */
.business-header {
    margin-top: 150px !important;
}
.business-details-name {
    color: var(--main-purple);
    font-weight: 200;
    font-size: 28px;
}
.business-details-sponsor {
    margin: 0.67em 0px;
}
.business-details-address {
    color: #1F1F1F;
    opacity: 0.6;
    font-size: 18px;
}
.business-details-gallery {
    margin-top: 50px;
}

/* İşletme Detay Slider */
.owl-carousel .item img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}
/* İşletme Detay Slider */

/* İşletme Detay İçerik */
.business-details-body {
    margin-top: 50px;
}

.business-details-about-title {
    color: var(--main-purple);
    font-weight: 700;
    font-size: 24px;
}

/* İşletme Detay İçerik */

/* İşletme Detay Özellikler */
.business-features-area {
    margin-top: 100px;
}
.business-details-features-title {
    color: var(--main-purple);
    font-weight: 700;
    font-size: 24px;
}

.business-details-features-list {
    padding: 0;
}

.bg-primary {
    background: var(--main-purple) !important;
    color: var(--main-white);
    font-weight: 700;
    border-radius: 0px;
    border: none;
    font-size: 14px;
}

/* İşletme Detay Özellikler */

/* İşletme Detay Sidebar Box */

.business-details-sidebar-list {
    padding: 0; 

}

.business-detail-link {
    color: var(--main-white);
    font-weight: 700;
    font-size: 16px;
    background: var(--main-purple);
    margin-bottom: 5px;
    padding: 10px;
    text-decoration: none;
}

.business-details-sidebar-list li {
    list-style: none;
    padding: 10px;
    color: var(--main-white);
    font-weight: 700;
    font-size: 16px;
    background: var(--main-purple);
    margin-bottom: 5px;

}
/* İşletme Detay Sidebar Box */

/* İşletme Detay Yorumlar */
.business-detail-reviews {
    margin-top: 100px;
}
/* İşletme Detay Yorumlar */

/* İşletme Detay Yorum Yap */

.star-label-text {
    color: var(--main-purple);
    font-weight: 700;
    font-size: 16px;
}

.business-detail-write-review {
    margin-top: 100px;
}
.stars {
    display: flex;
    font-size: 20px;
    cursor: pointer;
    direction: rtl; /* Sağdan sola sıralamak için */
    margin-top: -35px;
}

.stars input {
    display: none; /* Gizli input */
}
.stars label {
    color: gray;
    transition: color 0.2s;
}
.stars input:checked ~ label {
    color: var(--star-color);
}
.stars input:hover ~ label {
    color: var(--star-color);
}
.review-criteria {
    font-size: 14px;
}

.review-input {
    width: 100%;
    border: 1px solid var(--main-purple);
    border-radius: 0px;
}
/* İşletme Detay Yorum Yap */

/* İşletme Detay Sayfası */

/* Kategori Master */
.category-header {
    margin-top: 150px !important;
}
.category-title {
    color: var(--main-purple);
    font-weight: 200;
    font-size: 28px;
}

.category-description {
    color: #1F1F1F;
    opacity: 0.6;
    font-size: 18px;
}
/* Kategori Master */

/* Arama Sonuçları Sayfası */
.search-results-header {
    margin-top: 150px !important;
}
.search-results-title {
    color: var(--main-purple);
    font-weight: 200;
    font-size: 28px;
}

/* Arama Sonuçları Sayfası */


/* Kampanyalar */
.list-group-item {
    border: 1px solid var(--main-purple);
    border-radius: 0px !important;
    margin-bottom: 10px;
}
.business-details-campaign-title {
    color: var(--main-purple);
    font-weight: 700;
    font-size: 18px;
}
.campaign-date {
    color: var(--main-purple);
    font-weight: 700;
    font-size: 14px;
}

/* Kampanyalar */

/* İşletme Oylama Sayfası */
.business-vote-header {
    margin-top: 150px !important;
}
.vote-title {
    color: var(--main-purple);
    font-weight: 200;
    font-size: 28px;
}

.vote-number {
    color: var(--main-white);
    text-align: center;
    background: var(--main-purple);
    margin-top: 5px;
    border-radius: 5px;
    font-size: 18px;
}
.vote-btn {
    background: var(--main-purple);
}
/* İşletme Oylama Sayfası */

.purple-box {
    border: 1px solid var(--main-purple);
    padding: 10px;
}