/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', 'Tanha', 'Arial', 'Helvetica', sans-serif;
    line-height: 1.8;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    text-align: right;
    direction: rtl;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #FFD700;
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Vazir', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Vazir', sans-serif;
}

.nav-link:hover {
    color: #FFD700;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 0 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: bold;
    color: white;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-family: 'Vazir', sans-serif;
    text-align: right;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-family: 'Vazir', sans-serif;
    text-align: right;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Vazir', sans-serif;
}

.btn-primary {
    background: #FFD700;
    color: #333;
}

.btn-primary:hover {
    background: #FFC400;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
}

.hero-image {
    text-align: left;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #333;
    font-family: 'Vazir', sans-serif;
}

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

.portfolio-item {
    height: 300px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-menu {
        gap: 0.8rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-image {
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* استایل برای عکس‌ها */
.logo {
    height: 40px;
    width: auto;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.portfolio-item img:hover {
    transform: scale(1.05);
}

/* دکمه‌های کاربری در ناوبری */
.btn-login,
.btn-signup {
    background: transparent;
    border: 2px solid #FFD700;
    color: #333;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-left: 0;
    font-family: 'Vazir', sans-serif;
}

.btn-login:hover,
.btn-signup:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

/* مودال‌ها */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 35px;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: right;
}

.close {
    color: #aaa;
    float: left;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 15px;
}

.close:hover {
    color: #333;
}

/* فرم‌ها */
.auth-form {
    margin-top: 25px;
}

.form-group {
    margin-bottom: 25px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-family: 'Vazir', sans-serif;
    font-size: 1.1rem;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: 'Vazir', sans-serif;
    text-align: right;
}

.form-group input:focus {
    outline: none;
    border-color: #FFD700;
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    font-family: 'Vazir', sans-serif;
}

.auth-switch a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* پنل کاربر */
.user-panel {
    display: none;
    background: #FFD700;
    padding: 10px 20px;
    text-align: center;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-logout {
    background: transparent;
    border: 2px solid #333;
    color: #333;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Vazir', sans-serif;
}

.btn-logout:hover {
    background: #333;
    color: #FFD700;
}

/* دراپ‌داون کاربر */
.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 215, 0, 0.1);
    direction: rtl;
}

.user-dropdown:hover {
    background: rgba(255, 215, 0, 0.2);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 15px;
    font-family: 'Vazir', sans-serif;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    text-align: right;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: right;
    font-size: 15px;
    font-family: 'Vazir', sans-serif;
    justify-content: flex-end;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #FFD700;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 10px 0;
}

.logout-btn {
    color: #e74c3c !important;
}

.logout-btn:hover {
    background: #e74c3c !important;
    color: white !important;
}

/* فونت فارسی */
@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tanha';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/tanha-font@v1.0.0/dist/Tanha.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/rastikerdar/tanha-font@v1.0.0/dist/Tanha.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* بهبود ظاهر برای فارسی */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Vazir', 'Tanha', sans-serif;
    font-weight: bold;
}

p,
span,
a,
button,
input,
textarea,
select {
    font-family: 'Vazir', 'Tanha', sans-serif;
}

/* بهبود فاصله‌ها برای فارسی */
.modal-content h2 {
    margin-bottom: 25px;
    text-align: center;
}

.auth-form button[type="submit"] {
    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* رسپانسیو بهبود یافته */
@media (max-width: 768px) {
    .user-dropdown {
        padding: 8px 14px;
    }

    .user-name {
        display: inline;
        font-size: 14px;
    }

    .dropdown-menu {
        left: -30px;
        min-width: 200px;
    }

    .modal-content {
        padding: 25px 20px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* پشتیبانی از اعداد فارسی */
.rtl-numbers {
    font-family: 'Vazir', 'Tanha', sans-serif;
}
/* اضافه کردن استایل‌های منوی همبرگر در ادامه فایل style.css */

/* منوی همبرگر */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* منوی موبایل */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.4s ease;
    padding: 80px 20px 20px 20px;
    overflow-y: auto;
    text-align: right;
}

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

.mobile-menu .nav-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.mobile-menu .nav-item {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu .nav-link,
.mobile-menu .btn-login,
.mobile-menu .btn-signup {
    display: block;
    padding: 15px 20px;
    width: 100%;
    text-align: right;
    border: none;
    background: none;
    color: #333;
    font-size: 16px;
    font-family: 'Vazir', sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.mobile-menu .nav-link:hover,
.mobile-menu .btn-login:hover,
.mobile-menu .btn-signup:hover {
    background-color: #f8f9fa;
    color: #FFD700;
}

/* استایل برای دراپ‌داون کاربر در موبایل */
.mobile-menu .user-dropdown {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
    width: 100%;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background: none;
}

.mobile-menu .user-avatar {
    margin-bottom: 10px;
}

.mobile-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 10px 0 0 0;
    background: none;
    display: none;
}

.mobile-menu .user-dropdown.active .dropdown-menu {
    display: block;
}

.mobile-menu .dropdown-item {
    padding: 12px 30px;
    justify-content: flex-end;
    border: none;
    background: none;
}

/* پوشش برای وقتی که منو باز است */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* استایل‌های واکنش‌گرا */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .navbar .nav-menu:not(.mobile-menu .nav-menu) {
        display: none;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    /* استایل برای ناوبری اصلی */
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 250px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* استایل برای دکمه‌های منوی موبایل */
.mobile-menu .btn-login,
.mobile-menu .btn-signup {
    margin: 10px 0;
    border: 2px solid #FFD700;
    border-radius: 6px;
    color: #333;
    font-weight: 600;
}

.mobile-menu .btn-login:hover,
.mobile-menu .btn-signup:hover {
    background: #FFD700;
}

/* استایل برای منوی فعال در موبایل */
.mobile-menu .nav-item.active .nav-link {
    color: #FFD700;
    font-weight: bold;
    background: rgba(255, 215, 0, 0.1);
}
/* ====================== */
/* بخش تماس با ما         */
/* ====================== */

.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    direction: rtl;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

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

/* کارت‌های اطلاعات تماس */
.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-right: 4px solid #FFD700;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    font-size: 2.5rem;
    background: rgba(255, 215, 0, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-family: 'Vazir', 'Tanha', sans-serif;
}

.contact-details p {
    color: #555;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-details a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.contact-details a:hover {
    color: #FFD700;
}

/* شبکه‌های اجتماعی */
.social-media {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.social-media h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-family: 'Vazir', 'Tanha', sans-serif;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-family: 'Vazir', 'Tanha', sans-serif;
    justify-content: center;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.social-link span {
    font-size: 1.5rem;
}

.instagram {
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #FCAF45);
}

.telegram {
    background: linear-gradient(45deg, #0088cc, #00aced);
}

.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.youtube {
    background: linear-gradient(45deg, #FF0000, #CC0000);
}

.aparat {
    background: linear-gradient(45deg, #ff3860, #ff7e5f);
}

/* نقشه */
.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    color: white;
    margin-top: 1rem;
}

.map-placeholder h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Vazir', 'Tanha', sans-serif;
}

.map-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-card {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .social-link {
        justify-content: flex-start;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        gap: 2rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-details h3 {
        font-size: 1.2rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
}
/* مودال رزرو سریع */
#quickBookingModal .modal-content {
    max-width: 500px;
}

.booking-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 10px;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
}

.step.active {
    background: #FFD700;
    color: #333;
}

.step-line {
    flex: 1;
    height: 3px;
    background: #ddd;
    margin: 0 5px;
    align-self: center;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
}

.booking-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-right: 4px solid #FFD700;
}

.booking-summary h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Vazir', 'Tanha', sans-serif;
}

.booking-summary p {
    margin-bottom: 0.5rem;
    color: #555;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.navigation-buttons .btn {
    min-width: 120px;
}