/* custom-style.css - Premium UI enhancements */
.d-none {
    display: none !important;
}

/* Hide datalist arrow globally */
input::-webkit-calendar-picker-indicator {
    display: none !important;
}

.btn-use-gift-card {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    /* Margin kaldırıldı */
}

.btn-use-gift-card:hover {
    background: #d4af37;
    color: #fff;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.btn-use-gift-card i {
    font-size: 0.85rem;
}

/* Premium Summary Box Styling */
.summary-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 20px 25px;
    /* Alt padding 12px -> 25px Gift Card ile eşitlendi */
    margin-top: 15px;
    /* Sekmelerle çakışmayı önlemek için boşluk eklendi */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.summary-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: #1e293b;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 3px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.summary-title i {
    color: #d4af37;
    margin-right: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #475569;
}

.summary-item strong {
    color: #1e293b;
    font-weight: 600;
}

.summary-item span {
    text-align: right;
    font-weight: 500;
}

.summary-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.total-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.total-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.total-amount {
    font-family: 'inter', sans-serif;
    font-size: 1.1rem;
    /* Hafif büyütüldü */
    color: #000000 !important;
    /* Kesin siyah */
    font-weight: 800;
    /* Daha belirgin */
}

.total-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000 !important;
    /* Kesin siyah */
    /* Daha yumuşak renk */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-amount-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Metin ve tutar arası boşluk minimize edildi */
}

/* Animations and Hover effects for Gift Card */
.gc-redeem-premium:hover {
    border-color: #d4af37 !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1) !important;
}

#apply-gc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

/* Payment & Gift Card Enhanced Styles */
/* Payment & Gift Card Premium Layout */
/* Payment & Gift Card Elite Layout */
/* Payment & Gift Card Elite Layout */
.payment-methods-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 15px;
    margin: 20px auto 0;
    width: 100%;
    max-width: 680px;
    align-items: stretch !important;
    /* Yükseklikleri eşitlemek için kritik */
}

.payment-option-card {
    background: #ffffff;
    border: 1px solid rgba(79, 81, 83, 0.289);
    border-radius: 12px;
    padding: 12px 20px 40px;
    display: flex;
    /* !important kaldırıldı */
    flex-direction: row;
    align-items: center;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 4px 15px rgb(104 95 95 / 64%);
    flex: 1 1 0;
    /* Eşit dağılım için varsayılan */
    width: 50%;
    /* Maksimum yarım genişlik */
    max-width: 50%;
    box-sizing: border-box;
    align-self: stretch !important;
    /* Yüksekliği konteynere uydur */
}

/* Tekil durumda (Gift Card kapalıyken) Stripe kutusunu %50 genişlikte tut ve ortala */
.payment-methods-grid:not(.has-gift-card) #pay-stripe-btn {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin: 0 auto !important;
}

/* Tekil durumda (Gift Card kapalıyken) Stripe kutusunu ortala */
.payment-methods-grid:not(.has-gift-card) #pay-stripe-btn {
    margin: 0 auto;
}

/* Base class already handled height: 100% */

button.payment-option-card {
    background: #ffffff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    /* !important kaldırıldı */
    flex-direction: column;
    /* !important kaldırıldı */
    justify-content: center;
    margin: 0;
    padding: 12px 20px 40px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-sizing: border-box;
    height: auto !important;
    /* Align-self stretch tarafından yönetilecek */
    min-height: 100%;
}

@media (max-width: 768px) {

    button.payment-option-card,
    .payment-option-card,
    .payment-methods-grid:not(.has-gift-card) #pay-stripe-btn {
        width: 100% !important;
        height: auto !important;
        min-height: unset;
        flex-basis: 100% !important;
        margin: 0 0 10px 0 !important;
    }
}

.payment-option-card:hover {
    border-color: #d4af37;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #fffbf2 100%);
}

.payment-option-card.active {
    border-color: #d4af37;
    border-width: 1.5px;
    background: linear-gradient(to bottom, #ffffff, #fdfaf0);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12);
}

.option-icon {
    width: 36px;
    /* 42px -> 36px */
    height: 36px;
    /* 42px -> 36px */
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    /* 1.1rem -> 1rem */
    color: #bc9313;
    margin-right: 12px;
    /* 15px -> 12px */
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.payment-option-card:hover .option-icon,
.payment-option-card.active .option-icon {
    background: #d4af37;
    color: #ffffff;
}

.option-title {
    font-family: 'Forum', serif;
    font-size: 0.9rem;
    /* 1rem -> 0.9rem */
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0px;
    /* 2px -> 0px */
    display: block;
    letter-spacing: 0.3px;
}

.option-subtitle {
    font-size: 0.65rem;
    /* 0.72rem -> 0.65rem */
    color: #64748b;
    font-weight: 500;
    line-height: 1.1;
    /* 1.2 -> 1.1 */
    display: block;
}

.card-brands {
    display: flex;
    gap: 8px;
    margin: 6px 0;
    font-size: 1.2rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.payment-option-card:hover .card-brands,
.payment-option-card.active .card-brands {
    color: #bc9313;
}

.security-badge {
    position: absolute;
    bottom: 10px;
    /* Masaüstü için aşağı kaydırıldı */
    left: 50%;
    /* Yatayda ortalama */
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    color: #10b981;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.security-badge i {
    font-size: 0.8rem;
}

/* Gift Card Expansion */
.gift-card-expandable {
    cursor: default;
    display: none;
    /* Varsayılan gizli */
    flex-direction: column;
    align-items: flex-start;
}

.gift-card-expandable.active {
    display: flex;
    /* Aktifken görünür */
}

@media (max-width: 768px) {
    .payment-methods-grid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .payment-option-card,
    button.payment-option-card {
        width: 100% !important;
        max-width: 340px !important;
        /* Genişliği sabitle ve ortala */
        margin: 0 auto !important;
        padding-bottom: 50px !important;
        /* SSL rozeti için 52px -> 60px yapıldı, alan genişletildi */
    }

    .payment-methods-grid:not(.has-gift-card) #pay-stripe-btn {
        flex: 0 0 100% !important;
        max-width: 340px !important;
    }

    .gc-input-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .security-badge {
        bottom: 8px !important;
        /* Varsayılan mobil konumu */
    }

    /* Use gift card butonu tıklanmadan önceki (tekil) hali için rozeti 5px daha aşağı al */
    .payment-methods-grid:not(.has-gift-card) .security-badge {
        bottom: 0px !important;
        /* 2px -> 0px yapıldı (toplamda 5px aşağı inmiş oldu) */
    }

    /* Üst bar öğelerini uçlara yasla */
    .total-display,
    .total-bar {
        justify-content: space-between !important;
        width: 100% !important;
        display: flex !important;
    }

    .gift-card-expandable {
        height: auto !important;
    }

    /* Mobil gezinme (NEXT/BACK) alanı düzenlemesi */
    .form-navigation {
        background: #ffffff !important;
        z-index: 1000 !important;
        position: sticky !important;
        bottom: 0 !important;
        padding: 15px 20px !important;
        margin-top: 20px !important;
        border-top: 1px solid #eee !important;
        box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05) !important;
        display: flex !important;
        gap: 10px !important;
    }

    .form-navigation .btn {
        flex: 1 !important;
        margin: 0 !important;
    }
}

.option-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.gift-card-form {
    width: 100%;
    margin-top: 8px;
    /* 12px -> 8px */
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gc-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    /* 20px -> 12px */
}

.input-with-icon {
    position: relative;
    flex: 1;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}

.form-control-premium {
    width: 100%;
    height: 38px;
    /* 44px -> 38px */
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding-left: 36px;
    /* 40px -> 36px */
    font-size: 0.85rem;
    /* 0.9rem -> 0.85rem */
    font-weight: 500;
    color: #1e293b;
    transition: all 0.3s ease;
}

.form-control-premium:focus {
    border-color: #d4af37;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
    outline: none;
}

.btn-premium-apply {
    width: 100%;
    height: 40px;
    /* 46px -> 40px */
    background: linear-gradient(135deg, #d4af37 0%, #bc9313 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    /* 0.9rem -> 0.85rem */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* 12px -> 10px */
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-premium-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.selection-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.active .selection-indicator {
    background: #d4af37;
    border-color: #d4af37;
    transform: scale(1.1);
}

.active .selection-indicator::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #ffffff;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gc-status-msg {
    margin-top: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    min-height: auto;
    text-align: center;
}

.gift-card-expandable {
    padding-bottom: 12px !important;
}

@media (max-width: 991px) {
    .payment-methods-grid {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .payment-methods-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .payment-option-card {
        padding: 15px 12px;
    }

    .option-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-right: 10px;
    }

    .option-title {
        font-size: 0.9rem;
    }
}

/* Hero & Slider Specifics */
.hero-main {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 100vh;
    display: block;
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-wrapper {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-content-inner {
    height: 100%;
    justify-content: center;
    padding-top: 35vh;
    pointer-events: none;
}

.hero-text-centered {
    pointer-events: auto;
    text-align: center;
    margin-bottom: 0;
}

.reservation-container-relative {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.reservation-wrapper-dynamic {
    pointer-events: auto;
    margin-top: 0;
}

@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .payment-methods-grid {
        flex-direction: column !important;
        align-items: center !important;
    }

    .payment-method-card {
        max-width: 100% !important;
        height: auto !important;
        min-height: 136px;
    }

    .gift-card-container {
        height: auto !important;
        padding-bottom: 20px !important;
    }
}

/* Premium Stripe Checkout UI */
#stripe-payment-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 600px;
    margin: 40px auto;
}

#stripe-payment-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d4af37, #fef08a, #d4af37);
    border-radius: 20px 20px 0 0;
}

.stripe-header {
    text-align: center;
    margin-bottom: 2rem;
}

.stripe-header h4 {
    font-family: 'Forum', serif;
    font-size: 2.2rem;
    color: #1e293b;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stripe-header p {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.stripe-header p i {
    color: #10b981;
}

#stripe-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #a67c00 100%);
    color: #fff;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(166, 124, 0, 0.2);
}

#stripe-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(166, 124, 0, 0.3);
}

#stripe-back-btn {
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1.5px solid #d4af37 !important;
    font-size: 1rem !important;
    padding: 1.2rem !important;
    margin-top: 1.2rem !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
}

#stripe-back-btn:hover {
    background: #fdfaf0 !important;
    border-color: #a67c00 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

/* Premium Stripe Amount Card */
.stripe-amount-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fdfaf0 0%, #fffef9 100%);
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.05);
    animation: slideUpIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stripe-amount-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #d4af37;
}

.stripe-amount-label {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.stripe-amount-label .label-text {
    font-weight: 700;
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.stripe-amount-label .sub-text {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
}

.stripe-amount-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stripe-amount-value .currency {
    font-size: 1.5rem;
    color: #1e293b;
    font-weight: 600;
}

.stripe-amount-value .amount {
    font-weight: 800;
    color: #1e293b;
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

@keyframes slideUpIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}