/* ============================================
   CHIFAE AGENCY — Main Stylesheet
   ============================================ */

/* --- Variables --- */
:root {
  /* ألوان الثيم الفاتح */
  --black: #1a1a1a;         /* لون النص الرئيسي */
  --dark: #f4f4f6;          /* خلفية الأقسام البديلة */
  --dark-2: #ffffff;         /* خلفية الكاردات */
  --dark-3: #eeeeee;         /* خلفية الإدخالات */
  --white: #ffffff;
  --off-white: #f8f8fa;      /* خلفية الصفحة */
  --gray: #666666;
  --gray-light: #444444;

  /* ألوان اللوغو */
  --magenta: #C4007A;
  --magenta-light: #E0009A;
  --magenta-dark: #8E0058;
  --logo-green: #76C000;
  --logo-blue: #2B35CC;
  --logo-red: #D40000;
  --logo-gradient: linear-gradient(135deg, #76C000, #2B35CC, #D40000);

  /* alias */
  --gold: #C4007A;
  --gold-light: #E0009A;
  --gold-dark: #8E0058;
  --accent: #C4007A;
  --accent-rgb: 196, 0, 122;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 4px 24px rgba(196, 0, 122, 0.2);
  --transition: all 0.3s ease;
  --font-ar: 'IBM Plex Sans Arabic', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  background-color: var(--off-white);
  color: var(--black);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
  color: var(--black);
}

.section-title span {
  color: var(--gold);
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(196, 0, 122, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(196, 0, 122, 0.4));
}

.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.5px;
}

.nav-logo-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-light);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.nav-cta {
  background: var(--magenta) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 8px !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-ar);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8ED000, #3D47EE, #EE0000);
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(196, 0, 122, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid rgba(0, 0, 0, 0.22);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark-3);
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.09);
}

.btn-dark:hover {
  background: var(--dark-2);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

/* ============================================
   PAGE HERO (for inner pages)
   ============================================ */
.page-hero {
  min-height: 35vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  background: radial-gradient(ellipse at top, rgba(196, 0, 122, 0.08) 0%, transparent 70%);
  border-bottom: 1px solid rgba(196, 0, 122, 0.1);
  text-align: center;
}

.page-hero .container {
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-hero h1 span {
  color: var(--gold);
}

.page-hero p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
}

/* ============================================
   DIVIDER & TAG
   ============================================ */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--logo-gradient);
  border-radius: 2px;
  margin: 1rem auto;
}

.tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(196, 0, 122, 0.12);
  border: 1px solid rgba(196, 0, 122, 0.3);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

/* ============================================
   HERO SECTION (Home)
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(196, 0, 122, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(196, 0, 122, 0.04) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 0, 122, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 0, 122, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

.hero-text {
  order: 1;
}

.hero-text .tag {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.hero-title span {
  color: var(--gold);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
}

.hero-visual {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(196, 0, 122, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-logo-ring {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(196, 0, 122, 0.2);
  border-radius: 50%;
  animation: rotate-slow 20s linear infinite;
}

.hero-logo-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  right: 50%;
  transform: translateX(50%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-logo-img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(196, 0, 122, 0.3));
  animation: float 4s ease-in-out infinite;
}

.hero-floating-cards {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: var(--dark-2);
  border: 1px solid rgba(196, 0, 122, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow);
  animation: float 3s ease-in-out infinite;
}

.float-card:nth-child(1) {
  top: 5%;
  right: -10%;
  animation-delay: 0s;
}

.float-card:nth-child(2) {
  bottom: 15%;
  left: -15%;
  animation-delay: 1s;
}

.float-card:nth-child(3) {
  top: 50%;
  right: -20%;
  animation-delay: 2s;
}

.float-card-icon {
  width: 32px;
  height: 32px;
  background: rgba(196, 0, 122, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   SERVICES SECTION (Home Preview)
   ============================================ */
.services-preview {
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.service-card:hover .service-card-img img {
  transform: scale(1.07);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--logo-gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 0, 122, 0.25);
  box-shadow: var(--shadow-gold);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(196, 0, 122, 0.1);
  border: 1px solid rgba(196, 0, 122, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(196, 0, 122, 0.2);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   PORTFOLIO PREVIEW (Home)
   ============================================ */
.portfolio-preview {
  background: var(--off-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  cursor: pointer;
}

.portfolio-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
}

.portfolio-placeholder .ph-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

.portfolio-placeholder .ph-label {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-item-img {
  transform: scale(1.05);
}

.portfolio-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.portfolio-info .p-type {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

.portfolio-center {
  text-align: center;
}

/* ============================================
   BEST SELLERS (Home)
   ============================================ */
.best-sellers {
  background: var(--dark);
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.bs-card {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
}

.bs-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(196,0,122,0.2);
}

.bs-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.bs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.bs-card:hover .bs-img img {
  transform: scale(1.06);
}

.bs-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--logo-gradient);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}

.bs-badge-new {
  background: linear-gradient(135deg, #76C000, #2B35CC);
}

.bs-badge-offer {
  background: linear-gradient(135deg, #D40000, #C4007A);
}

.bs-body {
  padding: 1.25rem;
}

.bs-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.bs-body p {
  font-size: 0.83rem;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.bs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bs-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--magenta);
}

.bs-price span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
}

.bs-btn {
  background: var(--magenta);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-ar);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.bs-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .bestsellers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .bestsellers-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .bs-img { height: 130px; }
  .bs-body { padding: 0.75rem; }
  .bs-body h3 { font-size: 0.85rem; margin-bottom: 0.25rem; }
  .bs-body p { font-size: 0.75rem; margin-bottom: 0.6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bs-price { font-size: 0.95rem; }
  .bs-btn { font-size: 0.75rem; padding: 0.4rem 0.7rem; }
  .bs-badge { font-size: 0.65rem; padding: 0.2rem 0.5rem; }
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
  background: var(--dark);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(196, 0, 122, 0.2);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.why-card p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(196, 0, 122, 0.1) 0%, transparent 50%),
              var(--dark-2);
  border-top: 1px solid rgba(196, 0, 122, 0.15);
  border-bottom: 1px solid rgba(196, 0, 122, 0.15);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-section h2 span {
  color: var(--gold);
}

.cta-section p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white) !important;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-section {
  background: var(--off-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(196, 0, 122, 0.2);
  transform: translateY(-4px);
}

.review-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.review-text {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  background: rgba(196, 0, 122, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.review-role {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-page {
  background: var(--off-white);
}

.services-detailed {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-block.reverse {
  direction: ltr;
}

.service-block.reverse .service-block-text {
  direction: rtl;
  text-align: right;
}

.service-block-icon {
  font-size: 4rem;
  width: 90px;
  height: 90px;
  background: rgba(196, 0, 122, 0.1);
  border: 1px solid rgba(196, 0, 122, 0.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-block-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-block-text p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-item-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--gray-light);
  width: fit-content;
  transition: var(--transition);
}

.service-item-tag:hover {
  border-color: rgba(196, 0, 122, 0.3);
  color: var(--black);
}

.service-item-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-block-visual {
  background: var(--dark-2);
  border: 1px solid rgba(196, 0, 122, 0.1);
  border-radius: var(--radius-lg);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual-inner {
  text-align: center;
  padding: 2rem;
}

.service-visual-inner .big-icon {
  font-size: 6rem;
  opacity: 0.15;
  display: block;
  margin-bottom: 1rem;
}

.service-visual-inner p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portfolio-page {
  background: var(--off-white);
}

.filter-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  color: var(--gray);
  font-family: var(--font-ar);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--magenta);
  border-color: transparent;
  color: var(--black);
}

.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.port-item {
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.port-item:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 0, 122, 0.25);
  box-shadow: var(--shadow-gold);
}

.port-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.port-item:hover .port-img {
  transform: scale(1.03);
}

.port-body {
  padding: 1.25rem;
}

.port-category {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.port-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.port-desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-page {
  background: var(--off-white);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 0, 122, 0.25);
  box-shadow: var(--shadow-gold);
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.product-body {
  padding: 1.25rem;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
}

.product-price span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-text .tag {
  margin-bottom: 1.5rem;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.about-text h2 span {
  color: var(--gold);
}

.about-text p {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--dark-2);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.value-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.value-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.value-text p {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 0;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo-wrap {
  width: 280px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(196, 0, 122, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.about-logo-wrap img {
  width: 220px;
  filter: drop-shadow(0 0 20px rgba(196, 0, 122, 0.3));
}

.team-section {
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: rgba(196, 0, 122, 0.2);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: rgba(196, 0, 122, 0.1);
  border: 2px solid rgba(196, 0, 122, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.team-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info h2 span {
  color: var(--gold);
}

.contact-info > p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
  color: var(--black);
}

.contact-method:hover {
  border-color: rgba(196, 0, 122, 0.3);
  transform: translateX(-4px);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-method-icon.whatsapp { background: rgba(37, 211, 102, 0.15); }
.contact-method-icon.instagram { background: rgba(225, 48, 108, 0.15); }
.contact-method-icon.email { background: rgba(196, 0, 122, 0.15); }

.contact-method-label {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 0.15rem;
}

.contact-method-value {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============================================
   FORMS
   ============================================ */
.form-card {
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.form-card > p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-light);
}

.form-label span {
  color: var(--gold);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--dark-3);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: var(--radius);
  color: var(--black);
  font-family: var(--font-ar);
  font-size: 0.95rem;
  direction: rtl;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: rgba(196, 0, 122, 0.5);
  background: rgba(196, 0, 122, 0.03);
  box-shadow: 0 0 0 3px rgba(196, 0, 122, 0.08);
}

.form-control::placeholder {
  color: var(--gray);
}

.form-control:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-left: 2.5rem;
  appearance: none;
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 18px;
  padding-left: 2.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.file-upload {
  border: 2px dashed rgba(196, 0, 122, 0.25);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-upload:hover {
  border-color: rgba(196, 0, 122, 0.5);
  background: rgba(196, 0, 122, 0.03);
}

.file-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.file-upload-text {
  font-size: 0.88rem;
  color: var(--gray);
}

.file-upload-text span {
  color: var(--gold);
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1.05rem;
}

/* ============================================
   ORDER PAGE
   ============================================ */
.order-page {
  background: var(--off-white);
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.order-container {
  max-width: 700px;
  margin: 0 auto;
}

.order-header {
  text-align: center;
  margin-bottom: 3rem;
}

.order-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.order-header h1 span {
  color: var(--gold);
}

.order-header p {
  color: var(--gray);
}

/* ============================================
   SUCCESS TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark-2);
  border: 1px solid rgba(196, 0, 122, 0.4);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 9999;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  font-size: 1.3rem;
  color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(196, 0, 122, 0.3));
}

.footer-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-logo-name span {
  color: var(--gold);
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 250px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: var(--dark-2);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  color: var(--black);
}

.social-btn:hover {
  background: rgba(196, 0, 122, 0.15);
  border-color: rgba(196, 0, 122, 0.4);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--black);
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  color: var(--gray);
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer-col ul a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  color: var(--gray);
  font-size: 0.82rem;
}

.footer-copy span {
  color: var(--gold);
}

.back-to-top {
  width: 38px;
  height: 38px;
  background: rgba(196, 0, 122, 0.1);
  border: 1px solid rgba(196, 0, 122, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gold);
  font-size: 1rem;
}

.back-to-top:hover {
  background: var(--magenta);
  color: var(--white);
  border-color: transparent;
}

/* ============================================
   ANIMATIONS & SCROLL
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-desc {
    margin: 0 auto 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(196, 0, 122, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .portfolio-grid,
  .portfolio-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .service-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-block.reverse {
    direction: rtl;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-visual {
    order: -1;
  }

  /* Nav mobile improvements */
  .nav-links a {
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
  }
  .nav-links a:hover {
    background: rgba(196, 0, 122, 0.06);
    padding-right: 1.25rem;
  }
  .nav-links .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  /* Service block on tablet */
  .service-block-visual {
    min-height: 260px;
  }
  .service-block-visual img {
    max-height: 280px;
    object-fit: cover;
  }

  /* Shop grid 2 cols on tablet */
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Portfolio 2 cols */
  .port-item {
    break-inside: avoid;
  }
}

@media (max-width: 600px) {
  section {
    padding: 4rem 0;
  }

  .services-grid,
  .why-grid,
  .portfolio-grid,
  .portfolio-full-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-wrap {
    width: 220px;
    height: 220px;
  }

  .hero-logo-img {
    width: 180px;
    height: 180px;
  }

  .float-card {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 0.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding-top: 1.25rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  /* Typography mobile */
  .hero-title { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .service-block-text h2 { font-size: 1.5rem; }

  /* CTA */
  .cta-section h2 { font-size: 1.6rem; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 0.75rem; }
  .btn-lg { width: 100%; text-align: center; justify-content: center; }

  /* Portfolio filter */
  .filter-tabs { gap: 0.4rem; }
  .filter-btn { font-size: 0.8rem; padding: 0.5rem 0.9rem; }

  /* Shop */
  .shop-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.8rem !important; }
  .product-card .product-img { width: 100% !important; height: 160px !important; aspect-ratio: unset !important; }
  .product-card .product-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }

  /* Order steps */
  .order-steps { gap: 0; }
  .step { max-width: 70px; }
  .step-label { font-size: 0.65rem; }
  .step-circle { width: 34px; height: 34px; font-size: 0.85rem; }

  /* Contact methods */
  .contact-method { padding: 1rem; }
  .contact-method-value { font-size: 0.85rem; word-break: break-all; }

  /* About stats inline */
  .about-page [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Service visual image — remove fixed 300px */
  .service-visual-inner[style*="width:300px"] {
    width: 100% !important;
    height: 240px !important;
  }

  /* Shop banner */
  .shop-banner { flex-direction: column; text-align: center; }

  /* Page hero */
  .page-hero { padding: 5rem 0 3rem; }
  .page-hero p { font-size: 0.95rem; }

  /* Reviews */
  .review-card { padding: 1.5rem; }

  /* Navbar CTA */
  .nav-links .nav-cta { width: auto; }
}

@media (max-width: 600px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.8rem; }
  .container { padding: 0 1rem; }
  .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }
  .tag { font-size: 0.75rem; padding: 0.3rem 0.9rem; }
  .form-card { padding: 1.5rem 1rem; }
  .order-container { padding: 0; }
  .about-page [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .step-label { display: none; }
}
