/* RTL (Right-to-Left) Styles for Silo Luxury Rooms */

/* RTL Base Styles */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

/* Typography RTL */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    text-align: right;
}

[dir="rtl"] p {
    text-align: right;
}

/* Language Selector RTL */
[dir="rtl"] .language-selector {
    left: 20px;
    right: auto;
}

/* Header RTL */
[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

/* Hero Section RTL */
[dir="rtl"] .hero {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

/* Section Headers RTL */
[dir="rtl"] .section-header {
    text-align: right;
}

[dir="rtl"] .section-title::after {
    left: auto;
    right: 0;
    transform: none;
}

/* About Section RTL */
[dir="rtl"] .about-content {
    grid-template-columns: 1fr 2fr;
}

[dir="rtl"] .host-info {
    flex-direction: row-reverse;
}

[dir="rtl"] .host-details {
    text-align: right;
}

/* Rooms Section RTL */
[dir="rtl"] .room-info {
    text-align: right;
}

/* Facilities Section RTL */
[dir="rtl"] .facility-item {
    text-align: right;
}

/* Location Section RTL */
[dir="rtl"] .location-content {
    grid-template-columns: 1fr 1fr;
}

[dir="rtl"] .location-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .location-icon {
    margin-left: 1rem;
    margin-right: 0;
}

[dir="rtl"] .location-item h3 {
    text-align: right;
}

[dir="rtl"] .location-item ul {
    text-align: right;
}

/* Contact Section RTL */
[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .contact-icon {
    margin-left: 1rem;
    margin-right: 0;
}

[dir="rtl"] .contact-item h3 {
    text-align: right;
}

[dir="rtl"] .check-in-info {
    text-align: right;
}

[dir="rtl"] .checkin-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .checkin-item i {
    margin-left: 0.75rem;
    margin-right: 0;
}

[dir="rtl"] .checkin-links {
    justify-content: flex-end;
}

[dir="rtl"] .checkin-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .checkin-link i {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="rtl"] .license-info {
    text-align: right;
}

/* Footer RTL */
[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-text {
    text-align: right;
}

/* Mobile RTL Adjustments */
@media screen and (max-width: 768px) {
    [dir="rtl"] .language-selector {
        left: 15px;
        right: auto;
    }
    
    [dir="rtl"] .nav-menu {
        left: 100%;
        right: auto;
    }
    
    [dir="rtl"] .nav-menu.active {
        left: 0;
        right: auto;
    }
    
    [dir="rtl"] .hero {
        flex-direction: column;
        text-align: right;
    }
    
    [dir="rtl"] .about-content {
        grid-template-columns: 1fr;
    }
    
    [dir="rtl"] .host-info {
        flex-direction: column;
        text-align: right;
    }
    
    [dir="rtl"] .location-content {
        grid-template-columns: 1fr;
    }
    
    [dir="rtl"] .location-item {
        flex-direction: column;
        text-align: right;
    }
    
    [dir="rtl"] .location-icon {
        align-self: center;
        margin: 0;
    }
    
    [dir="rtl"] .contact-item {
        flex-direction: column;
        text-align: right;
    }
    
    [dir="rtl"] .contact-icon {
        align-self: center;
        margin: 0;
    }
    
    [dir="rtl"] .checkin-item {
        flex-direction: row-reverse;
        justify-content: center;
    }
    
    [dir="rtl"] .checkin-links {
        justify-content: center;
    }
    
    [dir="rtl"] .footer-content {
        flex-direction: column;
        text-align: right;
    }
}

@media screen and (max-width: 480px) {
    [dir="rtl"] .language-selector {
        left: 10px;
        right: auto;
    }
    
    [dir="rtl"] .section-header {
        text-align: right;
    }
    
    [dir="rtl"] .section-title::after {
        left: auto;
        right: 50%;
        transform: translateX(50%);
    }
}

/* RTL Animation Adjustments */
[dir="rtl"] .animate-ready {
    transform: translateY(30px) translateX(-30px);
}

[dir="rtl"] .animate-in {
    transform: translateY(0) translateX(0);
}

@keyframes fadeInLeftRTL {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

[dir="rtl"] .hero-img {
    animation: fadeInLeftRTL 1s ease 0.8s both;
}

/* RTL Specific Font Adjustments */
[dir="rtl"] body {
    font-family: 'Inter', 'Noto Sans Arabic', 'Noto Sans Hebrew', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-family: 'Playfair Display', 'Noto Serif Arabic', 'Noto Serif Hebrew', serif;
}

/* RTL Utility Classes */
[dir="rtl"] .text-left { text-align: right; }
[dir="rtl"] .text-right { text-align: left; }

/* RTL Grid Adjustments */
[dir="rtl"] .rooms-grid {
    direction: rtl;
}

[dir="rtl"] .facilities-grid {
    direction: rtl;
}

/* RTL Form Elements (if any are added later) */
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
    text-align: right;
    direction: rtl;
}

/* RTL List Adjustments */
[dir="rtl"] ul,
[dir="rtl"] ol {
    padding-right: 1.5rem;
    padding-left: 0;
}

[dir="rtl"] li {
    text-align: right;
}

/* RTL Navigation Toggle */
[dir="rtl"] .nav-toggle {
    order: -1;
}

/* RTL Scroll Behavior */
[dir="rtl"] html {
    scroll-behavior: smooth;
}

/* RTL Flexbox Adjustments */
[dir="rtl"] .hero-content {
    align-items: flex-end;
}

[dir="rtl"] .about-text {
    text-align: right;
}

/* RTL Image Adjustments */
[dir="rtl"] .hero-image {
    order: -1;
}

/* RTL Social Links */
[dir="rtl"] .footer-social {
    flex-direction: row-reverse;
}

/* RTL Contact Links */
[dir="rtl"] .contact-item a {
    text-align: right;
}

/* RTL Check-in Times */
[dir="rtl"] .checkin-times {
    text-align: right;
}

/* RTL Self Check-in */
[dir="rtl"] .self-checkin {
    text-align: right;
}

[dir="rtl"] .self-checkin h4 {
    text-align: right;
}

[dir="rtl"] .self-checkin p {
    text-align: right;
}

/* RTL Room Names */
[dir="rtl"] .room-name,
[dir="rtl"] .room-name-en {
    text-align: right;
}

/* RTL Host Information */
[dir="rtl"] .host-name,
[dir="rtl"] .host-title,
[dir="rtl"] .host-description {
    text-align: right;
}

/* RTL Facility Titles */
[dir="rtl"] .facility-title {
    text-align: right;
}

