/* استایل‌های جامع آکادمی شنای کرج - صبا تراب بیگی */
:root {
    --primary-color: #0d5c75;
    --primary-dark: #073b4c;
    --accent-color: #06d6a0;
    --gold-accent: #f77f00;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.85;
    color: var(--text-dark);
    background-color: var(--bg-light);
    direction: rtl;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* هدر و ناوبری */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo-area a {
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
}

.logo-area span {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 400;
}

nav ul {
    display: flex;
    gap: 22px;
    list-style: none;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 4px;
}

.nav-btn {
    background: var(--gold-accent);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem !important;
}

.nav-btn:hover {
    background: #d66b00;
    border: none !important;
}

/* بخش هیرو / بنر بالای صفحات */
.hero {
    background: linear-gradient(135deg, rgba(7, 59, 76, 0.95), rgba(13, 92, 117, 0.92)), url('https://images.unsplash.com/photo-1530549387789-4c1017266635?auto=format&fit=crop&w=1920&q=80') center/cover;
    color: var(--white);
    padding: 90px 0 75px;
    text-align: center;
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 16px;
    line-height: 1.4;
    font-weight: 800;
}

.hero p {
    font-size: 1.15rem;
    max-width: 820px;
    margin: 0 auto 30px;
    color: #e2e8f0;
}

/* دکمه‌ها */
.btn-primary {
    display: inline-block;
    background-color: var(--gold-accent);
    color: var(--white);
    padding: 13px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    background-color: #d66b00;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 11px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin-right: 12px;
}

/* محتوا و بخش‌ها */
section {
    padding: 65px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 1.9rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

/* کارت‌ها و گرید */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.25s ease;
}

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

.card.highlight {
    border-top-color: var(--gold-accent);
    background: #fffdfa;
}

.card h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.badge {
    display: inline-block;
    background: #e0f2fe;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* چک‌لیست و سوابق */
.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* جدول قیمت/سرفصل‌ها */
.table-responsive {
    overflow-x: auto;
    margin: 25px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

th, td {
    padding: 15px 20px;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

/* نوار CTA انتهای صفحات */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
    border-radius: 16px;
    margin: 40px 0;
}

.cta-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

/* فوتر */
footer {
    background-color: #041f27;
    color: #cbd5e1;
    padding: 55px 0 25px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 18px;
    position: relative;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.92rem;
}

.footer-col ul a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid #1e3a45;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* دکمه شناور واتس‌اپ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: #25d366;
    color: var(--white);
    padding: 12px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

/* واکنش‌گرایی موبایل */
@media (max-width: 868px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 1.7rem;
    }
}
