/* Reset & Base - RTL */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Vazirmatn', 'Tahoma', 'Segoe UI', sans-serif;
    background: #0f0f0f;
    color: #fff;
    direction: rtl;
    text-align: right;
}

/* Header */
.site-header {
    background: #8B7355;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.logo img {
    max-height: 48px;
    width: auto;
}
.logo-placeholder {
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
    color: #fff;
    letter-spacing: 1px;
    position: relative;
}
.logo-placeholder::after {
    content: "";
    position: absolute;
    bottom: 5px;
    width: 26px;
    height: 3px;
    background: #4a7c59;
    border-radius: 2px;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}
.main-nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
}
.main-nav a:hover,
.main-nav a.active {
    background: rgba(255,255,255,0.15);
}
.main-nav a.btn-contact {
    background: #4a7c59;
    border: 1px solid #5a9c69;
}
.main-nav a.btn-contact:hover {
    background: #5a9c69;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 520px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
                url('<?php echo esc_url($hero_bg); ?>') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 20px;
}
.hero-images {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-img {
    width: 280px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border: 3px solid rgba(255,255,255,0.15);
    transition: transform 0.3s ease;
}
.hero-img:hover { transform: translateY(-8px); }
.hero-img:nth-child(1) { transform: rotate(3deg); }
.hero-img:nth-child(2) { transform: scale(1.08); z-index: 3; }
.hero-img:nth-child(3) { transform: rotate(-3deg); }

.hero-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 3px 12px rgba(0,0,0,0.7);
    letter-spacing: 0.5px;
    max-width: 750px;
    line-height: 1.4;
}

/* Services Section */
.services {
    background: #121212;
    padding: 70px 40px 90px;
}
.services h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 1px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}
.service-card {
    background: #3d5a3d;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}
.service-card.brown {
    background: #6b5a3e;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.service-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}
.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-img { width: 220px; height: 160px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .site-header {
        padding: 10px 16px;
        flex-direction: column;
        gap: 12px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero { min-height: auto; padding: 40px 16px; }
    .hero-title { font-size: 22px; }
    .services-grid { grid-template-columns: 1fr; }
    .services { padding: 50px 20px; }
    .services h2 { font-size: 32px; }
}