
/* =========================
   محافظ سراسری در برابر عریض شدن افقی صفحه
   (قبلاً overflow-x:hidden فقط روی #siteClip بود که فقط تو index.php
   وجود داره؛ صفحات دیگه مثل portfolio.php و articles.php هیچ محافظتی
   نداشتن. همچنین هیچ قانون max-width سراسری برای تصاویر نبود، پس هر
   عکس با سایز واقعی بزرگ می‌تونست کل صفحه رو پهن کنه.)
========================= */
html, body {
    max-width: 100%;
    overflow-x: clip;
    overflow-y: auto;
    overscroll-behavior-x: none;
}

img, video, iframe, svg, table {
    max-width: 100%;
    height: auto;
}

.glass-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.hero-bw-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
}

.glass-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.10);
}


/* =========================
   SCROLL PROGRESS BAR
========================= */

#scrollProgress {
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to left, var(--color-primary), var(--color-primary-light));
    z-index: 999999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(var(--color-primary-rgb), 0.6);
}

/* =========================
   RESET & BASE
========================= */
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
* {
    font-family: 'Shabnam', sans-serif !important;
}
 
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

#siteClip {
    overflow-x: clip;
    overflow-y: visible;
    width: 100%;
    max-width: 100vw;
}

/* =========================
   CUSTOM SCROLLBAR (برند سبز)
========================= */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) #eef4f1;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #eef4f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary));
    border-radius: 20px;
    border: 2px solid #eef4f1;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}
 
/* =========================
   HEADER
========================= */
 
#header {
    position: absolute;
    top: calc(20px + var(--rcd-banner-h, 0px));
    right: 4%;
    left: 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}
 
.logo-container img {
    height: 70px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.6));
}
 
.header-left {
    display: flex;
    align-items: center;
    gap: 35px;
}
 
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}
 
nav a {
    color: white;
    text-decoration: none;
}
 
nav a:hover {
    opacity: .7;
}
 
nav ul li {
    position: relative;
    padding: 0 10px;
}
 
nav ul li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffffa8;
    font-size: 14px;
}
 
/* =========================
   HAMBURGER MENU
========================= */
 
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 99999;
    width: 30px;
    height: 22px;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    right: 0;
    left: 0;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1),
                opacity 0.25s ease,
                top 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}
 
/* =========================
   HERO
========================= */
 
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
 
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease, transform 1.2s ease;
}
 
.slide.active {
    opacity: 1;
    transform: scale(1);
}
 
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.45),
        rgba(0,0,0,.15)
    );
}
 
/* =========================
   SLIDER NAV
========================= */
 
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 20;
}
 
.nav-item {
    color: rgba(255,255,255,.6);
    cursor: pointer;
}
 
.nav-item.active {
    color: white;
    font-weight: bold;
}
 
/* =========================
   PROGRESS BAR
========================= */
 
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: #ffffff;
    z-index: 20;
    transition: width 0s;
}
 
/* =========================
   LOADER
========================= */
 
/* --- لودینگ اصلی --- */


 
/* =========================
   SERVICES
========================= */
 
#services {
    padding: 120px 8%;
    display: flex;
    justify-content: center;
    background: #fff;
}
 
.services-wrapper {
    max-width: 800px;
    width: 100%;
}
 
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
 
.section-title h2 {
    font-size: 34px;
    color: var(--color-primary);
}
 
.section-title p {
    color: #777;
    margin-top: 10px;
}
 
.services-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
 
.service-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    transform: translateX(-5px);
    background: rgba(var(--color-primary-rgb), 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(var(--color-primary-rgb), 0.08), inset 0 0 0 1px rgba(var(--color-primary-rgb), 0.15);
}

.service-item .num {
    font-size: 22px;
    color: var(--color-primary);
    font-weight: bold;
    min-width: 44px;
    transition: transform 0.3s ease;
}

.service-item:hover .num {
    transform: scale(1.15);
}

.service-item h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.service-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

@keyframes countPop {
    0%   { transform: scale(0.7); opacity: 0.3; }
    60%  { transform: scale(1.2); }
    100% { transform: scale(1);   opacity: 1; }
}

.num.counting {
    animation: countPop 0.5s ease forwards;
}
 
/* =========================
   ABOUT
========================= */
 
#about {
    padding: 100px 8%;
    background: #fff;
}
 
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
 
.about-text {
    flex: 1;
}
 
.about-text h2 {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 20px;
}
 
.about-text p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: 15px;
}

/* slide-in از راست برای متن */
.about-text {
    flex: 1;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text h2 {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* parallax عکس */
.about-image {
    flex: 1;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    will-change: transform;
}
 
/* =========================
   REVIEWS
========================= */
 

/* =========================
   REVIEWS — MODERN REDESIGN
========================= */

#reviews {
    padding: 80px 20px;
    background: #f5f5f3;
}

.reviews-wrapper {
    max-width: 680px;
    margin: auto;
}

/* اسلایدر */
.reviews-list {
    position: relative;
    min-height: 260px;
}

.review-item {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.review-item.active-slide {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.review-item.exit-slide {
    opacity: 0;
    transform: translateX(-40px);
}

/* هدر: ستاره + تاریخ */
.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars span {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #f5a623;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.review-date {
    font-size: 11px;
    color: #bbb;
    letter-spacing: 0.5px;
}

/* متن نقد */
.review-text {
    font-size: 15px;
    line-height: 2;
    color: #444;
    margin: 0;
    position: relative;
    padding-right: 20px;
}

.review-text::before {
    content: "❝";
    position: absolute;
    right: 0;
    top: -4px;
    font-size: 22px;
    color: rgba(var(--color-primary-rgb), 0.18);
    line-height: 1;
}

/* فوتر: آواتار + نام */
.review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.25);
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

/* dots */
.review-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 280px;
}

.review-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(var(--color-primary-rgb), 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.review-dot.active {
    background: var(--color-primary);
    width: 22px;
    border-radius: 3px;
    transform: none;
}

/* --- این بلاک @media به css/responsive.css منتقل شد (فاز ۴) --- */






 
/* =========================
   CONTACT
========================= */
 
#contact {
    padding: 100px 8%;
    background: linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.62)),
                url('images/hero/hero-3.jpg') center/cover no-repeat fixed;
    text-align: center;
    color: var(--color-primary);
}
 
#contact h2 {
    text-align: center;
}
 
.green-title {
    color: var(--color-primary);
    font-size: 28px;
    margin-bottom: 25px;
}
 
.contact-info p {
    font-size: 18px;
    margin: 10px 0;
    color: rgba(34, 34, 34, 0.85);
    line-height: 1.8;
}
 
.contact-info a {
    color: var(--color-primary);
    text-decoration: none;
}
 
.contact-social {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
 
.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgb(209, 125, 0);
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    transition: .3s;
    justify-content: center;
}
 
.contact-item:hover {
    transform: translateY(-4px);
}
 
.contact-item img {
    width: 40px;
    height: 40px;
    display: block;
}
 
/* =========================
   BACK TO TOP
========================= */
 
#backToTop {
    position: fixed;
    bottom: 90px;
    left: 60px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 9999;
}
 
#backToTop.show {
    opacity: 1;
    pointer-events: all;
}
 
#backToTop:hover {
    transform: translateY(-3px);
}
 
/* =========================
   SOCIAL FIXED
========================= */
 
.social-fixed {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
    padding: 1px;
    border-radius: 30px;
}
 
.social-fixed a {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}
 
.social-fixed a:hover {
    transform: translateX(-5px) scale(1.08);
}
 
.social-fixed img {
    width: 40px;
    height: 40px;
}
 
/* =========================
   WHATSAPP FIXED
========================= */
 
.whatsapp-fixed {
    position: fixed;
    left: 80px;
    bottom: 25px;
    z-index: 9999;
}
 
.whatsapp-fixed a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50px;
    text-decoration: none;
    color: rgb(1, 77, 5);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    transition: .3s ease;
}
 
.whatsapp-fixed a:hover {
    background: rgba(255,255,255,.18);
    transform: translateY(-3px);
}
 
.whatsapp-fixed img {
    width: 28px;
    height: 28px;
    display: block;
}
 
.whatsapp-fixed span {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
 
/* =========================
   RESERVE BUTTON
========================= */
 
.reserve-btn {
    position: absolute;
    top: 89%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 9999;
}
 
.reserve-btn.show {
    opacity: 1;
    visibility: visible;
}
 
.reserve-btn:hover {
    background: rgba(200, 200, 200, 0.30);
    border-color: rgba(255,255,255,0.55);
}
 
/* =========================
   RESERVE POPUP
========================= */
 
.reserve-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
 
.reserve-popup.show {
    display: flex;
}
 
.reserve-box {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 25px;
    border-radius: 16px;
    width: 300px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.4);
    animation: scaleIn 0.3s ease;
    color: #fff;
}
 
.reserve-box h3 {
    margin-bottom: 10px;
}
 
.reserve-box p {
    margin-bottom: 15px;
    font-size: 14px;
}
 
.reserve-box a {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background: rgba(255,255,255,0.35);
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    transition: .3s;
}
 
.reserve-box a:hover {
    background: rgba(255,255,255,0.5);
}
 
.close-popup {
    margin-top: 15px;
    padding: 10px;
    background: #5f5f5f;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    width: 100%;
    font-size: 14px;
    transition: .3s;
}
 
.close-popup:hover {
    background: #444;
}
 
@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
 
/* =========================
   SAMPLE POPUP (خدمات)
========================= */

.btn-sample {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 20px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.5);
    border-radius: 20px;
    font-size: 13px;
    color: var(--color-primary);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-sample:hover {
    background: var(--color-primary);
    color: #fff;
}

.sample-overlay {
    position: fixed;
    inset: 0;
    max-width: 100vw;
    overscroll-behavior: contain;
    background: rgba(0,0,0,0.85);
    z-index: 99998;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.sample-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.sample-box {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.sample-box img {
    max-width: 85vw;
    max-height: 82vh;
    border-radius: 12px;
    display: block;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transform: scale(0.88);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.sample-overlay.active .sample-box img {
    transform: scale(1);
    opacity: 1;
}

.sample-close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: background 0.2s;
    z-index: 10;
}

.sample-close:hover {
    background: rgba(0,0,0,0.85);
}

/* =========================
   FOOTER
========================= */
 
#footer {
    background: #111;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}
 
.footer-content img {
    height: 50px;
    margin-bottom: 15px;
    opacity: .9;
}
 
.footer-content p {
    font-size: 14px;
    color: #aaa;
}

/* لینک‌های منو در فوتر — شبیه فوتر، نه شبیه منوی هدر */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 4px;
    margin: 4px 0 18px;
    max-width: 640px;
    margin-inline: auto;
    margin-top: 4px;
    margin-bottom: 18px;
}

.footer-nav a {
    position: relative;
    color: #b9b9b9;
    font-size: 13px;
    text-decoration: none;
    padding: 4px 12px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-primary-light);
}

.footer-nav a:not(:last-child)::after {
    content: "";
    position: absolute;
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #4a4a4a;
}

/* --- این بلاک @media به css/responsive.css منتقل شد (فاز ۴) --- */

 
/* Portfolio styles are in portfolio.css */
 
/* =========================
   LIGHTBOX
========================= */
 
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 99999;
}
 
.lightbox.active {
    opacity: 1;
    pointer-events: all;
}
 
.lightbox-img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 10px;
    transform: scale(.9);
    transition: .3s;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
 
.lightbox.active .lightbox-img {
    transform: scale(1);
}
 
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}
 
.nav span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}
 
.prev { left: 20px; }
.next { right: 20px; }
 
/* =========================
   HERO TEXT
========================= */

.hero-text {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 10;
    opacity: 0;
}

.hero-text.show {
    opacity: 1;
    animation: heroIn 1s ease forwards;
}

.hero-text.hide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* باکس شیشه‌ای */
.hero-glass-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px 40px;
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-text .small {
    display: block;
    font-size: 14px;
    letter-spacing: 6px;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
}

.hero-text .big {
    display: block;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    min-height: 60px;
}

/* کرسر تایپ‌رایتر */
#typewriterText::after {
    content: "|";
    animation: blink 0.7s step-end infinite;
    margin-right: 3px;
    color: rgba(255,255,255,0.8);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* دکمه shimmer */
.hero-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 28px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.hero-cta::before {
    content: "";
    position: absolute;
    top: 0;
    right: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0%   { right: -100%; }
    100% { right: 150%; }
}

.hero-cta:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(-40px); }
    to   { opacity: 1; transform: translateY(0); }
}
 
/* =========================
   ABOUT HAMID PAGE
========================= */
 
.hamid-links {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
 
.hamid-links a {
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
    font-weight: 300;
    transition: 0.3s;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
}
 
.hamid-links a:hover {
    color: #d6d6d6;
}
 
.hamid-text-box {
    width: 100%;
    max-width: 650px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: 0.5s ease;
    line-height: 2;
    font-size: 18px;
    color: #222;
}
 
.hamid-text-box.active {
    max-height: 600px;
    opacity: 1;
}
 
.hidden-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.5s ease;
    color: white;
    font-size: 20px;
    line-height: 1.8;
    text-align: center;
    padding: 0 20px;
}
 
.hidden-text.active {
    max-height: 500px;
    opacity: 1;
}
 
.btn-black {
    display: inline-block;
    padding: 12px 26px;
    background: #000;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.7s;
}
 
.btn-black:hover {
    padding-left: 33px;
    padding-right: 33px;
    background: #111;
}
 
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
/* =========================
   PORTFOLIO GRAYSCALE (DESKTOP)
========================= */
 
/* --- این بلاک @media به css/responsive.css منتقل شد (فاز ۴) --- */

 
/* =========================
   RESPONSIVE — MOBILE
========================= */
 
/* --- این بلاک @media به css/responsive.css منتقل شد (فاز ۴) --- */

 
/* --- این بلاک @media به css/responsive.css منتقل شد (فاز ۴) --- */

 



/* =========================
   CUSTOM CURSOR
========================= */

/* --- این بلاک @media به css/responsive.css منتقل شد (فاز ۴) --- */


/* =========================
   STATS SECTION
========================= */

#stats {
    padding: 70px 8%;
    background: var(--color-primary);
    display: flex;
    justify-content: center;
}

.stats-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 900px;
    width: 100%;
}

.stat-item {
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-num {
    font-size: 48px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 6px;
    display: block;
}

/* --- این بلاک @media به css/responsive.css منتقل شد (فاز ۴) --- */











.navigate-btn {
  display: block;
  margin: 18px auto 26px;
  width: 150px;
  text-align: center;
  padding: 11px 0;
  background: var(--color-primary); /* رنگ توپر برند — روی هر زمینه‌ای (روشن/تیره) خوانا می‌مونه */
  border: 1px solid var(--color-primary-light);
  color: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(var(--color-primary-rgb), 0.35);
  transition: 0.3s ease;
}

.navigate-btn:hover {
  background: var(--color-primary-light);
  box-shadow: 0 8px 22px rgba(var(--color-primary-rgb), 0.45);
  transform: translateY(-2px);
}







/* =========================
   FAQ SECTION
========================= */

#faq {
    padding: 90px 8%;
    background: #fff;
}

.faq-wrapper {
    max-width: 750px;
    margin: auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    overflow: hidden;
    background: #fafafa;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item.open {
    border-color: rgba(var(--color-primary-rgb), 0.2);
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.07);
    background: #fff;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right;
    font-family: 'Shabnam', sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.2s ease;
}

.faq-item.open .faq-q {
    color: var(--color-primary);
}



.faq-a {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.35s ease;
}

.faq-a p {
    padding: 0 22px 20px;
    font-size: 14px;
    color: #555;
    line-height: 2;
    margin: 0;
}

/* --- این بلاک @media به css/responsive.css منتقل شد (فاز ۴) --- */




.faq-icon {
    background: #f3f0ff;  /* رنگ پس‌زمینه آیکون */
}

.faq-icon svg {
    stroke: var(--color-primary);  /* رنگ + */
}

.faq-item.open .faq-icon {
    background: #0aab80;  /* رنگ پس‌زمینه وقتی بازه */
}

/* =========================
   SHIMMER — پکیج طلایی
========================= */
.shimmer-gold-text {
    background: linear-gradient(
        100deg,
        #9c700a 30%,
        #b8860b 40%,
        #f7e2a0 50%,
        #b8860b 60%,
        #9c700a 70%
    );
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: goldShimmer 3.2s linear infinite;
}

@keyframes goldShimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -50% center; }
}

/* =========================
   WAVE DIVIDER
========================= */
.wave-divider {
    display: block;
    width: 100%;
    line-height: 0;
    margin-top: -1px;
    position: relative;
    z-index: 1;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.wave-divider path {
    fill: #f7f8f7;
}

.wave-divider-alt path {
    fill: #fff;
}

/* =========================
   TILT 3D — کارت‌های سرویس و پکیج
========================= */
.service-item,
.package-card {
    will-change: transform;
    transform-style: preserve-3d;
}

/* =========================
   SCROLL-SPY — منو
========================= */
nav#mainMenu ul li a.menu-active {
    color: var(--color-primary-light);
    font-weight: 700;
}

/* --- این بلاک @media به css/responsive.css منتقل شد (فاز ۴) --- */


/* =========================
   STICKY MINI-NAV — پکیج‌ها (موبایل)
========================= */
.package-sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(var(--color-primary-rgb), 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    z-index: 900;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.package-sticky-nav.show {
    transform: translateY(0);
}

.package-sticky-nav-icon {
    font-size: 14px;
}

/* --- این بلاک @media به css/responsive.css منتقل شد (فاز ۴) --- */

