﻿
/* Linkin varsayılan hali */
html {
    scroll-behavior: smooth;
}

/* Form üstü bilgi kutusu (alert yerine) */
.party-infobox {
    display: none;
    margin: 0 0 18px 0;
    padding: 14px 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 15px;
    line-height: 1.4;
}

.party-infobox--error {
    background: #fde7e9;
    border-color: #f5c2c7;
    color: #842029;
}

.party-infobox--success {
    background: #e6f4ea;
    border-color: #badbcc;
    color: #0f5132;
}

.party-infobox--warning {
    background: #fff4e5;
    border-color: #ffe1b3;
    color: #8a5a00;
}

.kvkkLabel a {
    color: #444;
    text-decoration: underline;
}

    .kvkkLabel a:hover {
        color: #000;
    }

/* Yeni içerik alanları */
.birthday-hero-copy {
    max-width: 980px;
    margin: 0 auto;
}

    .birthday-hero-copy h1 {
        margin-bottom: 24px;
    }

    .birthday-hero-copy p {
        margin-bottom: 18px;
    }

.party-seo-content {
    max-width: 980px;
    margin: 0 auto;
    padding-top: 24px;
}

    .party-seo-content p {
        margin-bottom: 18px;
    }

.party-faq {
    padding: 60px 0;
    background: #fff;
}

    .party-faq .container {
        max-width: 980px;
    }

    .party-faq h2 {
        margin-bottom: 24px;
        text-align: center;
    }

.party-faq-placeholder {
    text-align: center;
    color: #666;
    margin-bottom: 0;
}

.party-kits img + img {
    margin-top: 20px;
}

#party-accessories {
    margin-top: 40px;
}

.hero-reservation-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px; /* ↓ daha aşağı aldık (önce -60'tı) */
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.hero-reservation-btn {
    background-color: #d0021b;
    color: #fff;
    text-decoration: none;
    padding: 20px 60px; /* büyüttük */
    border-radius: 50px; /* daha yuvarlak */

    font-size: 20px; /* büyüttük */
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
}

    /* hover */
    .hero-reservation-btn:hover {
        background-color: #b80016;
        color: #fff; /* 🔥 yazı rengi sabit */
        transform: scale(1.05);
    }

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-item {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

.faq-answer {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.party-faq-wrapper {
    max-width: 1200px; /* full screen'i keser */
    margin: 60px auto; /* üst-alt boşluk + ortalama */
    padding: 0 20px; /* sağ-sol yapışmayı engeller */
}

.faq-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px; /* başlık ile içerik arası boşluk */
}
   .party-form-modal .otp-actions {
        flex-direction: column;
    }

        .party-form-modal .otp-actions .cta-button {
            width: 100%;
        }

/* Checkbox alanlarını büyüt ve metni yukarı hizala */
#section-form #frmPartyV2 .checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
}

    #section-form #frmPartyV2 .checkbox-field input[type="checkbox"] {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        margin: 2px 0 0 0 !important;
        position: relative;
        top: 2px;
        flex-shrink: 0;
        cursor: pointer;
    }

    #section-form #frmPartyV2 .checkbox-field label,
    #section-form #frmPartyV2 .checkbox-field .kvkkLabel {
        display: block;
        margin: 0;
        padding: 0;
        line-height: 1.45;
        flex: 1;
    }

        /* Link rengi bozulmasın */
        #section-form #frmPartyV2 .checkbox-field .kvkkLabel a {
            color: #444;
            text-decoration: underline;
        }


/* =========================
   KVKK BLOK YAPI
========================= */

#section-form #frmPartyV2 .kvkk-wrapper {
    margin-top: 20px;
}

/* üst linkler */
#section-form #frmPartyV2 .kvkk-links p {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
}

#section-form #frmPartyV2 .kvkk-links a {
    text-decoration: underline;
    color: #333;
}

/* checkbox box */
#section-form #frmPartyV2 .kvkk-box {
    border: 1px solid #ddd;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #fff;
}

/* label layout */
#section-form #frmPartyV2 .kvkk-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

    /* checkbox */
    #section-form #frmPartyV2 .kvkk-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        min-width: 20px;
        margin-top: 3px;
        cursor: pointer;
    }

    /* metin */
    #section-form #frmPartyV2 .kvkk-item span {
        font-size: 14px;
        line-height: 1.5;
        color: #333;
    }

    /* bold alan */
    #section-form #frmPartyV2 .kvkk-item strong {
        font-weight: 700;
    }
/* KVKK checkboxlarını zorla görünür yap */
#section-form #frmPartyV2 .kvkk-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    cursor: pointer;
}

    #section-form #frmPartyV2 .kvkk-item input[type="checkbox"] {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        margin: 3px 0 0 0 !important;
        padding: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        appearance: checkbox !important;
        -webkit-appearance: checkbox !important;
        -moz-appearance: checkbox !important;
        accent-color: #0078d7 !important;
        flex-shrink: 0 !important;
        z-index: 2 !important;
    }

    #section-form #frmPartyV2 .kvkk-item span {
        display: block !important;
        flex: 1 1 auto !important;
        line-height: 1.45 !important;
    }

    /* plugin'in ürettiği sahte checkbox elemanlarını kapat */
    #section-form #frmPartyV2 .kvkk-item .prettycheckbox,
    #section-form #frmPartyV2 .kvkk-item .prettyCheckbox,
    #section-form #frmPartyV2 .kvkk-item .checker,
    #section-form #frmPartyV2 .kvkk-item .checkerArea,
    #section-form #frmPartyV2 .kvkk-item .holderWrap,
    #section-form #frmPartyV2 .kvkk-item .holder,
    #section-form #frmPartyV2 .kvkk-item label::before,
    #section-form #frmPartyV2 .kvkk-item label::after {
        display: none !important;
        content: none !important;
    }
/* =========================
   OTP MODAL FIX
========================= */

.party-form-modal .modal-dialog {
    max-width: 640px;
    margin: 40px auto;
}

.party-form-modal .modal-content {
    border: 0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    background: #fff;
}

.party-form-modal .modal-header {
    padding: 22px 28px 18px;
    border-bottom: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.party-form-modal .modal-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #222;
}

.party-form-modal .close {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    color: #666;
    font-size: 28px;
    line-height: 1;
}

    .party-form-modal .close:hover {
        color: #111;
    }

.party-form-modal .modal-body {
    padding: 26px 28px 30px;
}

.party-form-modal .otp-description {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.party-form-modal .otp-timer {
    display: block;
    margin: 0 0 18px 0;
    color: #666;
    font-size: 15px;
    font-weight: 600;
}

.party-form-modal .otp-input {
    display: block;
    width: 100%;
    height: 54px;
    padding: 0 16px;
    margin: 0 0 18px 0;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 18px;
    letter-spacing: 1px;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
}

    .party-form-modal .otp-input:focus {
        border-color: #c30018;
    }

.party-form-modal .otp-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

    .party-form-modal .otp-actions .cta-button {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        height: 50px;
        padding: 0 20px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        font-weight: 700;
        line-height: 1;
        text-align: center;
        box-sizing: border-box;
        border:none;
    }

.party-form-modal .otp-message {
    display: block;
    margin-top: 14px;
    color: #c30018;
    font-size: 14px;
    line-height: 1.4;
    min-height: 20px;
}

/* mobil */
@media (max-width: 767.98px) {
    .party-form-modal .modal-dialog {
        max-width: calc(100% - 24px);
        margin: 20px auto;
    }

    .party-form-modal .modal-header {
        padding: 18px 18px 14px;
    }

    .party-form-modal .modal-title {
        font-size: 20px;
    }

    .party-form-modal .modal-body {
        padding: 18px 18px 22px;
    }

    .party-form-modal .otp-input {
        height: 50px;
        font-size: 17px;
    }

    .party-form-modal .otp-actions .cta-button {
        min-height: 48px;
        height: 48px;
        font-size: 16px;
    }
    /* OTP BUTTON OVERRIDES */

    .party-form-modal .otp-actions .cta-button {
        width: 100%;
        height: 50px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* KIRMIZI (primary) */
    .party-form-modal .otp-btn-primary {
        background-color: #db0007; /* McD red */
        color: #fff;
    }

    /* SARI (secondary) */
    .party-form-modal .otp-btn-secondary {
        background-color: #ffbc0d; /* McD yellow */
        color: #000;
    }

    /* hover */
    .party-form-modal .otp-btn-primary:hover {
        background-color: #b80006;
    }

    .party-form-modal .otp-btn-secondary:hover {
        background-color: #e0a800;
    }
    .otp-actions .cta-button {
        box-shadow: none !important;
        border: none !important;
        transform: none !important;
    }
    .party-form-modal .close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #f2f2f2;
        font-size: 20px;
        line-height: 32px;
        text-align: center;
        opacity: 1;
        transition: all 0.2s ease;
    }

        .party-form-modal .close:hover {
            background: #e0e0e0;
        }
}
.otp-modal-dialog {
    max-width: 520px;
}

.otp-modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.otp-modal-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 56px 10px;
    border-bottom: 0;
}

    .otp-modal-header .modal-title {
        width: 100%;
        margin: 0;
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        color: #222;
    }

.otp-modal-close {
    position: absolute;
    top: 14px!important;
    right: 16px!important;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    font-size: 32px;
    line-height: 1;
    color: #555;
    text-shadow: none;
}

    .otp-modal-close:hover,
    .otp-modal-close:focus {
        color: #000;
        opacity: 1;
        outline: none;
    }

.otp-modal-body {
    padding: 10px 28px 30px;
    text-align: center;
}

.otp-description {
    margin-bottom: 14px;
    font-size: 15px;
    color: #555;
}

.otp-timer {
    margin-bottom: 20px;
    font-weight: 600;
    color: #d61f26;
}

.otp-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 auto 24px;
    flex-wrap: nowrap;
}

.otp-box {
    width: 52px;
    height: 58px;
    border: 1px solid #d8d8d8;
    border-radius: 14px;
    background: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #222;
    outline: none;
    transition: all 0.2s ease;
}

    .otp-box:focus {
        border-color: #ffbc0d;
        box-shadow: 0 0 0 3px rgba(255, 188, 13, 0.22);
    }

    .otp-box.filled {
        border-color: #222;
    }

.otp-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

    .otp-actions .cta-button {
        min-width: 220px;
    }

.otp-message {
    display: block;
    margin-top: 14px;
    min-height: 20px;
}

@media (max-width: 575px) {
    .otp-modal-header {
        padding: 20px 48px 10px;
    }

        .otp-modal-header .modal-title {
            font-size: 20px;
        }

    .otp-boxes {
        gap: 8px;
    }

    .otp-box {
        width: 44px;
        height: 50px;
        font-size: 20px;
        border-radius: 12px;
    }

    .otp-actions .cta-button {
        width: 100%;
        min-width: 100%;
    }
}