@font-face {
    font-family: 'Vazir';
    src: url('../font/Vazirmatn-Regular.ttf');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', sans-serif;
    background: #fef8f0;
    color: #3e2a1f;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* هدر */
header {
    background: rgba(62, 42, 31, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 28px;
    color: #d4a373;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.logo h1 span {
    color: #d4a373;
}

/* بخش Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../image/herophoto.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 35px;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

/* دکمه منو */
.btn-menu {
    display: inline-block;
    background: #d4a373;
    color: #3e2a1f;
    padding: 14px 42px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-menu:hover {
    background: #b87a4b;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* بخش ویژگی‌ها */
.features {
    padding: 80px 0;
    background: #fff9f2;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #3e2a1f;
    position: relative;
}

.section-title::after {
    content: '';
    width: 70px;
    height: 3px;
    background: #d4a373;
    display: block;
    margin: 12px auto 0;
    border-radius: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.feature-card {
    text-align: center;
    padding: 35px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 48px;
    color: #d4a373;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6b4e3a;
}

/* گالری */
.gallery {
    padding: 80px 0;
    background: #fef8f0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* بخش تماس */
.contact {
    padding: 80px 0 60px;
    background: #eaddcf;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 28px;
    border-radius: 60px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.contact-item i {
    font-size: 24px;
    color: #d4a373;
}

.contact-item p {
    font-size: 16px;
    font-weight: 500;
}

/* فوتر */
footer {
    background: #2b1e14;
    color: #ccc;
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
}

/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn-menu {
        padding: 12px 32px;
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        gap: 20px;
    }

    .contact-item {
        width: 90%;
        justify-content: center;
    }
}