/* عمومی */
body {
    margin: 0;
    font-family: 'Tahoma', sans-serif;
    background-color: #0b1c2c;
    color: white;
    overflow-x: hidden;
}

header {
    background-color: rgba(0,0,0,0.8);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    direction: rtl; /* 👈 اضافه کن */
    flex-wrap: wrap; /* 👈 جلوگیری از بیرون‌زدگی در صفحه کوچیک */
    box-sizing: border-box; /* 👈 مهم برای padding + width */
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 100%; /* 👈 جلوگیری از بیرون‌زدگی */
    overflow-wrap: anywhere; /* 👈 شکستن متن در صورت نیاز */
}

    nav a {
        color: white;
        margin: 0 15px;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease;
        white-space: nowrap; /* 👈 جلوگیری از شکستن متن */
    }

    nav a:hover {
        color: #f5c542;
    }
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 10px;
    }
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #f5c542;
    color: #0b1c2c;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .cta-button:hover {
        background-color: #ffd700;
    }

/* بنر اصلی */
.hero {
    background: url('hotel-lobby.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    animation: fadeIn 2s ease-in-out;
}

    .hero h1 {
        font-size: 3em;
        color: white;
        margin-bottom: 20px;
        animation: slideDown 1.5s ease-out;
    }

    .hero p {
        font-size: 1.2em;
        color: #ddd;
        animation: fadeIn 2s ease-in;
    }

/* سکشن‌ها */
section {
    padding: 100px 40px 60px;
    text-align: center;
}

    section h2 {
        color: #f5c542;
        font-size: 2em;
        margin-bottom: 20px;
    }

    section p, section ul {
        font-size: 1.1em;
        line-height: 2;
        color: #ccc;
    }

ul {
    list-style: none;
    padding: 0;
}

    ul li {
        margin: 10px 0;
        font-size: 1.1em;
    }

/* فرم */
form {
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
}

    input[type="submit"] {
        background-color: #f5c542;
        color: #0b1c2c;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        input[type="submit"]:hover {
            background-color: #ffd700;
        }

/* فوتر */
footer {
    background-color: #000;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* تایتل سکشن */
.section-title {
    font-size: 2em;
    color: #f5c542;
    text-align: center;
    margin: 80px 0 20px;
}

/* سکشن فضاهای هدف */
.interactive-section {
    display: flex;
    flex-direction: row;
    height: 600px;
    background-color: #0b1c2c;
    overflow: hidden;
}

.tab-controls {
    width: 140px;
    background-color: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding-top: 40px;
}

    .tab-controls button {
        background: none;
        border: none;
        color: #f5c542;
        padding: 20px;
        font-size: 1em;
        cursor: pointer;
        transition: background 0.3s ease;
        text-align: right;
    }

        .tab-controls button:hover {
            background-color: #222;
        }

.space-display {
    flex: 1;
    position: relative;
}

.space-image {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.space-text {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background-color: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 10px;
    color: white;
    font-size: 1.2em;
    max-width: 400px;
    animation: fadeIn 1s ease;
    line-height: 1.8;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(245,197,66,0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(245,197,66,0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(245,197,66,0.4);
    }
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 180px;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    opacity: 0.8;
    filter: brightness(1.3) contrast(1.2);
    border: 2px solid #f5c542;
    box-shadow: 0 0 20px rgba(245, 197, 66, 0.6);
    animation: pulse 3s infinite;
}
.space-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(0,0,0,0.4), rgba(0,0,0,0));
    z-index: 1;
}

/*.space-text, .map-overlay {
    z-index: 2;
    position: relative;
}*/
.space-image {
    filter: brightness(1.1) contrast(1.1);
}
.space-image {
    animation: zoomIn 1s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(1.05);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
.space-image {
    border: 2px solid #f5c542;
    border-radius: 12px;
    overflow: hidden;
}
.device-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.device-tab {
    text-align: center;
    width: 180px;
    transition: transform 0.3s ease;
}

    .device-tab img {
        width: 100px;
        height: auto;
        margin-bottom: 15px;
        border-radius: 12px;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }

    .device-tab:hover {
        transform: translateY(-10px);
    }
.features-section {
    padding: 100px 40px;
    background-color: #0f1117;
    text-align: center;
    color: #eee;
}

.section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #f5c542;
}

.section-description {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 2;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    background-color: #1a1d26;
    border: 1px solid #333;
    padding: 25px 20px;
    border-radius: 12px;
    width: 220px;
    font-size: 1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 0 15px rgba(245, 197, 66, 0.4);
    }
.benefits-section {
    padding: 100px 40px;
   /* background-color: #0e1016;*/
    text-align: center;
    color: #eee;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
   /* background-color: #1a1d26;*/
    border: 1px solid #333;
    padding: 30px 25px;
    border-radius: 15px;
    width: 260px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .benefit-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 0 20px rgba(245, 197, 66, 0.4);
    }

    .benefit-card h3 {
        color: #f5c542;
        margin-bottom: 15px;
        font-size: 1.3em;
    }
