/* فایل assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;700&display=swap'); /* یک فونت فارسی زیبا */

:root {
    --navy-blue: #0a192f;
    --light-slate: #ccd6f6;
    --white: #ffffff;
}

body {
    background-color: var(--navy-blue);
    color: var(--light-slate);
    font-family: 'Vazirmatn', sans-serif;
    margin: 0;
    text-align: center;
}

/* بخش Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.hero-section h1 {
    font-size: 5rem;
    color: var(--white);
    font-family: 'Times New Roman', Times, serif; /* فونت سریف برای حس لوکس */
    margin: 0;
}

/* بخش محصولات */
.products-section {
    padding: 100px 20px;
}
.products-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 50px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.product-card {
    background-color: #112240;
    padding: 25px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 12px;
}
.product-card h3 {
    color: var(--white);
    font-size: 1.25rem;
}

/* دکمه پیش‌خرید */
.preorder-btn {
    background-color: var(--light-slate);
    color: var(--navy-blue);
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.preorder-btn:hover {
    background-color: var(--white);
}

/* انیمیشن اسکرول */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: var(--navy-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: #112240;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #233554; /* رنگ جایگزین در صورت نبود عکس */
}

.blog-content {
    padding: 25px;
    text-align: right;
}

.blog-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #64ffda; /* یک رنگ ملایم برای لینک‌ها */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background-color: #020c1b;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content p {
    color: var(--light-slate);
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--slate);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    font-size: 0.8rem;
    color: #495670;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    margin-top: 20px;
}

