/* ========== Reset & Variables ========== */
:root {
  --primary: #FB8C00;
  --secondary: #FFC107;
  --accent: #E65100;
  --bg-default: #23272F;
  --glass-bg: rgba(38,50,56,0.82);
  --card-bg: rgba(55,71,79,0.75);
  --card-glass: rgba(55,71,79,0.45);
  --text-light: #ECEFF1;
  --text-muted: #B0BEC5;
  --shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  --transition: 0.33s cubic-bezier(.4,0,.2,1);
  --radius: 22px;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal',sans-serif;
  background: linear-gradient(135deg,#23272F 0%,#263238 100%);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.7;
}

/* ========== Glassmorphism Helpers ========== */
.glass-header, .glass-card, .glass-footer {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.glass-card {
  border: 1.5px solid rgba(251,140,0,0.10);
  margin-bottom: 2.5rem;
  padding: 2.4rem 2rem 2.7rem;
}
@media (max-width: 800px) {
  .glass-card {padding: 1.2rem;}
}

/* ========== Header ========== */
.header {
  position: fixed;
  width: 100%;
  top: 0; left: 0;
  z-index: 1001;
  box-shadow: 0 2px 14px rgba(0,0,0,0.17);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.35rem 0;
}
.logo img { max-height: 82px; transition: transform 0.22s;}
.logo img:hover {transform: scale(1.07);}
.nav ul {
  display: flex; gap: 1.5rem;
  list-style: none; margin: 0;
}
.nav ul li a {
  color: var(--text-light); font-size: 1.08rem; font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: 14px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  display: flex; align-items: center; gap: 0.5rem;
  position: relative;
}
.nav ul li a::after {
  content: '';
  display: block;
  position: absolute; bottom: 4px; left: 50%; width: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--primary) 55%, var(--secondary));
  border-radius: 3px;
  transition: width 0.28s cubic-bezier(.4,0,.2,1);
  transform: translateX(-50%);
}
.nav ul li a:hover,
.nav ul li a.active {
  color: var(--primary);
  background: rgba(251,140,0,0.10);
  box-shadow: 0 2px 6px rgba(251,140,0,0.08);
}
.nav ul li a:hover::after,
.nav ul li a.active::after {
  width: 70%;
}
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--text-light); font-size: 1.8rem; cursor: pointer;
}
@media (max-width: 900px) {
  .nav ul {
    position: absolute;
    top: 100%; right: 10px;
    flex-direction: column;
    background: var(--glass-bg);
    width: 215px;
    transform: translateX(120%);
    border-radius: 0 0 14px 14px;
    box-shadow: var(--shadow);
    padding-bottom: 1.7rem;
    transition: transform var(--transition);
    z-index: 991;
  }
  .nav.open ul {transform: translateX(0);}
  .nav-toggle {display: block;}
}
@media (max-width: 600px) {
  .header-inner {flex-direction: row;}
  .logo img {max-height: 58px;}
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  justify-content: center;
  background: url('assets/799.jpg') center center/cover no-repeat fixed;
  position: relative;
  overflow: hidden;
}
.parallax-bg { background-attachment: fixed; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  background: rgba(0,0,0,0.57);
  border-radius: 2.5rem;
  padding: 3.5rem 2.4rem 3.3rem;
  box-shadow: 0 6px 38px 0 rgba(0,0,0,0.26);
  animation: fadeInDown 1s;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 3.7rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1.7px;
  text-shadow: 0 2px 18px #e6510027;
  margin-bottom: 1.25rem;
  animation: slideDown 1s;
}
.hero-content p {
  font-size: 1.27rem;
  color: #f3f3f3;
  margin-bottom: 2.2rem;
  text-shadow: 0 1px 14px #e6510031;
  animation: fadeIn 1.2s 0.2s both;
}
.hero-btn {
  background: linear-gradient(90deg,var(--primary),var(--accent));
  color: #fff;
  padding: 0.85rem 2.4rem;
  font-weight: 700;
  border-radius: 28px;
  font-size: 1.12rem;
  border: none;
  box-shadow: 0 4px 20px 0 #e6510028;
  letter-spacing: 1.2px;
  cursor: pointer;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.hero-btn:hover, .btn.glow:hover {
  box-shadow: 0 8px 36px 0 #fb8c0044, 0 0 16px 2px #ffc10761;
  transform: scale(1.045) translateY(-2px);
  background: linear-gradient(92deg, var(--accent), var(--primary));
}
.hero-glow {
  position: absolute;
  top: 30%;
  right: 7%;
  width: 280px;
  height: 240px;
  background: radial-gradient(circle, #fb8c0017 0%, #E6510000 100%);
  filter: blur(24px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

/* ========== Fade-in ========== */
.fade-in {opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s;}
.fade-in.show {opacity: 1; transform: translateY(0);}

/* ========== About Section ========== */
.about-wrapper {
  display: flex; align-items: center; gap: 2.8rem;
  flex-direction: row-reverse;
  box-shadow: 0 8px 36px rgba(38,50,56,0.09);
}
.about-image {
  flex: 1; text-align: center;
}
.about-image img {
  width: 96%; max-width: 300px; min-width: 140px;
  border-radius: 22px;
  box-shadow: 0 6px 36px 0 rgba(0,0,0,0.33);
  transition: transform .36s cubic-bezier(.39, .39, .16, 1.4), box-shadow .3s;
}
.about-image img:hover {
  transform: scale(1.038) rotate(-2.2deg);
  box-shadow: 0 10px 42px 0 rgba(251,140,0,0.16);
}
.about-content {
  flex: 2; text-align: right; position: relative;
}
.about-content h2 {
  font-size: 2.32rem;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 1.1rem;
  position: relative;
  display: inline-block;
  z-index: 1;
}
.about-content h2::after {
  content: '';
  width: 52px; height: 4px;
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  border-radius: 3px;
  position: absolute;
  bottom: -10px; left: 55%; transform: translateX(-50%);
}
.about-content p {
  color: var(--text-muted); font-size: 1.16rem; margin-bottom: 2.1rem; line-height: 1.62;
}
.about-list {list-style: none;}
.about-list li {
  display: flex; align-items: center;
  font-size: 1.06rem; color: var(--text-light);
  margin-bottom: 0.8rem;
  opacity: 0; transform: translateX(-24px);
  animation: fadeInRight 0.7s both;
}
.about-list li:nth-child(1) { animation-delay: 0.20s;}
.about-list li:nth-child(2) { animation-delay: 0.34s;}
.about-list li:nth-child(3) { animation-delay: 0.49s;}
.about-list li:nth-child(4) { animation-delay: 0.63s;}
.about-list li:nth-child(5) { animation-delay: 0.78s;}
.about-list li i {
  color: var(--primary);
  margin-left: 0.82rem;
  font-size: 1.22rem;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-24px);}
  to   { opacity: 1; transform: translateX(0);}
}
@media (max-width: 820px) {
  .about-wrapper { flex-direction: column;}
  .about-image { margin-bottom: 1.5rem;}
  .about-content { text-align: center;}
}

/* ========== Services Section ========== */
.services {padding: 4rem 0 2.3rem;}
.services h2 {
  text-align: center; font-size: 2.3rem;
  color: var(--primary); margin-bottom: 1.3rem; position: relative;
}
.services h2::after {
  content: ''; width: 54px; height: 4px;
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  border-radius: 3px;
}
.services-filters {
  text-align: center; margin-bottom: 2.2rem;
}
.filter-btn {
  background: rgba(251,140,0,0.07);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.6rem;
  margin: 0 0.6rem;
  border-radius: 33px;
  font-weight: 700; font-size: 1.06rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border var(--transition);
  position: relative;
  overflow: hidden;
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(94deg,var(--primary),var(--secondary) 85%);
  color: #fff;
  border-color: var(--secondary);
}
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 2.2rem;
  margin-top: 2.3rem;
}
.service-card {
  display: none;
  opacity: 0; transform: translateY(30px);
  background: var(--card-glass);
  border-radius: 14px;
  padding: 2.1rem 1.4rem 1.3rem;
  text-align: center;
  box-shadow: 0 6px 32px 0 rgba(38,50,56,0.15);
  transition: transform var(--transition), box-shadow var(--transition), background 0.4s;
  border: 1.2px solid rgba(251,140,0,0.11);
  position: relative;
}
.service-card.visible {
  display: block;
  animation: fadeInUp 0.5s var(--transition) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px);}
  to   { opacity: 1; transform: translateY(0);}
}
.service-card i {
  font-size: 2.18rem;
  color: var(--secondary);
  margin-bottom: 1.1rem;
  background: rgba(255,255,255,0.09);
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 2px 16px 0 rgba(251,140,0,0.11);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  animation: floatY 2.6s ease-in-out infinite alternate;
}
@keyframes floatY {from{transform:translateY(0);}to{transform:translateY(-7px);}}
.service-card:hover {
  background: rgba(55,71,79,0.79);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 48px 0 rgba(251,140,0,0.12);
}
.service-card h3 {font-size: 1.28rem; margin-bottom: 0.8rem; color: var(--text-light);}
.service-card p {font-size: 1.06rem; color: var(--text-muted); line-height: 1.55;}

/* ========== Booking Section ========== */
.booking {padding: 4rem 0;}
.booking h2 {
  text-align: center; font-size: 2.24rem; color: var(--primary);
  margin-bottom: 1.4rem; position: relative;
}
.booking h2::after {
  content: ''; width: 54px; height: 4px;
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  border-radius: 3px;
}
.booking-wrapper {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(330px,1fr));
  gap: 2.4rem;
}
.booking-card {
  background: var(--card-glass);
  border-radius: 14px;
  padding: 2.3rem 1.5rem 1.7rem;
  box-shadow: 0 6px 24px rgba(38,50,56,0.14);
  border: 1.2px solid rgba(251,140,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.booking-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 38px 0 rgba(251,140,0,0.11);
}
.booking-card h3 {font-size: 1.19rem; color: var(--primary); margin-bottom: 1.2rem;}
.booking-card input, .booking-card select, .booking-card textarea {
  width: 100%; padding: 0.85rem; margin-bottom: 1.07rem;
  border: 1.2px solid var(--primary); border-radius: 7px;
  background: rgba(38,50,56,0.19);
  color: var(--text-light);
  transition: border var(--transition), box-shadow var(--transition);
  font-size: 1.01rem;
}
.booking-card input:focus, .booking-card select:focus, .booking-card textarea:focus {
  border-color: var(--secondary); box-shadow: 0 0 12px 1px #ffc1073a;
}
.booking-card .btn {
  width: 100%;
  background: linear-gradient(91deg, var(--primary), var(--secondary) 89%);
  color: #fff; border: none; padding: 0.85rem;
  border-radius: 27px; font-weight: 700; cursor: pointer;
  font-size: 1.08rem; letter-spacing: 0.7px;
  transition: transform var(--transition), background var(--transition);
}
.booking-card .btn:hover {
  background: linear-gradient(94deg,var(--accent),var(--primary));
  transform: scale(1.025);
}

/* ========== Contact Section ========== */
.contact {padding: 4rem 0;}
.contact h2 {
  text-align: center; font-size: 2.18rem; color: var(--primary); margin-bottom: 1.3rem; position: relative;
}
.contact h2::after {
  content: ''; width: 54px; height: 4px;
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  border-radius: 3px;
}
.contact-form {
  max-width: 560px; margin: 0 auto; display: grid; gap: 1.1rem;
}
.contact-form input, .contact-form textarea {
  padding: 0.85rem; border: 1.2px solid var(--primary);
  border-radius: 7px; background: rgba(38,50,56,0.15);
  color: var(--text-light);
  transition: border var(--transition), box-shadow var(--transition);
  font-size: 1.03rem;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--secondary); box-shadow: 0 0 12px 1px #ffc1073a;
}
.contact-form .btn {
  justify-self: center;
  background: linear-gradient(91deg,var(--primary),var(--secondary) 92%);
  color: #fff; border: none; padding: 0.85rem 2.3rem;
  border-radius: 28px; font-weight: 700; cursor: pointer;
  font-size: 1.11rem;
  transition: transform var(--transition), background var(--transition);
}
.contact-form .btn:hover {
  background: linear-gradient(95deg,var(--accent),var(--primary));
  transform: scale(1.045);
}

/* ========== Footer ========== */
.footer {
  background: var(--glass-bg);
  color: #fff;
  padding: 2.1rem 0 1.4rem;
  text-align: center;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -6px 32px rgba(38,50,56,0.09);
  margin-top: 2.6rem;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.footer .social a {
  color: #fff;
  margin: 0 0.4rem;
  font-size: 1.6rem;
  transition: color .26s, transform .28s;
  border-radius: 50%; padding: 8px;
  background: rgba(251,140,0,0.06);
}
.footer .social a:hover {
  color: var(--secondary); background: rgba(251,140,0,0.16);
  transform: translateY(-2.5px) scale(1.11);
}

/* ========== Animations ========== */
@keyframes slideDown {
  from { transform: translateY(-44px); opacity: 0;}
  to   { transform: translateY(0); opacity: 1;}
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-32px);}
  to   { opacity: 1; transform: translateY(0);}
}
@keyframes fadeIn {
  from { opacity: 0;}
  to   { opacity: 1;}
}

/* ========== Responsive ========== */
@media (max-width: 820px) {
  .about-wrapper, .booking-wrapper, .services-cards {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-content {padding: 2rem 1.1rem;}
}
@media (max-width: 600px) {
  .container {width: 97%; max-width: 100vw;}
  .header-inner {padding: 0.15rem 0;}
  .glass-card {padding: 1.1rem 0.5rem;}
  .hero-content {padding: 1.1rem 0.8rem;}
  .about-content h2, .services h2, .booking h2, .contact h2 {font-size: 1.7rem;}
}

.clean-hero-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.1rem 2.5rem 2.1rem 2.5rem;  /* صغرت المسافة العلوية */
    border-radius: 40px;
    padding-top: 1.1rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(28,30,34,0.83) 88%, rgba(28,30,34,0.53) 100%);
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.13);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* حدد العرض الأدنى ليبقى مستطيلاً */
@media (min-width: 700px) {
  .clean-hero-content {
    min-height: 240px;
    min-width: 570px;
    padding: 2.7rem 2.8rem 2.2rem;
  }
}

.clean-hero-content h1 {
  font-size: 2.7rem;
  font-weight: 900;
  color: #fff;
  margin-top: 0.2rem;

  letter-spacing: 1.2px;
  margin-bottom: 1.05rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.22), 0 1px 0 #000;
  border-bottom: 2.5px solid #fb8c00;
  display: inline-block;
  padding-bottom: 7px;
}

.clean-hero-content .subtitle {
  font-size: 1.13rem;
  color: #f3f3f3;
  font-weight: 400;
  line-height: 2.1;
  margin-bottom: 1.65rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.hero-btn.small-btn {
  font-size: 1.08rem;
  padding: 0.67rem 1.5rem;
  border-radius: 1.8rem;
  margin-top: 0.2rem;
}

@media (max-width: 800px) {
  .clean-hero-content {
    max-width: 99vw;
    min-width: unset;
    border-radius: 22px;
    padding: 1.3rem 0.5rem 1.1rem;
  }
  .clean-hero-content h1 {font-size: 1.6rem;}
}

.consult-form {
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}
.consult-form input,
.consult-form textarea {
  padding: 0.85rem;
  border: 1.2px solid var(--primary);
  border-radius: 7px;
  background: rgba(38,50,56,0.15);
  color: var(--text-light);
  transition: border var(--transition), box-shadow var(--transition);
  font-size: 1.08rem;
}
.consult-form input:focus,
.consult-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 12px 1px #ffc1073a;
}
.consult-form .btn {
  justify-self: center;
  background: linear-gradient(91deg,var(--primary),var(--secondary) 92%);
  color: #fff;
  border: none;
  padding: 0.85rem 2.3rem;
  border-radius: 28px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.11rem;
  transition: transform var(--transition), background var(--transition);
}
.consult-form .btn:hover {
  background: linear-gradient(95deg,var(--accent),var(--primary));
  transform: scale(1.045);
}

.success-message {
  text-align: center;
  padding: 2.2rem 1rem;
  color: #fff;
  font-size: 1.18rem;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(55,71,79,0.65) 75%, rgba(251,140,0,0.08));
  margin-top: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.11);
  animation: fadeIn .7s;
}


/* تصميم السبينر */
.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
  margin-left: 10px; /* لضبط المسافة بين النص والسبينر */
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#splash-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg,#263238 55%,#fb8c0033 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s;
}
.splash-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.splash-logo {
  width: 110px; max-width: 44vw; margin-bottom: 1.7rem;
  filter: drop-shadow(0 2px 24px #fb8c002a);
}
.splash-spinner {
  width: 42px; height: 42px;
  border: 4.5px solid #fb8c0050;
  border-top: 4.5px solid #fb8c00;
  border-radius: 50%;
  animation: splash-spin 1s linear infinite;
  margin-bottom: 1.25rem;
}
@keyframes splash-spin {
  100% { transform: rotate(360deg);}
}
.splash-text {
  color: #fff;
  font-size: 1.14rem;
  letter-spacing: 1.2px;
  font-weight: 600;
  margin-top: 4px;
}
#splash-loader.loaded {
  opacity: 0;
  pointer-events: none;
}
