/*
Theme Name: Soul Art
Theme URI: https://example.com/soul-art
Author: Soul Art
Description: قالب عربي هادئ لورش الفخار والفنون، متوافق مع محرر الموقع الكامل في ووردبريس ولا يحتاج إلى أي إضافة مدفوعة.
Version: 1.1.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: soul-art
*/

:root {
  --soul-green: #536b36;
  --soul-green-dark: #344323;
  --soul-cream: #fffbed;
  --soul-sand: #eee5ca;
  --soul-brown: #5a3f27;
  --soul-white: #fffef8;
  --soul-shadow: 0 22px 60px rgba(52, 67, 35, .12);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
a { text-underline-offset: .22em; }
.wp-site-blocks { padding: 0; }

.soul-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.soul-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 237, .92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(83,107,54,.12); }
.soul-header-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.soul-wordmark { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; font-weight: 700; color: var(--soul-green-dark); text-decoration: none; letter-spacing: -.03em; }
.soul-logo {
  display: block;
  flex: 0 0 auto;
  width: 94px;
  height: 72px;
  border-radius: 0 0 18px 18px;
  background: var(--soul-green) url('./assets/logo-header.png') center/contain no-repeat;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(52, 67, 35, .13);
}
.soul-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.soul-nav a { color: var(--soul-green-dark); text-decoration: none; font-size: 15px; }
.soul-nav a:hover { color: var(--soul-green); }
.soul-nav .soul-nav-cta { background: var(--soul-green); color: var(--soul-cream); padding: 11px 20px; border-radius: 999px; }

.soul-hero { position: relative; min-height: 720px; display: grid; align-items: center; background: var(--soul-cream); overflow: hidden; }
.soul-hero::before, .soul-hero::after { content: ''; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(83,107,54,.15); border-radius: 44% 56% 48% 52%; transform: rotate(25deg); }
.soul-hero::before { right: -140px; top: 60px; }
.soul-hero::after { left: -170px; bottom: -60px; width: 350px; height: 350px; }
.soul-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(42px, 7vw, 96px); align-items: center; padding-block: 78px; }
.soul-kicker { display: inline-flex; width: fit-content; color: var(--soul-green); border: 1px solid rgba(83,107,54,.25); border-radius: 999px; padding: 8px 15px; font-size: 14px; }
.soul-hero h1 { color: var(--soul-green-dark); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(48px, 7vw, 92px); line-height: .98; letter-spacing: -.055em; margin: 22px 0; }
.soul-hero h1 em { color: var(--soul-green); font-style: normal; }
.soul-lead { color: #665f50; font-size: clamp(18px, 2vw, 22px); line-height: 1.9; max-width: 620px; }
.soul-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.soul-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: .2s ease; }
.soul-button-primary { background: var(--soul-green); color: var(--soul-cream); box-shadow: 0 12px 28px rgba(83,107,54,.22); }
.soul-button-secondary { color: var(--soul-green-dark); border: 1px solid rgba(83,107,54,.3); }
.soul-button:hover { transform: translateY(-2px); }
.soul-brand-card { aspect-ratio: 1.46; border-radius: 48% 52% 46% 54% / 54% 42% 58% 46%; background: var(--soul-green) url('./assets/brand-card.png') center/cover no-repeat; box-shadow: var(--soul-shadow); transform: rotate(-2deg); }

.soul-section { padding-block: clamp(72px, 9vw, 120px); }
.soul-section-soft { background: #f3edda; }
.soul-section-green { background: var(--soul-green); color: var(--soul-cream); }
.soul-eyebrow { margin: 0 0 12px; color: var(--soul-green); font-weight: 700; font-size: 14px; letter-spacing: .05em; }
.soul-section-green .soul-eyebrow { color: #e9e7bd; }
.soul-title { color: var(--soul-green-dark); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(36px, 5vw, 60px); line-height: 1.14; letter-spacing: -.04em; margin: 0; }
.soul-section-green .soul-title { color: var(--soul-cream); }
.soul-intro { max-width: 690px; color: #6d6657; line-height: 1.9; font-size: 18px; margin-top: 18px; }
.soul-section-green .soul-intro { color: rgba(255,251,237,.78); }
.soul-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.soul-card { background: var(--soul-white); border: 1px solid rgba(83,107,54,.13); border-radius: 26px; padding: 30px; box-shadow: 0 12px 35px rgba(52,67,35,.06); }
.soul-card-number { display: grid; place-items: center; width: 46px; height: 46px; background: var(--soul-green); color: var(--soul-cream); border-radius: 50%; font-family: Georgia, serif; }
.soul-card h3 { color: var(--soul-green-dark); font-family: Georgia, serif; font-size: 25px; margin: 22px 0 10px; }
.soul-card p { color: #716a5b; line-height: 1.8; margin: 0; }
.soul-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 8vw, 100px); align-items: center; }
.soul-quote { background: var(--soul-cream); border-radius: 34px; padding: clamp(32px, 5vw, 58px); color: var(--soul-green-dark); font-family: Georgia, serif; font-size: clamp(27px, 3.4vw, 42px); line-height: 1.55; box-shadow: var(--soul-shadow); }
.soul-points { display: grid; gap: 18px; }
.soul-point { display: flex; gap: 15px; align-items: flex-start; }
.soul-point-mark { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #e9e7bd; color: var(--soul-green-dark); font-weight: 700; }
.soul-point strong { display: block; margin-bottom: 5px; }
.soul-point p { margin: 0; color: rgba(255,251,237,.74); line-height: 1.7; }
.soul-contact { text-align: center; }
.soul-contact .soul-intro { margin-inline: auto; }
.soul-contact .soul-actions { justify-content: center; }
.soul-footer { background: var(--soul-green-dark); color: rgba(255,251,237,.72); padding-block: 34px; }
.soul-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.soul-footer .soul-wordmark { color: var(--soul-cream); }
.soul-footer p { margin: 0; }

.soul-floating-actions {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}
.soul-float {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(34, 48, 25, .24);
  transition: transform .2s ease, opacity .25s ease, visibility .25s ease, box-shadow .2s ease;
}
.soul-float:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(34, 48, 25, .3); }
.soul-float:focus-visible { outline: 3px solid var(--soul-cream); outline-offset: 3px; }
.soul-float svg { display: block; width: 24px !important; height: 24px !important; max-width: 24px !important; max-height: 24px !important; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.soul-float-whatsapp { width: 58px; height: 58px; background: #25d366; }
.soul-float-whatsapp svg { width: 31px !important; height: 31px !important; max-width: 31px !important; max-height: 31px !important; fill: currentColor; stroke: none; }
.soul-float-phone { background: var(--soul-green); }
.soul-float-top { background: var(--soul-green-dark); opacity: 0; visibility: hidden; transform: translateY(12px); }
.soul-float-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.soul-float-top.is-visible:hover { transform: translateY(-3px); }
.soul-float-booking {
  width: auto;
  height: 48px;
  padding: 0 18px;
  gap: 8px;
  border-radius: 999px;
  background: var(--soul-brown);
  color: var(--soul-cream);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.soul-float-booking svg { width: 20px !important; height: 20px !important; max-width: 20px !important; max-height: 20px !important; }

.soul-booking-wrap { padding-block: clamp(60px, 8vw, 100px); }
.soul-booking-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(35px, 7vw, 90px); align-items: start; }
.soul-booking-copy { position: sticky; top: 120px; }
.soul-booking-copy .soul-intro { margin-bottom: 0; }
.soul-booking-form { background: var(--soul-white); border: 1px solid rgba(83,107,54,.14); border-radius: 30px; padding: clamp(25px, 4vw, 42px); box-shadow: var(--soul-shadow); }
.soul-booking-form label { display: block; margin-bottom: 9px; color: var(--soul-green-dark); font-weight: 700; }
.soul-field { margin-bottom: 22px; }
.soul-booking-form input, .soul-booking-form select, .soul-booking-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(83,107,54,.24);
  border-radius: 14px;
  background: #fffdf6;
  color: var(--soul-green-dark);
  padding: 12px 14px;
  font: inherit;
}
.soul-booking-form textarea { min-height: 105px; resize: vertical; }
.soul-booking-form input:focus, .soul-booking-form select:focus, .soul-booking-form textarea:focus { outline: 3px solid rgba(83,107,54,.14); border-color: var(--soul-green); }
.soul-booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.soul-booking-submit { width: 100%; border: 0; cursor: pointer; font: inherit; }
.soul-booking-note { color: #746d5d; font-size: 13px; line-height: 1.7; text-align: center; margin: 13px 0 0; }
.soul-booking-status { min-height: 24px; color: #9a3f32; font-size: 14px; margin-bottom: 8px; }

.soul-content { padding-block: 80px; }
.soul-content > * { max-width: 780px; margin-inline: auto; }

@media (max-width: 800px) {
  .soul-header-row { min-height: 70px; }
  .soul-nav a:not(.soul-nav-cta) { display: none; }
  .soul-logo { width: 78px; height: 62px; border-radius: 0 0 15px 15px; }
  .soul-hero { min-height: auto; }
  .soul-hero-grid, .soul-split { grid-template-columns: 1fr; }
  .soul-brand-card { order: -1; width: min(100%, 520px); margin-inline: auto; }
  .soul-grid-3 { grid-template-columns: 1fr; }
  .soul-booking-grid { grid-template-columns: 1fr; }
  .soul-booking-copy { position: static; }
  .soul-footer-row { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .soul-shell { width: min(100% - 28px, 1180px); }
  .soul-hero-grid { padding-block: 44px 64px; }
  .soul-card { padding: 24px; }
  .soul-floating-actions { right: 14px; bottom: 14px; gap: 9px; }
  .soul-float { width: 47px; height: 47px; }
  .soul-float-whatsapp { width: 54px; height: 54px; }
  .soul-float-booking { width: 47px; height: 47px; padding: 0; }
  .soul-float-booking span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .soul-booking-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .soul-float { transition: none; }
}
