/* ١. هەمیشە دەبێت ئەمە لە دێڕی یەکەم بێت بۆ ئەوەی فۆنتەکانی گوگل کار بکەن */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Poppins:wght@400;600;700&display=swap');

/* ٢. پاشان فۆنتە کوردییە لۆکاڵییەکە دەناسێنین */
@font-face {
    font-family: 'JiyanFont';
    src: url('../fonts/jiyan.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* ٣. ڕێکخستنی گشتی پڕۆژەکە */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ٤. دابەشکردنی فۆنتەکان بەپێی زمان */
html[lang="ku"] *, html[lang="ar"] * {
    font-family: 'Cairo', Tahoma, sans-serif;
    letter-spacing: 0;
}

html[lang="en"] * {
    font-family: 'Poppins', Arial, sans-serif;
}

body {
    background-color: #f8f8f8;
    overflow-x: hidden;
}

header {
    background: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 20;
}

.logo img {
    height: 45px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* ستایلی نوێی سندوقی زمان لەگەڵ ئاڵاکان */
.lang-switcher {
    position: relative;
    user-select: none;
    z-index: 150;
}

.lang-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.lang-selected img, .lang-dropdown li img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lang-selected .arrow {
    font-size: 9px;
    color: #666;
    margin-right: 5px;
}

html[lang="en"] .lang-selected .arrow {
    margin-right: 0;
    margin-left: 5px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    margin-top: 5px;
    inset-inline-start: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    list-style: none;
    width: 125px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.lang-dropdown li:hover {
    background: #f5f5f5;
    color: #e30613;
}

/* بەشی سلایدەر */
.hero-slider {
    height: 550px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: zoomOutEffect 4.2s ease-in-out forwards;
}

/* ئەنیمەیشنی زووم ئاوت */
@keyframes zoomOutEffect {
    0% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* بڵۆکی تاریک بە بەکارهێنانی ئاراستەی لۆژیکی */
.hero-left-sidebar {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 23%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 45px;
    padding: 0 35px;
}

.sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-item .date {
    color: #ccc;
    font-size: 11px;
    line-height: 1.5;
}

.read-more-btn {
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    font-size: 11px;
    padding: 8px 18px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

/* لە زمانی ئینگلیزیدا تیرەکە پێچەوانە دەکاتەوە */
html[lang="en"] .read-more-btn span:last-child {
    transform: scaleX(-1);
}

.read-more-btn:hover {
    background: white;
    color: black;
    border-color: white;
}

/* خاڵە ستوونییەکان */
.slider-dots {
    position: absolute;
    inset-inline-end: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 15;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.dot.active {
    background-color: white;
}

.dot.active::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #e30613;
    border-radius: 50%;
}

/* کارتەکان */
.brand-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: -85px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.card {
    width: 320px;
    height: 190px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* دوگمەی چات */
.contact-float {
    position: fixed;
    bottom: 20px;
    inset-inline-start: 20px;
    background: white;
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    font-weight: bold;
    z-index: 100;
}

.red-dot {
    width: 12px;
    height: 12px;
    background: #e30613;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}