/* ===== ریست و فونت پایه ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    padding-bottom: 80px; /* فضا برای ناوبری پایین */
}

/* ===== محتوای اصلی ===== */
.main-content {
    padding: 20px;
    padding-bottom: 100px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.container h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.container p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.placeholder-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.placeholder-box h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.placeholder-box p {
    color: #888;
    margin-bottom: 0;
}

/* ===== Bottom Navigation ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    padding: 8px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 70px;
}

.nav-item:hover,
.nav-item.active {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 0.75rem;
}

/* ===== صفحات داخلی ===== */
.page-header {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.page-content {
    padding: 0 20px 100px;
    max-width: 800px;
    margin: 0 auto;
}

.lorem-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.lorem-box h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.lorem-box p {
    color: #666;
    line-height: 2;
    text-align: justify;
}

/* دکمه برگشت */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4CAF50;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    margin: 20px auto;
    display: flex;
    width: fit-content;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #45a049;
}