/* =========================================================
   mydoscher — Coming Soon · Premium Stylesheet
   ========================================================= */

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

:root {
  --gold:        #efa23d;
  --gold-light:  #f5c878;
  --gold-pale:   #fdf6ea;
  --ink:         #1a1714;
  --ink-soft:    #3d3830;
  --stone:       #7a7268;
  --stone-light: #b0a89e;
  --cream:       #faf8f4;
  --cream-warm:  #f5f1ea;
  --border:      rgba(26, 23, 20, 0.10);
  --border-gold: rgba(239, 162, 61, 0.30);

  --ff-latin:  'Cormorant Garamond', Georgia, serif;
  --ff-arabic: 'Cairo', 'Segoe UI', sans-serif;
  --ff-ui:     'Inter', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--ff-ui);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Background layers ─────────────────────────────────── */
.bg-radial {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(239,162,61,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 100%,  rgba(239,162,61,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 100%,  rgba(26,23,20,0.03)   0%, transparent 60%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ── Page layout ───────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 6vw, 4rem);
  gap: clamp(2.5rem, 5vh, 4rem);
  text-align: center;
}

/* ── Logo ──────────────────────────────────────────────── */
.logo-block {
  animation: fadeUp 1s var(--ease-out) both;
  animation-delay: 0.1s;
}

.logo-block a {
  display: inline-block;
  text-decoration: none;
}

.logo-img {
  height: clamp(32px, 5vw, 48px);
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.logo-block a:hover .logo-img {
  opacity: 0.75;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.8rem, 4vh, 2.8rem);
  animation: fadeUp 1s var(--ease-out) both;
  animation-delay: 0.25s;
}

.divider-line {
  width: clamp(40px, 10vw, 80px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold) 40%,
    var(--gold) 60%,
    transparent 100%
  );
  opacity: 0.6;
}

/* ── Bilingual heading ─────────────────────────────────── */
.heading-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.heading-ar {
  font-family: var(--ff-arabic);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.2;
}

.heading-sep {
  font-family: var(--ff-latin);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  user-select: none;
}

.heading-en {
  font-family: var(--ff-latin);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ink);
  line-height: 1.2;
  font-style: italic;
}

/* ── Subtext ───────────────────────────────────────────── */
.subtext-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 540px;
}

.sub-ar {
  font-family: var(--ff-arabic);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 400;
  color: var(--stone);
  letter-spacing: 0.01em;
  line-height: 1.8;
}

.sub-en {
  font-family: var(--ff-ui);
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  font-weight: 300;
  color: var(--stone-light);
  letter-spacing: 0.05em;
  line-height: 1.7;
}

/* ── Contact ───────────────────────────────────────────── */
.contact-block {
  animation: fadeUp 1s var(--ease-out) both;
  animation-delay: 0.4s;
}

.contact-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.8rem);
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-family: var(--ff-ui);
  font-size: clamp(0.78rem, 1.6vw, 0.875rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.1rem;
  border: 0.5px solid var(--border);
  border-radius: 50px;
  background: rgba(250, 248, 244, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    color       0.28s ease,
    border-color 0.28s ease,
    background  0.28s ease,
    transform   0.28s var(--ease-out);
}

.contact-item:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: rgba(253, 246, 234, 0.8);
  transform: translateY(-2px);
}

.contact-icon {
  display: flex;
  align-items: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-icon svg {
  display: block;
}

.contact-email {
  font-size: clamp(0.74rem, 1.5vw, 0.83rem);
  letter-spacing: 0.02em;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  animation: fadeUp 1s var(--ease-out) both;
  animation-delay: 0.55s;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-line--rights {
  font-family: var(--ff-ui);
  font-size: clamp(0.7rem, 1.4vw, 0.78rem);
  font-weight: 400;
  color: var(--stone-light);
  letter-spacing: 0.05em;
}

.footer-line--crafted {
  font-family: var(--ff-ui);
  font-size: clamp(0.65rem, 1.3vw, 0.73rem);
  font-weight: 300;
  color: rgba(122, 114, 104, 0.55);
  letter-spacing: 0.04em;
}

.footer-line--crafted [lang="ar"] {
  font-family: var(--ff-arabic);
  font-weight: 300;
}

.footer-dot {
  color: var(--gold);
  opacity: 0.5;
  font-size: 1em;
  user-select: none;
}

/* ── Animations ────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  .heading-block {
    flex-direction: column;
    gap: 0.4rem;
  }

  .heading-sep {
    display: none;
  }

  .contact-grid {
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
  }

  .contact-item {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .page-wrapper {
    padding: 2.5rem 1.2rem;
  }
}

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
