/* Reset ve Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}
body{
    padding-top:90px;
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Odak Stilleri */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Navbar */
.qr-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    background-color: #343a40; /* Bootstrap bg-dark rengi */
}

/* Navbar İçeriği */
.qr-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position:relative;
}

/* Logo */
.qr-logo {
    flex: none;
    text-align: left;
}

    .qr-logo img {
        height: 100px;
        transition: transform 0.3s ease;
    }

        .qr-logo img:hover {
            transform: scale(1.02);
        }

/* Menü Tuşu (Hamburger) */
.qr-toggle {
    width: 28px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position:absolute;
    top:50%;
    transform:translateY(-50%);

}

    .qr-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 2px;
        transition: all 0.4s ease;
    }

/* X dönüşümü */
body.menu-open .qr-toggle span:nth-child(1) {
    transform: rotate(45deg);
    transform-origin: top left;
}

body.menu-open .qr-toggle span:nth-child(2) {
    opacity: 0;
}

body.menu-open .qr-toggle span:nth-child(3) {
    transform: rotate(-45deg);
    transform-origin: bottom left;
}

/* Menü */
.qr-menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    gap: 12px;
    padding: 0;
    z-index: 999;
}

.qr-button {
    margin-left: 12px;
}

    .qr-button a {
        color: #6f1d1b;
        font-weight: 600;
        text-decoration: none;
        font-size: 1rem;
        background: white;
        padding: 8px 16px;
        border-radius: 6px;
        display: block;
    }

    .qr-button:hover a {
        color: #a31515;
    }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .qr-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .qr-logo {
        text-align: center;
        margin-bottom: 8px;
    }

    .qr-toggle {
        display: flex;
        align-self: flex-end;
    }

    .qr-menu {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px;
        gap: 12px;
        transition: max-height 0.4s ease, padding 0.3s ease;
    }

    body.menu-open .qr-menu {
        max-height: 300px;
        padding: 20px 16px;
    }

    .qr-button {
        width: auto;
        min-width: 180px;
        border-bottom: 2px solid #6f1d1b;
        padding: 10px 0;
        margin-left: 0;
    }
}

/* Karşılama Ekranı */
.welcome-container {
    background: url('/menu/images/QrMenumArkaplan.png') no-repeat center center;
    background-size: cover;
    height: calc(100vh - 90px);
    padding-top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.welcome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    z-index: 1;
}

.welcome-content {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: white;
    max-width: 500px;
    width: 90%;
}

.logo {
    width: 160px;
    margin-bottom: 20px;
}

.welcome-content .btn {
    margin: 10px;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .logo {
        width: 120px;
    }

    .welcome-content {
        padding: 20px;
    }

        .welcome-content .btn {
            font-size: 16px;
            padding: 10px 20px;
        }
    .qr-container {
        height: auto;
    }
}

/* Diğer Bileşenler */
.qr-info h2 {
    font-size: 2rem;
    color: #6f1d1b;
}

.qr-info .list-group-item,
.qrmenum-intro ul li,
.qr-plan .list-group-item {
    font-size: 0.95rem;
    color: #333;
    background-color: transparent;
    border: none;
    padding-left: 0;
}

.qr-info img {
    max-height: 300px;
    object-fit: contain;
}

.card-body svg {
    max-width: 64px;
    height: auto;
}

.text-brand {
    color: #6f1d1b;
}

footer a:hover {
    text-decoration: underline;
    color: #ffc107;
}








/*Login ve Register*/

.page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5; /* Arka plan rengi isteğe bağlı */
    padding: 40px 15px;
}

.login-wrapper {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.login-box {
    text-align: center;
}

.logo-area img {
    width: 120px;
    margin-bottom: 20px;
}

.login-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.login-subtext {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 14px;
    font-size: 18px;
    color: #888;
}

.input-field {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.remember-me {
    text-align: left;
    margin-bottom: 10px;
}

.forgot-link {
    text-align: right;
    margin-bottom: 20px;
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

    .login-button:hover {
        background-color: #0056b3;
    }

.privacy-link {
    margin-top: 20px;
    font-size: 13px;
}

.register-bottom {
    margin-top: 10px;
    font-size: 14px;
}

.close-button {
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

    .close-button:hover {
        background-color: #c82333;
    }

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}

    .popup img {
        width: 80px;
        margin-bottom: 15px;
    }

    .popup h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .popup.failed {
        border-color: #dc3545;
    }

        .popup.failed h3 {
            color: #dc3545;
        }
/*Register Page*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}