@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #e31e24;
    --primary-dark: #b91419;
    --dark: #111111;
    --dark-2: #1b1b1b;
    --text: #222222;
    --muted: #777777;
    --light: #f6f6f6;
    --white: #ffffff;
    --border: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

.site-header {
    background: var(--dark);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0,0,0,.15);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-placeholder span {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.logo-placeholder small {
    font-size: 10px;
    color: #ddd;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: 14px;
    color: #eee;
    transition: .2s;
}

.main-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border: 1px solid #555;
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero */

.hero {
    background:
        linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.55)),
        linear-gradient(135deg, #222, #111);
    color: #fff;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    background: rgba(227,30,36,.15);
    border: 1px solid rgba(227,30,36,.5);
    color: #ff5559;
    padding: 5px 13px;
    border-radius: 30px;
    font-size: 12px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.35;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: #ddd;
    font-size: 16px;
    max-width: 650px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Sections */

.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light);
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
}

/* Cards */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: .25s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.event-image {
    height: 210px;
    background: linear-gradient(135deg, #333, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.event-content {
    padding: 22px;
}

.event-type {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.event-title {
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0 12px;
}

.event-meta {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

/* Footer */

.site-footer {
    background: var(--dark);
color: #fff;
    padding-top: 55px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-grid h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-grid p {
    color: #aaa;
    font-size: 13px;
    max-width: 450px;
}

.footer-grid a {
    display: block;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #292929;
    text-align: center;
    color: #777;
    font-size: 12px;
    padding: 18px 0;
}

/* Responsive */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 70px;
    }

    .header-actions .btn-outline {
        display: none;
    }

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section {
        padding: 55px 0;
    }
}