/* =========================================
   RESERVATION
========================================= */

.reservation {
    width: 100%;
    max-width: 1032px;
    margin: 0 auto;
    padding: 40px 24px 50px;
    box-sizing: border-box;
}

.reservation-content {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 32px 36px;
    box-sizing: border-box;
    background: #0b1d22;
    border-radius: var(--radius-lg, 30px);
    color: #fff;
    box-shadow: 0 25px 60px rgba(11, 29, 34, 0.15);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .9fr);
    gap: 36px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.reservation-main {
    min-width: 0;
    display: block;
}

.reservation-main .eyebrow {
    display: block;
}

.reservation-main h2 {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    text-align: left;
}

.reservation-main p {
    display: block;
    width: 100%;
    margin: 0 0 22px;
    text-align: left;
}

.reservation-main .reservation-open {
    display: inline-flex;
}

.reservation-side {
    min-height: 160px;
    padding-left: 36px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reservation-side-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgba(212, 163, 89, 0.15);
    color: var(--gold, #d4a359);
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.reservation-side > span {
    margin-bottom: 6px;
    color: var(--gold, #d4a359);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.reservation-side strong {
    margin-bottom: 8px;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
}

.reservation-side p {
    max-width: 240px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
    line-height: 1.65;
}

.reservation .eyebrow,
.reservation-modal .eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--gold, #d4a359);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.reservation h2 {
    margin: 0 0 12px;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 5vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.reservation h2 em {
    color: var(--gold, #d4a359);
    font-style: normal;
}

.reservation-main > p {
    max-width: 520px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13.5px;
    line-height: 1.65;
}


/* =========================================
   OPEN BUTTON
========================================= */

.reservation-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid rgba(212, 163, 89, 0.3);
    border-radius: 999px;
    background: var(--gold, #d4a359);
    color: var(--navy, #0b1d22);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 163, 89, 0.2);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reservation-open:hover {
    transform: translateY(-2px);
    background: #e0b065;
    box-shadow: 0 12px 30px rgba(212, 163, 89, 0.3);
}

.reservation-open i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.reservation-open:hover i {
    transform: translateY(2px);
}


/* =========================================
   MODAL
========================================= */

.reservation-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.reservation-modal.is-open {
    opacity: 1;
    visibility: visible;
}


/* Overlay */

.reservation-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 29, 34, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* Dialog */

.reservation-dialog {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 32px;
    background: var(--paper, #fff);
    border-radius: var(--radius-lg, 30px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(15px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reservation-modal.is-open .reservation-dialog {
    transform: translateY(0) scale(1);
}


/* Close */

.reservation-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 29, 34, 0.1);
    border-radius: 50%;
    background: #f7f3ed;
    color: var(--navy, #0b1d22);
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
}

.reservation-close:hover {
    background: var(--navy, #0b1d22);
    color: #fff;
    transform: scale(1.05);
}


/* Modal Head */

.reservation-modal-head {
    padding-right: 40px;
    margin-bottom: 24px;
}

.reservation-modal-head h3 {
    margin: 0 0 8px;
    color: var(--navy, #0b1d22);
    font-family: "Playfair Display", serif;
    font-size: 28px;
    line-height: 1.15;
}

.reservation-modal-head p {
    margin: 0;
    color: var(--muted, #737c80);
    font-size: 13.5px;
    line-height: 1.6;
}


/* =========================================
   FORM
========================================= */

.reservation-form {
    width: 100%;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy, #0b1d22);
    font-size: 12.5px;
    font-weight: 600;
}

.form-group label span {
    color: var(--muted, #737c80);
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--line, rgba(11, 29, 34, 0.12));
    border-radius: var(--radius-sm, 14px);
    background: #faf8f5;
    color: var(--ink, #1a2325);
    font: inherit;
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s ease;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(212, 163, 89, 0.8);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 163, 89, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}


/* Submit */

.reservation-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 20px;
    border: 0;
    border-radius: var(--radius-sm, 14px);
    background: var(--navy, #0b1d22);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(11, 29, 34, 0.15);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reservation-button:hover {
    transform: translateY(-2px);
    background: var(--terra, #b85d34);
    box-shadow: 0 15px 30px rgba(184, 93, 52, 0.25);
}

.reservation-button i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.reservation-button:hover i {
    transform: translateX(3px);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {

    .reservation {
        padding: 30px 16px 40px;
    }

    .reservation-content {
        width: 100%;
        padding: 26px 20px;
        border-radius: var(--radius-md, 22px);
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reservation h2 {
        font-size: 30px;
    }

    .reservation-open {
        width: 100%;
    }

    .reservation-dialog {
        padding: 24px 18px;
        border-radius: var(--radius-md, 22px);
        width: calc(100% - 24px);
    }

    .reservation-modal-head h3 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .reservation-side {
        min-height: auto;
        padding: 20px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .reservation-side p {
        max-width: none;
    }

}

/* ==========================================================
   EGELİM+ RESERVATION THEME OVERRIDES
   ========================================================== */
:root {
  --navy: #171916;
  --cream: #F3F0E9;
  --paper: #FFFFFF;
  --gold: #36B9C8;
  --gold-light: #DDF4F5;
  --terra: #249AA8;
  --ink: #242724;
  --muted: #6E7470;
  --line: rgba(23,25,22,.12);
}
.reservation, .reservation-modal, .reservation-dialog,
.reservation-form, .reservation-form button, .reservation-form input,
.reservation-form select, .reservation-form textarea {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
.reservation-content { background: #171916; border-color: rgba(54,185,200,.22); }
.reservation h2, .reservation-modal-head h3 { font-family: "Playfair Display", Georgia, serif; }
.reservation-side strong { font-family: "DM Sans", sans-serif; }
.reservation .eyebrow, .reservation-modal .eyebrow, .reservation-side > span { text-shadow: none !important; }
.reservation h2 em, .reservation-side > span { color: #36B9C8; }
.reservation-open { background: #36B9C8; border-color: #36B9C8; color: #102326; }
.reservation-open:hover { background: #55C9D5; border-color: #55C9D5; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #36B9C8; box-shadow: 0 0 0 4px rgba(54,185,200,.16);
}
.reservation-close:hover { background: #171916; color: #fff; }
.reservation-overlay { background: rgba(12,15,13,.78); }

/* EGELİM+ logo palette: charcoal, turquoise and warm ivory. */
.reservation,
.reservation-modal { font-family: "DM Sans", sans-serif; }
.reservation h2,
.reservation-modal-head h3 { font-family: "Playfair Display", Georgia, serif; }
.reservation h2 em { color: #36B9C8; }
.reservation-open {
  background: #36B9C8;
  border-color: #36B9C8;
  color: #171916;
  box-shadow: 0 8px 22px rgba(54, 185, 200, 0.18);
}
.reservation-open:hover { background: #56C7D3; border-color: #56C7D3; }
.reservation-overlay { background: rgba(13, 18, 17, 0.78); }
.reservation-dialog { background: #F3F0E9; }
.reservation-close { color: #171916; }
.reservation-close:hover { background: #171916; color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(54, 185, 200, 0.85);
  box-shadow: 0 0 0 4px rgba(54, 185, 200, 0.15);
}
.reservation .eyebrow,
.reservation-modal .eyebrow,
.reservation-side > span { text-shadow: none !important; }
