/* ===================================== */
/* معرفی فونت اختصاصی دانا */
/* ===================================== */
@font-face {
    font-family: 'Dana';
    src: url('./dana regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===================================== */
/* ۱. تنظیمات پایه‌ای (بسیار مهم برای ریسپانسیو) */
/* ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Dana', Tahoma, sans-serif; /* فونت دانا به کل عناصر اعمال شد */
}

body {
    font-family: 'Dana', Tahoma, sans-serif; /* فونت اصلی سایت */
    background-color: #e8e8e8; 
    overflow-x: hidden; 
}

/* ===================================== */
/* ۲. هدر شیشه‌ای (Glassmorphism) */
/* ===================================== */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    
    /* افکت شیشه‌ای */
    background: rgba(232, 232, 232, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000; /* همیشه روی بقیه سایت باشد */
}

/* تنظیمات لوگوی تصویری */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px; /* ارتفاع لوگو در لپ‌تاپ */
    width: auto; 
    transition: 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s;
}

.desktop-nav a:hover, .active-link {
    color: #fb5c36 !important;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icons a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    background: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.cart-icon {
    background-color: #fb5c36 !important;
    color: #fff !important;
    border: none !important;
}

/* دکمه همبرگری موبایل (مخفی در دسکتاپ) */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 5px;
}

/* ===================================== */
/* ۳. منوی کشویی موبایل */
/* ===================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 60%; 
    height: 100vh;
    background-color: #f7f7f7;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease; 
    padding: 80px 20px 20px 20px;
}

.mobile-menu.open {
    right: 0; 
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.mobile-menu ul { list-style: none; }
.mobile-menu li { margin-bottom: 25px; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.mobile-menu a { text-decoration: none; color: #333; font-size: 18px; font-weight: bold; }

/* ===================================== */
/* ۴. بخش هیرو */
/* ===================================== */
.linen-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 5% 50px 5%; 
    min-height: 100vh; 
}

/* استایل اختصاصی برای سکشن دوم (.sec) */
.sec {
    flex-direction: row-reverse; 
    background-color: #ffffff; 
    margin-top: 100px; 
    margin-bottom: 50px;
    border-radius: 40px; 
    padding: 60px 5%; 
    min-height: auto; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05); 
}

.text-content { flex: 1; text-align: right; }
.text-content h1 { font-size: 45px; color: #333; margin-bottom: 10px; }
.text-content p { font-size: 20px; color: #666; margin-bottom: 40px; }

.orange-btn {
    display: inline-block;
    background-color: #fb5c36; 
    color: #111;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 50px; 
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
}

.orange-btn:hover { background-color: #e04723; color: white; }

.image-content {
    flex: 1;
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: #f7a98f; 
    border-radius: 50%; 
    filter: blur(80px); 
    z-index: -1; 
}

.model-img { max-width: 100%; height: auto; max-height: 600px; z-index: 1; }

.brand-text {
    position: absolute; bottom: 20px; left: 0; text-align: left; color: #333;
}
.brand-text h2 { font-size: 28px; font-weight: normal; letter-spacing: 5px; margin: 0; }
.brand-text p { font-size: 14px; color: #555; margin-top: 5px; }

/* ===================================== */
/* ۵. گالری محصولات (با قاب شیک) */
/* ===================================== */
.products-section { padding: 80px 5%; background-color: #f7f7f7; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 28px; color: #333; margin-bottom: 10px; }
.title-line { width: 60px; height: 2px; background-color: #fb5c36; margin: 0 auto; }

.category-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 50px; }
.filter-btn { text-decoration: none; color: #333; border: 1px solid #ccc; padding: 8px 30px; border-radius: 50px; font-size: 15px; transition: 0.3s; }
.filter-btn.active, .filter-btn:hover { background-color: #111; color: #fff; border-color: #111; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card { background-color: transparent; }

.image-wrapper { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 3 / 4; 
    overflow: hidden; 
    margin-bottom: 15px; 
    border-radius: 25px; 
    border: 4px solid #ffffff; 
    box-shadow: 0 0 0 1px #d5d5d5, 0 5px 15px rgba(0,0,0,0.05); 
}

.image-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease;
    border-radius: 20px; 
}

.product-card:hover .image-wrapper img { transform: scale(1.05); }

.discount-badge {
    position: absolute; top: 12px; left: 12px; background-color: #fb5c36; color: #fff;
    width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; z-index: 2;
}

.product-info { text-align: right; }
.product-info h3 { font-size: 18px; color: #111; margin: 0 0 8px 0; }
.details { font-size: 13px; color: #888; margin: 0 0 15px 0; }
.card-footer { display: flex; justify-content: flex-end; }
.arrow-btn { display: flex; align-items: center; justify-content: center; background-color: #fb5c36; color: white; text-decoration: none; width: 35px; height: 35px; border-radius: 50%; font-size: 18px; transition: 0.3s; }
.arrow-btn:hover { background-color: #e04723; }

/* ===================================== */
/* ۶. بنر و نظرات */
/* ===================================== */
.banner-section {
    background-image: url('./banner-bg.jpg'); background-size: cover; background-position: center; background-color: #5b6e65; 
    padding: 120px 5%; text-align: center; color: #fff;
}
.banner-content { max-width: 700px; margin: 0 auto; }
.banner-content h2 { font-size: 36px; margin-bottom: 15px; }
.banner-content p { font-size: 18px; margin-bottom: 35px; opacity: 0.9; }
.outline-btn { display: inline-block; padding: 10px 30px; border: 1px solid #ffffff; border-radius: 50px; color: #ffffff; text-decoration: none; font-size: 16px; transition: 0.3s; }
.outline-btn:hover { background-color: #ffffff; color: #333; }

.testimonials-section { padding: 80px 5%; background-color: #e8e8e8; max-width: 1200px; margin: 0 auto; }
.testimo-header { text-align: right; margin-bottom: 40px; }
.testimo-header h2 { font-size: 24px; color: #333; margin-bottom: 10px; }
.title-line-right { width: 60px; height: 2px; background-color: #fb5c36; }

.carousel-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-btn { width: 45px; height: 45px; border-radius: 50%; border: 1px solid #bbb; background-color: transparent; cursor: pointer; font-size: 18px; color: #555; transition: 0.3s; }
.nav-btn:hover { background-color: #ddd; }

.reviews-wrapper { display: flex; flex-wrap: wrap; gap: 30px; flex: 1; justify-content: center; }
.review-card { background-color: #ffffff; display: flex; flex: 1; min-width: 300px; overflow: hidden; border-radius: 15px; } 
.review-image { width: 160px; }
.review-image img { width: 100%; height: 100%; object-fit: cover; }
.review-text { flex: 1; padding: 20px; text-align: right; display: flex; flex-direction: column; justify-content: center; }
.review-text h4 { margin: 0 0 5px 0; font-size: 16px; color: #111; }
.review-text .role { font-size: 12px; color: #aaa; margin-bottom: 15px; }
.review-text p { font-size: 13px; color: #666; line-height: 1.8; margin-bottom: 15px; }
.rating { font-size: 14px; font-weight: bold; display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.star { color: #fb5c36; font-size: 18px; }

/* ===================================== */
/* ۷. فوتر سایت و کپی‌رایت */
/* ===================================== */
.site-footer {
    background-color: #f0f0f0;
    padding: 50px 5% 0 5%; /* پدینگ پایین را 0 کردیم تا بخش کپی رایت بچسبد */
    border-top: 1px solid #ddd;
    color: #444;
}

.footer-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ddd; padding-bottom: 20px; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.support-info { display: flex; align-items: center; gap: 10px; }
.support-icon { font-size: 24px; background: #fb5c36; color: white; padding: 10px; border-radius: 50%; }
.social-icons a { text-decoration: none; font-size: 20px; margin-right: 15px; color: #fb5c36; }

.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; max-width: 1200px; margin: 0 auto; padding-bottom: 40px; }
.footer-col h3 { font-size: 18px; color: #222; margin-bottom: 20px; }
.about-col h2 { font-size: 22px; letter-spacing: 2px; margin-bottom: 15px; color: #333; }
.about-col p { font-size: 14px; line-height: 1.8; color: #666; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; font-size: 14px; color: #555; position: relative; padding-right: 15px; }
.footer-col ul li::before { content: "•"; color: #fb5c36; font-size: 20px; position: absolute; right: 0; top: -4px; }
.footer-col ul li a { text-decoration: none; color: #555; transition: 0.3s; }
.footer-col ul li a:hover { color: #fb5c36; }
.badges-col { display: flex; flex-direction: column; gap: 15px; }
.trust-badge { background-color: #fff; border: 1px solid #ddd; border-radius: 10px; padding: 20px; text-align: center; font-size: 14px; color: #888; }

/* بخش کپی‌رایت طراح */
.f-text {
    text-align: center; 
    padding: 20px 15px; 
    border-top: 1px solid #ddd; 
    background-color: #e8e8e8; 
    margin: 0 -5%; /* برای اینکه تمام عرض صفحه را در فوتر بگیرد */
}
.f-text p {
    margin: 0;
    color: #666; 
    font-size: 14px; 
    letter-spacing: 0.5px; 
}

/* ===================================== */
/* ۸. رسپانسیو فوق‌حرفه‌ای (موبایل و تبلت) */
/* ===================================== */

@media (max-width: 992px) {
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .footer-main { grid-template-columns: repeat(2, 1fr); gap: 40px;}
    .review-card { flex-direction: column; }
    .review-image { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
    /* هدر موبایل */
    .glass-header { 
        padding: 0; 
        height: 65px; 
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
    }
    
    .desktop-nav { display: none; } /* در موبایل منوی وسط غیب می‌شود */
    .header-icons a:not(.cart-icon) { display: none; } /* آیکون‌های اضافی غیب می‌شوند */
    
    .logo-img { height: 40px; } /* لوگو در موبایل کوچکتر می‌شود */
    
    .menu-btn { 
        display: flex; 
        position: absolute; 
        right: 15px; 
        top: 50%;
        transform: translateY(-50%);
    }
    
    .cart-icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    /* هیرو و سکشن دوم */
    .linen-hero { flex-direction: column; padding: 90px 5% 30px 5%; min-height: auto; height: auto; }
    .sec { flex-direction: column; margin-top: 60px; padding: 40px 5%; border-radius: 25px; }
    
    .text-content { width: 100%; text-align: right !important; margin-bottom: 25px; }
    .text-content h1 { font-size: 30px; line-height: 1.4; }
    .text-content p { font-size: 16px; margin-bottom: 20px; }
    .orange-btn { display: inline-block; font-size: 14px; padding: 10px 25px; }

    .image-content { width: 100%; display: flex; flex-direction: column; align-items: center; }
    .glow-circle { width: 180px; height: 180px; filter: blur(50px); }
    .model-img { width: 85%; max-width: 300px; }
    
    .brand-text { position: static; text-align: center; margin-top: 15px; }
    .brand-text h2 { font-size: 22px; letter-spacing: 3px; }

    /* فوتر */
    .footer-top { flex-direction: column; text-align: center; }
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .footer-col ul li { padding-right: 0; }
    .footer-col ul li::before { display: none; }
    .badges-col { flex-direction: row; justify-content: center; }
}

@media (max-width: 576px) {
    /* دسته‌بندی و محصولات در موبایل کوچک */
    .category-filters {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; 
        justify-content: flex-start;
        gap: 8px;
        padding-bottom: 10px;
        width: 100%;
    }
    
    .filter-btn { flex-shrink: 0; padding: 6px 15px; font-size: 13px; }

    .products-grid { 
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 12px; 
    }
    
    .product-info h3 { font-size: 12px; margin-bottom: 4px; }
    .details { font-size: 10px; margin-bottom: 10px; }
    .discount-badge { width: 30px; height: 30px; font-size: 11px; top: 8px; left: 8px; }
    .arrow-btn { width: 25px; height: 25px; font-size: 14px; }

    .section-header { text-align: right; }
    .title-line { margin: 0 0 0 auto; } 
    
    .banner-section { text-align: right; padding: 60px 5%; }
    .banner-content h2 { font-size: 22px; }
    .banner-content p { font-size: 14px; }
    
    .testimo-header { text-align: right; }
    .title-line-right { margin: 0 0 0 auto; }
    .nav-btn { display: none; }
}
/* ===================================== */
/* ۹. استایل‌های صفحه درباره ما */
/* ===================================== */
.about-page-section {
    padding: 150px 5% 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.about-header p {
    color: #666;
    font-size: 18px;
    margin-top: 15px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-text-box { flex: 1; }
.about-text-box h2 { font-size: 28px; color: #fb5c36; margin-bottom: 20px; }
.about-text-box p { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 15px; }

.about-image-box { flex: 1; text-align: center; }
.about-image-box img { width: 100%; border-radius: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* شبکه‌ی ارزش‌های ما */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.value-card:hover { transform: translateY(-10px); }
.value-card h3 { font-size: 20px; color: #333; margin-bottom: 15px; }
.value-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* ===================================== */
/* ۱۰. استایل‌های صفحه تماس با ما */
/* ===================================== */
.contact-page-section {
    padding: 150px 5% 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header { text-align: center; margin-bottom: 60px; }
.contact-header h1 { font-size: 36px; color: #333; margin-bottom: 15px; }
.contact-header p { color: #666; font-size: 18px; margin-top: 15px; }

.contact-container {
    display: flex;
    gap: 40px;
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* بخش فرم تماس */
.contact-form-box { flex: 1.5; }
.contact-form-box h3 { font-size: 24px; color: #333; margin-bottom: 30px; }

.form-group { margin-bottom: 20px; text-align: right; }
.form-group label { display: block; font-size: 14px; color: #555; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-family: 'Dana', Tahoma, sans-serif;
    font-size: 14px;
    background: #f9f9f9;
    transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #fb5c36;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(251, 92, 54, 0.1);
}

.submit-btn { width: 100%; border: none; cursor: pointer; padding: 15px; font-size: 18px; border-radius: 12px; }

/* بخش اطلاعات تماس */
.contact-info-box { flex: 1; background: #f7f7f7; padding: 40px; border-radius: 20px; }
.contact-info-box h3 { font-size: 22px; color: #333; margin-bottom: 30px; }

.info-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.info-icon { font-size: 24px; background: #fff; padding: 12px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.info-item h4 { font-size: 16px; color: #111; margin-bottom: 5px; }
.info-item p { font-size: 14px; color: #666; line-height: 1.6; }

.contact-socials { margin-top: 40px; border-top: 1px solid #ddd; padding-top: 20px; }
.contact-socials p { font-weight: bold; color: #333; margin-bottom: 15px; font-size: 14px;}
.contact-socials a { display: inline-block; text-decoration: none; color: #fb5c36; background: #fff; padding: 8px 15px; border-radius: 50px; margin-left: 10px; font-size: 13px; font-weight: bold; transition: 0.3s; border: 1px solid #ddd;}
.contact-socials a:hover { background: #fb5c36; color: #fff; border-color: #fb5c36; }

/* ===================================== */
/* ریسپانسیو صفحات جدید برای موبایل */
/* ===================================== */
@media (max-width: 992px) {
    .about-content { flex-direction: column; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-container { flex-direction: column; }
}

@media (max-width: 768px) {
    .about-page-section, .contact-page-section { padding-top: 120px; }
    .about-header h1, .contact-header h1 { font-size: 28px; }
    .values-grid { grid-template-columns: 1fr; }
    .contact-container { padding: 30px; }
    .contact-info-box { padding: 25px; }
}