/* -------------------- ریست و تنظیمات پایه -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Pinar';
    src: url('fonts/Pinar-Regular.woff2') format('woff2'),
         url('fonts/Pinar-Regular.woff') format('woff'),
         url('fonts/Pinar-Regular.ttf') format('truetype');  /* اضافه کردن پشتیبانی از TTF */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pinar';
    src: url('fonts/Pinar-Bold.woff2') format('woff2'),
         url('fonts/Pinar-Bold.woff') format('woff'),
         url('fonts/Pinar-Bold.ttf') format('truetype');  /* اضافه کردن پشتیبانی از TTF */
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    /* استفاده از فونت پینار محلی */
    font-family: 'Pinar', 'Vazirmatn', 'Segoe UI', 'Tahoma', system-ui, sans-serif;
    min-height: 100vh;
    width: 100%;
    
    background: url('images/background.jpg') center center no-repeat fixed;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* کانتینر اصلی وسط صفحه */
.hero {
    text-align: center;
    padding: 4rem;
    max-width: 90%;
    width: 700px;
    background-color: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(3px);
    border-radius: 48px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}
.sittitle{    font-family: 'Pinar', 'Vazirmatn', cursive;
    font-size: 3.2rem;
    font-weight: 800;
    color: #FFCC00;
    margin-bottom: 2rem; 
    line-height: 1.3;
}

.main-title {
    font-family: 'Pinar', 'Vazirmatn', cursive;
    font-size: 2rem;
    font-weight: 600;
    color: #FFCC00;
    text-shadow: 5px 5px 12px rgba(0, 0, 0, 0.6), 0 0 8px rgba(255, 204, 0, 0.4);
    margin-bottom: 2.2rem;
    letter-spacing: 0px;
    line-height: 1.3;
}

.subtitle {
    font-family: 'Pinar', 'Vazirmatn', cursive;
    margin-top: 4rem;
    font-size: 0.85rem;
    font-weight:400;
    color: rgba(255, 245, 200, 0.8);
}
.footer{
    font-family: 'Pinar', 'Vazirmatn', cursive;
    font-size: 0.85rem;
    font-weight:400;
    color: rgba(255, 245, 200, 0.8);
    margin-top:1rem;
}
.buttons-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem;
    margin-top: 6rem;
}

/* استایل پایه دکمه‌ها */
.btn {
    font-family: 'Pinar', 'Vazirmatn', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    min-width: 200px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 204, 0, 0.6);
}

/* آیکن داخل دکمه */
.btn-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.25s ease;
}

/* دکمه مسیر یابی */
.btn-direction {
    background: #2c5f2d5e;
    border-color: #FFD966;
    color: #fff9e0;
    text-decoration:none;
}

.btn-direction:hover {
    background: #1e461f;
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    border-color: #FFCC33;
    color: #FFE484;
}

.btn-direction:hover .btn-icon {
    filter: brightness(0) invert(0.9) sepia(1) hue-rotate(30deg) brightness(1.2);
}

/* دکمه تماس */
.btn-contact {
    background: #FFCC007D;
    border-color: #FFCC00;
    color: #fff2df;
}

.btn-contact:hover {
    background: #FFCC00E0;
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    border-color: #fff;
    color: #000;
}

.btn-contact:hover .btn-icon {
    filter: brightness(0) invert(0.85) sepia(1) hue-rotate(-20deg) brightness(1.1);
}

.btn:active {
    transform: scale(0.97);
    transition: 0.05s;
}


.font-status {
    color: #ccff99;
    font-size: 0.7rem;
    margin-right: 5px;
}
/* نسخه کارت معرفی ویژه */
.intro-card {
    margin: 2rem auto;
    padding: 0;
    max-width: 680px;
    position: relative;
}

.intro-inner {


}

.intro-title {
    font-family: 'Pinar', 'Vazirmatn', sans-serif;
    font-size: 1.3rem;
    color: #FFCC00;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.intro-title:before,
.intro-title:after {
    content: "✦";
    color: #FFCC00;
    margin: 0 10px;
    font-size: 1rem;
    opacity: 0.6;
}

.intro-text {
    font-family: 'Pinar', 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    line-height: 1.9;
    color: rgba(255, 248, 225, 0.9);
    text-align: center;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFCC00;
    display: inline-block;
    margin-top: 10px;
    letter-spacing: 1px;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #FFD966;
    display: block;
    margin-top: 5px;
}

.intro-decoration {
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFCC00, transparent);
    width: 60%;
    margin: 10px auto;
}

@media (max-width: 640px) {
    .hero{margin-top:2rem; margin-bottom:2rem;}
    .intro-inner {
        padding: 1.2rem;
    }
    .intro-text {
        font-size: 0.85rem;
        line-height: 1.8;
    }
    .intro-title {
        font-size: 1.2rem;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 640px) {
    .intro-text {
        font-size: 0.85rem;
        line-height: 1.8;
    }
    .intro-section {
        padding: 1rem;
        margin: 1.5rem auto;
    }
    .highlight-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .intro-text {
        font-size: 0.8rem;
        line-height: 1.7;
    }
}

/* انیمیشن */
.hero {
    animation: fadeInUp 0.7s ease-out;
}
.blinking-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #00ff00;
    border-radius: 50%;
    margin-left: 6px;
    animation: blink 2s infinite;
    box-shadow: 0 0 5px #00ff00;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 640px) {
    .sittitle{ 
    font-size: 2.5rem;}
    .main-title {
        font-size: 1rem;
        margin-bottom:4rem;
    }
    .btn {
        font-size: 1rem;
        font-weight: 500;
        padding: 0.9rem 1.6rem;
        min-width: 170px;
        gap: 8px;
    }
    .btn-icon {
        width: 32px;
        height: 32px;
    }
    .buttons-group {
        gap: 1.2rem;
    }
    .hero {
        padding: 1.5rem;
        border-radius: 32px;
    }
    .subtitle{margin-top:7rem;}

}

@media (max-width: 480px) {
    .main-title {
        font-size: 1rem;
    }
    .hero {
        width: 95%;
    }
    .btn {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
        min-width: 140px;
    }
    .btn-icon {
        width: 20px;
        height: 20px;
    }
}