/* ===== معرفی فونت‌های اختصاصی ===== */
@font-face {
    font-family: 'Entezar';
    src: url('../../fonts/Entezar.v1.00.ttf') format('truetype');
}
@font-face {
    font-family: 'BTitr';
    src: url('../../fonts/BTitrBd.ttf') format('truetype');
}
@font-face {
    font-family: 'BNazanin';
    src: url('../../fonts/BNazanin.ttf') format('truetype');
}

:root {
    --pink: #e91e63;
    --pink-light: #f48fb1;
    --pink-dark: #ad1457;
    --blue: #03a9f4;
    --blue-light: #b3e5fc;
    --blue-dark: #0277bd;
    --bg: #fff0f5; 
    --title-color: #d81b60;    
    --text-color: #6a1b9a;     
    --white: #ffffff;
    --shadow: 0 15px 35px rgba(233, 30, 99, 0.08);
    --shadow-hover: 0 25px 50px rgba(233, 30, 99, 0.15);
    --radius: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'BNazanin', Tahoma, sans-serif; background: var(--bg); color: var(--text-color); line-height: 1.8; font-size: 18px; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== اسلایدر بنر ===== */
.hero-slider { position: relative; width: 100%; height: 480px; overflow: hidden; border-bottom-left-radius: 50px; border-bottom-right-radius: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease-in-out; text-decoration: none; z-index: 1; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(233, 30, 99, 0.7) 0%, rgba(3, 169, 244, 0.4) 100%); }
.hero-banner-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 10%; color: #fff; }
.hero-banner-content h2 { font-family: 'Entezar', sans-serif; font-size: 60px; font-weight: normal; margin-bottom: 15px; text-shadow: 0 4px 15px rgba(0,0,0,0.3); line-height: 1.4; }
.hero-desc { font-family: 'BNazanin', Tahoma, sans-serif; font-size: 26px; font-weight: bold; margin-bottom: 40px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); max-width: 600px; }
.hero-cta { display: inline-block; background: #fff; color: var(--pink-dark); padding: 16px 40px; border-radius: 50px; font-weight: 800; font-size: 18px; width: fit-content; box-shadow: 0 10px 25px rgba(0,0,0,0.15); transition: all 0.4s; }
.hero-cta:hover { transform: translateY(-5px) scale(1.05); background: var(--pink-light); color: #fff; }

.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.3); border: none; color: #fff; font-size: 24px; padding: 15px 20px; cursor: pointer; border-radius: 50%; transition: 0.3s; backdrop-filter: blur(5px); }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,0.6); color: var(--pink-dark); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ===== هدر ===== */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(25px); border-bottom: 1px solid rgba(233, 30, 99, 0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 85px; position: relative; }
.logo-text { font-family: 'BTitr', sans-serif; font-size: 32px; font-weight: 900; background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -1px; }
.main-nav ul { display: flex; gap: 10px; list-style: none; }
.main-nav a { font-family: 'BTitr', sans-serif; font-weight: 600; color: var(--title-color); padding: 10px 20px; border-radius: 50px; font-size: 17px; transition: all 0.3s; }
.main-nav a:hover { background: rgba(233, 30, 99, 0.08); color: var(--pink); }

/* دکمه منوی همبرگری */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 8px; z-index: 1001; }
.menu-toggle span { width: 30px; height: 3px; background: var(--title-color); border-radius: 3px; transition: all 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===== عناوین و کارت‌ها ===== */
.section-title { font-family: 'BTitr', sans-serif; font-size: 34px; font-weight: 900; color: var(--title-color); margin-bottom: 40px; display: flex; align-items: center; gap: 16px; }
.section-title::before { content: ''; display: block; width: 8px; height: 40px; background: linear-gradient(to bottom, var(--pink), var(--blue)); border-radius: 4px; }
.hero-title-main { font-family: 'BTitr', sans-serif; font-size: 42px; color: var(--title-color); text-align: center; margin-bottom: 15px; position: relative; display: inline-block; }
.hero-title-main::after { content: ''; display: block; width: 60%; height: 4px; background: linear-gradient(to right, var(--pink), var(--blue)); margin: 10px auto 0; border-radius: 2px; }
.hero-subtitle { font-size: 20px; color: var(--text-color); max-width: 700px; margin: 0 auto 50px; text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 35px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; flex-direction: column; position: relative; border: 1px solid rgba(233, 30, 99, 0.05); }
.card:hover { transform: translateY(-12px) scale(1.02); box-shadow: var(--shadow-hover); }
.card img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.6s ease; }
.card-body { padding: 30px; display: flex; flex-direction: column; flex: 1; background: #fff; position: relative; z-index: 1; }
.card-meta { font-family: 'BNazanin', Tahoma, sans-serif; font-size: 15px; color: var(--pink-dark); font-weight: 800; margin-bottom: 15px; display: inline-block; background: var(--pink-light); padding: 5px 16px; border-radius: 50px; opacity: 0.9; }
.card-title { font-family: 'BTitr', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 12px; color: var(--title-color); line-height: 1.5; }
.card-desc { font-family: 'BNazanin', Tahoma, sans-serif; font-size: 18px; color: var(--text-color); margin-bottom: 20px; }

.trend-bar { background: linear-gradient(135deg, var(--pink), var(--blue)); color: #fff; padding: 40px; border-radius: var(--radius); text-align: center; margin: 60px 0; box-shadow: 0 15px 35px rgba(3, 169, 244, 0.2); }
.trend-bar h3 { font-family: 'BTitr', sans-serif; font-size: 30px; margin-bottom: 10px; }
.trend-bar p { font-size: 20px; }

/* ===== فوتر ===== */
.site-footer { background: #f8bbd0; color: var(--text-color); padding: 60px 0 0; margin-top: 100px; border-top-left-radius: 50px; border-top-right-radius: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h3, .footer-grid h4 { font-family: 'BTitr', sans-serif; color: var(--title-color); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links a { color: var(--text-color); font-size: 16px; }
.footer-bottom { background: #f48fb1; padding: 15px 0; text-align: center; color: #fff; font-family: 'BNazanin', Tahoma, sans-serif; font-size: 16px; }


/* ========================================= */
/* ===== تنظیمات اختصاصی موبایل (ریسپانسیو) ===== */
/* ========================================= */
@media (max-width: 900px) {
    /* نمایش دکمه همبرگری در سمت چپ */
    .menu-toggle { display: flex; order: -1; }
    
    /* منوی کشویی موبایل */
    .main-nav {
        position: fixed;
        top: 85px;
        right: 0;
        left: 0;
        background: #fff;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        z-index: 999;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    .main-nav.open {
        max-height: 600px;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 5px;
    }
    .main-nav a {
        display: block;
        padding: 15px 20px;
        border-radius: 12px;
        font-size: 17px;
        text-align: center;
    }
    
    /* تنظیمات بنر اسلایدر */
    .hero-slider { height: 380px; border-radius: 0; }
    .hero-banner-content { padding: 0 20px; text-align: center; align-items: center; }
    .hero-banner-content h2 { font-size: 32px; margin-bottom: 10px; }
    .hero-desc { font-size: 16px; margin-bottom: 20px; }
    .hero-cta { padding: 10px 25px; font-size: 15px; }
    .slider-prev, .slider-next { padding: 10px 15px; font-size: 16px; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }

    /* تنظیمات بخش خوش‌آمدگویی */
    .hero-title-main { font-size: 28px; }
    .hero-subtitle { font-size: 16px; margin-bottom: 30px; }

    /* تک‌ستونه کردن گریدها */
    .grid-3 { grid-template-columns: 1fr; gap: 20px; }
    
    /* کارت‌ها در موبایل */
    .card img { height: 180px; }
    .card-body { padding: 20px; }
    .card-title { font-size: 20px; }
    .card-desc { font-size: 16px; }

    /* تنظیمات رویدادها (افقی به عمودی) */
    .event-row {
        flex-direction: column !important;
    }
    .event-row > div:first-child {
        width: 100% !important;
        height: 180px !important;
    }
    
    /* تنظیمات فوتر */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    
    /* فاصله‌های کلی */
    .container { padding: 0 15px; }
    section { padding-top: 30px !important; padding-bottom: 30px !important; }
    .section-title { font-size: 24px; margin-bottom: 25px; }
    .section-title::before { height: 30px; width: 6px; }
}