/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Tahoma, sans-serif;
    line-height: 1.6;
    background: #f4f4f4;
    color: #333;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    background: #1D1E3C;
    color: #fff;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 a {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}

.main-menu ul {
    list-style: none;
    display: flex;
}

.main-menu ul li {
    margin-left: 20px;
}

.main-menu ul li a {
    color: #fff;
    padding: 5px 10px;
    transition: 0.3s;
}

.main-menu ul li a:hover {
    background: #333;
    border-radius: 4px;
}

/* Slider */
.slider {
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.slides {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    right: 30px;
    background: rgba(0,0,0,0.6);
    padding: 15px;
    border-radius: 5px;
    color: #fff;
}

.slide-caption h2 {
    margin-bottom: 5px;
}

/* Main Content */
.main-content {
    display: flex;
    margin-bottom: 30px;
}

.content {
    flex: 3;
    margin-left: 20px;
}

.post {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 7px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.post img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.post h3 a {
    color: #1D1E3C;
    font-size: 18px;
}

.post p {
    color: #555;
}

/* Sidebar */
.sidebar {
    flex: 1;
}

.widget {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 7px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.widget h4 {
    margin-bottom: 10px;
    color: #1D1E3C;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 8px;
}

.widget ul li a {
    color: #555;
    transition: 0.3s;
}

.widget ul li a:hover {
    color: #1D1E3C;
}

/* Footer */
footer {
    background: #1D1E3C;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}
