/* ============================================================
   Art_v1 — Creative Gradient Portfolio
   قالب هنرمند/پورتفولیو با تم گرادینت مجنتا–بنفش
   اسکلت مرجع: BeautySalon_LX / Dentist_Pro
   ============================================================ */

:root {
    /* پالت قالب */
    --magenta: #e91e8c;
    --magenta-dark: #c01573;
    --magenta-light: #fdf2f8;
    --violet: #7c3aed;
    --violet-light: #ede9fe;
    --gradient: linear-gradient(135deg, #e91e8c, #7c3aed);
    --dark: #1a1a2e;
    --dark-soft: #2d2d44;
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #faf5ff;
    --border: #e5e7eb;
    --radius: 24px;
    --radius-sm: 14px;
    --shadow: 0 8px 30px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* پل رنگ برای ویجت نوبت‌دهی (booking.css از --dp-* می‌خواند) */
    --dp-brand: #e91e8c;
    --dp-brand-dark: #c01573;
    --dp-brand-soft: #fdf2f8;
    --dp-brand-mist: #faf5ff;
    --dp-gold: #7c3aed;
    --dp-text: #1a1a2e;
    --dp-muted: #6b7280;
    --dp-border: #e5e7eb;
}

/* ریست پوستهٔ کارت پایه */
.page-card-shell { border: none; background: transparent; padding: 0 !important; }

body, .art-root, .art-header, .art-footer, .art-fab-stack {
    font-family: Vazir, 'IRANYekan', Tahoma, sans-serif;
}

.art-root { background: var(--gray-light); color: var(--dark); line-height: 1.9; overflow-x: hidden; }
.art-root * { box-sizing: border-box; }
.art-root a { text-decoration: none; color: inherit; transition: var(--transition); }
.art-root ul { list-style: none; margin: 0; padding: 0; }

.art-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.art-grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== Header ===== */
.art-header {
    background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1001;
    transition: var(--transition);
}
.art-header.is-scrolled { box-shadow: var(--shadow); }
.art-header-inner { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.art-logo { font-size: 1.5rem; font-weight: 900; }
.art-nav { display: flex; gap: 26px; }
.art-nav a { font-size: 0.85rem; font-weight: 600; color: var(--gray); }
.art-nav a:hover { color: var(--magenta); }
.art-header-actions { display: flex; align-items: center; gap: 12px; }

/* منوی کشویی خدمات */
.art-dropdown { position: relative; }
.art-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.art-dropdown-toggle i { font-size: 0.62rem; }
.art-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.art-dropdown-menu {
    position: absolute; top: calc(100% + 12px); right: 0; min-width: 260px; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 1002;
}
.art-dropdown:hover .art-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.art-dropdown-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 0.85rem; color: var(--dark-soft); }
.art-dropdown-item:hover { background: var(--magenta-light); color: var(--magenta); }
.art-dropdown-item i { color: var(--magenta); width: 18px; flex-shrink: 0; }
.art-dropdown-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.art-nav-book {
    background: var(--gradient); color: var(--white); padding: 10px 22px; border-radius: 50px;
    font-weight: 700; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 8px;
    border: none; cursor: pointer; box-shadow: 0 6px 18px rgba(233,30,140,0.25);
}
.art-nav-book:hover { transform: translateY(-2px); color: var(--white); }
.art-hamburger { display: none; font-size: 1.4rem; cursor: pointer; color: var(--dark); background: none; border: none; }

/* ===== Mobile drawer ===== */
.art-mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1090; }
.art-mobile-overlay.active { display: block; }
.art-mobile {
    position: fixed; top: 0; right: -300px; width: 280px; height: 100%; background: var(--white);
    z-index: 1100; box-shadow: var(--shadow-lg); transition: right 0.3s ease; padding: 24px; overflow-y: auto;
}
.art-mobile.active { right: 0; }
.art-mobile-header { font-size: 1.3rem; font-weight: 900; margin-bottom: 22px; }
.art-mobile-links a { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; }
.art-mobile-links a i { color: var(--magenta); width: 20px; }

/* ===== Hero ===== */
.art-hero { padding: 80px 0 60px; background: linear-gradient(160deg, var(--magenta-light) 0%, var(--violet-light) 50%, var(--white) 100%); position: relative; overflow: hidden; }
.art-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(233,30,140,0.05) 0%, transparent 70%); border-radius: 50%; }
.art-hero-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.art-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--border); padding: 6px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; color: var(--magenta); margin-bottom: 16px; box-shadow: var(--shadow); }
.art-hero h1 { font-size: 2.8rem; font-weight: 900; line-height: 1.3; margin: 0 0 12px; }
.art-subtitle { font-size: 1.1rem; color: var(--violet); font-weight: 700; margin-bottom: 18px; }
.art-bio { color: var(--gray); line-height: 2.2; margin-bottom: 30px; max-width: 480px; }
.art-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.art-btn { padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; transition: var(--transition); }
.art-btn-grad { background: var(--gradient); color: var(--white); box-shadow: 0 6px 20px rgba(233,30,140,0.25); }
.art-btn-grad:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(233,30,140,0.35); color: var(--white); }
.art-btn-outline { background: var(--white); color: var(--dark); border: 2px solid var(--border); }
.art-btn-outline:hover { border-color: var(--magenta); color: var(--magenta); }

.art-hero-img-wrap { display: flex; justify-content: center; }
.art-hero-img-frame { width: 340px; height: 340px; border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid var(--white); animation: morphArt 8s ease-in-out infinite; }
.art-hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morphArt {
    0% { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
    33% { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; }
    66% { border-radius: 45% 55% 60% 40% / 60% 45% 55% 45%; }
    100% { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
}

/* ===== Section common ===== */
.art-section { padding: 80px 0; }
.art-section--alt { background: var(--white); }
.art-section-head { text-align: center; margin-bottom: 50px; }
.art-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 800; color: var(--magenta); letter-spacing: 1px; margin-bottom: 8px; }
.art-section-head h2 { font-size: 1.8rem; font-weight: 800; margin: 0; }
.art-section-head p { color: var(--gray); font-size: 0.9rem; margin-top: 8px; }
.art-grad-bar { width: 60px; height: 4px; background: var(--gradient); margin: 12px auto 0; border-radius: 2px; }

/* ===== Booking strip ===== */
.art-booking-section { padding: 0 0 20px; }
.art-booking-strip { max-width: 1200px; margin: -30px auto 0; padding: 0 20px; }
.art-booking-head { text-align: center; margin-bottom: 22px; }
.art-booking-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 14px; box-shadow: 0 8px 22px rgba(233,30,140,0.3); }
.art-booking-head h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 6px; }
.art-booking-head p { color: var(--gray); font-size: 0.9rem; margin: 0 0 12px; }
.art-booking-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.art-booking-perks span { font-size: 0.82rem; color: var(--dark-soft); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.art-booking-perks i { color: var(--magenta); }
.art-widget-shell { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; overflow: visible; }

/* ===== Services (repeatable) ===== */
.art-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.art-svc-card { background: var(--white); border-radius: var(--radius); padding: 35px 25px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent; }
.art-svc-card:hover { border-color: var(--magenta-light); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.art-svc-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--gradient); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 16px; }
.art-svc-card h4 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.art-svc-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.9; margin: 0; }

/* ===== Skills (repeatable chips) ===== */
.art-skills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.art-skill-tag { padding: 10px 22px; background: var(--white); border: 1px solid var(--border); border-radius: 50px; font-size: 0.82rem; font-weight: 700; color: var(--dark-soft); transition: var(--transition); }
.art-skill-tag:hover { border-color: var(--violet); color: var(--violet); background: var(--violet-light); transform: translateY(-2px); }

/* ===== About ===== */
.art-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.art-about-img-wrap { position: relative; }
.art-about-img-wrap img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.art-exp-badge { position: absolute; bottom: -20px; right: -10px; background: var(--gradient); color: #fff; border-radius: var(--radius-sm); padding: 16px 22px; text-align: center; box-shadow: var(--shadow-lg); }
.art-exp-badge .years { display: block; font-size: 1.8rem; font-weight: 900; line-height: 1; }
.art-exp-badge .text { font-size: 0.75rem; opacity: 0.9; }
.art-about-text h2 { font-size: 1.7rem; font-weight: 800; margin: 6px 0 16px; }
.art-about-text p { color: var(--gray); line-height: 2.4; text-align: justify; margin-bottom: 18px; }
.art-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.art-hl { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--border); transition: var(--transition); }
.art-hl:hover { border-color: var(--magenta); background: var(--magenta-light); }
.art-hl i { color: var(--magenta); flex-shrink: 0; }
.art-hl span { font-size: 0.82rem; font-weight: 600; }
.art-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.art-stat { text-align: center; }
.art-stat h4 { font-size: 1.7rem; font-weight: 900; margin: 0; }
.art-stat h4.art-grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.art-stat p { font-size: 0.8rem; color: var(--gray); margin: 4px 0 0; }

/* ===== Portfolio (repeatable gallery) ===== */
.art-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.art-gallery-item { border-radius: var(--radius-sm); overflow: hidden; height: 280px; box-shadow: var(--shadow); transition: var(--transition); position: relative; }
.art-gallery-item:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.art-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.art-gallery-item:hover img { transform: scale(1.1); }
.art-gallery-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; background: linear-gradient(to top, rgba(26,26,46,0.75), transparent 55%); opacity: 0; transition: var(--transition); }
.art-gallery-item:hover .art-gallery-overlay { opacity: 1; }
.art-gallery-overlay span { color: #fff; font-weight: 700; font-size: 0.9rem; }

/* ===== Testimonials (repeatable) ===== */
.art-test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.art-test-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border-right: 4px solid var(--magenta); }
.art-test-stars { color: #f59e0b; margin-bottom: 12px; font-size: 0.85rem; }
.art-test-text { color: var(--gray); font-size: 0.88rem; line-height: 2; margin: 0 0 12px; font-style: italic; }
.art-test-author { font-weight: 700; font-size: 0.85rem; color: var(--violet); }

/* ===== Contact ===== */
.art-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.art-info-card { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.art-info-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--magenta-light); color: var(--magenta); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.art-info-card h4 { font-size: 0.92rem; font-weight: 700; margin: 0 0 4px; }
.art-info-card p, .art-info-card a { font-size: 0.85rem; color: var(--gray); margin: 0; }
.art-info-card a:hover { color: var(--magenta); }
.art-map-wrap { max-width: 900px; margin: 26px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; }
.art-map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: none; display: block; }

/* ===== Footer ===== */
.art-footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 50px 0 0; }
.art-footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 20px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.art-footer-brand h3 { font-size: 1.4rem; font-weight: 900; color: #fff; margin: 0 0 12px; }
.art-footer-brand p { font-size: 0.85rem; line-height: 2; margin: 0 0 18px; }
.art-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.art-footer-links a { display: block; font-size: 0.85rem; padding: 6px 0; color: rgba(255,255,255,0.7); }
.art-footer-links a:hover { color: var(--magenta); }
.art-social-links { display: flex; gap: 12px; }
.art-social-links a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; transition: var(--transition); }
.art-social-links a:hover { background: var(--magenta); transform: translateY(-3px); }
.art-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 20px; text-align: center; font-size: 0.8rem; }

/* ===== FAB stack ===== */
.art-fab-stack { position: fixed; bottom: 24px; left: 24px; z-index: 1050; display: flex; flex-direction: column; gap: 12px; }
.art-fab { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-lg); transition: var(--transition); }
.art-fab:hover { transform: translateY(-3px); color: #fff; }
.art-fab-wa { background: #25D366; }
.art-fab-call { background: var(--violet); }
.art-fab-book { background: var(--gradient); }

/* ===== نمایش پست (page-services-widget از public.css مشترک می‌آید؛ فقط فاصله) ===== */
.art-section .page-services-widget { margin-top: 10px; }

/* ===== ویجت نوبت‌دهی — جلوگیری از تداخل ===== */
#bookingModal { z-index: 10050 !important; }
.modal-backdrop { z-index: 10040 !important; }
body .popover { z-index: 10060 !important; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .art-hero-flex { grid-template-columns: 1fr; text-align: center; }
    .art-bio { margin: 0 auto 30px; }
    .art-hero-btns { justify-content: center; }
    .art-hero-img-frame { width: 260px; height: 260px; margin: 0 auto; }
    .art-about-grid { grid-template-columns: 1fr; }
    .art-exp-badge { right: 16px; }
    .art-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .art-nav, .art-header-actions .art-nav-book { display: none; }
    .art-hamburger { display: block; }
    .art-section { padding: 56px 0; }
    .art-hero h1 { font-size: 2rem; }
    .art-highlights { grid-template-columns: 1fr; }
    .art-hero-img-frame { width: 220px; height: 220px; }
    .art-footer-grid { grid-template-columns: 1fr; }
}
