/* Hero Section & Home Page Specific Styling */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.08), transparent 50%),
              radial-gradient(circle at bottom left, rgba(255, 215, 0, 0.08), transparent 50%),
              var(--bg-primary);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Royal Frame Container (إطار ملكي فاخر) */
.royal-frame-wrapper {
  margin-bottom: 2rem;
  display: inline-block;
  max-width: 100%;
}

.royal-frame {
  position: relative;
  padding: 1.5rem 2.2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 215, 0, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Corner Ornaments */
.royal-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-top: 3px solid var(--color-gold);
  border-right: 3px solid var(--color-gold);
  border-top-right-radius: 6px;
}

.royal-frame::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid var(--color-gold);
  border-left: 3px solid var(--color-gold);
  border-bottom-left-radius: 6px;
}

/* Animated Glowing Edge Line */
.royal-frame-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  animation: shineSweep 4s infinite linear;
}

/* Typewriter Text Styling */
.typewriter-box {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

.typewriter-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  min-height: 2.2rem;
  display: inline-block;
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1.6rem;
  background-color: var(--color-gold);
  margin-right: 4px;
  animation: blink 0.8s infinite;
  box-shadow: 0 0 10px var(--color-gold);
}

.hero-main-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.hero-main-title span {
  color: var(--color-gold);
  text-shadow: 0 0 20px var(--color-gold-glow);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.hero-img-wrapper img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-secondary);
  border: 1px solid var(--color-gold);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 3s infinite ease-in-out;
}

.hero-badge-float i {
  font-size: 1.8rem;
  color: var(--color-gold);
}

.hero-badge-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Ticker / Quick Services Marquee Bar */
.ticker-section {
  background: var(--bg-secondary);
  border-y: 1px solid var(--border-glass);
  padding: 1.2rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-tertiary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  white-space: nowrap;
}

.ticker-item i {
  color: var(--color-gold);
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(255, 215, 0, 0.1);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

.why-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.why-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Owner Section */
.owner-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.owner-grid {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 3.5rem;
  align-items: center;
}

.owner-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(0, 229, 255, 0.1));
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition-normal);
}

.owner-img-box:hover {
  transform: scale(1.02);
}

.owner-img-box img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.owner-badge {
  position: relative;
  margin-top: -38px;
  margin-inline-start: 15px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  z-index: 10;
}
