/*
Theme Name: Amol Martial Arts
Theme URI: http://ayhanco.space
Author: Ayhan Co
Author URI: http://ayhanco.space
Description: تم وردپرس سفارشی برای هیئت ورزش‌های رزمی آمل - فارسی، ریسپانسیو، حالت تاریک/روشن
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: amol-martial-arts
*/
/* ✅ فونت محلی: IRANSans (از پوشه fonts) */
@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
/* ✅ استایل اصلی */
body {
    font-family: 'IRANSans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}
a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #005a87;
}
header {
    background-color: #0073aa;
    color: white;
    padding: 1rem 0;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 1.8rem;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
nav ul li a {
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}
nav ul li a:hover {
    background-color: #005a87;
}
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
footer {
    background-color: #0073aa;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.theme-toggle:hover {
    background-color: #005a87;
}
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
main {
        padding: 1rem;
    }
header h1 {
        font-size: 1.5rem;
    }
}
