/* Optima Font */
@font-face { font-family: 'Optima'; src: url('/fonts/Optima.otf') format('opentype'), url('/fonts/Optima.ttc') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: 'Branch'; src: url('/fonts/Branch.otf') format('opentype'), url('/fonts/Branch.ttc') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; }

:root { --primary-color: #52525B; --secondary-color: #b05c4d; --text-color: #333333; --light-color: #ffffff; }
.font-branch { font-family: 'Branch', sans-serif; }
body { overflow-x: hidden; font-family: 'Optima', sans-serif; color: var(--text-color); opacity: 0; transition: opacity 0.5s ease-in-out; }

    body.loaded { opacity: 1; }
.color-secondary { color:var(--secondary-color); }
.navbar { background-color: white; padding: 15px 0; }

.navbar-brand img { height: 64px; }

.nav-link { color: var(--primary-color); font-size: 16px; font-weight: normal; letter-spacing: 0.5px; transition: color 0.3s ease; }

    .nav-link:hover { color: var(--secondary-color); }

.navbar-nav .nav-item { margin: 0 12px !important; }

.carousel-item { height: calc(100vh - 90px); background-size: cover; background-position: center; }

    .carousel-item::before { content: none; }

/*.carousel-caption { top: 30%; transform: translateY(-50%); bottom: auto; text-align: center; color:inherit; }*/
.carousel-caption { bottom: 0 !important; transform: translateY(-50%); bottom: auto; text-align: center; color: inherit; }
.carousel-item { display: flex !important; justify-content: center; flex-direction: row; align-items: center; flex-wrap: nowrap; }
    .carousel-item img { width: 60% !important; }
    .carousel-caption h1 { font-size: 3rem; margin-bottom: 0; color: var(--light-color); }

    .carousel-caption h2 { font-size: 4rem; font-weight: bold; margin-bottom: 1rem; color: var(--light-color); }

    .carousel-caption p { font-size: 1.2rem; margin-bottom: 2rem; color: var(--light-color); }
.carousel-control-next-icon, .carousel-control-prev-icon { background-color:var(--secondary-color); }
.btn-reservation { background-color: var(--secondary-color); color: white; padding: 10px 25px; border-radius: 5px; border: none; font-size: 16px; transition: background-color 0.3s ease; }

    .btn-reservation:hover { background-color: #8e4a3e; color: white; }

.social-icons { position: absolute; bottom: 20px; right: 20px; z-index: 100; }

    .social-icons a { display: inline-block; width: 40px; height: 40px; line-height: 40px; text-align: center; background-color: white; border-radius: 50%; margin-left: 10px; color: var(--secondary-color); transition: all 0.3s ease; }

        .social-icons a:hover { background-color: var(--secondary-color); color: white; }

            /* Sosyal medya ikonları için hover efekti */
            .social-icons a:hover .social-icon { filter: brightness(0) invert(1); /* SVG'yi beyaza çevirir */ }

/* SVG ikonlar için stil */
.navbar .contact-icon { width: 18px; height: 18px; margin-right: 5px; vertical-align: middle; }

.social-icon { width: 20px; height: 20px; }

/* Sağdaki ikonlar ve yazılar için stil güncelleme */
.contact-info { color: var(--primary-color); font-size: 14px; display: flex; align-items: center; }

    .contact-info i { margin-right: 5px; color: var(--secondary-color); }

/* Bağlantı stilleri */
.contact-link { display: flex; align-items: center; color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }

    .contact-link:hover { color: var(--secondary-color); text-decoration: none; }

/* Hakkımızda sayfası için stiller */
.page-header { height: 300px; background-size: cover; background-position: center; display: flex; align-items: center; position: relative; }

    .page-header::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); }

    .page-header h1 { font-family: 'Branch', sans-serif; color: white; font-size: 3rem; position: relative; z-index: 1; text-align: center; }

/* Footer stil güncellemeleri */
.footer { background-color: #1C1C1C; padding: 40px 0; }

.footer-logo { height: 60px; }

.copyright { margin-bottom: 0; color: #ffffff; font-size: 14px; }

.footer-social { text-align: right; }

    .footer-social a { display: inline-block; width: 40px; height: 40px; line-height: 40px; text-align: center; background-color: white; border-radius: 50%; margin-left: 10px; transition: all 0.3s ease; }

        .footer-social a:hover { background-color: var(--secondary-color); }

    .footer-social .social-icon { filter: brightness(0); /* SVG'yi siyah yapar (#000000) */ width: 20px; height: 20px; }

    .footer-social a:hover .social-icon { filter: brightness(0) invert(1); /* SVG'yi beyaza çevirir */ }

/* Galeri sayfası için stiller */
.gallery-item { margin-bottom: 15px; transition: all 0.3s ease; overflow: hidden; }

    .gallery-item img { transition: transform 0.3s ease; width: 100%; height: auto; }

    .gallery-item:hover img { transform: scale(1.05); }

/* İletişim sayfası için stiller */
.contact-card { display: flex; align-items: center; padding: 20px; border-radius: 10px; border: 1px solid #E0E0E0; height: 100%; transition: all 0.3s ease; box-shadow: none; }

    .contact-card:hover { transform: none; box-shadow: none; }

    /* İletişim kartlarındaki ikonlar için stil */
    .contact-card .contact-icon { margin-right: 20px; }

.contact-card-icon { width: 30px; height: 30px; filter: invert(42%) sepia(12%) saturate(768%) hue-rotate(338deg) brightness(92%) contrast(82%); /* #855E52 rengi için filtre */ }

.contact-info { display: flex; flex-direction: column; align-items: flex-start; }

    .contact-info h5 { margin-bottom: 2px; color: #000000; font-size: 14px; font-weight: normal; font-family: 'Optima', sans-serif; }

.contact-text { margin-bottom: 0; color: #000000; font-size: 22px; font-weight: bold; font-family: 'Optima', sans-serif; }

.map-container { border-radius: 18px; overflow: hidden; box-shadow: none; }

.working-hours { margin-top: 50px; }

.hours-card { background-color: transparent; padding: 15px; border-radius: 10px; text-align: left; height: 100%; border: 1px solid #E0E0E0; box-shadow: none; }

.day { font-weight: normal; margin-bottom: 5px; color: #000000; font-size: 14px; font-family: 'Optima', sans-serif; }

.time { color: #000000; font-size: 18px; font-weight: bold; font-family: 'Optima', sans-serif; }

/* Sayfa geçiş animasyonları */
.page-transition { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--secondary-color); z-index: 9999; transform: translateY(100%); transition: transform 0.5s ease-in-out; }

    .page-transition.active { transform: translateY(0); }

    .page-transition.exit { transform: translateY(-100%); }

/* Dropdown menü stilleri */
.dropdown-menu { border: none; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); padding: 0.5rem 0; }

.dropdown-item { color: var(--primary-color); padding: 0.5rem 1.5rem; font-size: 14px; transition: all 0.3s ease; }

    .dropdown-item:hover, .dropdown-item.current { color: var(--secondary-color); background-color: rgba(176, 92, 77, 0.1); }
    .dropdown-item.active { color: var(--secondary-color); }
    /* Modal stilleri */
    .modal-content { border: none; border-radius: 20px; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1); padding: 20px; }

.modal-header { border-bottom: none; padding: 1rem 1rem 0.5rem; }

.modal-title { color: var(--secondary-color); font-size: 2rem; font-weight: bold; width: auto; text-align: left; }

.modal-body { padding: 1.5rem; }

.btn-close { position: absolute; right: 20px; top: 20px; opacity: 0.5; transition: opacity 0.3s ease; }

    .btn-close:hover { opacity: 1; }

/* Rezervasyon Kontrolü Modal Stilleri */
.reservation-steps { margin-bottom: 1.5rem; }

.step-text { color: var(--text-color); font-size: 14px; margin-bottom: 0.5rem; font-weight: bold; }

/* Form elemanları */
.reservation-input { border: 1px solid #E0E0E0; border-radius: 5px; padding: 12px 15px; font-size: 1rem; width: 100%; margin-bottom: 1rem; }

    .reservation-input:focus { border-color: var(--secondary-color); box-shadow: 0 0 0 0.2rem rgba(176, 92, 77, 0.25); }

/* Butonlar */
.reservation-buttons { display: flex; flex-direction: column; gap: 10px; }

.btn-check-reservation,
.btn-cancel-reservation,
.btn-modify-reservation { width: 100%; padding: 8px; border: none; border-radius: 5px; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s ease; }

.btn-check-reservation { background-color: var(--secondary-color); color: white; }

    .btn-check-reservation:hover { background-color: #8e4a3e; color: white; }

.btn-cancel-reservation { background-color: #855E52; color: white; }

    .btn-cancel-reservation:hover { background-color: #6b4b42; color: white; }

.btn-modify-reservation { background-color: #E6D1CB; color: var(--text-color) !important; }

    .btn-modify-reservation:hover { background-color: #d9bdb5; }

/* reCAPTCHA container */
.g-recaptcha { margin: 0 auto; width: fit-content; }

/* Rezervasyon Yap Modal Stilleri */
.reservation-stepper { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; position: relative; padding: 0 30px; }

    .reservation-stepper::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background-color: #E0E0E0; z-index: 1; }

.step-item { display: flex; align-items: center; gap: 15px; background: white; padding: 0 10px; position: relative; z-index: 2; color: #999; cursor: pointer; }

.step-number { width: 32px; height: 32px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; background: white; }

.step-text { font-weight: 500; font-size: 16px; white-space: nowrap; margin: 0; }

/* Aktif step stilleri */
.step-item.active { color: var(--secondary-color); }

    .step-item.active .step-number { background-color: var(--secondary-color); color: white; border-color: var(--secondary-color); }

    .step-item.active .step-text { color: var(--secondary-color); }

/* Tamamlanmış step stilleri */
.step-item.completed { color: #999; }

    .step-item.completed .step-number { border-color: #999; color: #999; background-color: transparent; }

    .step-item.completed .step-text { color: #999; }

/* Mobil responsive düzenlemeler */
@media (max-width: 768px) {
    .reservation-stepper { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 0; }

    .step-item { width: 100%; justify-content: flex-start; padding-left: 45px; }

    .reservation-stepper::before { top: 0; bottom: 0; left: 15px; width: 2px; height: 100%; margin: 0; }

    .step-number { position: absolute; left: 0; }

    .step-text { white-space: normal; }
}

/* Calendar Styles */
.calendar-container { border: 1px solid #E0E0E0; border-radius: 10px; padding: 1rem; }

.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }

.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-weight: bold; margin-bottom: 0.5rem; }

.calendar-dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }

.calendar-date { padding: 10px; text-align: center; cursor: pointer; border-radius: 5px; }

    .calendar-date:hover { background-color: rgba(176, 92, 77, 0.1); }

    .calendar-date.selected { background-color: var(--secondary-color); color: white; }

/* Time Slots */
.time-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.time-slot { padding: 10px; border: 1px solid #E0E0E0; border-radius: 5px; cursor: pointer; display: flex; align-items: center; gap: 5px; transition: all 0.3s ease; }

    .time-slot:hover { border-color: var(--secondary-color); }

    .time-slot input[type="radio"] { margin-right: 5px; }

        .time-slot input[type="radio"]:checked + label,
        .time-slot.selected { color: var(--secondary-color); }

    .time-slot.selected { border-color: var(--secondary-color); background-color: rgba(176, 92, 77, 0.1); }

/* Form Elements */
.form-select, .form-control { border: 1px solid #E0E0E0; border-radius: 5px; padding: 0.5rem; }

    .form-select:focus, .form-control:focus { border-color: var(--secondary-color); box-shadow: 0 0 0 0.2rem rgba(176, 92, 77, 0.25); }

/* Buttons */
.btn-next, .btn-confirm, .rz-steps-next { background-color: var(--secondary-color); color: white !important; padding: 10px 30px; border-radius: 5px; border: none; }

    .btn-next:hover, .btn-confirm:hover, .rz-steps-next:hover { background-color: #8e4a3e; color: white !important; }

/* Confirmation Table */
.table { margin-top: 1rem; }

    .table th { font-weight: 500; color: var(--primary-color); }

.confirmation-text { color: var(--primary-color); font-size: 1.1rem; }

/* Visitors Grid */
.visitors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

.visitor-type { display: flex; justify-content: space-between; align-items: center; padding: 10px; border: 1px solid #E0E0E0; border-radius: 5px; }

    .visitor-type span { color: var(--text-color); font-size: 14px; }

.visitor-counter { display: flex; align-items: center; gap: 10px; }

.counter-btn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--secondary-color); background: white; color: var(--secondary-color); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; padding: 0; transition: all 0.3s ease; }

    .counter-btn:hover { background-color: var(--secondary-color); color: white; }

.counter-value { min-width: 20px; text-align: center; font-size: 14px; color: var(--text-color); }

.calendar-nav { color: var(--secondary-color) !important; padding: 5px; display: flex; align-items: center; justify-content: center; text-decoration: none; }

    .calendar-nav:hover { color: var(--secondary-color) !important; opacity: 0.8; }

.month-year { margin: 0; font-size: 18px; font-weight: 500; color: var(--text-color); }

.btn-confirm { background-color: #28a745; color: white; padding: 10px 30px; border: none; border-radius: 5px; font-weight: 500; }

    .btn-confirm:hover { background-color: #218838; color: white; }

/* Radio button stilleri */
input[type="radio"] { accent-color: var(--secondary-color); }

#blazor-error-ui { background: lightyellow; bottom: 0; box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); display: none; left: 0; padding: 0.6rem 1.25rem 0.7rem 1.25rem; position: fixed; width: 100%; z-index: 1000; }
    #blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

/* Mega Menu Styles */
.mega-menu { position: absolute; top: 100%; left: 0; width: 100%; background: rgba(255, 255, 255); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1000; padding: 30px 0; }

.nav-item.dropdown:hover .mega-menu { opacity: 1; visibility: visible; }

.mega-menu-content { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.mega-menu-column { text-align: left; }

    .mega-menu-column h3 { color: #B68C5A; font-size: 16px; font-weight: 600; margin-bottom: 15px; text-transform: uppercase; }

    .mega-menu-column ul { list-style: none; padding: 0; margin: 0; }

        .mega-menu-column ul li { margin-bottom: 8px; }

            .mega-menu-column ul li a { color: #333; text-decoration: none; font-size: 14px; transition: color 0.3s ease; display: block; padding: 5px 0; }

                .mega-menu-column ul li a:hover { color: #B68C5A; }

.nav-item.dropdown { position: static; }

@media (max-width: 991px) {
    .navbar-collapse { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: white; z-index: 1000; padding: 80px 20px; transform: translateX(-100%); transition: transform 0.3s ease-in-out; overflow-y: auto; -webkit-overflow-scrolling: touch; }

        .navbar-collapse.show { transform: translateX(0); }

    .navbar-toggler { position: relative; z-index: 1001; }

    .navbar-nav { height: 100%; padding: 0 15px; }

    .nav-item { margin: 0 !important; border-bottom: 1px solid rgba(0,0,0,0.1); padding: 0 15px; }

    .nav-link { font-size: 18px; padding: 15px 15px; }

    /* Mobile Mega Menu */
    .mega-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: white; padding: 80px 0px; transform: translateX(100%); transition: transform 0.3s ease-in-out; z-index: 1002; display: block !important; opacity: 1; visibility: visible; }

        .mega-menu.show { transform: translateX(0); }

    .mega-menu-content { grid-template-columns: 1fr; gap: 0; padding: 0 15px; }

    .mega-menu-column { padding: 15px; border-bottom: 1px solid rgba(0,0,0,0.1); }

        .mega-menu-column h3 { font-size: 18px; margin-bottom: 10px; display: flex; align-items: center; padding: 0 15px; }

        .mega-menu-column ul li a { font-size: 16px; padding: 10px 15px; }

    /* Back Button */
    .mobile-menu-back { position: fixed; top: 20px; left: 20px; z-index: 1003; background: none; border: none; color: var(--primary-color); font-size: 16px; display: none; align-items: center; gap: 8px; padding: 10px; cursor: pointer; }

        .mobile-menu-back.show { display: flex; }

        .mobile-menu-back svg { width: 20px; height: 20px; }

    /* Close Button */
    .mobile-menu-close { position: fixed; top: 20px; right: 15px; z-index: 1003; background: none; border: none; color: var(--primary-color); font-size: 24px; display: none; padding: 10px; cursor: pointer; }

        .mobile-menu-close.show { display: block; }

    /* Hamburger Icon */
    .navbar-toggler { border: none; padding: 0; right: 15px; }

        .navbar-toggler:focus { box-shadow: none; }

    .navbar-toggler-icon { background-image: none !important; position: relative; width: 24px; height: 2px; background-color: var(--primary-color); transition: all 0.3s ease; }

        .navbar-toggler-icon::before,
        .navbar-toggler-icon::after { content: ''; position: absolute; width: 24px; height: 2px; background-color: var(--primary-color); transition: all 0.3s ease; }

        .navbar-toggler-icon::before { top: -8px; }

        .navbar-toggler-icon::after { bottom: -8px; }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon { background-color: transparent; }

        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before { transform: rotate(45deg); top: 0; }

        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after { transform: rotate(-45deg); bottom: 0; }

    /* Dropdown Toggle */
    .nav-item.dropdown .nav-link { display: flex; justify-content: space-between; align-items: center; }

        .nav-item.dropdown .nav-link::after { margin-left: auto; }

    /* Hide hamburger X when close button is shown */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon,
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after { background-color: transparent; }

    /* Navbar Links Alignment */
    .navbar-nav { padding: 0 15px; }

    .nav-item { padding: 0; }

    .nav-link { padding-left: 0; padding-right: 0; }
}

.mobile-menu-back,
.mobile-menu-close { display: none; }

/* Body scroll lock for mobile menu */
body.menu-open { overflow: hidden; position: fixed; width: 100%; }

/* Standard Dropdown Menu */
a.dropdown-item.active { background-color: rgba(176, 92, 77, 0.1); color: var(--secondary-color); }
.nav-item.dropdown:not(.mega-dropdown) { position: relative; }

    .nav-item.dropdown:not(.mega-dropdown) .dropdown-menu { min-width: 200px; background: white; border: none; box-shadow: 0 2px 5px rgba(0,0,0,0.1); padding: 1rem 0; margin-top: 0; border-radius: 0; }

        .nav-item.dropdown:not(.mega-dropdown) .dropdown-menu.dropdown-menu-start { left: 0; right: auto; }

    .nav-item.dropdown:not(.mega-dropdown) .dropdown-item { padding: 0.5rem 1.5rem; color: #333; transition: all 0.3s ease; text-align: left; }

        .nav-item.dropdown:not(.mega-dropdown) .dropdown-item:hover { background-color: rgba(176, 92, 77, 0.1); color: var(--secondary-color); }

@media (max-width: 991px) {
    .nav-item.dropdown:not(.mega-dropdown) .dropdown-menu { position: static; background: transparent; box-shadow: none; padding: 0; }

    .nav-item.dropdown:not(.mega-dropdown) .dropdown-item { padding: 10px 15px; border-bottom: 1px solid rgba(0,0,0,0.1); text-align: left; }

        .nav-item.dropdown:not(.mega-dropdown) .dropdown-item:last-child { border-bottom: none; }
}


.accordion-button:not(.collapsed) { background-color: #E6D1CB; color: var(--secondary-color); }
.accordion-button:focus { box-shadow: 0 0 0 0.25rem #E6D1CB; }


/* Hide Google Translate Toolbar */
/*#google_translate_element,
#goog-gt-tt,
.goog-te-banner-frame,
.goog-te-banner { display: none !important; opacity: 0 !important; visibility: hidden !important; position: absolute !important; top: -999px !important; left: -999px !important; z-index: -1 !important; }*/

/* Hide the Google Translate loading spinner */
/*.goog-te-spinner-pos,
.goog-te-balloon-frame,
.goog-te-gadget-simple img { display: none !important; }*/

/* Hide Google Translate iframe */
/*iframe.skiptranslate,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame { display: none !important; visibility: hidden !important; height: 0 !important; width: 0 !important; border: none !important; }

.packages-card { min-height: 730px !important; }*/