/* ==========================================================
   Tadoba Van Boutique Villa - Experience section + Booking popup
   ========================================================== */

.tv-experience {
    background: #ffffff;
    position: relative;
    padding: 70px 0;
    overflow: hidden;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.tv-experience .container { position: relative; z-index: 2; }

.tv-head { text-align: center; margin-bottom: 45px; }
.tv-eyebrow {
    display: inline-block;
    letter-spacing: 3px;
    font-size: 12px;
    text-transform: uppercase;
    color: #c8862a;
    margin-bottom: 12px;
}
.tv-head h1 {
    color: #2d2a26;
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.25;
}
.tv-head h1 span { color: #c8862a; }
.tv-head p {
    color: #6b6b6b;
    max-width: 720px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
}
.tv-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0 -15px;
}
.tv-col {
    padding: 0 15px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Image column stretches to match the height of the content column */
.tv-brand {
    flex: 1 1 auto;
    position: relative;
    min-height: 320px;
    background: #1a1310;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(0,0,0,.18);
    line-height: 0;
    font-size: 0;
}
.tv-brand img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    font-family: "object-fit: contain;"; /* object-fit polyfill hint for old IE/Edge */
}


.tv-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-wrap: wrap;
}
.tv-features li {
    width: 50%;
    color: #4a4a4a;
    font-size: 14px;
    padding: 10px 12px 10px 34px;
    position: relative;
    box-sizing: border-box;
}
.tv-features li:before {
    content: "\f00c";
    font-family: FontAwesome;
    position: absolute;
    left: 8px;
    top: 10px;
    color: #c8862a;
}

.tv-actions { display: flex; flex-wrap: wrap; }

/* Button — reset the theme's fixed 34px button height/line-height */
.tv-btn {
    display: inline-block;
    height: auto !important;
    line-height: 1.2 !important;
    padding: 14px 30px !important;
    margin: 0 12px 12px 0;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    white-space: normal;
    border: 2px solid transparent;
    box-sizing: border-box;
    cursor: pointer;
    vertical-align: middle;
    font-family: inherit;
    transition: all .25s ease;
}
.tv-btn-primary { background: #c8862a !important; color: #fff !important; border-color: #c8862a; }
.tv-btn-primary:hover, .tv-btn-primary:focus { background: #a86d1c !important; border-color: #a86d1c; color: #fff !important; text-decoration: none; }
.tv-btn-ghost { background: transparent !important; color: #2d2a26 !important; border-color: #cfcfcf; }
.tv-btn-ghost:hover, .tv-btn-ghost:focus { border-color: #c8862a; color: #c8862a !important; background: transparent !important; text-decoration: none; }

/* ---------- Popup ---------- */
.tv-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.75);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
}
.tv-modal.is-open { display: block; }
.tv-modal-dialog {
    background: #fff;
    max-width: 620px;
    margin: 30px auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,.5);
    animation: tvIn .3s ease;
}
@keyframes tvIn { from { opacity: 0; transform: translateY(-25px); } to { opacity: 1; transform: none; } }

.tv-modal-head {
    background: #14100c;
    padding: 20px 50px 20px 24px;
    position: relative;
}
.tv-modal-head h3 { color: #e8a33d; margin: 0 0 4px; font-size: 20px; }
.tv-modal-head p { color: rgba(255,255,255,.65); margin: 0; font-size: 13px; }
.tv-close {
    position: absolute;
    top: 12px; right: 14px;
    background: none !important;
    border: 0;
    color: #fff !important;
    font-size: 26px;
    height: auto !important;
    line-height: 1 !important;
    padding: 4px 8px !important;
    cursor: pointer;
    opacity: .7;
}
.tv-close:hover { opacity: 1; color: #e8a33d !important; }

.tv-modal-body { padding: 24px; }
.tv-form-row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.tv-field { padding: 0 8px 16px; width: 50%; box-sizing: border-box; }
.tv-field-full { width: 100%; }
.tv-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #555;
    margin-bottom: 6px;
}
.tv-field label .req { color: #d9534f; }
.tv-field input,
.tv-field select,
.tv-field textarea {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.tv-field select {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23777' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 32px;
}
.tv-field input[type="date"] { -webkit-appearance: none; min-height: 44px; }
.tv-field textarea { height: 92px; resize: vertical; }
.tv-field input:focus,
.tv-field select:focus,
.tv-field textarea:focus {
    outline: none;
    border-color: #c8862a;
    box-shadow: 0 0 0 2px rgba(200,134,42,.18);
}
.tv-hp { position: absolute; left: -9999px; }

.tv-note { font-size: 12px; color: #888; margin: 0 0 16px; }
.tv-submit { display: block; width: 100%; margin: 0; }
.tv-submit[disabled] { opacity: .6; cursor: not-allowed; }

.tv-alert {
    display: none;
    padding: 12px 14px;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 16px;
}
.tv-alert.show { display: block; }
.tv-alert.ok { background: #e8f6ec; color: #1e7e34; border: 1px solid #bfe3c9; }
.tv-alert.err { background: #fdecea; color: #b02a24; border: 1px solid #f5c6c2; }

body.tv-modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .tv-head h1 { font-size: 28px; }

}
@media (max-width: 767px) {
    .tv-experience { padding: 45px 0; }
    .tv-col { width: 100%; }
    .tv-brand { margin-bottom: 30px; flex: 0 0 auto; height: 240px; min-height: 0; }
    .tv-features li { width: 100%; }
    .tv-actions { display: block; }
    .tv-btn { display: block; width: 100%; margin: 0 0 12px 0; }
    .tv-field { width: 100%; }
    .tv-modal { padding: 0; }
    .tv-modal-dialog { margin: 0; border-radius: 0; min-height: 100%; }
    .tv-head h1 { font-size: 24px; }
}
