/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/
body {
    font-family: 'Montserrat', sans-serif;
    color: #322a25;
}
.hero_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.badge_hero {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
}

.hero_badges .bi {
    font-size: 16px;
}

.pinned-image__container-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.pinned-image__container {
    background-color: #000;
}

/* Interior Gallery - Uniform dimensions for images and videos */
.interior_gallery .item {
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.interior_gallery .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.interior_gallery .video_item video,
.pinned-image__slider .video_item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

@media (max-width: 991px) {
    .interior_gallery .item {
        height: 350px;
    }
}

@media (max-width: 575px) {
    .interior_gallery .item {
        height: 280px;
    }
}

.pinned-image__slider.owl-carousel .item {
    height: 100%;
}

.pinned-image__slider {
    height: 100%;
}

.paypal_box {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 24px;
    background: #fffdf3;
    text-align: center;
}

.btn_paypal {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 14px 18px;
    font-weight: 600;
    background: #ffc439;
    color: #111;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn_paypal:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(255, 196, 57, 0.45);
}

.footer_link {
    color: #fff;
    text-decoration: underline;
}

.booking_wizard {
    margin-top: 20px;
}

.wizard_steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.wizard_step {
    border: none;
    border-radius: 25px;
    background: rgba(151, 134, 103, 0.15);
    color: #978667;
    font-weight: 600;
    padding: 12px 10px;
    text-align: center;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.wizard_step.active {
    background: #978667;
    color: #fff;
}

.wizard_step.completed {
    background: rgba(151, 134, 103, 0.3);
    color: #978667;
}

.wizard_panel {
    display: none;
}

.wizard_panel.active {
    display: block;
}

.wizard_estimate {
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 15px;
    background: #fafbff;
    display: grid;
    gap: 4px;
}

.wizard_nav {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.wizard_nav .btn_1 {
    flex: 1;
}

.wizard_loader {
    margin-top: 15px;
    color: #e68445;
    display: flex;
    align-items: center;
}

.booking_confirmation {
    padding: 20px;
}

.booking_confirmation .btn_1 {
    margin-top: 20px;
}

.admin_page {
    background: linear-gradient(135deg, #faf1ea, #fce7cf);
    min-height: 100vh;
    padding: 60px 0 80px;
}

.admin_container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.admin_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin_header h1 {
    margin: 0;
    font-size: 1.8rem;
}

.admin_card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(22,34,53,.06);
}

.admin_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.admin_toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin_toolbar h2 {
    margin-bottom: 4px;
}

.admin_toolbar .btn_1.small {
    padding: 8px 14px;
    font-size: 0.9rem;
}

.btn_1.small,
.btn_1.outline.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.admin_card table {
    font-size: 0.95rem;
}

.admin_card code {
    font-size: 0.9rem;
}

.portal_page {
    background: #F8F3EE;
    min-height: 100vh;
}

.portal_hero {
    position: relative;
    background: rgba(0, 0, 0, 0.5) url("../img/gallery/gallery_orange_beach_sunset.jpg") center/cover;
    background-blend-mode: darken;
    color: #fff;
    padding: 150px 0 90px;
    text-align: center;
}

.portal_hero h1,
.portal_hero p,
.portal_hero .lead,
.portal_hero a,
.portal_hero .btn_1.outline {
    color: #fff;
}

.portal_hero .btn_1.outline {
    border-color: #fff;
}

.portal_container {
    width: min(1100px, 92%);
    margin: 0 auto;
    margin-top: 0;
    padding: 40px 0 90px;
    position: relative;
    z-index: 1;
    background-color: #F8F3EE;
}

.portal_card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.portal_toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.portal_card h3 {
    margin-bottom: 1rem;
}

.addon_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 16px;
}

.addon_item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.portal_experiences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
}

.portal_experience {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.portal_experience img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.portal_experience .content {
    padding: 16px;
}

.itinerary_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.itinerary_item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.itinerary_item .time {
    min-width: 80px;
    font-weight: 600;
    color: #e47b3d;
}

.invoice_preview {
    border: 1px dashed rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 18px;
    margin-top: 12px;
    color: #5f524a;
}

@media (max-width: 991px) {
    .wizard_steps {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }
    .wizard_nav {
        flex-direction: column;
    }
    .wizard_nav .btn_1 {
        width: 100%;
    }
    .portal_toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .addon_list {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .portal_experiences {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }
    .admin_header {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .wizard_steps {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 8px;
    }
    .wizard_step {
        font-size: 0.75rem;
        padding: 10px 8px;
    }
    .wizard_estimate {
        font-size: 0.9rem;
    }
    .paypal_box {
        padding: 18px;
    }
    .portal_hero {
        padding: 120px 0 70px;
    }
    .portal_container {
        margin-top: -20px;
        padding-bottom: 60px;
    }
    .portal_card {
        padding: 18px;
    }
    .portal_experiences {
        grid-template-columns: 1fr;
    }
    .addon_list {
        grid-template-columns: 1fr;
    }
    .itinerary_item {
        flex-direction: column;
    }
    .itinerary_item .time {
        min-width: auto;
    }
}
.itinerary_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.itinerary_item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.itinerary_item .time {
    min-width: 85px;
    font-weight: 600;
    color: #e47b3d;
}

.invoice_preview {
    border: 1px dashed rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 18px;
    margin-top: 15px;
    color: #5f524a;
}

/* Scroll offset for fixed header */
#about,
#rooms,
#gallery,
#amenities,
#contacts,
#booking_section {
    scroll-margin-top: 120px;
}

/* Mobile Header - Center logo */
@media (max-width: 767px) {
    header .container > .row {
        flex-direction: column;
        text-align: center;
    }
    header .container > .row > .col-md-3.col-5 {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    header .container > .row > .col-md-9.col-7 {
        width: 100%;
    }
    header .logo_normal,
    header .logo_sticky {
        display: inline-block;
    }
}

/* Admin Panel Tabs */
.admin_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin_tab {
    padding: 12px 24px;
    border: 2px solid #978667;
    border-radius: 8px;
    background: #fff;
    color: #978667;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin_tab:hover {
    background: rgba(151, 134, 103, 0.1);
}

.admin_tab.active {
    background: #978667;
    color: #fff;
}

.admin_panel {
    display: none;
}

.admin_panel.active {
    display: block;
}

/* Media Preview */
.media_preview {
    width: 80px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media_preview img,
.media_preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media_preview .placeholder {
    color: #999;
    font-size: 0.75rem;
}

/* Booking Status Badges */
.badge_pending {
    background: #ffc107;
    color: #333;
}

.badge_confirmed {
    background: #28a745;
    color: #fff;
}

.badge_cancelled {
    background: #dc3545;
    color: #fff;
}

/* Action Buttons in Table */
.btn_action {
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin: 2px;
}

.btn_confirm {
    background: #28a745;
    color: #fff;
}

.btn_confirm:hover {
    background: #218838;
}

.btn_cancel {
    background: #dc3545;
    color: #fff;
}

.btn_cancel:hover {
    background: #c82333;
}

/* Admin Table Styles */
.admin_card table th {
    white-space: nowrap;
    font-size: 0.85rem;
}

.admin_card table td {
    font-size: 0.9rem;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .admin_tabs {
        flex-direction: column;
    }
    .admin_tab {
        text-align: center;
    }
}
