﻿@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb.eot'); /* IE9 Compat Modes */
    src: url('../fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/IRANSansWeb.woff') format('woff'), /* Modern Browsers */
    url('../fonts/IRANSansWeb.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb.eot'); /* IE9 Compat Modes */
    src: url('../fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/IRANSansWeb.woff') format('woff'), /* Modern Browsers */
    url('../fonts/IRANSansWeb.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
    font-family: 'IRANSansWeb_Bold';
    src: url('../fonts/IRANSansWeb_Bold.eot'); /* IE9 Compat Modes */
    src: url('../fonts/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/IRANSansWeb_Bold.woff') format('woff'), /* Modern Browsers */
    url('../fonts/IRANSansWeb_Bold.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb.eot'); /* IE9 Compat Modes */
    src: url('../fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/IRANSansWeb.woff') format('woff'), /* Modern Browsers */
    url('../fonts/IRANSansWeb.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb.eot'); /* IE9 Compat Modes */
    src: url('../fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/IRANSansWeb.woff') format('woff'), /* Modern Browsers */
    url('../fonts/IRANSansWeb.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}

html * {
    font-family: IRANSansWeb, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  
    line-height: 1.428571429;
}

body {
    font-family: IRANSansWeb, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    direction: rtl;
}
.language-selection {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    direction:rtl!important;
}

    .language-selection img {
        width: 40px;
        height: 25px;
        cursor: pointer;
    }
/* استایل بخش تصویر بزرگ */
.hero {
    background-image: url('r5ojexro.png'); /* تصویر بزرگ */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* استایل هدر */
.hotel-header {
    background-color: rgba(0, 76, 140, 0.6);
    padding: 15px 20px;
    position: absolute;
    width: 80%;
    top: 40px;
    left: 10%;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s ease-in-out;
}
    .hotel-header h1 {
        color: #FFFFF0; /* طلایی روشن */
        font-size: 32px;
        font-weight: bold;
        text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.8); /* افکت درخشان */
    }

/* حالت منو هنگام اسکرول */
.fixed-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 76, 140, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    transition: 0.3s;
    border-radius: 0; /* حذف خمیدگی در گوشه‌ها */
}


    .fixed-header h1 {
        display: none; /* مخفی کردن عنوان اصلی هنگام اسکرول */
    }

    .fixed-header .nav-menu {
        display: flex;
        gap: 20px;
    }

        .fixed-header .nav-menu li {
            display: inline-block;
        }




/* منو */
.nav-menu {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

    .nav-menu li {
        display: inline;
        margin: 0 15px;
    }

    .nav-menu a {
        color: white;
        font-size: 20px; /* بزرگ‌تر شدن فونت برای خوانایی بهتر */
        font-weight: bold; /* برجسته‌تر شدن متن */
        padding: 10px 15px;
        transition: 0.3s ease-in-out;
    }

        .nav-menu a:hover {
            color: #FFD700;
            background-color: rgba(255, 255, 255, 0.2); /* افکت هایلایت هنگام هاور */
            border-radius: 10px;
        }

.section {
    height: 800px;
    padding: 50px;
    margin-top: 80px;
    background: #e0e0e0;
}
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 76, 140, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    border-radius: 50%; /* دایره‌ای کردن دکمه */
    display: none;
    cursor: pointer;
    transition: 0.4s;
    text-align: center;
    line-height: 50px; /* هماهنگ کردن متن با دکمه */
}

    .scroll-to-top:hover {
        background: #FFD700;
    }

.section h2 {
    font-size: 28px;
    text-align: center;
    color: #004c8c;
    margin-bottom: 20px;
}

.section p {
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 15px;
}
.about-container {
    height:80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 76, 140, 0.9);
    padding: 40px;
    border-radius: 15px;
    color: white;
}

.about-image {
    width: 40%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
}

.about-text {
    width: 55%;
    padding-left: 30px;
    font-size: 18px;
    line-height: 1.8;
}

    .about-text h2 {
        font-size: 30px;
        text-align: center;
        color: #FFD700;
        margin-bottom: 20px;
    }
.room-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

.room-card {
    width: 250px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 15px;
    transition: 0.3s;
}

    .room-card:hover {
        transform: scale(1.05);
    }

    .room-card img {
        width: 100%;
        height: 200px; /* ارتفاع ثابت */
        object-fit: cover; /* برش هوشمند برای نمایش صحیح تصویر */
        border-radius: 10px;
        cursor: pointer;
    }


    .room-card h3 {
        font-size: 22px;
        color: #004c8c;
        margin-top: 10px;
    }

    .room-card p {
        font-size: 16px;
        color: #555;
    }


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
    padding-top: 50px;
}

.modal-content {
    width: 80%;
    height: 80vh; /* اندازه یکنواخت و بزرگ‌تر */
    object-fit: contain; /* نمایش صحیح تصویر بدون برش */
    border-radius: 10px;
}


.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.facilities-section {
    padding: 60px;
    background: linear-gradient(135deg, #004c8c, #00a2ff);
    text-align: center;
    color: white;
    height: 100vh;
}

.facilities-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.facility-item {
    width: 350px; /* بزرگ‌تر شدن کادرها */
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease-in-out;
}

    .facility-item img {
        width: 100%;
        height: 250px; /* بزرگ‌تر شدن تصاویر */
        object-fit: cover;
        transition: 0.3s;
    }

.facility-info {
    padding: 20px; /* بزرگ‌تر شدن فضای اطلاعات */
}

.facility-item:hover {
    transform: scale(1.05);
}

.video-section {
    padding: 60px;
    background: linear-gradient(135deg, #004c8c, #00a2ff);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    opacity: 0; /* ابتدا مخفی باشد */
    transform: translateY(50px); /* حرکت از پایین */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .video-section.visible {
        opacity: 1; /* نمایش کامل */
        transform: translateY(0); /* حرکت رو به بالا */
    }

    /* افکت موجی پس‌زمینه */
    .video-section::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: url('wave-pattern.gif');
        opacity: 0.2;
        top: 0;
        left: 0;
        z-index: -1;
        animation: waveAnimation 6s infinite alternate ease-in-out;
    }


@keyframes waveAnimation {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-20px);
    }
}

.video-description {
    font-size: 18px;
    color: white;
    margin-top: 10px;
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.video-item video {
    width: 320px; /* تنظیم اندازه برای ویدیوهای عمودی */
    height: 570px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}

.gallery-section {
    text-align: center;
    padding: 40px;
    background: #f8f8f8;
    height:100vh;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    justify-content: center;

}

.gallery-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

    .gallery-img:hover {
        transform: scale(1.1);
    }

/* لایت‌باکس برای نمایش بزرگ‌تر */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .lightbox img {
        max-width: 80%;
        max-height: 80%;
    }

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

.prev,
.next {
    position: absolute;
    font-size: 30px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}




.reviews-section {
    padding: 60px;
    background: linear-gradient(135deg, #004c8c, #00a2ff);
    text-align: center;
    color: white;
}

.reviews-slider {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    position: relative;
}

.review-item {
    min-width: 300px;
    max-width: 350px;
    background: white;
    color: #004c8c;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    scroll-snap-align: center;
    opacity: 0.6;
    transform: scale(0.9);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

    .review-item.active {
        opacity: 1;
        transform: scale(1.2);
    }

    .review-item span {
        display: block;
        margin-top: 10px;
        font-weight: bold;
        color: #FFD700;
    }

.contact-section {
    padding: 60px;
    background: linear-gradient(135deg, #004c8c, #00a2ff);
    text-align: center;
    color: white;
    height:100vh;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info {
    width: 45%;
    text-align: right; /* راست‌چین کردن متن */
    font-size: 18px;
    direction: rtl; /* تنظیم جهت نوشتار */
}

    .contact-info h3 {
        color: #FFD700;
        margin-bottom: 10px;
        text-align: right; /* راست‌چین کردن عنوان‌ها */
    }


.contact-map {
    width: 50%;
}


.social-footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.social-container h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.social-container p {
    font-size: 16px;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    transition: 0.3s;
}

.social-links img {
    width: 40px;
    height: 40px;
}

.social-links a:hover {
    opacity: 0.7;
}



@media screen and (max-width: 768px) {
    .section {
        height: auto; /* تنظیم ارتفاع خودکار */
        padding: 30px;
        margin-top: 40px;
    }

    .about-container {
        height: auto;
        flex-direction: column; /* نمایش عمودی در موبایل */
        text-align: center;
    }

    .about-image {
        width: 80%; /* بزرگ‌تر شدن تصویر */
    }

    .about-text {
        width: 100%; /* تنظیم متن در حالت تمام عرض */
        padding-left: 0;
    }

    .room-container {
        flex-direction: column;
        align-items: center;
    }

    .room-card {
        width: 90%; /* بزرگ‌تر شدن کارت‌ها در موبایل */
    }

    .facilities-gallery {
        flex-direction: column;
        align-items: center;
    }

    .facility-item {
        width: 90%;
    }

    .facilities-section {
        height: auto;
        margin-bottom: 50px; /* فاصله بین بخش امکانات و تماس با ما */
        padding: 40px;
    }

    .video-container {
        flex-direction: column;
        align-items: center;
    }

    .video-item video {
        width: 100%;
        height: auto; /* تنظیم خودکار ارتفاع */
    }

    .video-section {
        padding: 40px;
    }

    .video-description {
        font-size: 16px;
        margin-top: 5px;
    }

    .video-section {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

        .video-section.visible {
            opacity: 1;
            transform: translateY(0);
        }
    .gallery-section {
        height: auto;
    }
    .reviews-slider {
        flex-direction: column;
        overflow: hidden;
        align-items: center;
    }

    .review-item {
        min-width: 100%;
        max-width: 90%;
        transform: none;
        opacity: 1;
        margin-bottom: 20px;
    }

        .review-item.active {
            transform: none;
            opacity: 1;
        }


    .contact-section {
        height: auto;
        margin-top: 80px; /* ایجاد فاصله بیشتر با بخش قبلی */
        padding: 40px;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
        gap: 30px; /* تنظیم فاصله بین اطلاعات و نقشه */
    }

    .contact-info,
    .contact-map {
        width: 100%; /* تنظیم تمام‌عرض */
    }

        .contact-map iframe {
            height: 250px; /* تنظیم ارتفاع مناسب‌تر */
        }
    .video-container {
        flex-direction: column; /* نمایش عمودی برای موبایل */
        align-items: center;
    }

    .video-item video {
        width: 100%; /* نمایش تمام‌عرض */
        height: auto; /* تنظیم ارتفاع خودکار */
    }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

        .nav-menu li {
            display: inline-block;
        }

        .nav-menu a {
            font-size: 18px; /* کوچک‌تر شدن اندازه فونت در موبایل */
            padding: 8px 10px;
        }
}
