/* Genel stiller */
body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    /* Yatay scrollbar'ı gizler */
    max-width: 100vw;
}

.top-bar {
    background-color: #273e80;
    height: 1%;
    width: 100%;
    position: fixed;
}

/* Her section için arka plan rengi ve padding */
.section {
    text-align: center;
    /* Menü yüksekliği + istenen padding */
    height: 100vh;
    /* Önemli: Her bölüm tam ekran yüksekliğinde */
}

nav {
    position: relative;
    z-index: 99999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fixed menü stilleri */
.fixed-menu {
    position: fixed;
    top: 20px;
    border-radius: 20px;
    width: auto;
    max-width: 60vw;
    height: 75px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.fixed-menu .navbar {
    height: 100%;
    overflow: hidden;
}

.fixed-menu .navbar-nav .nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

.fixed-menu .navbar-brand {
    width: 20%;
    box-shadow: 5px 0 5px -7px #000;
    padding-right: 10px;
}

.fixed-menu .brand-logo {
    width: 100%;
}

/* Header bölümü stilleri */
#header {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#header .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

#header .product-info {
    width: 25%;
    z-index: 1;
}

#header .pi-left {
    position: absolute;
    left:5vw;
}

#header .pi-right {
    position: absolute;
    right:5vw;
}

#header .product-info h1,
h2,
h3,
h4,
h5 {
    color: #0f3695;
}

#header .product-model {
    position: absolute;
    width: 70vw;
    height: 56vh;
    z-index: 2;
    cursor: grab;
}



/* Scroll Snap stilleri */
.scroll-container {
    scroll-snap-type: y mandatory;
    /* Dikey kaydırma ve her bölümde durma */
    overflow-y: auto;
    /* Scrollbar'ı etkinleştirir */
    height: 100vh;
    /* Önemli: Konteyner tam ekran yüksekliğinde */
    scroll-behavior: smooth;
    /* Yumuşak kaydırma */
}

.section {
    scroll-snap-align: start;
    /* Her bölümün başlangıcı görünür olsun */
    background: url(../img/gd-bg.png);
    background-repeat: repeat;
    background-size: 50vw;
}

/* .rating {
    background: url(../img/rate-bg.png);
    background-repeat: repeat;
    background-size: 3vw;
} */

.rating h1 {
    color: #0f3695;
}

.rating h5 {
    color: #000;
}

.section-content {
    padding-top: 150px;
    overflow: hidden;
    height: 100%;
}

.fixed-menu .navbar-nav .nav-link.active {
    color: #0f3695;
}

/* Modelin küçülüp sağ üste gelmesi */
/* Ürün modelinin ilk bölümdeki orijinal stili */

.no-transition #model-container,
.no-transition .product-info {
    transition: none !important;
    /* Büyüme sırasında animasyonu devre dışı bırakır */
}

.shrinked #model-container {
    transition: all 0.3s ease-in;
    width: 14vw;
    height: 14vw;
    /* overflow: hidden; */
    display: flex;
    box-shadow: 0 0 20px -5px #000;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 2vw;
    border-radius: 100%;
    background: rgb(15, 54, 149);
    background: linear-gradient(115deg, rgba(15, 54, 149, 1) 0%, rgba(54, 101, 217, 1) 50%, rgba(15, 54, 149, 1) 100%);
    left: 2vw;
    z-index: 100;
    transform: scale(0.5);
    cursor: default;
}

.shrinked #model-container canvas {
    width: 300% !important;
    height: 85% !important;
}

.shrinked .product-info {
    opacity: 0;
    visibility: hidden;
}

#model-container,
.product-info {
    transition: all 0.5s ease-in-out;
}

/* swiper slider kodları */
.tarifler-slider {
    height: 60vh;
    /* Yüksekliği section'un %90'ı olarak ayarlayın */

    position: relative !important;
}

.swiper-slide {
    display: flex;
    align-items: flex-end !important;
    justify-content: center;
    width: 100%;
    height: 90%;
    transition: all 0.5s ease-in-out;
    opacity: 0.4;
}

.swiper-slide img {
    height: 100%;
    /* Görsellerin yüksekliğini slider'a göre ayarlayın */
    object-fit: cover;
}

.swiper-slide-active {
    transform: scale(1.5) !important;
    z-index: 999;
    opacity: 1
}

/* Product content table style */
/* Ürün içeriği tablosu stilleri */
.product-content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-content-table th,
.product-content-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.product-content-table thead {
    background-color: #0f3695;
    color: #fff;
}

.product-content-table th {
    font-weight: bold;
    background-color: #0f3695;
    color: #fff;
}

.product-content-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.product-content-table tbody tr:hover {
    background-color: #f1f1f1;
}

.product-content-table td {
    color: #333;
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    /* background-color: #000; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-container .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.video-container .controls button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.video-container .progress-bar {
    flex-grow: 1;
    height: 5px;
    background: #555;
    margin: 0 10px;
    cursor: pointer;
    position: relative;
}

.video-container .progress-bar-fill {
    width: 0;
    height: 100%;
    background: #f00;
    position: absolute;
    top: 0;
    left: 0;
}

.video-container:-webkit-full-screen,
.video-container:-moz-full-screen,
.video-container:fullscreen {
    width: 100%;
    height: 100%;
}

/* Product Flip Animation */
.flip-container {
    perspective: 1000px;
}

.flip-container .flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-container.flip-active .flipper,
.flip-container:hover .flipper {
    transform: rotateY(180deg);
}

.flip-container .front {
    backface-visibility: hidden;
}

.flip-container .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-container .front {
    transform: rotateY(0deg);
}

.flip-container .back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
}

#faqAccordion .accordion-body {
    text-align:left;
}

#faqAccordion .accordion-header button {
    background: #0f3695;
    color:#EEE;
}

#faqAccordion .accordion-item {
    margin:1vh  0;
}

/* Rotating box container */
.rotate-box-container {
    perspective: 1000px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Rotating box */
.rotate-box {
    width: 400px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-100px);
    transition: transform 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Box faces */
.box-face {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    backface-visibility: hidden;
}

.box-face img {
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
}

.box-face h3 {
    color: #0f3695;
    font-size: 1.2rem;
    text-align: center;
}

/* Positioning the faces */
.front {
    transform: rotateY(0deg) translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}


/* Footer area */
#contactInfo {
    background-color: #fff;
    padding: 50px 0;
    border-top: 2px solid #0f3695;
}

#contactInfo a {
    font-weight: 600;
    color: #0f3695;
    text-decoration: none;
}

#contactInfo a:hover {
    text-decoration: underline;
}

.copyright-section {
    background-color: rgba(var(--bs-light-rgb), 1) !important;
    padding: 20px 0;
    font-size: 1rem;
    color: #333;
    border-top: 1px solid #ddd;
}

.contact_info_box {
    position: relative;
    transition: all 0.3s ease-in-out;
}

.contact_info_box:hover {
    transform: scale(1.2);
}

/* Slider stilleri */
.pharmacy-slider {
    width: 100%;
    position: absolute;
    bottom: 100px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pharmacy-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pharmacy-slider .pharmacy-logo {
    width: 70%;
    max-width: 120px;
    object-fit: contain;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .pharmacy-slider .swiper-slide {
        width: auto;
    }
}

@media (max-width: 576px) {
    .pharmacy-slider .pharmacy-logo {
        max-width: 90px;
    }
}



::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #0f3695;
}

#floating-images-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none; /* Resimler tıklanamaz olacak */
    z-index: 5;
}

.floating-image {
    position: absolute;
    width: 100px; /* Resimlerin boyutunu ayarlar */
    opacity: 0.8;
    transition: transform 5s ease-in-out;
    transform-origin: center; /* Merkezi referans noktası yapar */
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .fixed-menu .navbar-brand {
        width:65% !important;
        padding:0 !important;
        box-shadow: none !important;
    }
    #why_goodday {
        display: none !important;
    }
    #pharmacies iframe {
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
    }
    #contactInfo .section-content {
        flex-direction: column;
    }
    #contactInfo .contact_info_box {
        margin:0 0 20px 0 !important;
        width:80vw !important;
    }
    .pharmacy-slider {
        bottom: 150px !important
    }
    #faqAccordion {
        width:90vw !important
    }
    .filter-container {
        width:100% !important;
    }
    ul.navbar-nav {
        background: #FFF;
        box-shadow: 0 0 43px -4px rgba(0, 0, 0, 0.2);
        z-index: 6;
        width: 90%;
        top: 80px;
        position: absolute;
        padding: 5px 0 5px 20px;
        border-radius: 5px 5px 25px 25px;
    }
    .video-container video {
        width: 70% !important;
    }
    #section1 .product-preview-area-container {
        flex-direction: column !important;
        width:80vw !important;
    }
    #section1 .product-preview-area {
        width:100% !important;
    }
    #section1_mobil {
        display: block !important;
    }
    .product-content-info-area {
        display: none !important;
    }
    .hide-mobile {
        display: none !important;
    }
    .flip-container {
        width: 100% !important;
    }
    .full-mobile {
        width:120% !important;
    }
    #contactInfo .section-content {
        justify-content: flex-start !important;
        padding:100px 0 !important;
    }
    #contactInfo h2 {
        margin-bottom:50px !important;
    }
    .hide-desktop {
        display: block !important;
    }
    .product-model {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width:100vw !important;
        height: 100vh !important;
    }
    .product-model canvas {
        margin-top:150px;
    }
    .rotate-box .box-face img {
        max-width: 40% !important;
    }
    #header .pi-left {
        left:40vw !important;
        top:-43vh !important;
    }
    #header .pi-right {
        display: none !important;
    }
    .section-content {
        padding-top: 100px !important;
    }
}

.hide-desktop {
    display: none;
}

#pharmacyTable_wrapper {
    margin-top: 20px;
    width: 100%;
}

#pharmacyTable thead {
    background-color: #0f3695;
    color: white;
}

#pharmacyTable tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

#pharmacyTable_filter input {
    width: 100%;
    margin-bottom: 10px;
}

#pharmacyTable_filter label {
    width: 100%;
}

.filter-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width:50%;
}

.filter-container .form-group {
    width:47.5%;
}

.filter-container select {
    background: transparent !important;
}

.tableContentCentered {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}