/* ============================================
   TAVANJOO - Final Production v8.0
   ============================================ */

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

:root {
    --primary: #153B5C;
    --secondary: #2F5E88;
    --accent: #A9B8C8;
    --background: #F6F8FA;
    --text: #1B2430;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --success: #10b981;
    --reserved: #f59e0b;
    --sold: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

body.ltr {
    font-family: 'Manrope', sans-serif;
    direction: ltr;
}

/* LOADER */
.loader {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s, visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loader-logo {
    width: 180px;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.loader-title-en {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.loader-title-fa {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-align: center;
}

.loader-slogan {
    font-size: 1rem;
    color: var(--text);
    opacity: 0.8;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    background: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.875rem 3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

/* State 1: Home on hero */
body.is-home .header:not(.scrolled) .header-logo {
    color: white;
}

body.is-home .header:not(.scrolled) .header-logo-fa {
    color: var(--accent);
}

body.is-home .header:not(.scrolled) .desktop-nav a {
    color: white;
}

body.is-home .header:not(.scrolled) .desktop-nav a:hover,
body.is-home .header:not(.scrolled) .desktop-nav a.active {
    color: var(--accent);
}

body.is-home .header:not(.scrolled) .lang-btn {
    color: white;
}

body.is-home .header:not(.scrolled) .lang-btn.active {
    color: white !important;
}

body.is-home .header:not(.scrolled) .phone-link {
    color: white;
}

body.is-home .header:not(.scrolled) .hamburger span {
    background: white;
}

/* State 2: Home scrolled */
body.is-home .header.scrolled .header-logo {
    color: var(--text);
}

body.is-home .header.scrolled .header-logo-fa {
    color: var(--secondary);
}

body.is-home .header.scrolled .desktop-nav a {
    color: var(--text);
}

body.is-home .header.scrolled .desktop-nav a:hover,
body.is-home .header.scrolled .desktop-nav a.active {
    color: var(--secondary);
}

body.is-home .header.scrolled .lang-btn {
    color: var(--text);
}

body.is-home .header.scrolled .lang-btn.active {
    color: white !important;
}

body.is-home .header.scrolled .phone-link {
    color: var(--text);
}

body.is-home .header.scrolled .hamburger span {
    background: var(--text);
}

/* State 3: Other pages */
body:not(.is-home) .header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

body:not(.is-home) .header .header-logo {
    color: var(--text);
}

body:not(.is-home) .header .header-logo-fa {
    color: var(--secondary);
}

body:not(.is-home) .header .desktop-nav a {
    color: var(--text);
}

body:not(.is-home) .header .desktop-nav a:hover,
body:not(.is-home) .header .desktop-nav a.active {
    color: var(--secondary);
}

body:not(.is-home) .header .lang-btn {
    color: var(--text);
}

body:not(.is-home) .header .lang-btn.active {
    color: white !important;
}

body:not(.is-home) .header .phone-link {
    color: var(--text);
}

body:not(.is-home) .header .hamburger span {
    background: var(--text);
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Logo - ✅ FIX #2: Logo image color never changes */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.header-logo:hover {
    opacity: 0.9;
}

.header-logo-img {
    width: 50px;
    height: auto;
    transition: none;
    /* ✅ No filter transitions */
    flex-shrink: 0;
    /* ✅ Logo keeps its original colors in all states */
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-logo-en {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    white-space: nowrap;
}

.header-logo-fa {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-top: 0.2rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.lang-switcher {
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.25rem;
    border-radius: 8px;
    transition: background 0.4s;
}

.header.scrolled .lang-switcher {
    background: rgba(0, 0, 0, 0.05);
}

body:not(.is-home) .header .lang-switcher {
    background: rgba(0, 0, 0, 0.05);
}

.lang-btn {
    padding: 0.4rem 0.875rem;
    border: none;
    background: transparent;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.lang-btn.active {
    background: var(--secondary);
    color: white !important;
}

.phone-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    font-size: 0.9rem;
}

html[dir="rtl"] .phone-link {
    flex-direction: row-reverse;
}

html[dir="ltr"] .phone-link {
    flex-direction: row;
}

.phone-link:hover {
    color: var(--accent) !important;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    max-width: 100%;
    word-wrap: break-word;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(47, 94, 136, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 2001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -500px;
    width: 400px;
    height: 100vh;
    background: var(--primary);
    z-index: 2000;
    padding: 6rem 2.5rem 2.5rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

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

body.ltr .nav-menu {
    right: auto;
    left: -500px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.ltr .nav-menu.active {
    left: 0;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-item {
    margin-bottom: 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    width: 100%;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    font-family: inherit;
    text-align: inherit;
}

.nav-link:hover {
    color: var(--accent);
    padding-right: 0.5rem;
}

body.ltr .nav-link:hover {
    padding-right: 0;
    padding-left: 0.5rem;
}

.nav-link.active {
    color: var(--accent);
    font-weight: 700;
}

.nav-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-right: 1rem;
}

body.ltr .nav-dropdown {
    padding-right: 0;
    padding-left: 1rem;
}

.nav-dropdown.show {
    max-height: 300px;
    padding-top: 0.5rem;
}

.nav-dropdown .nav-link {
    font-size: 1rem;
    font-weight: 400;
    padding: 0.75rem 0;
}

.close-menu {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2002;
}

body.ltr .close-menu {
    left: auto;
    right: 2rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0 2rem;
}

.desktop-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

/* HERO */
.snap-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
}

.snap-section {
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero-image-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 59, 92, 0.3), rgba(21, 59, 92, 0.1));
    z-index: 2;
}

.hero-diagonal {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, rgba(21, 59, 92, 0.95), rgba(47, 94, 136, 0.9));
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 3;
}

body.ltr .hero-diagonal {
    right: auto;
    left: 0;
    clip-path: polygon(0 0, 70% 0, 100% 100%, 0% 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 550px;
    color: white;
    padding: 3rem;
    margin-right: auto;
    margin-left: 8%;
}

body.ltr .hero-content {
    margin-left: auto;
    margin-right: 8%;
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-cta .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.page-hero {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 59, 92, 0.85), rgba(47, 94, 136, 0.7));
    z-index: 1;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* FOOTER */
.footer {
    background: var(--primary);
    color: white;
    padding: 5rem 3rem 2rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.footer-logo {
    width: 120px;
    height: auto;
    max-width: 100%;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.footer-brand-en {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-align: center;
}

.footer-brand-fa {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 0.875rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
    background: transparent;
    visibility: visible !important;
    opacity: 1 !important;
}

.social-link svg,
.social-link i {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    display: block !important;
    visibility: visible !important;
}

.social-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-column h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.95rem;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(5px);
}

body.ltr .footer-column a:hover {
    transform: translateX(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.6;
    font-size: 0.875rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* MODAL - ✅ FIX #7: Close button doesn't overlap title */
.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.4s ease;
}

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

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

.modal-header {
    background: var(--primary);
    color: white;
    padding: 1.75rem 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    flex: 1;
    padding-left: 0;
    padding-right: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.ltr .modal-title {
    padding-right: 0;
    padding-left: 0;
}

.modal-close {
    position: relative;
    /* ✅ Not absolute - stays in flex flow */
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-input,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--secondary);
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.5;
}

.form-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-input.error {
    border-color: #dc2626;
}

/* PROJECTS */
.projects-page {
    padding: 6rem 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 1rem 2.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-tab:hover:not(.active) {
    border-color: var(--secondary);
    color: var(--secondary);
}

.section-block {
    margin-bottom: 6rem;
}

.section-block.hidden {
    display: none;
}

.projects-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.project-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

body.ltr .project-status-badge {
    right: auto;
    left: 1rem;
}

.project-info {
    padding: 2rem;
}

.project-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-location {
    color: var(--secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card,
.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card:hover,
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.news-image,
.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-image img,
.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-card:hover .news-image img,
.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

body.ltr .post-tag {
    right: auto;
    left: 1rem;
}

.news-content,
.post-content {
    padding: 2rem;
}

.news-date,
.post-meta {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-title,
.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.news-excerpt,
.post-excerpt {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.read-more-link,
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.read-more-link:hover,
.read-more:hover {
    gap: 1rem;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.featured-image {
    height: 500px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.featured-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination.hidden {
    display: none;
}

.page-btn {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: var(--text);
}

.page-btn.active,
.page-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* PROJECT DETAIL */
.project-hero {
    height: 80vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(21, 59, 92, 0.9) 100%);
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 3rem;
    color: white;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.project-category {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.project-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-location-hero {
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.project-body {
    max-width: 1600px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

.project-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.project-description h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.project-description p {
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #444;
}

.project-specs {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: #666;
    font-size: 0.95rem;
}

.spec-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 5rem;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.4s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

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

.amenity-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.amenity-name {
    font-weight: 600;
    color: var(--text);
}

.booking-section {
    background: var(--primary);
    color: white;
    padding: 5rem 3rem;
    border-radius: 24px;
    text-align: center;
    margin: 3rem 0;
}

.booking-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.booking-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.booking-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.booking-buttons .btn-primary {
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1rem;
    white-space: nowrap;
}

/* UNIT TYPES */
.unit-types-page {
    padding: 5rem 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.project-info-banner {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.project-info-banner-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.project-info-banner-content p {
    color: #666;
    font-size: 0.95rem;
}

.unit-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.unit-filter-btn {
    padding: 0.75rem 1.75rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    color: var(--text);
}

.unit-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.unit-filter-btn:hover:not(.active) {
    border-color: var(--secondary);
    color: var(--secondary);
}

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

.unit-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.unit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.unit-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--background);
}

.unit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.unit-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    z-index: 2;
    letter-spacing: 0.05em;
}

body.ltr .unit-status-badge {
    right: auto;
    left: 1rem;
}

.unit-status-badge.available {
    background: var(--success);
}

.unit-status-badge.reserved {
    background: var(--reserved);
}

.unit-status-badge.sold {
    background: var(--sold);
}

.unit-card-content {
    padding: 1.75rem;
}

.unit-type-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.unit-type-subtitle {
    font-size: 0.875rem;
    color: var(--secondary);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.unit-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    padding: 1.25rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1.25rem;
}

.unit-spec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #555;
}

.unit-spec i {
    color: var(--secondary);
    flex-shrink: 0;
}

.unit-spec strong {
    color: var(--text);
    font-weight: 600;
    margin-right: 0.25rem;
}

body.ltr .unit-spec strong {
    margin-right: 0;
    margin-left: 0.25rem;
}

.unit-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.unit-price-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.unit-price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.unit-sale-conditions {
    background: var(--background);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

.unit-sale-conditions strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.unit-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
}

.unit-detail-image {
    border-radius: 12px;
    overflow: hidden;
    background: var(--background);
    aspect-ratio: 1;
}

.unit-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unit-detail-info h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.unit-detail-info .subtitle {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.unit-detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 12px;
}

.unit-detail-spec {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.unit-detail-spec-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.unit-detail-spec-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.unit-detail-conditions {
    padding: 1.25rem;
    background: #f0f9ff;
    border-right: 4px solid var(--secondary);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

body.ltr .unit-detail-conditions {
    border-right: none;
    border-left: 4px solid var(--secondary);
}

.unit-detail-conditions h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.unit-detail-conditions ul {
    list-style: none;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

.unit-detail-conditions li::before {
    content: '•';
    color: var(--secondary);
    margin-right: 0.5rem;
    font-weight: 700;
}

body.ltr .unit-detail-conditions li::before {
    margin-right: 0;
    margin-left: 0.5rem;
}

.unit-detail-modal .modal-content {
    max-width: 900px;
}

/* ABOUT */
.about-body {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.story-image {
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.125rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: #555;
}

.story-signature {
    font-style: italic;
    color: var(--secondary);
    font-size: 1.125rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--accent);
}

.values-section {
    background: var(--primary);
    color: white;
    padding: 5rem 3rem;
    border-radius: 24px;
    margin-bottom: 6rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

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

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-card p {
    opacity: 0.85;
    line-height: 1.8;
}

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

.stat-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-plus {
    color: var(--secondary);
    font-size: 2rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
    font-weight: 500;
}

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

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--secondary);
    font-size: 0.95rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 5rem 3rem;
    border-radius: 24px;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* CONTACT */
.contact-section {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.info-content p {
    color: #666;
    line-height: 1.8;
}

.info-content a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-form>p {
    color: #666;
    margin-bottom: 2rem;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.map-section {
    padding: 0 3rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.map-container {
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.3);
}

/* UTILITIES */
.section-label {
    color: var(--secondary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-section,
.news-section {
    padding: 8rem 3rem;
}

.footer-section {
    position: relative;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .desktop-nav {
        gap: 1.25rem;
    }

    .desktop-nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 1rem 1.5rem !important;
    }

    .header.scrolled {
        padding: 0.75rem 1.5rem !important;
    }

    .header .desktop-nav {
        display: none;
    }

    .header .header-actions .btn-primary {
        display: none;
    }

    .hamburger {
        display: flex !important;
    }

    .nav-menu {
        width: 100% !important;
        max-width: 100vw;
        right: -100% !important;
        padding: 5rem 1.5rem 1.5rem !important;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    body.ltr .nav-menu {
        left: -100% !important;
    }

    body.ltr .nav-menu.active {
        left: 0 !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .footer-links {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .hero-content {
        padding: 2rem !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .hero-diagonal {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    }

    body.ltr .hero-diagonal {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
    }

    .story-section {
        grid-template-columns: 1fr !important;
    }

    .story-image {
        height: 400px !important;
    }

    .about-body {
        padding: 4rem 1.5rem !important;
    }

    .project-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .projects-page,
    .contact-section,
    .unit-types-page,
    .project-body {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .projects-grid,
    .news-grid,
    .units-grid,
    .team-grid,
    .values-grid,
    .stats-section {
        grid-template-columns: 1fr !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-section,
    .map-section {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .contact-form {
        padding: 2rem 1.5rem !important;
    }

    .featured-post {
        grid-template-columns: 1fr !important;
    }

    .featured-image {
        height: 300px !important;
    }

    .featured-content {
        padding: 1.5rem !important;
    }

    .project-info-banner {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .project-info-banner .btn-primary {
        width: 100% !important;
        display: inline-flex !important;
    }

    .filter-tabs,
    .unit-filters {
        flex-direction: column !important;
        width: 100% !important;
    }

    .filter-tab,
    .unit-filter-btn {
        width: 100% !important;
    }

    .map-container {
        height: 300px !important;
    }

    .page-hero {
        height: 35vh !important;
        min-height: 250px !important;
    }

    .page-hero-title {
        font-size: 1.75rem !important;
    }

    .page-hero-subtitle {
        font-size: 0.95rem !important;
    }

    .booking-section {
        padding: 3rem 1.5rem !important;
        border-radius: 16px !important;
        margin: 2rem 0 !important;
    }

    .booking-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.75rem !important;
    }

    .booking-buttons .btn-primary {
        width: 100% !important;
        min-width: unset !important;
        display: inline-flex !important;
    }
}

@media (max-width: 768px) {
    .header-content {
        gap: 0.5rem;
    }

    .header-logo-text {
        display: flex !important;
        align-items: center;
    }

    .header-logo-en {
        font-size: 1rem !important;
        letter-spacing: 0.08em;
    }

    .header-logo-fa {
        font-size: 0.75rem !important;
    }

    .header-logo-img {
        width: 40px !important;
    }

    .lang-switcher {
        padding: 0.2rem !important;
    }

    .lang-btn {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.75rem !important;
    }

    .hamburger {
        padding: 0.4rem;
    }

    .hamburger span {
        width: 22px;
    }

    .page-hero {
        height: 40vh;
        min-height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    .modal-body {
        padding: 1.5rem !important;
    }

    .modal-header {
        padding: 1.25rem 1.5rem !important;
    }

    .modal-title {
        font-size: 1rem !important;
    }

    .modal-close {
        width: 36px;
        height: 36px;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .project-body {
        padding: 3rem 1.5rem !important;
    }

    .unit-detail-content {
        grid-template-columns: 1fr !important;
        padding: 1.5rem !important;
    }

    .unit-detail-info .btn-primary {
        width: 100% !important;
        display: inline-flex !important;
    }

    .phone-link {
        display: none;
    }
}

@media (max-width: 640px) {
    .booking-section {
        padding: 3rem 1.5rem !important;
        border-radius: 16px !important;
        margin: 2rem 0 !important;
    }

    .projects-section,
    .news-section {
        padding: 4rem 1.5rem !important;
    }

    .modal {
        padding: 1rem !important;
    }

    .modal-content {
        max-height: 95vh !important;
    }

    .unit-card-content .btn-primary,
    .project-info-banner .btn-primary {
        width: 100% !important;
        display: inline-flex !important;
        font-size: 0.9rem !important;
        padding: 0.875rem 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.875rem 1rem !important;
    }

    .header.scrolled {
        padding: 0.75rem 1rem !important;
    }

    .header-logo-img {
        width: 35px !important;
    }

    .header-logo-en {
        font-size: 0.875rem !important;
    }

    .header-logo-fa {
        font-size: 0.7rem !important;
    }

    .footer {
        padding: 3rem 1.5rem 1.5rem !important;
    }

    .footer-content {
        margin-bottom: 2.5rem !important;
    }

    .hero-title {
        font-size: 1.5rem !important;
    }

    .hero-cta .btn-primary {
        padding: 0.875rem 1.75rem !important;
        font-size: 0.9rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }
}