/*
Theme Name: Risala The Boutique
Theme URI: https://example.com/risala-the-boutique
Author: Codex
Description: Premium one-page WordPress theme for Risala The Boutique with social links and floating WhatsApp CTA.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: risala-the-boutique
*/

:root {
  --bg: #08111f;
  --bg-2: #12243a;
  --text: #fff8f0;
  --muted: rgba(255, 248, 240, 0.72);
  --gold: #e2bf73;
  --rose: #d9a0a0;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius: 30px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(226, 191, 115, 0.18), transparent 25%),
    radial-gradient(circle at 85% 20%, rgba(217, 160, 160, 0.12), transparent 26%),
    linear-gradient(145deg, var(--bg), var(--bg-2));
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  opacity: 0.25;
}

a { color: inherit; }

.wrap {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 22px 0 34px;
  position: relative;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)),
    rgba(6, 11, 21, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.18;
  pointer-events: none;
}

.hero::before {
  width: 360px;
  height: 360px;
  right: -140px;
  top: -150px;
  background: radial-gradient(circle, rgba(226, 191, 115, 0.95), transparent 68%);
}

.hero::after {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(217, 160, 160, 0.85), transparent 68%);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 22px 0;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(226, 191, 115, 0.24), rgba(217, 160, 160, 0.18));
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  animation: floaty 6s ease-in-out infinite;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  padding: 22px;
  position: relative;
  z-index: 1;
}

.story {
  padding: 14px 8px 6px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.story h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.lead {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.02rem;
}

.links {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.links-main {
  grid-template-columns: 1fr;
  justify-items: center;
  margin-top: 22px;
}

.link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 84px;
  padding: 16px 18px;
  border-radius: 22px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  animation: rise 6s ease-in-out infinite;
}

.link:nth-child(2) { animation-delay: 0.2s; }
.link:nth-child(3) { animation-delay: 0.4s; }
.link:nth-child(4) { animation-delay: 0.6s; }

.link-highlight {
  width: min(520px, 100%);
  min-height: 94px;
  border-color: rgba(226, 191, 115, 0.34);
  background: linear-gradient(135deg, rgba(226, 191, 115, 0.18), rgba(255,255,255,0.08));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.link:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 191, 115, 0.5);
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.link strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.link span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.badge {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(226, 191, 115, 0.12);
  border: 1px solid rgba(226, 191, 115, 0.16);
  animation: floaty 5.5s ease-in-out infinite;
}

.badge svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.right {
  display: grid;
  gap: 12px;
  align-content: start;
}

.profile {
  padding: 22px;
}

.profile-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.profile-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.profile-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.info-grid {
  display: grid;
  gap: 12px;
}

.info {
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(8, 13, 24, 0.36);
  border: 1px solid rgba(255,255,255,0.1);
}

.label {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
}

.value,
.info a {
  color: var(--text);
  text-decoration: none;
  line-height: 1.6;
  word-break: break-word;
}

.info a:hover {
  text-decoration: underline;
}

.signature {
  padding: 14px 4px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,248,240,0.62);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.spark {
  position: absolute;
  inset: auto 40px 18px auto;
  color: rgba(226, 191, 115, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.35;
  pointer-events: none;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(145deg, #2dc85a, #1aa84b);
  box-shadow: 0 18px 36px rgba(26, 168, 75, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: floaty 5s ease-in-out infinite;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
}

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

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

@media (max-width: 920px) {
  .content { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; align-items: flex-start; }
  .pill { width: fit-content; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 14px, 1180px); padding-top: 10px; }
  .hero { border-radius: 24px; }
  .topbar { padding: 18px 16px 0; }
  .content { padding: 16px; }
  .links { grid-template-columns: 1fr; }
  .links-main { grid-template-columns: 1fr; }
  .story h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
}
