html { scroll-behavior: smooth; }

@layer utilities {
    .content-auto { content-visibility: auto; }
    .text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
    .transition-navbar { transition: background-color 0.3s, padding 0.3s; }
    .force-ltr { direction: ltr !important; unicode-bidi: embed; }
}

[lang="ar"] { direction: rtl; font-family: 'Amiri', serif; }
[lang="ru"] { font-family: 'PT Sans', sans-serif; }
[lang="en"] { font-family: 'Inter', sans-serif; }

[dir="rtl"] .flex-row { flex-direction: row-reverse; }
[dir="rtl"] .ml-auto { margin-right: auto; margin-left: 0 !important; }
[dir="rtl"] .mr-auto { margin-left: auto; margin-right: 0 !important; }
[dir="rtl"] .text-right { text-align: left; }
[dir="rtl"] .text-left { text-align: right; }
[dir="rtl"] .fa-arrow-right { transform: rotate(180deg); }
[dir="rtl"] input::placeholder,
[dir="rtl"] textarea::placeholder { text-align: right; }

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

.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #E8C68E;
    transition: width 0.3s;
}

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

.lang-btn {
    transition: all 0.2s;
}

.hero-gradient {
    background: linear-gradient(135deg, #0A2342 0%, #162d50 50%, #0A2342 100%);
}

/* Hero full-width: stretch edge-to-edge ignoring any parent max-width set by WP page wrapper */
.hero-fullwidth {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #0A2342;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: #E8C68E;
}


/* Hero Carousel */
.hero-carousel .carousel-slide {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}
.hero-carousel .carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-carousel .carousel-dot.active {
    background-color: #E8C68E;
    transform: scale(1.3);
}

/* Footer links — make them clearly visible */
.site-footer a.footer-link {
    color: #F7E9D7;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 4px 0;
    position: relative;
    transition: color 0.2s, transform 0.2s;
}
.site-footer a.footer-link:hover {
    color: #E8C68E;
    transform: translateX(4px);
}
[dir="rtl"] .site-footer a.footer-link:hover {
    transform: translateX(-4px);
}
.site-footer a.footer-link::before {
    content: '›';
    margin-right: 8px;
    color: #E8C68E;
    font-weight: 700;
}
[dir="rtl"] .site-footer a.footer-link::before {
    margin-right: 0;
    margin-left: 8px;
    content: '‹';
}
.site-footer h4.footer-heading {
    color: #E8C68E;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}
