/* ============================================= */
/*               style.css - نسخه نهایی 100%      */
/* ============================================= */

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Vazirmatn', 'Inter', sans-serif;
    background: #000;
    color: #eee;
    line-height: 1.6;
}

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

/* رنگ‌ها */
:root {
    --black: #000000;
    --gold: #ddbf91;
    --dark-gold: #c5a877;
    --light-gray: #222;
}

/* ============================================= */
/* Header + همبرگر منو */
/* ============================================= */
.header {
    background: var(--black);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 50px; }

.nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav a:hover { color: var(--gold); }

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.lang-switch a { color: #ccc; text-decoration: none; }
.lang-switch a.active { color: var(--gold); font-weight: 600; }

/* همبرگر */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gold);
}

/* منوی موبایل */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #111;
    padding: 20px 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    border-top: 1px solid #333;
}
.mobile-menu a {
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #333;
}
.mobile-menu a:hover { color: var(--gold); background: #1a1a1a; }
.mobile-menu.active { display: flex; }

/* ============================================= */
/* Hero Slider - مستطیل افقی همیشه */
/* ============================================= */
.hero-slider {
    height: 65vh;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}
@media (min-width: 993px) {
    .hero-slider { height: 80vh; }
}
@media (max-width: 768px) {
    .hero-slider { height: 56vh; }
}
@media (max-width: 480px) {
    .hero-slider { height: 50vh; }
}

.swiper { width: 100%; height: 100%; }
.swiper-slide {
    background-size: cover;
    background-position: center;
}
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}
.slide-content { display: none !important; }

/* ============================================= */
/* Featured Products - ۶ تایی مستطیل افقی */
/* ============================================= */
.featured-products {
    padding: 100px 0;
    background: var(--black);
}
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.featured-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 260px;                     /* ارتفاع ثابت → مستطیل افقی */
    border: 3px solid var(--gold);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}
.featured-item::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(221,191,145,0.3);
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}
.featured-img-wrap {
    position: relative;
    height: 100%;
}
.featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}
.featured-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.9));
    z-index: 1;
}
.featured-item h3 {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.35rem;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
    width: 90%;
    text-align: center;
}
.featured-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(221,191,145,0.25);
}
.featured-item:hover img { transform: scale(1.1); }

/* ============================================= */
/* Footer */
/* ============================================= */
.footer {
    background: var(--black);
    color: #ccc;
    padding: 80px 0 30px;
    border-top: 1px solid #222;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}
.footer-col h3, .footer-col h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-col a {
    color: #aaa;
    display: block;
    margin: 12px 0;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}
.social-links a {
    font-size: 1.9rem;
    color: #ccc;
    transition: color 0.3s;
}
.social-links a:hover { color: var(--gold); }
.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    color: #666;
}

/* ============================================= */
/* Responsive */
/* ============================================= */
@media (max-width: 992px) {
    .hamburger { display: block; }
    .desktop-nav { display: none; }
}
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev { display: none !important; }
    .featured-item { height: 220px; }
    .featured-item h3 { font-size: 1.2rem; bottom: 18px; }
}
@media (max-width: 480px) {
    .featured-item { height: 190px; }
    .featured-grid { gap: 30px; }
}

.page-hero, .product-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.page-hero-overlay, .product-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}
.page-hero h1, .product-hero h1 {
    font-size: 3.5rem;
    z-index: 1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

/* صفحه درباره ما */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; border-radius: 16px; border: 3px solid var(--gold); }

/* صفحه محصول */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-image img { width: 100%; border-radius: 16px; border: 4px solid var(--gold); }
.product-info h2 { font-size: 2.8rem; margin-bottom: 20px; color: var(--gold); }
.product-actions { margin-top: 30px; display: flex; gap: 20px; flex-wrap: wrap; }
.btn-whatsapp, .btn-contact {
    padding: 14px 32px; background: #25d366; color: white; text-decoration: none; border-radius: 50px; font-weight: bold;
}
.btn-contact { background: var(--gold); color: black; }

/* فرم تماس */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 14px; margin: 10px 0; border-radius: 8px; border: 1px solid #444; background: #111; color: white;
}
.contact-form button {
    background: #111; padding: 40px; border-radius: 16px; border: 2px solid var(--gold);
}
.success-msg { background: #25d366; color: white; padding: 15px; border-radius: 8px; margin-bottom: 20px; }

/* ریسپانسیو */
@media (max-width: 768px) {
    .about-grid, .product-grid, .contact-grid { grid-template-columns: 1fr; }
    .page-hero h1, .product-hero h1 { font-size: 2.5rem; }
}
/* درست کردن همبرگر در موبایل */
.hamburger {
    display: none !important; /* اول مخفی باشه */
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gold);
    z-index: 1001;
}

/* نمایش همبرگر فقط در موبایل */
@media (max-width: 992px) {
    .hamburger {
        display: block !important;
    }
    .desktop-nav {
        display: none;
    }
}

/* درست کردن آیکون‌های فوتر */
.social-links a {
    font-size: 2rem;
    color: #ccc;
    transition: all 0.3s;
    margin: 0 12px;
}
.social-links a:hover {
    color: var(--gold);
    transform: translateY(-4px);
}

/* مطمئن بشیم فونت‌آوسم لود شده */
.fab, .fas {
    font-family: "Font Awesome 5 Brands", "Font Awesome 5 Free" !important;
}