:root {
    --primary: #251f3b;
    --primary-dark: #2b083a;
    --primary-light: #bee1e7;
    --gray-100: #f8f9fa;
    --gray-600: #574242;
    --gray-900: #212121;
    --success: #2e7d32;
    --danger: #c62828;
}

body {
    font-family: 'Vazirmatn', 'IRANSans', sans-serif !important;
    background: #fafafa;
    color: var(--gray-900);
    direction: rtl;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    width: 100vw !important;
}

.container {
width: 100vw !important;
    margin: 0 auto;
    padding: 0 20px;
}

/* گالری */


.swiper-main .swiper-slide img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.swiper-thumbs {
    margin-top: 16px;
}

.swiper-thumbs .swiper-slide {
    opacity: 0.6;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    height: 110px;
    border: 3px solid transparent;
}

.swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary);
    transform: scale(1.05);
}

/* محتوای اصلی */
.property-content {
    display: grid;
    grid-template-columns: 1fr 460px;
    /* بزرگ‌تر شد */
    gap: 50px;
    margin-top: 50px;
    padding-bottom: 120px;
}

.main-section h1 {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary), #5005c9);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.price-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 28px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(39, 121, 176, 0.3);
    transform: translateY(0);
    transition: transform 0.3s;
}

.price-box:hover {
    transform: translateY(-8px);
}

/* امکانات با افکت شیشه‌ای */
.facilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.facility {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(156, 39, 176, 0.2);
    padding: 24px 16px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.facility:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(156, 39, 176, 0.12);
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.2);
}

.facility i {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 16px;
}

/* سایدبار بزرگ‌تر و جذاب‌تر */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
    align-self: start;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    margin-bottom: 30px;
    height: 380px;
    border: 4px solid white;
}

.calendar-container {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid #f0e6f6;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

#month-titles {
    display: flex;
    gap: 60px;
    font-weight: 800;
    font-size: 19px;
    color: var(--primary);
}

.month-calendar {
    background: #f8f5ff;
    border-radius: 18px;
    padding: 20px;
    width: 100%;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.day-name {
    font-weight: 900;
    color: var(--primary);
    padding: 12px 0;
    font-size: 15px;
}

/* هاشور شیک برای روزهای موجود */
.day.available {
    background: repeating-linear-gradient(45deg,
            #f3e5f5,
            #f3e5f5 10px,
            #e8daf0 10px,
            #e8daf0 20px);
    border-radius: 12px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.day.available::after {
    content: attr(data-price);
    position: absolute;
    bottom: 4px;
    left: 4px;
    font-size: 9px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
}

.day.available:hover {
    background: var(--primary-light) !important;
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 10px 25px rgba(156, 39, 176, 0.4);
}

.day.in-range {
    background: linear-gradient(45deg, #625e63, #9cccdf) !important;
    color: white !important;
}

.day.selected {
    background: var(--primary) !important;
    color: white !important;
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1.1);
    }
}

.summary-box {
    background: linear-gradient(135deg, #f3e5f5, #e8daf0);
    padding: 24px;
    border-radius: 18px;
    margin-top: 28px;
    border: 2px solid var(--primary-light);
}

.btn-reserve {
    background: linear-gradient(90deg, var(--primary), #8c878d);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 900;
    width: 100%;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.4);
}

.btn-reserve:hover:not(:disabled) {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.5);
}

/* ریسپانسیو پیشرفته */
@media (max-width: 1200px) {
    .property-content {
        grid-template-columns: 1fr 420px;
        gap: 40px;
    }

    #month-titles {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .property-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        order: -1;
        position: static;
    }

    #month-titles {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .month-calendar {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .facilities {
        grid-template-columns: 1fr 1fr;
    }

    .swiper-main .swiper-slide img {
        height: 380px;
    }
}
/*///////*/
:root {
    --primary: #424f57;
    --primary-dark: #382641;
    --primary-light: #a5c9c9;
    --gray-600: #666;
}

body {
    font-family: 'Vazirmatn', sans-serif !important;
    direction: rtl;
    background: #fafafa;
}



.swiper-main .swiper-slide img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.swiper-thumbs .swiper-slide {
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.7;
    cursor: pointer;
    transition: 0.3s;
}

.swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 4px solid var(--primary);
}

.property-content {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 50px;
    margin-top: 50px;
    padding-bottom: 120px;
}

.price-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 28px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(156, 39, 176, 0.3);
}

.facilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.facility {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #f0e6f6;
    padding: 24px;
    border-radius: 18px;
    text-align: center;
    transition: 0.4s;
}

.facility:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.2);
}

.sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.map-container {
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    margin-bottom: 30px;
}

#property-map {
    height: 100%;
}

.calendar-container {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

#month-titles {
    display: flex;
    gap: 60px;
    font-weight: 800;
    font-size: 19px;
    color: var(--primary);
}

.month-calendar {
    background: #f8f5ff;
    border-radius: 18px;
    padding: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.day-name {
    font-weight: 900;
    color:#2b083a;
    padding: 12px 0;
}

.day {
    position: relative;
    padding: 12px 4px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    background: repeating-linear-gradient(45deg, #f3e5f5, #f3e5f5 10px, #4ba8af 10px, #e8daf0 20px);
}

.day.available:hover {
    background: #a9afb1 !important;
    transform: scale(1.15);
    z-index: 10;
}



.day.in-range {
    background: #716d72 !important;
    color: white;
}

.day.selected {
    background: var(--primary) !important;
    color: white;
    animation: pulse 0.6s;
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.25)
    }

    100% {
        transform: scale(1.1)
    }
}

.summary-box {
    background: linear-gradient(135deg, #f3e5f5, #e8daf0);
    padding: 24px;
    border-radius: 18px;
    margin-top: 28px;
    border: 2px solid var(--primary-light);
}

.btn-reserve {
    background: linear-gradient(90deg, var(--primary), #838d8d);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 900;
    width: 100%;
    margin-top: 24px;
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.4);
}

.btn-reserve:hover:not(:disabled) {
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .property-content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
    }

    #month-titles {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
.day.available {
    background: repeating-linear-gradient(45deg, #f3e5f5, #f3e5f5 10px, #e8daf0 10px, #e8daf0 20px);
    border-radius: 12px;
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.day.available::after {
    content: attr(data-price);
    position: absolute;
    bottom: 4px;
    left: 4px;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
}

.day.disabled {
    background: #eee;
    color: #493030;
    cursor: not-allowed;
    /* می‌توانید برای تست pointer: auto کنید */
}
