﻿:root {
    --primary-red: #e62238;
    --primary-purple: #5c2794;
    --gradient-main: linear-gradient(135deg, #e62238 0%, #76228c 100%);
    --gradient-btn: linear-gradient(90deg, #e62238 0%, #c41830 100%);
    --bg-soft: #fcfcfd;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-soft);
    color: #333;
    overflow-x: hidden;
}

/* ================= LOGO ================= */
.brand-symbol {
    width: 36px;
    height: 36px;
    background: var(--gradient-main);
    color: #fff;
    border-radius: 8px 18px 8px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 800;
    font-size: 1.15rem;
    color: #1b1b1b;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.65rem;
    color: var(--primary-red);
}

/* ================= NAVBAR ================= */
.nav-link {
    font-weight: 500;
    color: #495057;
    transition: 0.2s;
    position: relative;
}

    .nav-link:hover, .nav-link.active-link {
        color: var(--primary-red) !important;
    }

        .nav-link.active-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 20%;
            right: 20%;
            height: 2px;
            background-color: var(--primary-red);
        }

.btn-primary-gradient {
    background: var(--gradient-btn);
    border: none;
    transition: all 0.3s ease;
}

    .btn-primary-gradient:hover {
        background: linear-gradient(90deg, #c41830 0%, #a21024 100%);
        box-shadow: 0 4px 15px rgba(230, 34, 56, 0.3);
    }

/* ================= HERO ================= */
.hero-badge {
    background: #fbf0f2;
    color: var(--primary-red);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #f6d2d7;
}

.highlight-purple {
    color: var(--primary-purple);
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.4;
}

.hero-image-wrapper {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hero-main-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.brand-logos span {
    font-weight: 700;
    font-size: 1.1rem;
}

/* ================= SERVICES ================= */
.section-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-red);
    position: relative;
}

    .section-divider::before {
        content: '';
        position: absolute;
        top: -4px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 10px;
        height: 10px;
        background-color: var(--primary-red);
    }

.service-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

.icon-box {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.icon-red {
    background: #fdf0f2;
    color: var(--primary-red);
}

.icon-purple {
    background: #f3ecf8;
    color: var(--primary-purple);
}

.text-purple {
    color: var(--primary-purple);
}

.btn-more {
    color: var(--primary-purple);
    transition: 0.2s;
}

    .btn-more:hover {
        color: var(--primary-red);
    }

/* ================= BOOTHS / PORTFOLIO ================= */
.booth-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s;
}

    .booth-card:hover {
        transform: translateY(-4px);
    }

.booth-img-wrapper img {
    height: 140px;
    object-fit: cover;
}

.booth-logo-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tiny-badge {
    font-size: 0.72rem;
}

.booth-link {
    font-size: 0.8rem;
    color: var(--primary-purple);
    font-weight: bold;
}

    .booth-link:hover {
        color: var(--primary-red);
    }

/* ================= FEATURES RIBBON ================= */
.features-ribbon {
    background: linear-gradient(90deg, #511882 0%, #9f1d6b 50%, #e62238 100%);
    box-shadow: 0 10px 30px rgba(92, 39, 148, 0.25);
}


/* about styles */
.about-hero {
    background: linear-gradient(rgba(217, 4, 41, 0.9), rgba(157, 2, 8, 0.9));
    padding: 85px 0;
    color: #fff;
    text-align: center;
    position: relative;
}

    .about-hero h1 {
        font-size: 35px;
        font-weight: 800;
    }

.about-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

    .about-wave svg {
        width: 100%;
        display: block;
    }

.about-section {
    padding: 80px 0;
}

.about-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mission-item i {
    font-size: 32px;
    color: #d90429;
    margin-bottom: 15px;
}
/* contact styles */
.contact-hero {
    background: linear-gradient(rgba(217, 4, 41, 0.9), rgba(157, 2, 8, 0.9));
    padding: 85px 0;
    color: #fff;
    text-align: center;
    position: relative;
}

    .contact-hero h1 {
        font-size: 34px;
        font-weight: 800;
    }

.contact-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

    .contact-wave svg {
        width: 100%;
        display: block;
    }

.contact-section {
    padding: 70px 0;
}

.contact-card {
    padding: 30px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-info i {
    color: #d90429;
    font-size: 20px;
    width: 28px;
}

.social-icons a {
    background: #d90429;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 6px;
    color: #fff;
    font-size: 18px;
}

    .social-icons a:hover {
        background: #9d0208;
    }

/* rules styles */
.rules-hero {
    background: linear-gradient(rgba(217, 4, 41, 0.92), rgba(157, 2, 8, 0.92));
    padding: 85px 0;
    color: #fff;
    text-align: center;
    position: relative;
}

    .rules-hero h1 {
        font-size: 35px;
        font-weight: 800;
    }

.rules-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.rules-section {
    padding: 70px 0;
    background: #f8f9fa;
}

.rules-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

    .rules-card h4 {
        color: #d90429;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .rules-card ul {
        padding-right: 20px;
    }

.rules-note {
    background: rgba(217, 4, 41, 0.08);
    border-right: 4px solid #d90429;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.rules-contact-box {
    background: linear-gradient(135deg, #d90429, #9d0208);
    color: #fff;
    padding: 35px;
    border-radius: 18px;
    text-align: center;
    margin-top: 35px;
}

    .rules-contact-box a {
        color: #fff;
        font-weight: bold;
    }
/* login & register styles */
.login-page-container {
    position: relative;
    z-index: 1;
}

.login-hero {
    /*background: linear-gradient(rgba(217, 4, 41, 0.9), rgba(157, 2, 8, 0.9));*/
    height: 150px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    /*color: #fff;*/
    text-align: center;
    position: relative;
}

.login-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

    .login-wave svg {
        width: 100%;
        display: block;
        fill: #f9f9f9;
    }

.login-card-wrapper {
    margin-top: -100px;
    padding-bottom: 50px;
    position: relative;
    z-index: 2;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.login-btn {
    background: #d90429;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px;
    width: 100%;
    transition: 0.3s;
}

    .login-btn:hover {
        background: #9d0208;
    }

/* --- افکت سه بعدی برای کارت‌ها --- */
.service-card, .booth-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* حرکت نرم */
    transform-style: preserve-3d;
    perspective: 1000px; /* ایجاد عمق */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    /* افکت شناور شدن کارت (Hover 3D Effect) */
    .service-card:hover {
        transform: translateY(-15px) rotateX(10deg) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .booth-card:hover {
        transform: translateZ(20px) scale(1.05);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.footer-section {
    /* استفاده از گرادینت مشابه Features Ribbon */
    background: #72726e !important;
    color: #fff;
    border-top-left-radius: 50px; /* ایجاد حالت منحنی مدرن در بالا */
}

    .footer-section .hover-underline:hover {
        text-decoration: underline !important;
        opacity: 1 !important;
    }

    .footer-section h4, .footer-section h5 {
        color: rgba(255, 255, 255, 0.9);
    }

    .footer-section ul li {
        margin-bottom: 10px;
        transition: 0.3s;
    }

        .footer-section ul li:hover {
            padding-right: 5px;
        }
