﻿/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    background: #0f0f0f;
}

body {
    font-family: Arial, sans-serif;
    color: #ffffff;
}


/* =========================================================
   MAIN PAGE
========================================================= */

form {
    background: #0f0f0f;
}


/* =========================================================
   NAVBAR
========================================================= */

.site-navbar {
    min-height: 130px;
    background-color: #fff !important;

}




/* =========================================================
   LOGO
========================================================= */

.logo {
    height: 120px;
    width: auto;
    background:#ffffff;
    border-radius:10px;
    padding:8px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.site-navbar {
    position: relative;
}

    .site-navbar .navbar-collapse {
        justify-content: center;
    } 


.site-navbar .navbar-nav {
    gap: 10px;
}

    .site-navbar .nav-link {
        color: #343a40 !important;
        font-weight: 600;
        padding: 10px 14px !important;
    }

    .site-navbar .nav-link:hover {
        color: #c40000 !important;
    }






/* =========================================================
   LOGIN BUTTON
========================================================= */

.user-btn {
    background: #c40000;
    border: 1px solid #c40000;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

    .user-btn:hover {
        background: #a80000;
        border-color: #a80000;
        color: #ffffff !important;
    }


/* =========================================================
   MOBILE MENU
========================================================= */

.site-navbar .navbar-toggler {
    border: 1px solid #c40000;
    padding: 7px 10px;
}

    .site-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(196, 0, 0, 0.25);
    }






@media (max-width: 991.98px) {

    .site-navbar {
        min-height: 70px;
        position: relative;
        z-index: 1000;
    }

    .logo {
        height: 58px;
    }

    /* MOBILE MENU OVERLAY */
    .site-navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff !important;
        padding: 15px 20px;
        border-top: 1px solid #333333;
        border-bottom: 2px solid #c40000;
        z-index: 9999;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    }

    .site-navbar .navbar-nav {
        width: 100%;
        gap: 0;
    }

    .site-navbar .nav-item {
        width: 100%;
    }

    .site-navbar .nav-link {
        width: 100%;
        padding: 12px 10px !important;
        border-bottom: 1px solid #292929;
    }

    .user-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}



/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #0f0f0f;
    color: #ffffff;
}

.footer-red-border {
    border-top: 2px solid #c40000 !important;
}

/* form floating label*/

.form-floating > label {
    font-size: 12px;
    color: #103741;
}

.slider-divider {
    width: 90%;
    height: 2px;
    margin: 40px auto;
    background: linear-gradient( to right, transparent, #c40000, transparent );
}

.cart-btn,
.cart-mobile {
    color: #ff2b2b;
    font-size: 21px;
    text-decoration: none;
}

/* Mobile cart */
.cart-mobile {
    display: none;
}

/* Mobile */
@media (max-width: 991.98px) {

    .cart-mobile {
        display: block;
        margin-left: auto;
        margin-right: 15px;
    }

    /* Hide desktop cart */
    .cart-btn {
        display: none;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.spinner-container {
    position: relative;
    width: 160px;
    height: 160px;
}

/* Center Logo */
.spinner-logo {
    width: 80px;
    height: 80px;
    background-image: url('/img/logo2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Orbit wrapper rotates */
.orbit-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 160px;
    animation: orbit 3s linear infinite;
    transform-origin: center;
}

/* Orbiting text stays offset from center */
.orbit-text {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    white-space: nowrap;
    font-size: 16px;
}

/* Spin animation */
@keyframes orbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.modal-backdrop {
    z-index: 1050 !important;
}

.modal {
    z-index: 1055 !important;
}

.modal-dialog {
    position: relative;
    z-index: 1056;
}

.modal-content {
    opacity: 1 !important;
}

#ornekSayfaModal .modal-dialog {
    width: 80vw;
    max-width: 80vw;
    height: 80vh;
    margin: auto;
}

#ornekSayfaModal .modal-content {
    height: 80vh;
    display: flex;
    flex-direction: column;
}

#ornekSayfaModal .modal-body {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

 #ornekSayfaModal .modal-body img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
  }


/* RIGHT SIDE FIXED ADVERTISEMENT */
.fixed-ads-container-right {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px; /* desktop width */
    max-height: 80vh;
    padding: 6px;
    background: #fff;
    border-radius: 12px;
    z-index: 99999;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

    /* IMAGE */
    .fixed-ads-container-right img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 78vh;
        object-fit: contain;
        border-radius: 8px;
    }

    /* CLOSE BUTTON */
    .fixed-ads-container-right .close-ads {
        position: absolute;
        top: 4px;
        right: 4px;
        background: #000;
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        font-size: 12px;
        cursor: pointer;
        z-index: 100000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* CLOSE TEXT */
    .fixed-ads-container-right .reklam-kapat-text {
        position: absolute;
        top: 4px;
        right: 28px;
        background: #000;
        color: #fff;
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 5px;
        cursor: pointer;
    }

/* MOBILE */
@media (max-width: 600px) {

    .fixed-ads-container-right {
        width: 90px;
        right: 2px;
        padding: 3px;
        max-height: 75vh;
    }

        .fixed-ads-container-right img {
            width: 100%;
            height: auto;
            max-height: 72vh;
        }

        .fixed-ads-container-right .close-ads {
            font-size: 9px;
            height: 14px;
            width: 14px;
        }

        .fixed-ads-container-right .reklam-kapat-text {
            display: none;
        }
}



