﻿.carousel-inner img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

/* .carousel-control-prev-icon,
        .carousel-control-next-icon {
            background-color: rgba(89,217,251,255);
            border-radius: 50%;
        }

        .carousel-control-prev,
        .carousel-control-next {
            color: #ffffff;
            border-radius: 50%;
        }

        .carousel-control-prev-icon:hover,
        .carousel-control-next-icon:hover {
            background-color: rgba(83,123,238,255);
        }*/
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #e41d1169;
    border-radius: 40%;
    width: 30px;
    height: 30px;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #cc0000;
}

.carousel-caption h3 {
    font-size: 1.4rem;
    color: #dc3545;
}

.carousel-caption p {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: bold;
}

.carousel-item {
    position: relative;
}

.carousel-caption.cafeteria-description {
    position: absolute;
    top: 8rem;
    right: 3rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

    .carousel-caption.cafeteria-description h3 {
        margin-bottom: 5px;
        margin-right: 6.5rem;
    }

    .carousel-caption.cafeteria-description p {
        max-width: 300px;
        margin-left: auto;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

.carousel-caption.dininghall-description {
    position: absolute;
    bottom: 5rem;
    right: 2rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

    .carousel-caption.dininghall-description h3 {
        margin-bottom: 5px;
        margin-right: 5rem;
    }

    .carousel-caption.dininghall-description p {
        max-width: 280px;
        margin-left: auto;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

.carousel-caption.portal-description {
    position: absolute;
    top: 5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .carousel-caption.portal-description h3 {
        margin-top: 5px;
    }

    .carousel-caption.portal-description p {
        max-width: 400px;
        margin: auto;
        margin-top: 0;
        margin-bottom: 0;
    }

.carousel-caption.kiosk-description {
    position: absolute;
    top: 0.1rem;
    right: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    /*.carousel-caption.kiosk-description h3 {*/
    /* margin-bottom: 5px;*/
    /*}*/

    .carousel-caption.kiosk-description p {
        max-width: 350px;
        margin: auto;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

a[href="#norouting"] {
    background-color: #9b5be4 !important;
}

    a[href="#norouting"]:hover {
        /*pointer-events: none;*/
        cursor: default;
    }

.large-text {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
}

.large-bold-text {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: -20px;
}

.white-button {
    margin-top: 15px;
}
/* Kartları slide alanına sığdırmak için daha kompakt hale getir */
.card.tight {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .card.tight h3 {
        font-size: 2.5rem;
        font-weight: 600;
        margin-top: 0.75rem;
        color: #111;
    }

    .card.tight p {
        font-size: 1.9rem;
        line-height: 1.5;
        color: #111;
        margin-top: 0.5rem;
    }

    .card.tight img {
        height: 90px;
        object-fit: cover;
        border-radius: 6px;
    }



/* Mobil görünümde kartlar alt alta geçsin */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #cozumlerPrevBtn,
    #cozumlerNextBtn {
        display: none !important;
    }
}



.custom-input {
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 2.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
}

    .custom-input:focus {
        border-color: #ffc107;
        box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
        outline: none;
    }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.card.tight:hover {
    background-color: #ffc107;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

.responsive-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    width: 130px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}
#cozumlerPrevBtn {
    left: 15px; /* sola yasla */
    right: auto !important; /* varsa override et */
}
#cozumlerNextBtn {
    right: 15px;
    left: auto !important;
}




.faq-section {
    padding: 60px 20px;
    color: white;
    font-family: Arial, sans-serif;
}

.faq-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: left;
}

.custom-accordion .accordion-item {
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background-color: transparent;
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 20px;
}

    .custom-accordion .accordion-button:not(.collapsed) {
        background: linear-gradient(90deg, #5180ef, #29defd);
        color: white;
        box-shadow: none;
    }

.custom-accordion .accordion-body {
    background-color: rgba(0, 0, 0, 0.15);
    color: white;
    font-size: 16px;
    line-height: 1.5;
    padding: 15px 20px;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
}

/* Sağdaki ok ikonunu beyaz ve büyük yapma */
.custom-accordion .accordion-button::after {
    filter: invert(1); /* beyaz renk */
    transform: scale(1.4); /* %40 daha büyük */
    opacity: 0.9;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(1);
    transform: scale(1.4) rotate(-180deg); /* Açıldığında döndür */
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 15px;
    }

    .faq-title {
        font-size: 22px;
    }

    .custom-accordion .accordion-button {
        font-size: 16px;
        padding: 12px 15px;
    }

    .custom-accordion .accordion-body {
        font-size: 14px;
    }
}
.underline-white {
    color: white; /* Normal yazı rengi */
    text-decoration: none; /* Alt çizgi kapalı */
    transition: color 0.3s; /* Geçiş animasyonu */
    cursor: pointer; /* Hover'da el simgesi */
}

    .underline-white:hover {
        color: #ffc107; /* Hover yazı rengi */
    }
