/*
Theme Name: AlaviLingo
Theme URI: https://alavilingo.com
Author: Alavi Language Institute
Author URI: https://alavilingo.com
Description: قالب وردپرس اختصاصی آموزشگاه زبان علوی برای آموزش زبان انگلیسی کودکان
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alavilingo
Tags: education, language-learning, rtl-language-support, elementor, custom-colors
*/

/* متغیرهای رنگ برند */
:root {
    --alavi-blue: #1e40af;
    --alavi-golden: #fbbf24;
    --alavi-white: #ffffff;
    --alavi-light-bg: #f8fafc;
    --alavi-text-dark: #1e293b;
    --alavi-text-gray: #64748b;
}

/* استایل‌های پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--alavi-text-dark);
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* دکمه‌ها */
.alavi-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.alavi-btn-primary {
    background: var(--alavi-blue);
    color: var(--alavi-white);
}

.alavi-btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

.alavi-btn-golden {
    background: var(--alavi-golden);
    color: var(--alavi-text-dark);
}

.alavi-btn-golden:hover {
    background: #f59e0b;
}

/* هدر */
.site-header {
    background: var(--alavi-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo img {
    height: 60px;
    width: auto;
}

/* منوی اصلی */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--alavi-text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--alavi-blue);
}

/* بخش Hero */
.hero-section {
    background: linear-gradient(135deg, var(--alavi-blue) 0%, #3b82f6 100%);
    color: var(--alavi-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* گرید دوره‌ها */
.courses-section {
    padding: 80px 0;
    background: var(--alavi-light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--alavi-blue);
}

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

.course-card {
    background: var(--alavi-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 25px;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--alavi-blue);
}

/* CTA Section */
.cta-section {
    background: var(--alavi-golden);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* فوتر */
.site-footer {
    background: var(--alavi-text-dark);
    color: var(--alavi-white);
    padding: 60px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.fullwidth-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.page-content {
    width: 100%;
}


/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}
/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: var(--alavi-white);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 191, 36, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
}

.page-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
}

.page-breadcrumb a {
    color: var(--alavi-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.page-breadcrumb a:hover {
    opacity: 1;
}

.page-breadcrumb span {
    opacity: 0.6;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background: var(--alavi-white);
}

.content-section {
    margin-bottom: 60px;
}

.section-content {
    font-size: 1.1rem;
    color: var(--alavi-text-gray);
    line-height: 1.9;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content h2 {
    font-size: 1.8rem;
    color: var(--alavi-blue);
    margin: 40px 0 20px;
    font-weight: 700;
}

.section-content h3 {
    font-size: 1.5rem;
    color: var(--alavi-blue);
    margin: 30px 0 15px;
    font-weight: 700;
}

.section-content ul, 
.section-content ol {
    margin: 20px 0 20px 30px;
}

.section-content li {
    margin-bottom: 12px;
}

/* Logo Link */
.site-logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 58px;
    height: 58px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.logo-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.55rem;
    color: var(--alavi-blue);
    font-weight: 800;
    margin: 0 0 2px 0;
}

.logo-text p {
    font-size: 0.95rem;
    color: var(--alavi-golden);
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--alavi-golden);
}

