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

:root {
    --primary-gold: #D4AF37;
    --deep-black: #0a0a0a;
    --soft-white: #fafafa;
    --glass-white: rgba(255, 255, 255, 0.1);
    --text-gray: #888;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--deep-black);
    color: var(--soft-white);
    overflow-x: hidden;
    cursor: default;
}

/* RTL Support */
[dir="rtl"] {
    font-family: 'Vazirmatn', 'Inter', sans-serif;
}

/* Desktop RTL nav-links */
@media (min-width: 769px) {
    [dir="rtl"] .nav-links {
        flex-direction: row-reverse;
        direction: rtl;
    }
}

[dir="rtl"] .social-icons {
    margin-right: 0;
    margin-left: 0.75rem;
}

/* RTL nav-container - maintain row direction for proper ordering */
[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

/* RTL desktop order adjustments */
@media (min-width: 769px) {
    [dir="rtl"] .logo {
        order: 4;
    }
    
    [dir="rtl"] .nav-links {
        order: 3;
        direction: rtl;
    }
    
    [dir="rtl"] .social-icons {
        order: 2;
    }
    
    [dir="rtl"] .language-dropdown {
        order: 1;
    }
}

[dir="rtl"] .hero-title span {
    display: inline-block;
    direction: rtl;
}

[dir="rtl"] .features-grid,
[dir="rtl"] .gallery-grid {
    direction: rtl;
}

[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .cta-button::before,
[dir="rtl"] .contact-button::before {
    left: auto;
    right: -100%;
}

[dir="rtl"] .cta-button:hover::before,
[dir="rtl"] .contact-button:hover::before {
    right: 100%;
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
    margin-left: 0.75rem;
}

[dir="rtl"] .language-dropdown {
    margin-left: 0;
    margin-right: 0.75rem;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 25px;
    color: var(--soft-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.dropdown-toggle:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.dropdown-toggle .flag {
    font-size: 1.2rem;
    line-height: 1;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

[dir="rtl"] .dropdown-menu {
    right: auto;
    left: 0;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: var(--soft-white);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.9rem;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-gold);
    transform: translateX(5px);
}

[dir="rtl"] .dropdown-item:hover {
    transform: translateX(-5px);
}

.dropdown-item.active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-gold);
}

.dropdown-item .flag {
    font-size: 1.3rem;
    line-height: 1;
}

.dropdown-item .lang-name {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Adjust mobile menu for RTL */
[dir="rtl"] .mobile-menu-toggle {
    order: 2;
}

@media (max-width: 768px) {
    [dir="rtl"] .logo {
        order: 3;
        margin-left: auto;
        margin-right: 0;
    }
    
    [dir="rtl"] .language-dropdown {
        order: 1;
    }
}

/* Mobile nav-links RTL positioning */
[dir="rtl"] .nav-links {
    right: auto;
    left: -100%;
    text-align: right;
}

[dir="rtl"] .nav-links.active {
    left: 0;
    right: auto;
}

/* Floating WhatsApp button RTL */
[dir="rtl"] .whatsapp-float {
    left: auto;
    right: 20px;
}


/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--deep-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

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

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 5px;
    color: var(--primary-gold);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transition: all 0.1s ease;
    z-index: 9999;
    opacity: 0;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9998;
    opacity: 0;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    padding: 2rem 5%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), transparent);
    transition: all 0.3s ease;
}

/* Hide mobile-only items on desktop */
.mobile-only-social {
    display: none;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-right: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    color: var(--deep-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.social-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: var(--deep-black);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.social-icon:hover .social-tooltip {
    opacity: 1;
    bottom: -45px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--primary-gold), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--soft-white);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('photos/photos3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.1) contrast(1.3) saturate(1.2);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.2) 100%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.1) 0%, 
        rgba(10, 10, 10, 0.2) 50%, 
        rgba(10, 10, 10, 0.5) 100%);
    z-index: -1;
}


.hero-content {
    text-align: center;
    z-index: 3;
    animation: fadeInUp 1.5s ease;
    max-width: 1200px;
    padding: 0 2rem;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary-gold);
    letter-spacing: 5px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    opacity: 0;
    animation: fadeIn 1s ease 0.7s forwards;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5),
                0 2px 10px rgba(0,0,0,0.3);
}

.hero-title span {
    display: inline-block;
    transition: all 0.3s ease;
}

/* Mobile-specific hero title adjustments */
@media (max-width: 768px) {
    [lang="fi"] .hero-title span {
        display: block;
    }

    [lang="fa"] .hero-title {
        line-height: 1.3;
    }
}

.hero-title span:hover {
    color: var(--primary-gold);
    transform: translateY(-5px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 1s ease 0.9s forwards;
    letter-spacing: 0.5px;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary-gold), #f4e4bc);
    color: var(--deep-black);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease 1.1s forwards, subtlePulse 3s ease-in-out 2s infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    }
    50% {
        box-shadow: 0 5px 25px rgba(212, 175, 55, 0.4);
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Section Headers - General */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    color: var(--primary-gold);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    padding: 8rem 5%;
    background: var(--deep-black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 3rem;
    background: var(--glass-white);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: linear-gradient(to bottom, #1a1a1a, var(--deep-black));
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: transparent;
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    border: 2px solid var(--primary-gold);
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    z-index: -1;
    transition: left 0.3s ease;
}

.contact-button:hover::before {
    left: 0;
}

.contact-button:hover {
    color: var(--deep-black);
    transform: scale(1.05);
}

/* Gallery Section */
.gallery {
    padding: 8rem 5%;
    background: linear-gradient(to bottom, var(--deep-black), #1a1a1a);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 400px;
    cursor: pointer;
    background: var(--deep-black);
    transition: all 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.8);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

/* Center the last item if it's odd */
.gallery-item:nth-child(7):last-child {
    grid-column: 2 / 3;
}

@media (max-width: 1024px) {
    .gallery-item:nth-child(7):last-child {
        grid-column: auto;
    }
}

.gallery-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--soft-white);
}

.gallery-info p {
    color: var(--primary-gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--soft-white);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--primary-gold);
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-gold);
    color: var(--deep-black);
    transform: scale(1.1);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.5rem, 7vw, 5rem);
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    /* Gallery responsive */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-item {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1.5rem 5%;
    }

    .nav-container {
        position: relative;
    }

    .language-dropdown {
        position: absolute;
        right: 80px;
        margin-left: 0;
    }

    [dir="rtl"] .language-dropdown {
        right: auto;
        left: 80px;
        margin-right: 0;
    }

    .dropdown-toggle {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .dropdown-toggle .flag {
        font-size: 1.1rem;
    }

    .dropdown-menu {
        min-width: 160px;
    }

    .mobile-menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }
    
    /* Show mobile Instagram link */
    .mobile-only-social {
        display: block;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .mobile-instagram-icon {
        width: 20px;
        height: 20px;
        vertical-align: middle;
        margin-right: 0.75rem;
    }
    
    [dir="rtl"] .mobile-instagram-icon {
        margin-right: 0;
        margin-left: 0.75rem;
    }

    .social-icons {
        position: absolute;
        right: 60px;
        gap: 1rem;
        margin-right: 0;
        z-index: 10;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }


    /* Hero mobile optimization */
    .hero {
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        position: relative;
    }

    .hero-bg {
        height: 100%;
        background-position: center center !important;
        background-size: cover !important;
        filter: brightness(1.0) contrast(1.2);
    }

    .hero-content {
        padding: 0 1rem;
    }

    /* Adjust overlay for better visibility on mobile */
    .hero-overlay {
        background: linear-gradient(180deg, 
            rgba(10, 10, 10, 0.1) 0%, 
            rgba(10, 10, 10, 0.3) 50%, 
            rgba(10, 10, 10, 0.6) 100%);
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 0.9rem;
        white-space: normal;
        min-width: 150px;
        line-height: 1.4;
    }

    .nav-links {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links a {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

                .features-grid {
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-button {
        padding: 1.2rem 2.5rem;
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.4;
    }
    
    /* Gallery mobile adjustments */
    .gallery {
        padding: 4rem 5%;
    }
    
    .gallery-item {
        height: 350px;
    }
    
    .gallery-info h3 {
        font-size: 1.5rem;
    }
    
    .gallery-info p {
        font-size: 1rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-image {
        max-width: 95%;
        max-height: 80%;
    }
    
    /* Mobile RTL Adjustments */
    [dir="rtl"] .nav-links {
        direction: rtl;
    }
    
    [dir="rtl"] .nav-links a {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .language-dropdown {
        right: 60px;
    }

    [dir="rtl"] .language-dropdown {
        left: 60px;
    }

    .dropdown-toggle {
        padding: 0.4rem 0.8rem;
    }

    .dropdown-toggle .flag {
        font-size: 1rem;
    }

    .dropdown-arrow {
        width: 10px;
        height: 10px;
    }

    .dropdown-menu {
        min-width: 140px;
    }

    .dropdown-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .social-icons {
        display: none;
    }

    .hero {
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-bg {
        height: 100%;
        background-position: center 20% !important;
    }

    .hero-content {
        margin-top: -50px;
    }


    .features, .contact {
        padding: 4rem 5%;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: auto;
    left: 20px;
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s ease-in-out infinite;
    overflow: hidden;
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    }
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before {
    width: 100%;
    height: 100%;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    color: var(--deep-black);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    position: relative;
    z-index: 1;
}


/* Touch-friendly enhancements */
@media (hover: none) {
    .cursor, .cursor-follower {
        display: none;
    }

    .cta-button:active {
        transform: scale(0.98);
    }

    .contact-button:active {
        transform: scale(0.98);
    }

    .dropdown-toggle:active {
        background: rgba(212, 175, 55, 0.3);
    }

    .dropdown-item:active {
        background: rgba(212, 175, 55, 0.25);
    }
}

/* Ensure minimum touch targets */
@media (max-width: 768px) {
    .nav-links a {
        padding: 0.5rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        font-size: 0.95rem !important;
    }

    .social-icon,
    .lightbox-prev,
    .lightbox-next {
        min-width: 44px;
        min-height: 44px;
    }
}


/* Very small screen support */
@media (max-width: 360px) {
    .logo {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .language-dropdown {
        right: 50px;
    }

    [dir="rtl"] .language-dropdown {
        left: 50px;
    }

    .dropdown-toggle {
        padding: 0.3rem 0.6rem;
    }

    .dropdown-menu {
        font-size: 0.8rem;
        min-width: 130px;
    }

    .dropdown-item {
        padding: 0.5rem 0.6rem;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }
    
    /* RTL adjustments for very small screens */
    [dir="rtl"] .language-dropdown {
        left: 60px;
        right: auto;
    }
}

/* Landscape mobile support */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero-content {
        margin-top: 0;
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        margin-bottom: 2rem;
    }
}