/*
Theme Name: اکوسیستم فاندریزینگ NFT ایران 2
Theme URI: https://abolfazlasgari.ir
Author: تیم توسعه
Author URI: https://abolfazlasgari.ir
Description: قالب وردپرس برای اکوسیستم فاندریزینگ NFT ایران - جمع‌آوری سرمایه شفاف و پایدار از طریق NFT با پشتوانه‌های واقعی
Version: 1.0.0
License: GPL v2 or later
Text Domain: nft-fundraising
Domain Path: /languages
*/


:root {
    --primary-blue: #1a6bb3;
    --secondary-blue: #2d8de6;
    --light-blue: #e8f4ff;
    --primary-green: #27ae60;
    --secondary-green: #2ecc71;
    --light-green: #e8f8f1;
    --dark-gray: #2c3e50;
    --light-gray: #f8f9fa;
    --text-color: #333;
}

* {
    font-family: 'Vazirmatn', sans-serif;
}

body {
    color: var(--text-color);
    padding-top: 76px;
    overflow-x: hidden;
}

/* هدر */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
}

.logo i {
    margin-left: 8px;
    font-size: 1.6rem;
}

.nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 5px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

.search-box {
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s;
}

.search-box:focus {
    width: 250px;
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 107, 179, 0.1);
}

.cta-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn:hover {
    background-color: var(--secondary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 107, 179, 0.2);
}

/* بخش‌های اصلی */
.section {
    padding: 100px 0;
}

.section-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-green);
    border-radius: 2px;
}

.hero-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, white 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
}

.hero-section:after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background-color: rgba(26, 107, 179, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.3;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.stats-container {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    line-height: 1;
}

.stat-text {
    color: #666;
    font-size: 1rem;
    margin-top: 10px;
}

/* کارت‌های سریع */
.quick-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.quick-card:nth-child(2) {
    border-top-color: var(--primary-green);
}

.quick-card:nth-child(3) {
    border-top-color: #f39c12;
}

.quick-card:nth-child(4) {
    border-top-color: #9b59b6;
}

.quick-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.card-title {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.card-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
}

.card-link i {
    margin-right: 5px;
    transition: transform 0.3s;
}

.card-link:hover i {
    transform: translateX(-5px);
}

/* اخبار */
.news-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-left: 5px;
}

.news-title {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* تایم‌لاین */
.timeline {
    position: relative;
    padding-right: 50px;
    margin-top: 50px;
}

.timeline:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-right: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    right: -8px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary-blue);
    border-radius: 50%;
    z-index: 1;
}

.timeline-year {
    background-color: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}

.timeline-content {
    background-color: var(--light-blue);
    padding: 25px;
    border-radius: 15px;
    border-right: 4px solid var(--primary-blue);
}

/* گواهی‌ها */
.certificate-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.certificate-header {
    background-color: var(--light-blue);
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.certificate-body {
    padding: 25px;
}

.certificate-badge {
    background-color: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

/* رویدادها */
.event-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-right: 5px solid var(--primary-blue);
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.event-date {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.event-upcoming {
    border-right-color: var(--primary-green);
}

/* فرم‌ها */
.form-control {
    border-radius: 10px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 107, 179, 0.1);
}

/* فوتر */
.footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 70px 0 30px;
}

.footer-links h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer-link:hover {
    color: white;
    padding-right: 5px;
}

.contact-info {
    color: #ddd;
    margin-bottom: 20px;
}

.contact-info i {
    margin-left: 10px;
    color: var(--secondary-green);
}

.disclaimer {
    background-color: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #bbb;
}

/* دکمه‌های CTA */
.main-cta {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 35px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.main-cta i {
    margin-right: 10px;
}

.main-cta:hover {
    background-color: var(--secondary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 107, 179, 0.2);
}

.secondary-cta {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    padding: 13px 30px;
    font-weight: 700;
    transition: all 0.3s;
}

.secondary-cta:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .search-box {
        width: 100%;
        margin: 15px 0;
    }
    
    .navbar-nav {
        text-align: right;
        margin-top: 15px;
    }
    
    .nav-link {
        margin: 5px 0;
    }
    
    .stats-container {
        padding: 20px;
    }
    
    .stat-item {
        width: 50%;
        margin-bottom: 20px;
    }
    
    .timeline {
        padding-right: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

/* اینفوگرافیک */
.infographic {
    background-color: var(--light-blue);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    margin: 50px 0;
}

.infographic:before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
}

.infographic:after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(26, 107, 179, 0.05);
    border-radius: 50%;
}

.step {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.step-number {
    background-color: var(--primary-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 20px;
}

.step-title {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

/* ناوبری اسموث */
html {
    scroll-behavior: smooth;
}

.active-section {
    color: var(--primary-blue) !important;
}
