/* ============================================
   تنسيقات إضافة مراجعات الفنادق
   نسخة الألوان الترابية الدافئة
   ============================================ */

:root {
    --hr-primary: #7d5535;      /* بني - اللون الرئيسي */
    --hr-secondary: #5c3f28;    /* بني غامق - اللون الثانوي */
    --hr-accent: #b48b63;       /* بني فاتح - لون التمييز */
    --hr-gold: #d4af37;         /* ذهبي للنجوم */
    --hr-light: #fbf3e8;        /* بيج فاتح جداً - الخلفيات */
    --hr-border: #d9c2a6;       /* حدود بدرجة البيج */
    --hr-text: #3d2b1c;         /* نص بني غامق */
    --hr-text-light: #8b6c4d;   /* نص بني فاتح */
    --hr-shadow: 0 8px 18px rgba(125, 85, 53, 0.15);
    --hr-radius: 24px;
}

.hr-hotel-page {
    direction: rtl;
    font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.8;
    color: var(--hr-text);
    background: linear-gradient(135deg, #fbf3e8, #f5e4d1);
    min-height: 100vh;
}

.hr-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   قسم البطل Hero Section
   ============================================ */
.hr-hero {
    background: linear-gradient(145deg, #3f3122, #5d4733);
    color: #fef3e4;
    padding: 60px 0 80px;
    margin-bottom: -40px;
    position: relative;
    border-radius: 0 0 48px 48px;
}

.hr-hero-content {
    text-align: center;
}

.hr-hotel-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fef3e4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hr-hotel-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 30px;
    color: #ffdeab;
    font-weight: 300;
    letter-spacing: 1px;
}

.hr-hotel-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hr-meta-badge {
    background: rgba(212, 175, 55, 0.25);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.hr-meta-badge:hover {
    background: rgba(212, 175, 55, 0.35);
    transform: scale(1.05);
}

.hr-stars span {
    color: var(--hr-gold);
    font-size: 1.1rem;
}

/* ============================================
   معرض الصور Gallery
   ============================================ */
.hr-gallery-section {
    margin-top: -20px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.hr-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 12px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(125, 85, 53, 0.2);
}

.hr-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}

.hr-gallery-item:first-child {
    grid-row: span 2;
}

.hr-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hr-gallery-item:hover img {
    transform: scale(1.08);
}

.hr-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(125, 85, 53, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hr-gallery-item:hover::after {
    opacity: 1;
}

/* ============================================
   التخطيط الرئيسي Layout
   ============================================ */
.hr-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .hr-layout {
        grid-template-columns: 1fr;
    }
}

.hr-main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ============================================
   الأقسام Sections
   ============================================ */
.hr-section {
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(125, 85, 53, 0.1);
    padding: 35px;
    border: 2px solid #f0e5d8;
    transition: all 0.3s ease;
}

.hr-section:hover {
    box-shadow: 0 15px 35px rgba(125, 85, 53, 0.15);
    transform: translateY(-3px);
}

.hr-section-title {
    font-size: 1.8rem;
    color: var(--hr-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--hr-accent);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.hr-section-title::before {
    content: '✦';
    color: var(--hr-gold);
    font-size: 1.5rem;
}

/* ============================================
   الجداول Tables
   ============================================ */
.hr-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(125, 85, 53, 0.08);
}

.hr-table th {
    background: linear-gradient(135deg, var(--hr-primary), var(--hr-secondary));
    color: #fef3e4;
    padding: 18px;
    text-align: right;
    font-weight: 600;
    font-size: 1.05rem;
}

.hr-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--hr-border);
    color: var(--hr-text);
}

.hr-table tr:nth-child(even) {
    background: var(--hr-light);
}

.hr-table tr:hover {
    background: #f0e5d8;
}

/* ============================================
   بطاقات الغرف Room Cards
   ============================================ */
.hr-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.hr-room-card {
    background: #fcf9f5;
    border-radius: 30px 30px 30px 8px;
    padding: 25px;
    border: 1px solid #d9b99b;
    box-shadow: 0 10px 20px rgba(110, 70, 40, 0.08);
    transition: all 0.3s ease;
}

.hr-room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(110, 70, 40, 0.15);
}

.hr-room-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hr-primary);
    margin-bottom: 15px;
    border-right: 5px solid var(--hr-accent);
    padding-right: 12px;
}

/* ============================================
   بطاقات التقييمات Rating Cards
   ============================================ */
.hr-ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.hr-rating-card {
    background: var(--hr-light);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border-top: 5px solid var(--hr-primary);
    box-shadow: 0 6px 15px rgba(125, 85, 53, 0.1);
    transition: all 0.3s ease;
}

.hr-rating-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(125, 85, 53, 0.2);
}

.hr-rating-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--hr-primary);
    text-shadow: 1px 1px 2px rgba(125, 85, 53, 0.1);
}

.hr-rating-label {
    color: var(--hr-text-light);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* ============================================
   الإيجابيات والسلبيات Pros & Cons
   ============================================ */
.hr-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 768px) {
    .hr-pros-cons {
        grid-template-columns: 1fr;
    }
}

.hr-pros,
.hr-cons {
    padding: 28px;
    border-radius: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.hr-pros {
    background: #f0fff4;
    border-right: 6px solid #38a169;
}

.hr-cons {
    background: #fff5f5;
    border-right: 6px solid #e53e3e;
}

.hr-pros h3,
.hr-cons h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hr-pros h3::before {
    content: '✓';
    color: #38a169;
    font-size: 1.5rem;
    font-weight: bold;
}

.hr-cons h3::before {
    content: '✗';
    color: #e53e3e;
    font-size: 1.5rem;
    font-weight: bold;
}

/* ============================================
   روابط الحجز Booking Links
   ============================================ */
.hr-booking-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hr-booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--hr-primary), var(--hr-secondary));
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(125, 85, 53, 0.3);
}

.hr-booking-btn:hover {
    background: linear-gradient(135deg, #d4af37, #b8960c);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    color: var(--hr-text);
}

.hr-booking-btn::after {
    content: '←';
    font-size: 1.2rem;
}

/* ============================================
   الشريط الجانبي Sidebar
   ============================================ */
.hr-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hr-sidebar-widget {
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(125, 85, 53, 0.12);
    padding: 28px;
    border: 2px solid #f0e5d8;
}

.hr-widget-title {
    font-size: 1.3rem;
    color: var(--hr-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hr-accent);
    font-weight: 700;
}

.hr-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hr-info-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--hr-border);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hr-info-item:last-child {
    border-bottom: none;
}

.hr-info-label {
    font-size: 0.9rem;
    color: var(--hr-text-light);
}

.hr-info-value {
    font-weight: 600;
    color: var(--hr-text);
    font-size: 1.05rem;
}

/* ============================================
   الفنادق ذات الصلة Related Hotels
   ============================================ */
.hr-related-hotels {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hr-related-hotel-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    background: var(--hr-light);
    border-radius: 20px;
    text-decoration: none;
    color: var(--hr-text);
    transition: all 0.3s ease;
    border: 1px solid var(--hr-border);
}

.hr-related-hotel-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 15px rgba(125, 85, 53, 0.15);
    background: #f0e5d8;
}

.hr-related-hotel-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.hr-related-hotel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hr-related-hotel-info h4 {
    font-size: 1rem;
    color: var(--hr-primary);
    margin: 0 0 5px 0;
    font-weight: 600;
}

.hr-related-hotel-info p {
    font-size: 0.85rem;
    color: var(--hr-text-light);
    margin: 0;
}

/* ============================================
   تنسيقات الشورت كود Shortcode Styles
   ============================================ */
.hr-sc-stars {
    color: var(--hr-gold) !important;
}

.hr-sc-badge {
    background: linear-gradient(135deg, var(--hr-primary), var(--hr-accent)) !important;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hr-sc-content h3 a {
    color: var(--hr-text) !important;
    transition: color 0.3s ease;
}

.hr-sc-content h3 a:hover {
    color: var(--hr-primary) !important;
}

.hr-sc-rating {
    background: var(--hr-primary) !important;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
}

.hr-sc-btn {
    background: linear-gradient(135deg, var(--hr-primary), var(--hr-secondary)) !important;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.hr-sc-btn:hover {
    background: linear-gradient(135deg, var(--hr-gold), #b8960c) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* ============================================
   تصميم متجاوب Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hr-hotel-title {
        font-size: 2rem;
    }
    
    .hr-hotel-subtitle {
        font-size: 1.1rem;
    }
    
    .hr-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .hr-gallery-item:first-child {
        grid-row: auto;
    }
    
    .hr-section {
        padding: 25px;
    }
    
    .hr-section-title {
        font-size: 1.5rem;
    }
    
    .hr-sidebar-widget {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hr-hotel-title {
        font-size: 1.6rem;
    }
    
    .hr-rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .hr-ratings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hr-booking-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   تأثيرات إضافية Extra Effects
   ============================================ */
.hr-fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* خطوط زخرفية */
.hr-decorative-line {
    height: 3px;
    background: linear-gradient(to left, transparent, var(--hr-accent), transparent);
    margin: 30px 0;
}

/* أيقونات دائرية */
.hr-icon-circle {
    background: linear-gradient(135deg, var(--hr-primary), var(--hr-secondary));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 20px 5px 20px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* ============================================
   تخصيصات إضافية للمواقع المختلفة
   ============================================ */

/* يمكنك نسخ أحد الأقسام التالية حسب الموقع المطلوب */

/* ╔══════════════════════════════════════════╗
   ║     🟤 الألوان الترابية الافتراضية      ║
   ╚══════════════════════════════════════════╝ */
/* الألوان المطبقة أعلاه ☝️ */