/* ===========================================================
   سایت خدمات برگزاری مراسم - استایل اصلی
   تم: Luxury / Neon / Glassmorphism / Aurora / Animated BG
   =========================================================== */

:root {
    --neon-blue: #00f7ff;
    --ice-blue: #00fff2;
    --c-purple: #c52aab;
    --c-pink: #ec4899;
    --c-gold: #00fff2;
    --c-white: #5e5e5e;
    --c-black: #292929;
    --glass-bg: rgb(0, 0, 0);
    --glass-border: rgb(0, 255, 242);
    --font-main: 'Vazirmatn', Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--c-black);
    color: var(--c-white);
    direction: rtl;
    overflow-x: hidden;
    position: relative;
}

/* ---------- پس‌زمینه ---------- */
.aurora-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: #000000;
}

.particles-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* ===========================================================
   لوگوی Violet - طراحی مینیمال سفید، بدون قاب یا تزئین اضافه
   =========================================================== */

.brand-watermark {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
}

.brand-watermark .brand-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-letters {
    display: flex;
    direction: ltr;
}

.brand-letters .letter {
    display: inline-block;
    font-family: 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
    font-weight: 200;
    font-size: clamp(40px, 8vw, 100px);
    letter-spacing: 10px;
    line-height: 1;
    color: rgb(0, 255, 255);
    text-shadow: 0 0 20px rgb(0, 255, 221);
    opacity: 0;
    transform: translateY(10px);
}

.brand-underline-simple {
    width: 0;
    height: 1px;
    background: #00fff2;
    margin-top: 18px;
    box-shadow: 0 0 8px rgb(243, 207, 207);
    opacity: 0;
}

.brand-watermark.flash {
    animation: frameRevealSimple 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.brand-watermark.flash .letter {
    animation: letterRevealSimple 0.55s ease-out forwards;
}
.brand-watermark.flash .letter:nth-child(1) { animation-delay: 0.1s; }
.brand-watermark.flash .letter:nth-child(2) { animation-delay: 0.18s; }
.brand-watermark.flash .letter:nth-child(3) { animation-delay: 0.26s; }
.brand-watermark.flash .letter:nth-child(4) { animation-delay: 0.34s; }
.brand-watermark.flash .letter:nth-child(5) { animation-delay: 0.42s; }
.brand-watermark.flash .letter:nth-child(6) { animation-delay: 0.5s; }

.brand-watermark.flash .brand-underline-simple {
    animation: underlineGrow 0.6s ease-out forwards;
    animation-delay: 0.75s;
}

@keyframes frameRevealSimple {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
    10%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80%  { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.03); }
}

@keyframes letterRevealSimple {
    0%   { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes underlineGrow {
    0%   { width: 0; opacity: 0; }
    100% { width: 140px; opacity: 1; }
}

/* ---------- هدر ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(16px);
    background: rgba(5,5,10,0.55);
    border-bottom: 1px solid var(--glass-border);
    transition: 0.3s;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}
.site-logo { font-size: 20px; font-weight: 800; background: linear-gradient(90deg, var(--neon-blue), var(--c-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav ul { list-style: none; display: flex; gap: 26px; }
.main-nav a { color: var(--c-white); text-decoration: none; font-size: 14px; position: relative; transition: 0.2s; }
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px; right: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--c-pink));
    transform: scaleX(0);
    transition: 0.3s;
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-whatsapp, .btn-reserve {
    padding: 9px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-whatsapp { background: #00ff80; color: #07210f; }
.btn-reserve {
    background: linear-gradient(90deg, var(--neon-blue), var(--c-purple));
    color: #fff;
    box-shadow: 0 0 18px var(--neon-blue);
}
.btn-reserve:hover { box-shadow: 0 0 28px var(--neon-blue); transform: translateY(-2px); }

/* ---------- Glassmorphism Card عمومی ---------- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    transition: transform 0.4s, box-shadow 0.4s;
}
.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,229,255,0.15);
}

/* ---------- اسلایدر اصلی ---------- */
.hero-slider { position: relative; height: 88vh; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,5,10,0.9), rgba(5,5,10,0.3));
}
.hero-slide img, .hero-slide video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 700px; padding: 0 20px; animation: fadeUp 1s ease; }
.hero-content h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; text-shadow: 0 0 30px rgba(0,229,255,0.6); }
.hero-content p { font-size: 16px; color: #e5e5f0; margin-bottom: 26px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: 0.3s; }
.hero-dot.active { background: var(--neon-blue); box-shadow: 0 0 10px var(--neon-blue); width: 26px; border-radius: 6px; }

/* ---------- استوری ---------- */
.story-section { padding: 30px 24px; max-width: 1280px; margin: 0 auto; }
.story-list { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; }
.story-item { flex-shrink: 0; text-align: center; cursor: pointer; }
.story-ring {
    width: 70px; height: 70px; border-radius: 50%;
    padding: 3px;
    animation: ringRotate 6s linear infinite;
}
@keyframes ringRotate { to { filter: hue-rotate(360deg); } }
.story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--c-black); }
.story-item span { display: block; font-size: 11px; margin-top: 6px; color: #ccc; }

/* ---------- دسته‌بندی خدمات ---------- */
.section { padding: 60px 24px; max-width: 1280px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; font-weight: 800; }
.section-title span {
    color: var(--ice-blue);
    text-shadow: 0 0 10px rgba(125, 249, 255, 0.6), 0 0 20px rgba(0, 229, 255, 0.35);
}
.section-title p { color: #79c3c9; margin-top: 8px; font-size: 14px; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.category-card { padding: 22px; text-align: center; cursor: pointer; }
.category-card .icon-wrap {
    width: 64px; height: 64px; margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgb(116, 119, 160), rgba(236,72,153,0.2));
    font-size: 28px;
}
.category-card .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.category-card h3 { font-size: 15px; margin-bottom: 6px; }
.category-card p { font-size: 12px; color: #9ca0b8; }

/* ---------- نمونه کارها ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.portfolio-card { overflow: hidden; position: relative; }
.portfolio-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s; }
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-overlay { padding: 16px; }
.portfolio-overlay h4 { font-size: 15px; }
.portfolio-overlay span { font-size: 12px; color: var(--ice-blue); }

/* ---------- مقالات ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.article-card img { width: 100%; height: 170px; object-fit: cover; border-radius: 14px 14px 0 0; }
.article-card .article-body { padding: 16px; }
.article-card h3 { font-size: 15px; margin-bottom: 8px; }
.article-card p { font-size: 13px; color: #9ca0b8; line-height: 1.8; }

/* ---------- مشتریان ---------- */
.customers-slider { display: flex; gap: 20px; overflow-x: auto; padding: 10px 0; }
.customer-card { flex-shrink: 0; width: 220px; text-align: center; padding: 24px 16px; }
.customer-card img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 2px solid var(--c-gold); }
.customer-card h4 { font-size: 14px; }
.customer-card p { font-size: 12px; color: #9ca0b8; margin-top: 6px; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; overflow: hidden; }
.faq-question {
    padding: 18px 22px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; font-weight: 600;
}
.faq-question .icon { transition: transform 0.3s; color: var(--neon-blue); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 22px; font-size: 13px; color: #b0b0c8; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 18px; }

/* ---------- فوتر ---------- */
.site-footer { background: rgba(255,255,255,0.03); border-top: 1px solid var(--glass-border); padding: 50px 24px 20px; margin-top: 60px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 30px; }
.footer-col h4 {
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--ice-blue);
    text-shadow: 0 0 8px rgba(125, 249, 255, 0.5);
}
.footer-col a { display: block; color: #b8bcd4; text-decoration: none; font-size: 13px; margin-bottom: 8px; transition: 0.2s; }
.footer-col a:hover { color: var(--c-white); padding-right: 4px; }
.social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icons a {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    transition: 0.3s;
}
.social-icons a:hover { background: linear-gradient(135deg, var(--neon-blue), var(--c-pink)); transform: translateY(-3px); }
.footer-bottom { text-align: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--glass-border); font-size: 12px; color: #777; }

/* ---------- چت هوش مصنوعی ---------- */
.ai-chat-button {
    position: fixed; bottom: 24px; left: 24px; z-index: 500;
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-blue), var(--c-purple));
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 0 24px rgba(0,229,255,0.6);
    animation: pulseGlow 2.5s infinite;
}
@keyframes pulseGlow {
    0%,100% { box-shadow: 0 0 18px rgba(0,229,255,0.5); }
    50% { box-shadow: 0 0 32px rgba(0,229,255,0.9); }
}
.ai-chat-window {
    position: fixed; bottom: 94px; left: 24px; z-index: 500;
    width: 330px; max-height: 460px;
    display: none; flex-direction: column;
    overflow: hidden;
}
.ai-chat-window.open { display: flex; }
.ai-chat-header { padding: 14px 18px; background: linear-gradient(90deg, var(--neon-blue), var(--c-purple)); font-size: 14px; font-weight: 700; }
.ai-chat-body { flex: 1; overflow-y: auto; padding: 14px; font-size: 13px; display: flex; flex-direction: column; gap: 10px; }
.ai-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; line-height: 1.7; }
.ai-msg.user { align-self: flex-start; background: rgba(0,229,255,0.15); }
.ai-msg.bot { align-self: flex-end; background: rgba(236,72,153,0.15); }
.ai-chat-footer { display: flex; padding: 10px; border-top: 1px solid var(--glass-border); }
.ai-chat-footer input { flex: 1; background: transparent; border: none; color: #fff; padding: 8px; font-family: inherit; }
.ai-chat-footer button { background: var(--neon-blue); border: none; border-radius: 8px; padding: 0 14px; cursor: pointer; }

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .hero-content h1 { font-size: 28px; }
    .header-actions .btn-reserve span { display: none; }
}

/* ===========================================================
   استایل خوانایی مقالات + خط عمودی نئونی چندرنگ + پس‌زمینه مشکی
   =========================================================== */

.article-reading-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px 32px 36px 28px;
    backdrop-filter: blur(10px);
}

.article-reading-wrapper::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 0;
    width: 4px;
    border-radius: 6px;
    background: linear-gradient(
        180deg,
        var(--neon-blue),
        var(--c-purple),
        var(--c-pink),
        var(--c-gold),
        var(--ice-blue),
        var(--neon-blue)
    );
    background-size: 100% 300%;
    animation: neonLineFlow 6s linear infinite;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.6), 0 0 24px rgba(236, 72, 153, 0.35);
}

@keyframes neonLineFlow {
    0%   { background-position: 0% 0%; }
    100% { background-position: 0% 300%; }
}

.article-content,
.article-reading-wrapper {
    font-family: 'Vazirmatn', 'IRANSans', 'Tahoma', 'Segoe UI', sans-serif;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700 !important;
    line-height: 2.4;
    letter-spacing: 0.1px;
}

.article-content p {
    margin-bottom: 20px;
    color: #f5f5fa;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 800 !important;
    line-height: 1.9;
    margin: 34px 0 16px;
    color: #fff;
    position: relative;
    padding-right: 14px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--neon-blue), var(--c-pink));
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700 !important;
    line-height: 1.9;
    margin: 26px 0 12px;
    color: #f0f0ff;
}

.article-content ul,
.article-content ol {
    margin: 16px 0 20px 0;
    padding-right: 24px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 2.1;
    color: #f5f5fa;
}

.article-content blockquote {
    border-right: 3px solid var(--c-gold);
    background: rgba(212, 175, 55, 0.08);
    padding: 14px 20px;
    margin: 22px 0;
    border-radius: 0 10px 10px 0;
    color: #f5e6c8;
    font-style: normal;
}

.article-content strong {
    color: #fff;
}

.article-content img {
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.15);
}

@media (max-width: 640px) {
    .article-reading-wrapper {
        padding: 22px 20px 22px 16px;
        border-radius: 16px;
    }
    .article-content {
        font-size: 16.5px;
        line-height: 2.25;
    }
}


/* ===========================================================
   Lightbox تمام‌صفحه برای گالری نمونه‌کارها
   =========================================================== */

.portfolio-gallery-item {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 10, 0.96);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.25);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    left: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    z-index: 2;
}

.lightbox-prev { right: 20px; }
.lightbox-next { left: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
}

@media (max-width: 640px) {
    .lightbox-nav { width: 40px; height: 40px; font-size: 20px; }
}

/* ===========================================================
   رفع خط زیرین لینک‌ها + عکس دایره‌ای کامل + باکس توضیحات
   =========================================================== */

a {
    text-decoration: none;
}

.category-title-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid #00ff88;
    box-shadow: 0 0 18px rgb(6, 252, 137)t 0 0 16px rgba(0, 255, 136, 0.12);
    color: #fff;
    padding: 14px 34px;
    border-radius: 16px;
    font-size: 26px;
    font-weight: 800;
}

.category-description-box {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding: 30px 28px;
    margin: 26px auto 44px;
    max-width: 800px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 2.3;
    font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
}

.category-description-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--neon-blue), var(--c-purple), var(--c-pink), var(--c-gold));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: neonLineFlow 6s linear infinite;
}

.category-description-box p {
    margin-bottom: 14px;
}

@media (max-width: 640px) {
    .category-title-badge { font-size: 20px; padding: 10px 22px; }
    .category-description-box { padding: 20px 18px; font-size: 16px; }
}

/* ===========================================================
   رنگ آبی یخی نئونی برای عنوان‌های مختلف سایت
   =========================================================== */

.article-single-title {
    color: var(--ice-blue);
    text-shadow: 0 0 14px rgba(125, 249, 255, 0.7), 0 0 28px rgba(0, 229, 255, 0.4);
    font-weight: 800;
}

.article-card .article-body h3 {
    color: var(--ice-blue);
    text-shadow: 0 0 10px rgba(125, 249, 255, 0.6), 0 0 20px rgba(0, 229, 255, 0.35);
    font-weight: 800;
}

.category-card h3,
.portfolio-overlay h4 {
    color: var(--ice-blue);
    text-shadow: 0 0 10px rgba(125, 249, 255, 0.6), 0 0 20px rgba(0, 229, 255, 0.35);
}

.customer-card h4,
.faq-question span {
    color: var(--ice-blue);
    text-shadow: 0 0 10px rgba(125, 249, 255, 0.6), 0 0 20px rgba(0, 229, 255, 0.35);
}

/* ===========================================================
   نمایش بصری رنگ اختصاصی هر آیتم (outline به‌جای border)
   =========================================================== */

.category-card,
.portfolio-card,
.article-card,
.customer-card {
    outline: 2px solid transparent;
    outline-offset: -2px;
}

.social-icons a {
    outline: 2px solid transparent;
    outline-offset: -2px;
}
/* ===========================================================
   آسمون شب - ستاره‌های چشمک‌زن + ماه + شهاب‌سنگ (بهینه، فقط CSS)
   =========================================================== */

.night-sky {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}



/* لایه‌های ستاره - هر لایه فقط یک عنصر با صدها box-shadow (بسیار بهینه) */
.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    background: transparent;
    border-radius: 50%;
}

.stars-dim {
    box-shadow: none; /* توسط جاوااسکریپت پر می‌شود */
    opacity: 0.5;
}

.stars-mid {
    opacity: 0.75;
    animation: twinkleSlow 5s ease-in-out infinite;
}

.stars-bright {
    opacity: 1;
    animation: twinkleFast 3s ease-in-out infinite;
}

@keyframes twinkleSlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

@keyframes twinkleFast {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* شهاب‌سنگ - یک انیمیشن کوتاه و سبک، فقط هنگام فعال شدن اجرا می‌شود */
.shooting-star {
    position: absolute;
    top: 10%;
    left: 0;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
}

.shooting-star.shoot {
    animation: shootAcross 1.4s ease-out;
}

@keyframes shootAcross {
    0% {
        opacity: 0;
        transform: translate(0, 0);
        box-shadow: 0 0 0 rgba(255,255,255,0);
    }
    5% {
        opacity: 1;
        box-shadow: -8px -4px 6px 1px rgba(255,255,255,0.8), -16px -8px 10px 1px rgba(200,220,255,0.4);
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(260px, 140px);
        box-shadow: -8px -4px 6px 1px rgba(255,255,255,0);
    }
}

@media (max-width: 640px) {
    .moon { width: 50px; height: 50px; top: 6%; left: 10%; }
}
/* ===========================================================
   راه‌های ارتباطی با ما
   =========================================================== */

.contact-ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-way-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px;
    text-decoration: none;
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-way-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

.contact-way-icon {
    font-size: 34px;
    line-height: 1;
}

.contact-way-label {
    font-size: 13px;
    color: #e5e5f0;
    font-weight: 600;
}

/* ===========================================================
   درباره ما (صفحه اصلی)
   =========================================================== */

.about-home-box {
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px;
    flex-wrap: wrap;
}

.about-home-image {
    flex: 1;
    min-width: 260px;
    border-radius: 16px;
    overflow: hidden;
}

.about-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.about-home-text {
    flex: 1.4;
    min-width: 260px;
}

.about-home-text h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--ice-blue);
    text-shadow: 0 0 10px rgba(125, 249, 255, 0.6), 0 0 20px rgba(0, 229, 255, 0.35);
}

.about-home-text p {
    font-size: 15px;
    line-height: 2.1;
    color: #d5d5e5;
}

@media (max-width: 640px) {
    .contact-way-icon { font-size: 28px; }
    .about-home-box { padding: 22px; gap: 20px; }
}




/* ===========================================================
   قاب نازک نئونی نارنجی دور تمام کارت‌های سایت (بدون رنگ‌آمیزی داخل کادر)
   =========================================================== */

.category-card,
.portfolio-card,
.article-card,
.customer-card,
.contact-way-item,
.about-home-box,
.faq-item {
    box-shadow: 0 0 12px 1px rgb(0, 255, 221);
}
/* ===========================================================
   ریسپانسیو موبایل: اسلایدر با نسبت دیجی‌کالا + گرید ۲ ستونی
   =========================================================== */

@media (max-width: 640px) {
    .hero-slider {
        height: auto;
        aspect-ratio: 1.7 / 1;
        min-height: 240px;
        margin-top: 8px;
        position: relative;
        z-index: 1;
    }

    .hero-content h1 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .hero-content .btn-reserve {
        padding: 7px 14px;
        font-size: 12px;
    }

    .hero-dots {
        bottom: 10px;
    }

    .hero-dot {
        width: 6px;
        height: 6px;
    }

    /* گرید ۲ ستونی برای خدمات، نمونه‌کارها و مقالات در موبایل */
    .category-grid,
    .portfolio-grid,
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 14px 10px;
    }

    .category-card .icon-wrap {
        width: 46px;
        height: 46px;
        font-size: 20px;
        margin-bottom: 8px;
    }

    .category-card h3 {
        font-size: 12.5px;
    }

    .category-card p {
        display: none; /* توضیحات در کارت‌های کوچک موبایل حذف می‌شود تا شلوغ نشود */
    }

    .portfolio-card img {
        height: 110px;
    }

    .portfolio-overlay {
        padding: 10px;
    }

    .portfolio-overlay h4 {
        font-size: 12.5px;
    }

    .article-card img {
        height: 100px;
    }

    .article-card .article-body {
        padding: 10px;
    }

    .article-card h3 {
        font-size: 12.5px;
        margin-bottom: 4px;
    }

    .article-card p {
        font-size: 11px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
/* ===========================================================
   محافظت کامل: تمام تصاویر داخل محتوا و کارت‌ها هرگز از قاب بیرون نمی‌زنند
   =========================================================== */

.article-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

.hero-slide img,
.category-card .icon-wrap img,
.portfolio-card img,
.article-card img,
.customer-card img {
    max-width: 100%;
}
/* ===========================================================
   گالری Masonry برای زیر دسته و نمونه‌کار: حفظ نسبت ابعاد اصلی هر آیتم
   =========================================================== */

.portfolio-gallery {
    display: block;
    column-count: 3;
    column-gap: 16px;
}

.portfolio-gallery .portfolio-gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.portfolio-gallery .portfolio-gallery-item img,
.portfolio-gallery .portfolio-gallery-item video {
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 14px;
    object-fit: initial !important;
    transition: transform 0.4s;
}

.portfolio-gallery .portfolio-gallery-item:hover img,
.portfolio-gallery .portfolio-gallery-item:hover video {
    transform: scale(1.03);
}

/* برچسب نوع رسانه - بالای هر آیتم گالری */
.media-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

/* آیکون پخش وسط فیلم‌ها */
.media-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 900px) {
    .portfolio-gallery { column-count: 2; }
}
@media (max-width: 480px) {
    .portfolio-gallery { column-count: 1; }
}
/* ===========================================================
   تصاویر داخل متن مقاله + گالری دوتایی برای عکس‌های اضافه
   =========================================================== */

.article-inline-image {
    width: 100%;
    border-radius: 14px;
    margin: 22px 0;
    display: block;
}

.article-gallery-pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 26px 0;
}

.article-gallery-pair .article-inline-image {
    margin: 0;
    height: 220px;
    object-fit: cover;
}

@media (max-width: 640px) {
    .article-gallery-pair {
        grid-template-columns: 1fr;
    }
    .article-gallery-pair .article-inline-image {
        height: auto;
    }
}