﻿/* Mobile-First CSS Reset and Overrides */
* {
    box-sizing: border-box;
}



/* Mobile navigation - use default Bootstrap behavior like other pages */
@media (max-width: 992px) {
    /* Only keep logo positioning on right side - fixed position */
    .navbar-brand {
        float: right !important;
        margin-right: 0 !important;
        margin-left: 15px !important;
        right: 15px !important;
        top: 0px !important;
        z-index: 1002 !important;
    }
    
    .navbar-brand img {
        filter: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .navbar-inner {
        padding: 0 15px;
        position: relative !important;
    }
    
    /* Ensure hamburger icon is on the left like other pages */
    .navbar-header {
        width: auto;
    }
    
    .navbar-toggle {
        float: left !important;
        margin-right: 0 !important;
    }
    
    /* Ensure menu opens below the logo */
    .navbar-collapse {
        z-index: 1001 !important;
        position: relative !important;
    }
}

.theme-item-page-header {
    color: white;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.5);
    min-height: 80px;
}

.theme-item-page-header-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 400;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.theme-item-page-header-price {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

    .theme-item-page-header-price b {
        font-size: 2rem;
        color: #ff6c2d;
    }

.theme-breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .theme-breadcrumbs li {
        display: inline-block;
        margin-right: 10px;
    }

    .theme-breadcrumbs a {
        color: white !important;
        text-decoration: none;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

        .theme-breadcrumbs a:hover {
            color: #ff6c2d !important;
        }

    .theme-breadcrumbs .active {
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

.theme-item-page-tabs {
    margin-top: 30px;
}

.nav-tabs > li > a {
    border-radius: 0;
    color: #333;
}

.nav-tabs > li.active > a {
    background-color: #ff6c2d;
    border-color: #ff6c2d;
    color: white;
}



.theme-item-page-details-list {
    list-style: none;
    padding: 0;
}

    .theme-item-page-details-list li {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

        .theme-item-page-details-list li:last-child {
            border-bottom: none;
        }

.theme-reviews-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.theme-reviews-rating-stars {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .theme-reviews-rating-stars li {
        display: inline-block;
        color: #ff6c2d;
    }

.theme-search-area {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.theme-search-area-submit {
    background-color: #ff6c2d;
    border: none;
    color: white;
    border-radius: 25px;
    font-weight: bold;
    width: 100%;
}

    .theme-search-area-submit:hover {
        background-color: #e55a1f;
        color: white;
    }

.sticky-col {
    position: sticky;
    top: 20px;
}

.virtual-tour-btn {
    background-color: #28a745;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
}

    .virtual-tour-btn:hover {
        background-color: #218838;
        color: white;
        text-decoration: none;
    }

.facility-item {
    display: inline-block;
    margin: 5px 10px 5px 0;
    padding: 5px 10px;
    background-color: #f8f9fa;
    border-radius: 15px;
    font-size: 0.9rem;
}

    .facility-item i {
        color: #ff6c2d;
        margin-left: 5px;
    }

/* استایل‌های امکانات اضافی برای Bootstrap 3 */
.facility-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #fff;
    margin-bottom: 20px;
}

    .facility-card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.facility-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    color: #ff6c2d;
    font-size: 1.2rem;
    margin-left: 10px;
}

.facility-details {
    margin-top: 15px;
}

.facility-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

    .facility-detail-item:last-child {
        border-bottom: none;
    }

.facility-detail-label {
    font-weight: 500;
    color: #555;
}

.facility-detail-value {
    color: #777;
}

    .facility-detail-value.boolean-true {
        color: #5cb85c;
    }

    .facility-detail-value.boolean-false {
        color: #d9534f;
    }

    .facility-detail-value i {
        font-size: 14px;
    }

/* استایل‌های اضافی برای Bootstrap 3 */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col-md-6 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        float: left;
        width: 50%;
    }
}

.theme-item-page-header-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

    .theme-item-page-header-features li {
        display: inline-block;
        margin-right: 30px;
        text-align: center;
    }

.theme-item-page-header-features-icon {
    font-size: 1.5rem;
    color: #ff6c2d;
    display: block;
    margin-bottom: 5px;
}

.theme-item-page-header-features-title {
    margin: 0;
    font-size: 0.9rem;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.theme-item-page-header-rating {
    margin-bottom: 20px;
}

.theme-item-page-header-rating-stars {
    list-style: none;
    padding: 0;
    margin: 0 0 5px 0;
}

    .theme-item-page-header-rating-stars li {
        display: inline-block;
        color: #ff6c2d;
    }

.theme-item-page-header-rating-title {
    margin: 0;
    font-size: 0.9rem;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sticky Booking Widget */
.col-md-4 {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    z-index: 1000;
    height: fit-content;
    align-self: flex-start;
}

.modern-booking-widget {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .modern-booking-widget:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }

.booking-widget-header {
    padding: 24px;
    text-align: center;
}

.booking-title {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.booking-subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.booking-widget-body {
    padding: 5px;
}

.date-selection-container {
    margin-bottom: 24px;
}

.date-input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.date-input-wrapper {
    position: relative;
}

.date-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.date-input-field {
    position: relative;
}

.date-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    z-index: 2;
}

.modern-date-input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff;
}

    .modern-date-input:focus {
        outline: none;
        border-color: #ff6c2d;
        box-shadow: 0 0 0 3px rgba(255, 108, 45, 0.1);
    }

.guest-selection-container {
    margin-bottom: 24px;
}

.guest-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.modern-quantity-selector {
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

    .modern-quantity-selector:hover {
        border-color: #D1D5DB;
        background: #F3F4F6;
    }

.quantity-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guest-icon {
    color: #ff6c2d;
    font-size: 1.1rem;
}

.guest-text {
    font-weight: 500;
    color: #374151;
}

.quantity-controls {
    display: flex;
    gap: 8px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #ff6c2d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .quantity-btn:hover {
        background: #e55a26;
        transform: scale(1.05);
    }

.capacity-info {
    margin-top: 12px;
    padding: 12px;
    background: #FFF4F1;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #D97706;
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-search-area-submit {
    width: 100%;
    background: linear-gradient(135deg, #ff6c2d 0%, #ff8c42 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

    .theme-search-area-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(255, 108, 45, 0.3);
    }

.share-section button {
    border-radius: 12px;
    padding: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .share-section button:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }



/* Modern Gallery Styles */
.modern-gallery {
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 20px 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.gallery-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .gallery-title i {
        color: #ff6c2d;
        margin-left: 15px;
        text-shadow: 0 2px 4px rgba(255, 108, 45, 0.3);
    }

.gallery-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-main-image {
    grid-column: 1 / -1;
}

    .gallery-main-image .image-container {
        position: relative;
        width: 100%;
        height: 450px;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .gallery-main-image .image-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
        }

    .gallery-main-image .main-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.5s ease;
    }

.gallery-preview {
    grid-column: 1 / -1;
    margin-top: 20px;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 10px;
}

    .preview-header h4 {
        font-size: 1.3rem;
        color: #2c3e50;
        margin: 0;
        font-weight: 600;
    }

.total-images-count {
    background: linear-gradient(135deg, #ff6c2d, #ff8c42);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(255, 108, 45, 0.3);
}

.gallery-thumbnails {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

    /* Add a subtle gradient overlay to indicate more images */
    .gallery-thumbnails::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(90deg, transparent, rgba(248, 249, 250, 0.8));
        pointer-events: none;
        z-index: 1;
    }


.thumbnail-item .image-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .thumbnail-item .image-container:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    }

.thumbnail-item .thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.image-container:hover .main-img,
.image-container:hover .thumbnail-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 108, 45, 0.15), rgba(255, 140, 66, 0.15));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.image-container:hover .image-overlay {
    opacity: 1;
    background: linear-gradient(135deg, rgba(255, 108, 45, 0.25), rgba(255, 140, 66, 0.25));
}

.overlay-content {
    text-align: center;
    color: #ff6c2d;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-container:hover .overlay-content {
    transform: scale(1);
}

.overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay-content span {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gallery-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    cursor: pointer;
}

/* Loading animation for images */
.image-container {
    position: relative;
}

    .image-container::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 50px;
        height: 50px;
        margin: -25px 0 0 -25px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #ff6c2d;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        z-index: 1;
        opacity: 1;
        transition: opacity 0.3s ease;
        box-shadow: 0 2px 10px rgba(255, 108, 45, 0.3);
    }

    .image-container img {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

        .image-container img.loaded {
            opacity: 1;
        }

    /* Hide loading animation when image is loaded */
    .image-container.image-loaded::before {
        opacity: 0;
    }

    /* Show loading animation when image is loading */
    .image-container.image-loading::before {
        opacity: 1;
    }

    /* Ensure images are positioned correctly */
    .image-container img {
        position: relative;
        z-index: 2;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Gallery container enhancements */
.gallery-container {
    position: relative;
}

    .gallery-container::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, #ff6c2d, #ff8c42);
        border-radius: 2px;
    }

/* Responsive Gallery */
@media (max-width: 768px) {
    .modern-gallery {
        padding: 20px 0;
        margin: 15px 0;
        border-radius: 16px;
    }

    .gallery-header {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .gallery-main-image .image-container {
        height: 350px;
        border-radius: 16px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        max-height: 160px;
    }

    .preview-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

        .preview-header h4 {
            font-size: 1.2rem;
        }

    .total-images-count {
        font-size: 0.8rem;
        padding: 6px 12px;
    }




    .thumbnail-item .image-container {
        height: 160px;
        border-radius: 12px;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .gallery-subtitle {
        font-size: 1.1rem;
    }
    /* Smaller loading animation for mobile */
    .image-container::before {
        width: 40px;
        height: 40px;
        margin: -20px 0 0 -20px;
        border-width: 3px;
    }
}

@media (max-width: 480px) {
    .modern-gallery {
        padding: 15px 0;
        margin: 10px 0;
        border-radius: 12px;
    }

    .gallery-header {
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .gallery-grid {
        gap: 15px;
        padding: 0 10px;
    }

    .gallery-main-image .image-container {
        height: 280px;
        border-radius: 12px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-height: 140px;
    }

    .preview-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-bottom: 15px;
    }

        .preview-header h4 {
            font-size: 1.1rem;
        }

    .total-images-count {
        font-size: 0.75rem;
        padding: 5px 10px;
    }


    .thumbnail-item .image-container {
        height: 140px;
        border-radius: 10px;
    }

    .gallery-title {
        font-size: 1.6rem;
    }

    .gallery-subtitle {
        font-size: 1rem;
    }

    .overlay-content i {
        font-size: 2rem;
    }

    .overlay-content span {
        font-size: 0.9rem;
    }
    /* Mobile Virtual Tour Card */
    .virtual-tour-card {
        margin: 20px 0;
        border-radius: 12px;
    }

    .virtual-tour-image {
        height: 160px;
    }

    .overlay-content {
        padding: 15px;
        border-radius: 8px;
    }

        .overlay-content i {
            font-size: 2rem;
            margin-bottom: 8px;
        }

        .overlay-content span {
            font-size: 1rem;
        }
}

/* Virtual Tour Card Styles */
.virtual-tour-card {
    margin: 25px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .virtual-tour-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    }

.virtual-tour-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.virtual-tour-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .virtual-tour-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: all 0.5s ease;
        opacity: 0;
        animation: fadeIn 0.8s ease forwards;
    }

.virtual-tour-card:hover .virtual-tour-image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Virtual Tour Placeholder */
.virtual-tour-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.1rem;
    text-align: center;
}

    .virtual-tour-placeholder i {
        font-size: 3rem;
        margin-bottom: 10px;
        color: #ff6c2d;
        opacity: 0.7;
    }

    .virtual-tour-placeholder span {
        font-weight: 500;
    }

.virtual-tour-card:hover .virtual-tour-image img {
    transform: scale(1.05);
}

.virtual-tour-overlay {
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.virtual-tour-card:hover .virtual-tour-overlay {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.overlay-content {
    text-align: center;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .overlay-content i {
        font-size: 2.5rem;
        margin-bottom: 10px;
        display: block;
        color: #ffffff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    }

    .overlay-content span {
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        color: #ffffff;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Image Error State */
.image-error {
    opacity: 0.5;
    filter: grayscale(100%);
}

    .image-error::after {
        content: '⚠️';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2rem;
        color: #dc3545;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .theme-item-page-header {
        padding: 20px 0;
    }

    .theme-item-page-header-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .col-md-4 {
        margin-top: 30px;
    }

    .modern-booking-widget {
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .booking-widget-header {
        padding: 20px;
    }
    /* Tablet Virtual Tour Card */
    .virtual-tour-card {
        margin: 22px 0;
        border-radius: 14px;
    }

    .virtual-tour-image {
        height: 180px;
    }

    .overlay-content {
        padding: 18px;
        border-radius: 10px;
    }

        .overlay-content i {
            font-size: 2.2rem;
            margin-bottom: 9px;
        }

        .overlay-content span {
            font-size: 1.05rem;
        }

    .booking-widget-body {
        padding: 5px;
    }



    .date-input-group {
        gap: 12px;
    }

    .modern-quantity-selector {
        padding: 12px;
    }

    .quantity-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .theme-item-page-header-title {
        font-size: 1.4rem;
    }
    /* Mobile Description Styles */
    .theme-item-page-desc {
        margin-bottom: 30px;
        padding: 15px;
        border-radius: 8px;
    }

        .theme-item-page-desc p {
            font-size: 14px;
            line-height: 1.6;
            text-indent: 10px;
        }

    .booking-widget-header {
        padding: 16px;
    }

    .booking-widget-body {
        padding: 5px;
    }
}

/* Enhanced Tab Styles */
.theme-item-page-tabs {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.nav-tabs {
    border-bottom: none;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

    .nav-tabs > li {
        margin-bottom: 0;
    }

        .nav-tabs > li > a {
            color: #6b7280;
            background-color: transparent;
            border: none;
            border-radius: 0;
            padding: 16px 24px;
            font-weight: 500;
            transition: all 0.3s ease;
            margin: 0;
            text-decoration: none;
            position: relative;
        }

            .nav-tabs > li > a:hover {
                background-color: rgba(255, 108, 45, 0.1);
                color: #ff6c2d;
                border: none;
            }

        .nav-tabs > li.active > a,
        .nav-tabs > li.active > a:hover,
        .nav-tabs > li.active > a:focus {
            background-color: white;
            color: #ff6c2d;
            border: none;
            border-bottom: 3px solid #ff6c2d;
        }

.tab-content {
    padding: 30px;
    background: white;
}

/* Enhanced Content Sections */
.theme-item-page-details {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    padding: 30px;
}

.theme-item-page-details-section {
    margin-bottom: 30px;
}

.theme-item-page-details-section-title {
    color: #1f2937;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.theme-item-page-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .theme-item-page-details-list li {
        padding: 12px 0;
        border-bottom: 1px solid #f3f4f6;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .theme-item-page-details-list li:last-child {
            border-bottom: none;
        }

        .theme-item-page-details-list li strong {
            color: #374151;
            font-weight: 600;
        }

/* Modern Header Styles */
.accommodation-header-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #cbd5e1;
    padding-top: 40px;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}

    .accommodation-header-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="70" cy="10" r="0.8" fill="rgba(255,255,255,0.06)"/><circle cx="10" cy="60" r="1.2" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.4;
        pointer-events: none;
    }

.header-content {
    max-width: 100%;
    position: relative;
    z-index: 2;
}



/* Main Header */
.header-main {
    margin-top: 30px;
}

.accommodation-intro {
    padding-right: 20px;
}

.accommodation-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.accommodation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .rating-badge .stars {
        display: flex;
        gap: 2px;
    }

        .rating-badge .stars i {
            color: #ff6c2d;
            font-size: 0.9rem;
        }

.rating-score {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.1rem;
}

.reviews-count {
    color: #475569;
    font-size: 1rem;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 1.1rem;
}

    .location-info i {
        color: #ff6c2d;
    }

/* Instant Booking Badge */
.instant-booking-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6c2d, #ff8c42);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(255, 108, 45, 0.3);
    margin-top: 15px;
    transition: all 0.3s ease;
}

    .instant-booking-badge:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 108, 45, 0.4);
    }

    .instant-booking-badge i {
        color: white;
        font-size: 1rem;
    }

/* Navigation Menu Fix for this page - Desktop Only */
@media (min-width: 993px) {
    .navbar-theme-transparent .navbar-nav > li > a {
        color: #1e293b !important;
        font-weight: 500;
    }

    .navbar-theme-transparent .navbar-nav > li > a:hover {
            color: #ff6c2d !important;
    }

    .navbar-theme-transparent .navbar-nav > li.active > a {
        color: #ff6c2d !important;
    }

    .navbar-theme-transparent .navbar-brand img {
        filter: none;
    }

    .navbar-theme-transparent .navbar-toggle .icon-bar {
        background-color: #1e293b !important;
    }

    .navbar-theme-transparent .navbar-nav-item-user-icon {
        color: #1e293b !important;
    }

    .navbar-theme-transparent .dropdown-toggle {
        color: #1e293b !important;
    }

    .navbar-theme-transparent .dropdown-toggle:hover {
            color: #ff6c2d !important;
    }

    .navbar-theme-transparent .dropdown-menu > li > a {
        color: #1e293b !important;
    }

    .navbar-theme-transparent .dropdown-menu > li > a:hover {
            color: #ff6c2d !important;
            background-color: #f8f9fa !important;
    }
}

/* Price Summary */
.price-summary {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
}



.instant-booking-badge-inline {
    background: linear-gradient(135deg, #ff6c2d, #ff8c42);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 4px rgba(255, 108, 45, 0.3);
    white-space: nowrap;
}

    .instant-booking-badge-inline i {
        font-size: 0.7rem;
    }

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.price-currency {
    font-size: 1.3rem;
    font-weight: 600;
    color: #64748b;
}

.price-unit {
    color: #94a3b8;
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
}

.extra-info {
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

    .extra-info small {
        color: #64748b;
        font-size: 1rem;
        font-weight: 500;
    }

/* Responsive */
@media (max-width: 768px) {
    .accommodation-header-modern {
        padding-top: 30px;
        padding-bottom: 15px;
    }

    .accommodation-intro {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .accommodation-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .accommodation-meta {
        justify-content: center;
    }

    .price-amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .accommodation-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .accommodation-meta {
        flex-direction: column;
        gap: 12px;
    }
}

/* Tab Content */
.tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 20px;
    background-color: #fff;
}

.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }



.rules-section, .cancellation-section {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-right: 4px solid #ff6c2d;
}

.rules-content, .cancellation-content {
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

.owner-info {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.owner-avatar {
    margin-left: 15px;
}

    .owner-avatar img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }

.owner-details h6 {
    margin: 0 0 5px 0;
    color: #333;
}

.owner-details p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* استایل دکمه اشتراک‌گذاری */
.share-section .btn {
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.share-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* استایل Toast Notification */
.share-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Vazir, Tahoma, sans-serif;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

    .share-toast.show {
        transform: translateX(0);
    }

    .share-toast.success {
        border-right: 4px solid #28a745;
    }

    .share-toast.error {
        border-right: 4px solid #dc3545;
    }

    .share-toast i {
        font-size: 18px;
    }

    .share-toast.success i {
        color: #28a745;
    }

    .share-toast.error i {
        color: #dc3545;
    }

    .share-toast span {
        font-size: 14px;
        font-weight: 500;
    }

/* Responsive */
@media (max-width: 768px) {
    .share-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }

        .share-toast.show {
            transform: translateY(0);
        }
    /* بهبود نمایش دکمه اشتراک‌گذاری در ویوهای کوچک */
    .share-section {
        margin-top: 15px !important;
    }

        .share-section .btn {
            padding: 12px 20px;
            font-size: 14px;
            border-radius: 8px;
        }
}


/* Custom Toast Notifications */
.custom-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.custom-toast {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border: none;
    overflow: hidden;
}

    .custom-toast.show {
        transform: translateX(0);
    }

.custom-toast-success {
    border-right: 4px solid #28a745;
}

.custom-toast-error {
    border-right: 4px solid #dc3545;
}

.custom-toast-info {
    border-right: 4px solid #17a2b8;
}

.custom-toast-warning {
    border-right: 4px solid #ffc107;
}

.toast-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 15px;
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-toast-success .toast-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.custom-toast-error .toast-icon {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
}

.custom-toast-info .toast-icon {
    background: linear-gradient(135deg, #17a2b8, #3498db);
    color: white;
}

.custom-toast-warning .toast-icon {
    background: linear-gradient(135deg, #ffc107, #f39c12);
    color: #212529;
}

.toast-icon i {
    font-size: 18px;
}

.toast-message {
    flex-grow: 1;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .toast-close:hover {
        background: #f8f9fa;
        color: #666;
    }

/* Responsive */
@media (max-width: 768px) {
    .custom-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .custom-toast {
        transform: translateY(-100px);
    }

        .custom-toast.show {
            transform: translateY(0);
        }
}


/* Modern Booking Widget Styles */
.modern-booking-widget {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e8ecef;
    transition: all 0.3s ease;
}

.modern-booking-widget:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.booking-widget-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f8f9fa;
}

.booking-title {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .booking-title i {
        color: #3498db;
        font-size: 22px;
    }

.booking-subtitle {
    color: #7f8c8d;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Date Selection Styles */
.date-selection-container {
    margin-bottom: 24px;
}

.date-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.date-input-wrapper {
    position: relative;
}

.date-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 6px;
}

.date-input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.date-icon {
    position: absolute;
    left: 12px;
    color: #95a5a6;
    font-size: 14px;
    z-index: 2;
}

.modern-date-input {
    width: 100%;
    padding: 12px 12px 12px 36px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    color: #2c3e50;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .modern-date-input:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }

    .modern-date-input:hover {
        border-color: #bdc3c7;
    }

/* Guest Selection Styles */
.guest-selection-container {
    margin-bottom: 20px;
}

.guest-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 10px;
}

.modern-quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

    .modern-quantity-selector:hover {
        border-color: #bdc3c7;
    }

.quantity-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.guest-icon {
    color: #3498db;
    font-size: 16px;
}

.guest-text {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: #ffffff;
    color: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .quantity-btn:hover {
        background: #3498db;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .quantity-btn:active {
        transform: translateY(0);
    }

    .quantity-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

        .quantity-btn:disabled:hover {
            background: #ffffff;
            color: #34495e;
            transform: none;
        }

/* Capacity Info */
.capacity-info {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

    .capacity-info i {
        color: #3498db;
        margin-right: 4px;
    }

.max-capacity {
    font-weight: 600;
    color: #e74c3c;
}

/* Description Styles */
.theme-item-page-desc {
    margin-bottom: 40px;
    padding: 25px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .theme-item-page-desc p {
        text-align: justify;
        line-height: 1.8;
        font-size: 14px;
        color: #2c3e50;
        margin: 0;
        padding: 0;
        text-indent: 20px;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .modern-booking-widget {
        margin: 0 -15px 20px -15px;
        border-radius: 0;
        padding: 20px;
    }

    .date-input-group {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .booking-title {
        font-size: 18px;
    }

    .modern-date-input {
        padding: 14px 14px 14px 40px;
        font-size: 16px;
    }
    /* Tablet Description Styles */
    .theme-item-page-desc {
        margin-bottom: 35px;
        padding: 20px;
        border-radius: 10px;
    }

        .theme-item-page-desc p {
            font-size: 14px;
            line-height: 1.7;
            text-indent: 15px;
        }
}

/* Animation for error states */
.guest-limit-error {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}





/* Extra small mobile devices */
@media (max-width: 480px) {
    .accommodation-title {
        font-size: 1.6rem;
    }

    .price-amount {
        font-size: 1.8rem;
    }

    .modern-booking-widget {
        padding: 15px;
        margin: 15px 0;
    }

    .booking-title {
        font-size: 16px;
    }

    .modern-date-input {
        padding: 12px 12px 12px 35px;
        font-size: 14px;
    }

    .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }


    .gallery-main-image .image-container {
        height: 250px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-height: 120px;
    }

    .thumbnail-item .image-container {
        height: 120px;
    }

    .gallery-title {
        font-size: 1.5rem;
    }

    .gallery-subtitle {
        font-size: 0.9rem;
    }

    .theme-item-page-tabs {
        margin-top: 15px;
    }

    .nav-tabs > li > a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .tab-content {
        padding: 15px 10px;
    }

    .theme-item-page-details {
        padding: 15px 10px;
    }

    .theme-item-page-desc {
        padding: 15px 10px;
    }

    .theme-item-page-desc p {
        font-size: 13px;
        line-height: 1.5;
        text-indent: 10px;
    }

    .virtual-tour-image {
        height: 150px;
    }

    .overlay-content {
        padding: 12px;
    }

    .overlay-content i {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }

    .overlay-content span {
        font-size: 0.9rem;
    }
}







