:root {
    --primary: #2c786c;
    --primary-dark: #1a5c4d;
    --primary-light: #e8f3f1;
    --secondary: #ff9a3c;
    --secondary-dark: #e68928;
    --gold: #d4af37;
    --light: #f8f9fa;
    --dark: #2d3748;
    --darker: #1a202c;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --border: #e2e8f0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 12px;
}

/* Reset وتحسينات أساسية */
.unit-page {
    box-sizing: border-box;
    font-family: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f9f9f9;
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.unit-page * {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

/* الحفاظ على خطوط الأيقونات */
.amenity-icon i,
[class^="icon-"],
[class*=" icon-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "Segoe UI Symbol", "Segoe UI Emoji" !important;
}

/* تحسينات للجوال أولاً */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }
}

/* تنسيق القسم الرئيسي */
.unit-page {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .unit-page {
        padding-top: 100px;
        padding-bottom: 40px;
    }
}

/* رأس الوحدة */
.unit-header {
    margin-bottom: 40px;
    position: relative;
}

.unit-title {
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .unit-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .unit-title {
        font-size: 1.5rem;
    }
}

.unit-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.meta-item:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.meta-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* سعر الوحدة */
.price-card {
    background: white;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.price-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 70%);
    border-radius: 0 0 0 100px;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.price-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-amount {
    font-size: 2.25rem;
    color: var(--primary-dark);
    font-weight: 900;
    margin-bottom: 4px;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .price-amount {
        font-size: 2rem;
    }
}

.price-period {
    font-size: 0.875rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* معرض الصور المحسّن */
/* معرض الصور المحسّن */
.gallery-section {
    margin-bottom: 48px;
}

.main-gallery {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-light) 0%, #e2e8f0 100%);
    margin-bottom: 20px;
    cursor: pointer;
}

/* ✅ أسهم التنقل المحسنة */
.gallery-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
    opacity: 1; /* ✅ اجعلها تظهر دائمًا */
}

.gallery-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-size: 1.25rem;
    color: var(--primary-dark);
    pointer-events: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0.8; /* شفافية خفيفة */
}

.gallery-nav-btn:hover {
    background: white;
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    opacity: 1; /* تكتم عند التمرير */
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.gallery-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: none;
    opacity: 0.3;
}

.gallery-nav-btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(44, 120, 108, 0.3);
}

/* تحسين للشاشات التي تعمل باللمس */
@media (hover: none) and (pointer: coarse) {
    .gallery-nav-btn {
        opacity: 1; /* تظهر دائمًا على الشاشات التي تعمل باللمس */
        background: rgba(255, 255, 255, 0.98);
    }
}

/* تحسينات الأسهم للأجهزة المختلفة */
@media (max-width: 768px) {
    .gallery-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        opacity: 0.9; /* أكثر وضوحًا على الجوال */
    }
    
    .gallery-navigation {
        padding: 0 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gallery-nav-btn {
        width: 48px;
        height: 48px;
    }
}
@media (max-width: 1024px) {
    .main-gallery {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .main-gallery {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .main-gallery {
        height: 250px;
    }
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    background-color: var(--gray-light);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.main-gallery:hover .main-image {
    transform: scale(1.02);
}

/* ✅ أسهم التنقل المحسنة */
.gallery-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.main-gallery:hover .gallery-navigation {
    opacity: 1;
}

.gallery-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-size: 1.25rem;
    color: var(--primary-dark);
    pointer-events: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-nav-btn:hover {
    background: white;
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.gallery-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.gallery-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: none;
}

.gallery-nav-btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(44, 120, 108, 0.3);
}

/* تحسين للشاشات التي تعمل باللمس */
@media (hover: none) and (pointer: coarse) {
    .gallery-navigation {
        opacity: 1;
    }
}

/* تحسينات الأسهم للأجهزة المختلفة */
@media (max-width: 768px) {
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-navigation {
        padding: 0 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gallery-nav-btn {
        width: 45px;
        height: 45px;
    }
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

@supports not (backdrop-filter: blur(10px)) {
    .image-counter {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* شبكة الصور المصغرة */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}


@media (max-width: 768px) {
    .thumbnail-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

.thumbnail {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    position: relative;
    background: var(--gray-light);
}

@media (max-width: 768px) {
    .thumbnail {
        height: 80px;
    }
}

.thumbnail:after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail:hover:after,
.thumbnail.active:after {
    opacity: 1;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    loading: lazy;
}

/* تخطيط المحتوى */
.content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 992px) {
    .content-layout {
        grid-template-columns: 1.4fr 0.9fr;
        gap: 40px;
    }
}

/* كروت المحتوى */
.content-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.content-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

@media (max-width: 768px) {
    .content-card {
        padding: 24px 20px;
        margin-bottom: 24px;
    }
}

.content-title {
    color: var(--primary-dark);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--gold) 100%);
}

.content-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

/* ميزات الوحدة */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.amenities-grid::-webkit-scrollbar {
    width: 6px;
}

.amenities-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.amenities-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.amenities-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

@media (max-width: 640px) {
    .amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

.amenity-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: var(--transition);
    background: var(--light);
}

.amenity-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(44, 120, 108, 0.1);
}

.amenity-icon {
    color: var(--primary);
    font-size: 1.5rem;
    min-width: 24px;
    text-align: center;
    transition: var(--transition);
}

.amenity-item:hover .amenity-icon {
    transform: scale(1.1);
    color: var(--secondary);
}

.amenity-content {
    flex: 1;
}

.amenity-text {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 4px;
}

.amenity-value {
    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 500;
}

/* قسم الحجز */
.booking-section {
    position: relative;
}

@media (min-width: 992px) {
    .booking-section {
        position: sticky;
        top: 140px;
        position: -webkit-sticky;
    }
}

.booking-card {
    background: white;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.booking-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

/* نماذج محسّنة */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--darker);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.label-icon {
    color: var(--primary);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
    color: var(--dark);
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(44, 120, 108, 0.15);
    background: white;
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

/* أزرار محسّنة */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover:before {
    width: 300px;
    height: 300px;
}

.btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(44, 120, 108, 0.4);
    margin-bottom: 16px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44, 120, 108, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    z-index: 1;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 120, 108, 0.2);
}

.btn-icon {
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .btn {
        min-height: 44px;
    }
}

/* تحسينات للنصوص */
.content-text {
    color: var(--dark);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.content-text ul,
.content-text ol {
    padding-right: 24px;
    margin: 16px 0;
}

.content-text li {
    margin-bottom: 12px;
    position: relative;
    padding-right: 8px;
}

.content-text li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    right: -16px;
}

/* تحسينات للعناوين الفرعية */
.category-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border);
}

.category-icon {
    color: var(--secondary);
    font-size: 1rem;
}

/* تنبيهات محسّنة */
.alert {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.alert:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 4px;
}

.alert-info {
    background: rgba(23, 162, 184, 0.08);
    border: 1px solid rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

.alert-info:before {
    background: #17a2b8;
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 1rem;
}

.alert-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* رسالة عدم وجود صور */
.no-images {
    text-align: center;
    padding: 60px 40px;
    background: var(--light);
    border-radius: var(--radius);
    color: var(--gray);
    border: 2px dashed var(--border);
    transition: var(--transition);
}

.no-images:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.no-images i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--border);
    opacity: 0.7;
}

.no-images-text {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.no-images-subtext {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* === Contrast fixes for meta items (Lighthouse) === */
.unit-meta {
    color: #1f2937;
}

.meta-item {
    color: #111827;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1.6;
}

.meta-item .meta-icon,
.meta-item i {
    color: #0f766e;
}

.unit-header, .unit-meta {
    text-shadow: none;
}

/* تحسينات إضافية للجوال */
@media (max-width: 480px) {
    .unit-meta {
        gap: 12px;
    }
    
    .meta-item {
        font-size: 0.8125rem;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 16px 24px;
        font-size: 0.95rem;
    }
    
    .content-text {
        font-size: 1rem;
    }
}

/* تحسينات للشاشات الكبيرة جداً */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .main-gallery {
        height: 550px;
    }
}

/* تحسينات للأجهزة اللوحية */
@media (min-width: 769px) and (max-width: 1024px) {
    .content-layout {
        gap: 32px;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* تحسينات للطباعة */
@media print {
    .unit-page {
        padding: 0;
        background: white;
    }
    
    .booking-card,
    .gallery-navigation,
    .btn {
        display: none !important;
    }
    
    .content-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* تحسينات للحركات والتحميل */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* الأقسام الإضافية */

.elegant-share-section {
    margin: 50px 0;
    text-align: center;
}

/* الخط المتقطع */
.divider-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.line-dash {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.share-badge {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(44, 120, 108, 0.3);
}

/* العنوان */
.elegant-title h3 {
    font-size: 28px;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 20px;
}

.title-underline {
    position: relative;
    padding-bottom: 8px;
}

.title-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

/* السهم المتحرك */
.animated-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 30px;
    height: 50px;
    position: relative;
}

.animated-arrow i {
    color: var(--primary);
    font-size: 16px;
    opacity: 0.6;
    animation: arrowFlow 2s infinite;
}

.animated-arrow i:nth-child(2) {
    animation-delay: 0.2s;
}

.animated-arrow i:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrowFlow {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* صف الأيقونات */
.elegant-icons-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.icon-circle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.icon-circle:hover::after {
    transform: scale(1);
}

/* ألوان الدوائر */
.whatsapp-circle {
    background: #25D366;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-circle:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.facebook-circle {
    background: #1877F2;
    color: white;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.facebook-circle:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(24, 119, 242, 0.4);
}

.snapchat-circle {
    background: #FFFC00;
    color: #000;
    box-shadow: 0 8px 20px rgba(255, 252, 0, 0.3);
}

.snapchat-circle:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(255, 252, 0, 0.4);
}

.copy-circle {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.copy-circle:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(108, 117, 125, 0.4);
}

.icon-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .elegant-icons-row {
        gap: 30px;
    }
    
    .icon-circle {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .elegant-icons-row {
        gap: 20px;
    }
}

/* تحسينات إضافية لتصميم الأقسام */
.section-header {
    transition: all 0.3s ease;
    position: relative;
}

.section-header:hover {
    background: #f0f7f5 !important;
}

.section-header:active {
    transform: scale(0.99);
}

.section-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسين مظهر القسم النشط */
.amenity-section.active {
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(44, 120, 108, 0.1);
}

.amenity-section.active .section-header {
    background: var(--primary-light) !important;
    color: var(--primary-dark) !important;
}

/* تحسين أزرار القائمة */
.section-header:focus {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

/* استعلامات الوسائط للقسم */
@media (max-width: 768px) {
    .reviews-section {
        padding: 20px !important;
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
    
    h2 {
        font-size: 1.4rem !important;
        text-align: center;
    }
    
    h2 span {
        right: 50% !important;
        transform: translateX(50%) !important;
    }
    
    div[style*="font-size: 42px"] {
        font-size: 36px !important;
        letter-spacing: 3px !important;
    }
    
    strong[style*="font-size: 28px"] {
        font-size: 24px !important;
    }
    
    .reviews-section > div > div {
        padding: 20px 15px !important;
    }
    
    .reviews-section > div > div > div {
        padding: 20px !important;
    }
    
    div[style*="display:flex; justify-content:space-between"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    span[style*="color:#ffc107; font-size:22px"] {
        align-self: flex-start !important;
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 15px !important;
    }
    
    div[style*="font-size: 42px"] {
        font-size: 32px !important;
        letter-spacing: 2px !important;
    }
    
    strong[style*="font-size: 28px"] {
        font-size: 22px !important;
    }
    
    .reviews-section > div > div > div {
        padding: 15px !important;
    }
    
    p[style*="color:#4a5568"] {
        font-size: 1rem !important;
    }
    
    span[style*="color:#ffc107; font-size:22px"] {
        font-size: 18px !important;
    }
}

/* أنماط قسم الفيديو */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* نسبة 16:9 */
    height: 0;
    background: var(--darker);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius);
}

.video-container video {
    width: 100%;
    border-radius: var(--radius);
    display: block;
}

.video-description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--dark);
    line-height: 1.6;
    font-size: 15px;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .video-section {
        margin: 30px 0 !important;
    }
    
    .video-container {
        border-radius: 10px !important;
    }
}




