/* hotel koohrang V.1 */

        /* Variables */
        :root {
            --primary-color: #f39a14f2;
            --secondary-color: #472f08b3;
            --light-color: #f8f9faf4;
            --dark-color: #411c1c;
            --accent-color: #dbc9a8;
            --text-color: #221c1c;
            --text-light: #f5f5f5;
            --shadow-color: rgba(0, 0, 0, 0.272);
            --transition: all 0.3s ease-in-out;
            --gold-gradient: linear-gradient(135deg, #ad8f65 0%, #f7d699 50%, #b08f5f 100%);
        }

        .dark-mode {
            --primary-color: #f4b134;
            --secondary-color: #3f1212c0;
            --light-color: #270909e3;
            --dark-color: #f8f9fa;
            --accent-color: #c8a97e;
            --text-color: #f5f5f5;
            --text-light: #ffffff;
            --shadow-color: rgba(255, 255, 255, 0.161);
            --gold-gradient: linear-gradient(135deg, #4d391e 0%, #837357 50%, #64533a 100%);
        }
        /* Base Styles & Mobile Optimizations */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Vazir-Thin', sans-serif; ;
            -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
        }

@font-face {
  font-family: 'Vazir-Thin';
  src: url('font/Vazir-Medium.ttf') format('truetype');
}


@font-face {
  font-family: 'pico';
  src: url('font/pico.TTF') format('truetype');
}

        html, body {
            overflow-x: hidden !important;

            direction: ltr!important;
            text-align: left !important;
            font-size: 14px; /* Base font size for mobile */
            -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
            scroll-behavior: smooth; /* Smooth scroll for anchor links */
        }

        body {
            background-color: var(--light-color);
            color: var(--text-color);
            transition: background-color 0.3s ease, color 0.3s ease; /* Optimized transition */
  background-image: url('/img/background.webp');
  background-repeat: repeat; /* تکرار عکس در هر دو جهت */
  background-position: left top; /* شروع از بالا و چپ */
  background-size: auto; /* اندازه عکس رو تغییر نده */
    background-attachment: fixed; /* این خاصیت پارالاکس */
        }



.overlay-layer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--light-color); /* رنگ دلخواه */
  mix-blend-mode: multiply; /* یا overlay */
  z-index: -1;
}

                /* Scrollbar Styling */
        ::-webkit-scrollbar {
            width: 10px;
            border-radius: 25%;
            z-index: 1000;
        }

        ::-webkit-scrollbar-track {
            background: var(--gold-gradient);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--secondary-color);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--secondary-color);
        }

        .container {
            width: 100%;
            max-width: 100%; /* Ensure it takes full width on small screens */
            padding: 0 16px; /* Adjusted padding for mobile */
              margin: 0 auto;
        }

        .row {
  justify-content: center;
}
.text-center {
  text-align: center;
}
.mx-auto {
  margin: 0 auto;
}

        /* Utility Classes */
        .section {
            padding: 60px 0; /* Reduced padding for mobile */
            position: relative;
                  font-family: 'pico';

        }

        .section-title {
            text-align: center;
            margin-bottom: 40px; /* Reduced margin */
                      font-family: 'pico';

        }

        .section-subtitle {
            color: var(--primary-color);
            font-size: 1rem; /* Adjusted font size */
            font-weight: 500;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px; /* Adjusted letter spacing */
        }

        .section-heading {
            font-size: 1.8rem; /* Adjusted font size for mobile */
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
                  font-family: 'pico';

        }

        .section-heading::after {
            content: '';
            position: absolute;
            bottom: -8px; /* Adjusted position */
            right: 50%;
            transform: translateX(50%);
            width: 60px; /* Adjusted width */
            height: 2px; /* Adjusted height */
            background: var(--gold-gradient);
        }

        .section-description {
            max-width: 90%; /* Adjusted max-width */
            margin: 0 auto;
            font-size: 0.95rem; /* Adjusted font size */
            line-height: 1.6;
            color: var(--text-color);
        }

        /* Buttons */
        .btn {
            padding: 10px 18px; /* Adjusted padding */
            border: none;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease; /* Optimized transition */
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 0.9rem; /* Adjusted font size */
                position: relative;
    overflow: hidden; /* برای اینکه افکت از دکمه بیرون نزنه */
        }

        .btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: transform 0.5s ease;
}

.btn:hover {
    transform: scale(1.03); /* کمی بزرگ‌تر شدن */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn:hover::after {
    left: 100%;
    transition: left 0.6s ease;
}
/* هاور افکت لوکس برای btn-primary */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--gold-gradient);
    color: var(--text-color);
    box-shadow: 0 3px 10px rgba(200, 169, 126, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.6s ease;
    background-size: 200% 200%;
    background-position: 0% 50%;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
    color: var(--text-color);
}

.btn-primary:hover {
    transform: scale(1.05);
    background-position: 100% 50%; /* حرکت گرادینت */
    box-shadow: 0 8px 25px rgba(200, 169, 126, 0.4);
}

.btn-primary:hover::after {
    left: 100%; /* حرکت خط نور */
}

  /* هاور افکت لوکس برای btn-secondary */
.btn-secondary {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease;
}

.btn-secondary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-secondary:hover {
    transform: scale(1.05);
    background: var(--gold-gradient);
    color: var(--dark-color);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.btn-secondary:hover::after {
    left: 100%;
}


/* تاپ‌بار (ثابت و بدون حرکت + افکت نور ملایم) */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 3rem;
    background: var(--gold-gradient);
    color: var(--text-color);
    padding: 6px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1101;
    overflow: hidden; /* جلوگیری از بیرون زدن افکت */
    font-size: 1rem;
    display: flex;
    align-items: center; /* متن عمودی وسط */
    justify-content: center; /* متن افقی وسط */
}

/* افکت خط نور متحرک */
.top-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(0, 0, 0, 0.458),
        transparent
    );
    animation: topbarShine 4s infinite linear;
}

/* انیمیشن حرکت نور */
@keyframes topbarShine {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* کانتینر داخلی */
.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* متن‌ها کنار هم و مرتب */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 16px;  
        font-size: 0.8rem;
        height: auto;
        line-height: 1.2rem;

        display: none; /* تاپ‌بار مخفی شود */
    }

    .top-bar .container {
        flex-direction: column; /* متن‌ها زیر هم قرار بگیرند */
        gap: 8px;
        align-items: center;
    }


}


/* ==== NAVBAR BASE ==== */
.navbar {
    position: fixed;
    top: 70px; /* ارتفاع top-bar */
    left: 0; /* عرض کل صفحه */
    background-color: var(--light-color);
    z-index: 1100;
    transition: top 0.3s ease, background-color 0.3s ease;
    width: 100vw;

}

/* کانتینر ناوبار */
.navbar-container {
    width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;   

}

/* وقتی مخفی میشه ناوبار */
.navbar.hide {
    top: -200px; /* به بالا مخفی میشه - ارتفاع ناوبار رو تنظیم کن */
}


/* لوگو */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 1px; /* فاصله لوگو و متن */
}

.navbar-logo img {
    max-height: 70px;
    transition: height 0.3s ease;
}

.navbar-logo h1 {

    font-weight: 700;
    color: var(--text-color);
    margin: 0;
      font-family: 'pico';
}

/* لینک‌ها */
.navbar-links {
    display: none;
    gap: 30px;
}

.navbar-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
}

.navbar-link:hover {
    color: var(--primary-color);
}

/* ==== DESKTOP MENU BUTTON ==== */
.desktop-menu-btn {
    display: none;
}

/* ==== MOBILE MENU BUTTON ==== */
.mobile-menu-btn {
    display: block;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
    padding: 8px;
}



/* ==== DESKTOP STYLES ==== */
@media (min-width: 769px) {
    .navbar {
        background: var(--light-color);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 0;
        border-radius: 15px;
          font-family: 'pico';


    }
    .navbar-container {
        display: grid;
        grid-template-columns: auto 1fr auto 1fr auto;
        align-items: center;
        gap: 20px;
        background: var(--light-color);
        padding: 0 20px;
        border-radius: 0;
         border-radius: 10px;
     border: var(--shadow-color) solid 1px;
         backdrop-filter: blur(1px);
           font-family: 'pico';

                
    }
    .mobile-menu-btn {
        display: none !important;
    }
    .desktop-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-color);
    }
    .navbar-links {
        display: flex;
        gap: 20px;
        justify-content: center;
    }
    .navbar-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    
}
.desktop-menu {
    position: fixed;
    top: 0;
    right: -400px; /* تغییر به سمت راست */
    width: 400px;
    height: 100%;
    background: var(--light-color);
    box-shadow: -2px 0 8px rgba(0,0,0,0.15); /* سایه سمت چپ */
    transition: right 0.3s ease;
    z-index: 2000;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
      font-family: 'pico';
}
.desktop-menu.open {
    right: 0;
}

/* دکمه بستن منوی دسکتاپ */
.desktop-menu-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-color);
    align-self: flex-start;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}
.desktop-menu-close:hover {
    color: var(--accent-color);
}

/* دکمه‌های داخل منوی دسکتاپ */
.desktop-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.desktop-menu-buttons .btn {
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease;
}


/* موبایل: لوگو و متن کنار هم */
@media (max-width: 768px) {
    .navbar-logo {
        flex-direction: row !important; /* کنار هم بودن لوگو و متن */
        align-items: center;
}
.navbar-logo img {
    max-height: 40px;

}

.navbar{
    border-radius: 0 0 15px 15px;
    top: 0;
}

.navbar-logo h1 {
    font-size: 10px;

}
    
}

/* دکمه تغییر تم */
#desktop-theme-toggle {
    background-color: var(--accent-color);
    color: var(--light-color);
}
#desktop-theme-toggle:hover {
    background-color: var(--primary-color);
}

/* دکمه ورود کاربر */
#desktop-user-login {
    background-color: var(--primary-color);
    color: var(--text-color);
}
#desktop-user-login:hover {
    background-color: var(--accent-color);
}

/* لینک رزرو آنلاین */
.desktop-menu-buttons a.btn {
    background-color: var(--text-color);
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
}
.desktop-menu-buttons a.btn:hover {
    background-color: var(--secondary-color);
}



        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: block; /* Always shown on mobile */
            background: transparent;
            color: var(--text-color);
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 1002;
            padding: 8px; /* Added padding for easier touch */
        }
/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Start off-screen to the right for RTL */
    width: 70%;
    /* Adjusted width for mobile */
    max-width: 300px;
    /* Max width for larger phones */
    height: 100vh;
    background-color: var(--light-color);
    z-index: 2100;
    padding: 40px 20px;
    /* Adjusted padding */
    transition: right 0.3s ease-out;
    /* Optimized transition */
    box-shadow: -5px 0 20px var(--shadow-color);

    /* 👇 اجباری برای اسکرول */
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    /* مطمئن میشه flex درست عمل کنه */
}
        .mobile-menu.active {
            right: 0; /* Slide in from the right */
        }

        .mobile-menu-close {
            position: absolute;
            top: 15px; /* Adjusted position */
            left: 15px; /* Adjusted position for RTL */
            background: transparent;
            border: none;
            color: var(--text-color);
            font-size: 1.4rem; /* Adjusted font size */
            cursor: pointer;
            padding: 8px; /* Added padding for easier touch */
        }

        .mobile-menu-links {
            display: flex;
            flex-direction: column;
            gap: 15px; /* Adjusted gap */
            margin-top: 30px; /* Adjusted margin */
        }

        .mobile-menu-link {
            color: var(--text-color);
            text-decoration: none;
            font-size: 1.1rem; /* Adjusted font size */
            font-weight: 500;
            transition: color 0.2s ease, padding-right 0.2s ease; /* Optimized transition */
            padding: 10px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Lighter border */
        }

        .mobile-menu-link:active { /* Added active state for mobile touch */
            color: var(--primary-color);
            padding-right: 8px; /* Adjusted padding for RTL */
        }

        .mobile-menu-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px; /* Adjusted gap */
            margin-top: 25px; /* Adjusted margin */
        }

        .mobile-menu-buttons .btn {
            width: 100%;
            padding: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px; /* Adjusted gap */
            border: solid 1px var(--primary-color);
            border-radius: 25px;
            font-size: 0.95rem; /* Adjusted font size */
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.906); /* Slightly lighter overlay */
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease; /* Optimized transition */
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }
/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* هر اسلاید */
.hero-slide {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* تصویر هر اسلاید */
.hero-slide img.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* لایه نیمه شفاف روی تصویر برای خوانایی متن */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.35); /* تاریک کردن پس زمینه */
    z-index: 1;
}

/* متن روی تصویر */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 90%;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
      font-family: 'pico';

    
}

.hero-title span {
    color: var(--primary-color);
      font-family: 'pico';

}

.hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
color: var(--text-color);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-description {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


        .hero-subtitle {
            font-size: 1rem; /* Adjusted font size */
            font-weight: 300;
            margin-bottom: 15px;
            animation: slideInUp 0.5s ease-out forwards;
            animation-delay: 0.1s;
            opacity: 0; /* Start hidden */
                        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.624);
        }

        .hero-title {
            font-size: 2rem; /* Adjusted font size for mobile */
            font-weight: 500;
            margin-bottom: 20px;
            text-shadow: 1px 1px 7px rgba(0, 0, 0, 0.489); /* Lighter shadow */
            animation: slideInUp 0.6s ease-out forwards;
            animation-delay: 0.2s;
            opacity: 0; /* Start hidden */
        }

        .hero-title span {
            color: var(--primary-color);
                        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.769);
        }

        .hero-description {
            font-size: 1rem; /* Adjusted font size */
            margin-bottom: 30px;
            line-height: 1.5;
            animation: slideInUp 0.7s ease-out forwards;
            animation-delay: 0.3s;
            opacity: 0; /* Start hidden */
                        text-shadow: 1px 1px 7px rgba(0, 0, 0, 0.489);
        }

        .hero-buttons {
            display: flex;
            flex-direction: column; /* Stack buttons on mobile */
            gap: 15px; /* Adjusted gap */
            justify-content: center;
            animation: slideInUp 0.8s ease-out forwards;
            animation-delay: 0.4s;
            opacity: 0; /* Start hidden */
        }

        .hero-buttons .btn {
            width: 80%; /* Make buttons wider */
            margin: 0 auto; /* Center buttons */
        }

        .swiper-pagination-bullet {
            width: 10px; /* Smaller bullets */
            height: 10px;
            background-color: rgba(226, 177, 45, 0.758); /* Slightly more visible */
            opacity: 1;
        }

        .swiper-pagination-bullet-active {
            background-color: black;
            transform: scale(1); /* Slightly smaller scale */
        }

        /* Booking Section */
        .booking-form-container {
            position: relative;
            margin-top: -200px; /* Adjusted margin */
            z-index: 10;
        }

        .booking-form {
            background-color: var(--accent-color);
            border-radius: 15px;
            padding: 20px; /* Reduced padding */
            box-shadow: 0 5px 20px var(--shadow-color); /* Lighter shadow */
            display: grid;
            grid-template-columns: 1fr; /* Single column for mobile */
            gap: 15px; /* Adjusted gap */
            position: relative;
            overflow: hidden;
        }

        .booking-form::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 3px; /* Thinner border */
            height: 100%;
            background: var(--gold-gradient);
        }

        .booking-form-title {
            grid-column: 1 / -1;
            font-size: 1.2rem; /* Adjusted font size */
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 5px; /* Reduced margin */
            display: flex;
            align-items: center;
            gap: 8px; /* Adjusted gap */
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-label {
            font-size: 0.85rem; /* Adjusted font size */
            margin-bottom: 6px; /* Adjusted margin */
            font-weight: 500;
            color: var(--text-color);
        }

        .form-input,
        .form-select {
            padding: 10px 12px; /* Adjusted padding */
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            font-size: 0.95rem; /* Adjusted font size */
            transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Optimized transition */
            background-color: var(--light-color);
            color: var(--text-color);
        }

        .form-input:focus,
        .form-select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(200, 169, 126, 0.2);
        }

        .form-select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23c8a97e' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 10px center; /* Adjusted position for RTL */
            padding-left: 35px; /* Adjusted padding for RTL */
            padding-right: 12px; /* Adjusted for RTL */
        }
.form-submit {
    grid-column: 1 / -1;
    background: var(--gold-gradient);
    color: var(--dark-color);
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 5px 15px rgba(200, 169, 126, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: 200% 100%;
    background-position: 0% 50%;
}

.form-submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 220%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

.form-submit:hover {
    transform: translateY(2px); /* فرورفتن به داخل */
    box-shadow: 0 2px 8px rgba(150, 130, 90, 0.6); /* سایه کمتر و تاریک‌تر */
    background-position: 100% 50%;
}

.form-submit:hover::after {
    left: 120%;
}

.step { display: none; opacity: 0; transition: opacity 0.3s ease; }
.step.active { display: block; opacity: 1; }

.progress-bar{
    display:flex;
    justify-content: space-between;
    margin-bottom:15px;
}
.progress-step{
    width:25px;height:25px;
    border-radius:50%;
    background:rgba(0,0,0,0.1);
    display:flex;align-items:center;justify-content:center;
    font-size:0.8rem;color:#fff;
}
.progress-step.active{ background: var(--primary-color); }


        /* About Section */
        .about-container {
            display: grid;
            grid-template-columns: 1fr; /* Single column for mobile */
            gap: 30px; /* Adjusted gap */
            align-items: center;
        }

        .about-image {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px var(--shadow-color); /* Lighter shadow */
            animation: fadeInScale 0.6s ease-out forwards; /* Optimized animation */
            opacity: 0; /* Start hidden */
        }

        .about-image img {
            width: 100%;
            height: 100%;
            height: auto;
            display: block;
            transition: transform 0.3s ease; /* Optimized transition */
        }

        .about-image:active img { /* Added active state for mobile touch */
            transform: scale(1.02);
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: 15px; /* Adjusted position */
            left: 15px;
            right: 15px;
            bottom: 15px;
            border: 3px solid var(--primary-color); /* Thinner border */
            opacity: 0.3;
            z-index: 1;
            pointer-events: none;
        }

        .about-content {
            padding: 10px; /* Reduced padding */
            animation: slideInUp 0.6s ease-out forwards; /* Optimized animation */
            animation-delay: 0.2s;
            opacity: 0; /* Start hidden */
        }

        .about-title {
            font-size: 1.5rem; /* Adjusted font size */
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text-color);
        }

        .about-text {
            font-size: 0.95rem; /* Adjusted font size */
            line-height: 1.6;
            margin-bottom: 20px; /* Adjusted margin */
            color: var(--text-color);
        }

        .about-features {
            display: grid;
            grid-template-columns: 1fr; /* Single column for mobile */
            gap: 10px; /* Adjusted gap */
            margin-bottom: 20px; /* Adjusted margin */
        }

        .about-feature {
            display: flex;
            align-items: center;
            gap: 8px; /* Adjusted gap */
            font-size: 0.9rem; /* Adjusted font size */
        }

        .about-feature i {
            color: var(--primary-color);
            font-size: 1.1rem; /* Adjusted font size */
        }

    .rooms-section {
    background-color: var(--light-color);
    padding: 50px 20px 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 40px;
}

.room-card {
    background:var(--light-color);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    will-change: transform;
    position: relative;
    border: solid 2px var(--shadow-color);
}

.room-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(171, 144, 77, 0.3);
}

.room-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.12);
}

.room-price {
    position: absolute;
    top: 16px;
    right: 16px; /* قرارگیری قیمت گوشه بالا راست (برای RTL میشه left) */
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 10px 18px;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 30px;
    box-shadow: 0 6px 18px rgba(200, 169, 126, 0.4);
    z-index: 10;
    user-select: none;
    transition: background 0.3s ease;
}

.room-price:hover {
    background: var(--secondary-color);
    color: var(--text-light);
}

.room-content {
    padding: 25px 22px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.room-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: 0.02em;
    margin: 0;
}

.room-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    flex-grow: 1;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.room-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.room-feature i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* دکمه‌های اسلایدر */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.25);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.3rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: scale(1.15);
}

.swiper-button-next:active,
.swiper-button-prev:active {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: scale(0.95);
}


/* Services Section EN */
.services-section-en .services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.services-section-en .service-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-section-en .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.services-section-en .service-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--dark-color);
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(200, 169, 126, 0.3);
    transition: var(--transition);
}

.services-section-en .service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.services-section-en .service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.services-section-en .service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.services-section-en .service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.services-section-en .service-link:hover {
    gap: 10px;
}

        /*gallery*/
.gallery-section {
    background-color: var(--light-color);
    padding: 50px 20px 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 40px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;

}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    cursor: pointer;
    box-shadow: 0 6px 15px var(--shadow-color);
    background-color: #000; /* پشت زمینه برای افکت تار */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(171, 144, 77, 0.6);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 12px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 0 0 12px 12px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: var(--text-light);
    font-family: 'Vazirmatn', sans-serif;
    transform: translateY(8px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 0 6px rgba(0,0,0,0.7);
}

.gallery-category {
    font-size: 0.85rem;
    opacity: 0.75;
    text-shadow: 0 0 4px rgba(0,0,0,0.6);
}

.gallery-zoom {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 3px 8px rgba(171, 144, 77, 0.7);
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: 10;
}

.gallery-item:hover .gallery-zoom {
    transform: scale(1);
}

        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1100;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease; /* Optimized transition */
        }

        .lightbox.active {
            opacity: 1;
            visibility: visible;
        }

        .lightbox-content {
            position: relative;
            max-width: 95%; /* Adjusted max-width */
            max-height: 95%; /* Adjusted max-height */
        }

        .lightbox-image {
            max-width: 100%;
            max-height: 80vh; /* Adjusted max-height */
            border-radius: 5px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        }



        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px; /* Smaller buttons */
            height: 40px;
            background-color: var(--primary-color);
            color: var(--dark-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem; /* Adjusted font size */
            cursor: pointer;
            z-index: 1101;
        }

        .lightbox-prev {
            left: 10px; /* Adjusted position for RTL */
        }

        .lightbox-next {
        right: 10px; /* Adjusted position for RTL */
        }

    
 .cta-section {
    padding: 60px 0;
    background: url('/img/hero/Travel-guide-Koohrang.webp') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* گرادینت تیره‌تر با کمی شفافیت */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.45));
    pointer-events: none;
    z-index: 0;
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
    max-width: 90%;
    margin: 0 auto;
    user-select: none;
}

.cta-title,
.cta-description,
.cta-buttons {
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    opacity: 0;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation-name: slideInUp;
    animation-duration: 0.6s;
    animation-delay: 0s;
}

.cta-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    animation-name: slideInUp;
    animation-duration: 0.7s;
    animation-delay: 0.1s;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    animation-name: slideInUp;
    animation-duration: 0.8s;
    animation-delay: 0.2s;
    opacity: 0;
}

.cta-buttons .btn {
    width: 80%;
    margin: 0 auto;
}

/* انیمیشن slideInUp */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


        /* Contact Section */
        .contact-section {
            background-color: var(--light-color);
            position: relative;
        }

        .contact-container {
            display: grid;
            grid-template-columns: 1fr; /* Single column for mobile */
            gap: 30px; /* Adjusted gap */
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 20px; /* Adjusted gap */
        }

        .contact-item {
            display: flex;
            gap: 15px; /* Adjusted gap */
            animation: slideInUp 0.6s ease-out forwards; /* Optimized animation */
            opacity: 0; /* Start hidden */
        }

        .contact-item:nth-child(2) { animation-delay: 0.1s; }
        .contact-item:nth-child(3) { animation-delay: 0.2s; }
        .contact-item:nth-child(4) { animation-delay: 0.3s; }

        .contact-icon {
            width: 50px; /* Smaller icon */
            height: 50px;
            background: var(--gold-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark-color);
            font-size: 1.3rem; /* Adjusted font size */
            flex-shrink: 0;
            box-shadow: 0 5px 15px rgba(200, 169, 126, 0.3);
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            text-align: right; /* Ensure text aligns right */
        }

        .contact-label {
            font-size: 1.1rem; /* Adjusted font size */
            font-weight: 600;
            margin-bottom: 3px; /* Reduced margin */
            color: var(--text-color);
        }

        .contact-text {
            font-size: 0.9rem; /* Adjusted font size */
            line-height: 1.5;
            color: var(--text-color);
        }

        .contact-form {
            background-color: var(--light-color);
            border-radius: 10px;
            padding: 25px; /* Reduced padding */
            box-shadow: 0 5px 20px var(--shadow-color); /* Lighter shadow */
            animation: fadeInScale 0.6s ease-out forwards; /* Optimized animation */
            animation-delay: 0.4s;
            opacity: 0; /* Start hidden */
        }

        .contact-form-title {
            font-size: 1.5rem; /* Adjusted font size */
            font-weight: 700;
            margin-bottom: 20px; /* Adjusted margin */
            color: var(--text-color);
        }

        .contact-form-group {
            margin-bottom: 15px; /* Reduced margin */
        }

        .contact-form-label {
            display: block;
            font-size: 0.9rem; /* Adjusted font size */
            font-weight: 500;
            margin-bottom: 8px; /* Adjusted margin */
            color: var(--text-color);
        }

        .contact-form-input,
        .contact-form-textarea {
            width: 100%;
            padding: 12px; /* Adjusted padding */
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            font-size: 0.95rem; /* Adjusted font size */
            transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Optimized transition */
            background-color: var(--light-color);
            color: var(--text-color);
        }

        .contact-form-input:focus,
        .contact-form-textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(200, 169, 126, 0.2);
        }

        .contact-form-textarea {
            resize: vertical;
            min-height: 100px; /* Smaller min-height */
        }

        .contact-form-button {
            padding: 12px 20px; /* Adjusted padding */
            font-size: 1rem; /* Adjusted font size */
            width: 100%;
        }

        /* Map Section */
        .map-section {
            height: 300px; /* Reduced height for mobile */
            position: relative;
        }

        .map-container {
            width: 100%;
            height: 100%;
        }

        /* Footer */
        .footer {
            background-color: var(--secondary-color);
            color: var(--text-light);
            padding: 50px 0 0; /* Reduced padding */
            position: relative;
        }

        .footer-container {
            display: grid;
            grid-template-columns: 1fr; /* Single column for mobile */
            gap: 30px; /* Adjusted gap */
        }

        .footer-logo {
            display: flex;
            align-items: center;
            margin-bottom: 15px; /* Reduced margin */
        }

        .footer-logo img {
            height: 40px; /* Smaller logo */
        }

        .footer-logo h2 {
            margin-right: 8px; /* Adjusted margin */
            font-size: 1.4rem; /* Adjusted font size */
            font-weight: 700;
            color: var(--primary-color);
        }

        .footer-about {
            font-size: 0.9rem; /* Adjusted font size */
            line-height: 1.5;
            margin-bottom: 15px; /* Reduced margin */
        }

        .footer-social {
            display: flex;
            gap: 10px; /* Reduced gap */
        }

        .footer-social-link {
            width: 35px; /* Smaller icons */
            height: 35px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 1rem; /* Adjusted font size */
            transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease; /* Optimized transition */
        }

        .footer-social-link:active { /* Added active state for mobile touch */
            background-color: var(--primary-color);
            color: var(--dark-color);
            transform: translateY(-2px);
        }

        .footer-title {
            font-size: 1.2rem; /* Adjusted font size */
            font-weight: 600;
            margin-bottom: 20px; /* Adjusted margin */
            color: var(--text-light);
            position: relative;
            padding-bottom: 8px; /* Reduced padding */
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 40px; /* Shorter line */
            height: 2px; /* Thinner line */
            background: var(--gold-gradient);
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px; /* Reduced gap */
        }

        .footer-link {
            color: var(--text-light);
            text-decoration: none;
            font-size: 0.9rem; /* Adjusted font size */
            transition: color 0.2s ease, transform 0.2s ease; /* Optimized transition */
            display: flex;
            align-items: center;
            gap: 6px; /* Adjusted gap */
        }

        .footer-link i {
            color: var(--primary-color);
            font-size: 0.7rem; /* Smaller icon */
            transform: rotate(180deg);
        }

        .footer-link:active { /* Added active state for mobile touch */
            color: var(--primary-color);
            transform: translateX(-3px);
        }

        .footer-contact-item {
            display: flex;
            gap: 10px; /* Reduced gap */
            margin-bottom: 10px; /* Reduced margin */
        }

        .footer-contact-icon {
            color: var(--primary-color);
            font-size: 1rem; /* Adjusted font size */
        }

        .footer-contact-text {
            font-size: 0.9rem; /* Adjusted font size */
            line-height: 1.5;
        }

        .footer-newsletter-text {
            font-size: 0.9rem; /* Adjusted font size */
            line-height: 1.5;
            margin-bottom: 15px; /* Reduced margin */
        }

        .footer-newsletter-form {
            display: flex;
            flex-direction: column; /* Stack for mobile */
            gap: 10px; /* Adjusted gap */
        }

        .footer-newsletter-input {
            flex-grow: 1;
            padding: 10px 12px; /* Adjusted padding */
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            background-color: rgba(255, 255, 255, 0.05);
            color: var(--text-light);
            font-size: 0.9rem; /* Adjusted font size */
        }

        .footer-newsletter-input:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        .footer-newsletter-button {
            padding: 10px 12px; /* Adjusted padding */
            font-size: 0.9rem; /* Adjusted font size */
        }

        .footer-bottom {
            margin-top: 30px; /* Reduced margin */
            padding: 20px 0; /* Reduced padding */
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-copyright {
            font-size: 0.85rem; /* Adjusted font size */
        }

        /* Light Effects (Simplified for Mobile) */
        .light-effect {
            display: none; /* Hide light effects on mobile for performance */
        }

        /* Scroll To Top Button */
        .scroll-top {
            position: fixed;
            bottom: 20px; /* Adjusted position */
            left: 20px; /* Adjusted position for RTL */
            width: 45px; /* Smaller button */
            height: 45px;
            background: var(--gold-gradient);
            color: var(--dark-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem; /* Adjusted font size */
            cursor: pointer;
            z-index: 999;
            box-shadow: 0 3px 10px rgba(200, 169, 126, 0.3);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, transform 0.2s ease; /* Optimized transition */
        }

        .scroll-top.active {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:active { /* Added active state for mobile touch */
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(200, 169, 126, 0.4);
        }

        /* Loader */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--light-color);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            transition: opacity 0.3s ease; /* Optimized transition */
        }

        .loader.fade-out {
            opacity: 0;
            visibility: hidden;
        }

        .loader-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .loader-spinner {
            width: 60px; /* Smaller spinner */
            height: 60px;
            border: 4px solid rgba(200, 169, 126, 0.2);
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 15px; /* Reduced margin */
        }

        .loader-text {
            font-size: 1rem; /* Adjusted font size */
            font-weight: 600;
            color: var(--text-color);
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Responsive adjustments for larger mobile devices (e.g., tablets in portrait) */
        @media (min-width: 480px) {
            html, body {
                font-size: 15px;
            }
            .container {
                padding: 0 20px;
            }
            .section {
                padding: 80px 0;
            }
            .section-heading {
                font-size: 2.2rem;
            }
            .hero-title {
                font-size: 2.5rem;
            }
            .hero-buttons {
                flex-direction: row; /* Buttons side-by-side on larger mobiles */
                width: 100%;
            }
            .hero-buttons .btn {
                width: auto;
            }
            .booking-form {
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Two columns for booking form */
            }
            .about-container,
            .services-container,
            .contact-container {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Two columns for these sections */
            }
            .gallery-container {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Larger gallery items */
            }
            .gallery-item {
                height: 200px;
            }
            .footer-container {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Two columns for footer */
            }
            .footer-newsletter-form {
                flex-direction: row; /* Newsletter side-by-side */
            }
        }

        /* Desktop styles (hidden by default, shown when screen is wide enough) */
        @media (min-width: 769px) {
            html, body {
                font-size: 16px;
            }
            .container {
                padding: 0 20px;
                max-width: 1200px; /* Standard desktop max-width */
            }
            .navbar {
                background-color: transparent; /* Transparent on desktop */
                box-shadow: none;
                padding: 13px 0;
            }
            .navbar-logo img {
                height: 60px;
            }
            .navbar-logo h1 {
                font-size: 1.8rem;
            }
            .navbar-links,
            .navbar-buttons {
                display: flex; /* Show on desktop */
            }
            .mobile-menu-btn,
            .mobile-menu,
            .overlay {
                display: none !important; /* Hide mobile menu on desktop */
            }
            .hero-subtitle {
                font-size: 2rem;
            }
            .hero-title {
                font-size: 5rem;
            }
            .hero-description {
                font-size: 1.3rem;
            }
            .hero-buttons {
                flex-direction: row;
            }
            .hero-buttons .btn {
                width: auto;
            }
            .booking-form {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
            .about-container {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
            .service-card::before {
                height: 5px;
            }
            .service-card:hover::before {
                height: 100%; /* Original hover effect */
            }
            .service-card:hover .service-icon {
                transform: rotateY(180deg); /* Original hover effect */
            }
            .gallery-container {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
            .gallery-item {
                height: 300px;
            }
            .gallery-item:hover .gallery-overlay {
                opacity: 1;
            }
            .gallery-item:hover .gallery-info {
                transform: translateY(0);
            }
            .gallery-item:hover .gallery-zoom {
                transform: scale(1);
            }
            .footer-container {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
            .footer-newsletter-form {
                flex-direction: row;
            }
            .light-effect {
                display: block; /* Show light effects on desktop */
            }
        }
    

        .room-charts-section {
    background-color: var(--light-color);
    padding: 50px 20px 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 40px;

}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-heading {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 18px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
}

/* Container گریدی برای چارت‌ها */
.room-charts-container {
    background-color: var(--light-color);
    padding: 50px 20px 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 40px;
}


/* فیلترها */
.filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid #ccc;
  background: #f8f9fa;
  color: #333;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: var(--light-color);
}


/* کارت اتاق */
.room-charts-card {
    background: var(--gold-gradient);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(171, 144, 77, 0.16);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    will-change: transform;
    border: 2.5px solid transparent;
    position: relative;
}

.room-charts-card:hover,
.room-charts-card:focus-within {
    transform: translateY(-12px);
    box-shadow: 0 30px 65px rgba(171, 144, 77, 0.35);
    border-color: var(--primary-color);
    outline: none;
}

/* تصویر اتاق */
.room-charts-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
}

.room-charts-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    will-change: transform;
}

.room-charts-card:hover .room-charts-image img,
.room-charts-card:focus-within .room-charts-image img {
    transform: scale(1.12);
}

/* قیمت اتاق */
.room-charts-price {
    position: absolute;
    top: 18px;
    right: 18px; /* برای RTL میشه left */
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 12px 26px;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 40px;
    box-shadow: 0 10px 28px rgba(200, 169, 126, 0.5);
    z-index: 10;
    user-select: none;
    transition: background 0.35s ease, color 0.35s ease;
    font-family: 'Vazir-Thin', sans-serif;
}

.room-charts-price:hover {
    background: var(--secondary-color);
    color: var(--text-light);
}

/* محتوای کارت */
.room-charts-content {
    padding: 28px 26px 34px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex-grow: 1;
}

/* عنوان اتاق */
.room-charts-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: 0.03em;
    margin: 0;
}

/* توضیحات */
.room-charts-description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
    flex-grow: 1;
}

/* ویژگی‌ها */
.room-charts-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.room-charts-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
    user-select: none;
}

.room-charts-feature i {
    color: var(--primary-color);
    font-size: 1.4rem;
    min-width: 26px;
    text-align: center;
}

/* دکمه رزرو */
.room-charts-content .btn-primary {
    align-self: flex-start;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 45px;
    background: var(--gold-gradient);
    color: var(--dark-color);
    box-shadow: 0 10px 30px rgba(200, 169, 126, 0.45);
    transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.room-charts-content .btn-primary:hover,
.room-charts-content .btn-primary:focus {
    background: var(--secondary-color);
    color: var(--text-light);
    box-shadow: 0 16px 48px rgba(180, 160, 110, 0.7);
    transform: translateY(-3px);
    outline: none;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .room-charts-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 26px;
    }

    .room-charts-image {
        height: 190px;
    }
}

@media (max-width: 768px) {
    .room-charts-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .room-charts-image {
        height: 160px;
    }

    .room-charts-title {
        font-size: 1.5rem;
    }

    .room-charts-price {
        font-size: 1.1rem;
        padding: 10px 22px;
    }
}

@media (max-width: 480px) {
    .room-charts-container {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 12px;
    }

    .room-charts-image {
        height: 140px;
    }

    .room-charts-title {
        font-size: 1.3rem;
    }

    .room-charts-price {
        font-size: 1rem;
        padding: 8px 18px;
    }

    .room-charts-content .btn-primary {
        padding: 10px 24px;
        font-size: 1rem;
    }
}


/* Modal Base Styles */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.service-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.service-modal-content {
    background: var(--light-color);
    color: var(--text-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-color);
    max-width: 600px;
    width: 90%;
    animation: scaleIn 0.3s ease;
    position: relative;
}

.dark-mode .service-modal-content {
    background: var(--light-color);
    color: var(--text-light);
}

.service-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.modal-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

#modalFeatures {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

#modalFeatures li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
