/* Reset و استایل‌های پایه */
@font-face {
  font-family: vazir;
  src: url(fonts/IRAN-Rounded.woff);
  src: url(fonts/IRAN-Rounded.eot);
  src: url(fonts/IRAN.ttf);
  font-display: swap;
}

body {
  font-family: vazir;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: vazir;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* استایل هدر */
header {
    background-color: #2c5e1a;
    color: white;
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.logo span {
    color: #e6b325;
}

/* منوی دسکتاپ */
.desktop-menu {
    display: flex;
}

.desktop-menu ul {
    display: flex;
    list-style: none;
}

.desktop-menu li {
    margin: 0 0.8rem;
}

.desktop-menu a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.desktop-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.desktop-menu .reserve-btn {
    text-decoration:none;
    background-color: #e6b325;
    color: #2c5e1a;
    border-radius: 4px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
}

.desktop-menu .reserve-btn:hover {
    background-color: #d4a620;
}

/* منوی موبایل و همبرگر */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #2c5e1a;
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 3rem;
}

.mobile-menu li {
    margin-bottom: 1.5rem;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
}

.mobile-menu .reserve-btn {
    text-decoration:none;
    color: #2c5e1a;
    background-color: #e6b325;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

.close-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* بخش هیرو با عکس و شعار */
.hero {
    /* حذف background-image از اینجا */
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    position: relative;
    overflow: hidden; /* اضافه شد */
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 3; /* افزایش z-index */
    position: relative; /* اضافه شد */
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #f9f9f9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* برای ریسپانسیو */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero {
        height: 70vh;
        margin-top: 60px;
    }
}

.cta-button {
    display: inline-block;
    background-color: #e6b325;
    color: #2c5e1a;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #d4a620;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* بخش مزایا */
.advantages {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2c5e1a;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #e6b325;
    margin: 15px auto 0;
}

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

.advantage-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(44, 94, 26, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon i {
    font-size: 2.5rem;
    color: #2c5e1a;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c5e1a;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* محتوای اصلی */
main {
    padding: 2rem 0;
    min-height: 500px;
}

/* رسپانسیو */
@media (max-width: 992px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header .container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .mobile-menu {
        width: 250px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
}




/* استایل بخش اتاق‌ها */
.rooms-section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #2c5e1a;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.room-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.room-image {
    height: 250px;
    overflow: hidden;
}

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

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

.room-details {
    padding: 1.5rem;
}

.room-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5e1a;
}

.room-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.room-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.room-features i {
    margin-left: 0.5rem;
    color: #e6b325;
}

.room-capacity {
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background-color: #f5f5f5;
    border-radius: 5px;
    text-align: center;
}

.room-actions {
    display: flex;
    justify-content: space-between;
}

.info-btn, .reserve-btn {
    text-decoration:none;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.info-btn {
    text-decoration:none;
    background-color: #f8f9fa;
    color: #2c5e1a;
    border: 1px solid #2c5e1a;
}

.info-btn:hover {
    background-color: #e9ecef;
}

.reserve-btn {
    text-decoration:none;
    background-color: #e6b325;
    color: #2c5e1a;
	
}

.reserve-btn:hover {
    text-decoration:none;
    background-color: #d4a620;
}

/* استایل مودال رزرو */



/* رسپانسیو */
@media (max-width: 768px) {
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .room-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-btn, .reserve-btn {
        text-decoration:none;
        width: 100%;
        text-align: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .room-details {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
}



/* بخش فاصله تا مکان های دیدنی */
.attractions-section {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.attractions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.attraction-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.attraction-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.attraction-item i {
    color: #3498db;
    margin-left: 15px;
    font-size: 20px;
}

.attraction-item span {
    flex: 1;
    font-size: 18px;
}

.attraction-item .time {
    background-color: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* بخش نقشه */
.map-section {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.direction-btn {
    text-align: center;
}

.btn {
    display: inline-block;
    background-color: #4285f4;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #3367d6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn i {
    margin-left: 8px;
}

/* بخش مطالب وبلاگ */
.blog-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.02"><polygon fill="%232D5B7C" points="0,0 1000,1000 0,1000"/></svg>');
    background-size: cover;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(22, 22, 22, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transition: all 0.3s ease;
    z-index: 2;
}

.blog-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.blog-card:hover::before {
    height: 6px;
}

.blog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.1));
}

.blog-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
}

.blog-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.blog-date i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.blog-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: black;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 4px 15px rgba(45, 91, 124, 0.3);
}

.blog-link:hover {
    transform: translateX(-8px);
    box-shadow: 0 8px 25px rgba(45, 91, 124, 0.4);
    color: rgba(45, 91, 124, 0.3);
}

/* انیمیشن‌های ظریف */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

/* فوتر */
.footer {
    background-color: #2c5e1a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-section p {
    color: white;
    margin-bottom: 10px;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #3498db;
    transform: translateY(-3px);
}

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

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .attraction-item {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
    
    .attraction-item i {
        margin: 0 0 10px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}


 body {
        }
        
        }
        
        h1 {
            color: #2c3e50;
            margin-bottom: 20px;
        }
        
        p {
            color: #7f8c8d;
            line-height: 1.6;
            margin-bottom: 25px;
        }
        
        .button-container {
            position: fixed;
            left: 20px;
            bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            z-index: 1000;
        }
        
        .icon-button {
            text-decoration: none;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            position: relative;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
            }
        }
        
        .icon-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
            animation: none;
        }
        
        .icon-button:active {
            transform: translateY(1px);
        }
        
        .phone-button {
            background: linear-gradient(135deg, #4cd964 0%, #2ecc71 100%);
        }
        
        .home-button {
            background: linear-gradient(135deg, #007aff 0%, #0051cc 100%);
        }
        
        .icon-button::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: transparent;
            border: 2px solid white;
            opacity: 0;
            transform: scale(1.2);
            transition: all 0.3s ease;
        }
        
        .icon-button:hover::after {
            opacity: 1;
            transform: scale(1);
        }
        
        .tooltip {
            position: absolute;
            right: 70px;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 14px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .icon-button:hover .tooltip {
            opacity: 1;
            visibility: visible;
            right: 75px;
        }
        
        .content {
            margin-top: 40px;
            text-align: center;
        }
        
        @media (max-width: 768px) {
            .button-container {
                left: 10px;
                bottom: 10px;
            }
            
            .icon-button {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
        }


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        
        .gallery-item {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            background: white;
            cursor: pointer;
            height: 180px;
        }
        
        .gallery-item:hover {
            transform: scale(1.03);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        /* لایت‌بکس */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .lightbox.active {
            display: flex;
        }
        
        .lightbox-img {
            max-width: 90%;
            max-height: 90%;
            border-radius: 4px;
        }
        
        .close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }
        
        .close-btn:hover {
            color: #ccc;
        }
        
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: none;
            font-size: 24px;
            width: 50px;
            height: 50px;
            cursor: pointer;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .prev-btn {
            right: 20px;
        }
        
        .next-btn {
            left: 20px;
        }
        
        .nav-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }