/* ═══════════════════════════════════════════
   S&M EVENT PLANNER — style.css
   Warm cream aesthetic — romantic, candlelit
   Rustic Glam · Whimsical Elegance · Modern Romance · Classic Chic
   Arabic font: Cairo
   ═══════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #FEFAF5;
  --white: #FFFFFF;
  --bronze: #AB7D44;
  --bronze-light: #C49A6C;
  --text-primary: #3B2A1A;
  --text-secondary: #6B5A4A;
  --text-muted: #9B8A7A;
  --border: rgba(171, 125, 68, 0.15);
  --border-strong: rgba(171, 125, 68, 0.3);
  --surface: rgba(171, 125, 68, 0.04);
  --radius: 14px;
  --ease-silk: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  background: var(--cream);
  color: var(--text-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 300;
  line-height: 1.7;
  background: var(--cream);
  overflow-x: hidden;
}

body.rtl {
  direction: rtl;
  font-family: "Cairo", "Traditional Arabic", "Tahoma", "Arial", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

/* ── LANGUAGE TOGGLE ─────────────────────── */
.lang-toggle {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 100;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--border-strong);
  color: var(--bronze);
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

body.rtl .lang-toggle {
  right: auto;
  left: 1.2rem;
}

.lang-toggle:hover {
  background: var(--white);
  color: var(--text-primary);
}

/* ── PRELOADER ──────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  background: var(--cream);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader--hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.preloader__logo {
  max-width: 130px;
  width: 32%;
  height: auto;
  opacity: 0.7;
  animation: preloaderBreath 2.2s ease-in-out infinite;
}

@keyframes preloaderBreath {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.04); }
}

.preloader__bar {
  width: clamp(180px, 32vw, 260px);
  height: 2.5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(171, 125, 68, 0.12);
}

.preloader__fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--bronze);
  transition: width 0.3s linear;
}

.preloader__text {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── HERO ───────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.hero-start {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-start__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.hero-start__glow {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 90px;
  background: radial-gradient(ellipse, rgba(171, 125, 68, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Bronze separator line — between video edge and the button */
.hero-start__sep {
  position: absolute;
  bottom: calc(18% + 3.2rem);
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: rgba(171, 125, 68, 0.55);
  z-index: 2;
}

.hero-start__btn {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0.85rem 3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(171, 125, 68, 0.55);
  color: rgba(171, 125, 68, 0.95);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  white-space: nowrap;
  border-radius: 2px;
}

.hero-start__btn:hover {
  background: rgba(171, 125, 68, 0.12);
  color: #fff;
  border-color: rgba(171, 125, 68, 0.9);
  box-shadow: 0 0 40px rgba(171, 125, 68, 0.2);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   SITE CONTENT
   ═══════════════════════════════════════════ */
.content {
  position: relative;
  z-index: 10;
  background: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem);
}

.section__heading {
  font-family: "Georgia", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--bronze);
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  opacity: 1;
  transform: translateY(0);
}

body.rtl .section__heading {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", serif;
  letter-spacing: 0;
}

/* ── ABOUT ──────────────────────────────── */
.about {
  max-width: 700px;
  margin: 0 auto clamp(6rem, 10vw, 9rem);
  text-align: center;
}

.about__text {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

body.rtl .about__text {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", sans-serif;
  line-height: 2.1;
}

.about__text strong {
  font-weight: 400;
  color: var(--bronze);
}

/* ── AESTHETICS ─────────────────────────── */
.aesthetics {
  max-width: 1000px;
  margin: 0 auto clamp(6rem, 10vw, 9rem);
  text-align: center;
}

.aesthetics__intro {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: -1.5rem auto 3rem;
  max-width: 50ch;
  opacity: 1;
  transform: translateY(0);
}

body.rtl .aesthetics__intro {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", sans-serif;
  letter-spacing: 0;
}

.aesthetics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.aesthetics__card {
  padding: clamp(1.8rem, 3vw, 2.5rem) clamp(1.3rem, 2vw, 2rem);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  text-align: left;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

body.rtl .aesthetics__card {
  text-align: right;
}

.aesthetics__card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-silk), transform 0.7s var(--ease-silk);
}

.aesthetics__card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.05);
}

.aesthetics__card h3 {
  font-family: "Georgia", serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--bronze);
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

body.rtl .aesthetics__card h3 {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", serif;
  letter-spacing: 0;
}

.aesthetics__card p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

body.rtl .aesthetics__card p {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", sans-serif;
  line-height: 2;
}

@media (max-width: 600px) {
  .aesthetics__grid {
    grid-template-columns: 1fr;
  }
}

/* ── SERVICES ───────────────────────────── */
.services {
  max-width: 1000px;
  margin: 0 auto clamp(6rem, 10vw, 9rem);
  text-align: center;
}

.services__intro {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: -1.5rem auto 3rem;
  max-width: 50ch;
}

body.rtl .services__intro {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", sans-serif;
  letter-spacing: 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.services__card {
  padding: clamp(1.8rem, 3vw, 2.5rem) clamp(1.2rem, 2vw, 1.8rem);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.services__card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-silk), transform 0.6s var(--ease-silk);
}

.services__card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.05);
}

.services__card h3 {
  font-family: "Georgia", serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--bronze);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

body.rtl .services__card h3 {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", serif;
  letter-spacing: 0;
}

.services__card p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

body.rtl .services__card p {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", sans-serif;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* ── PORTFOLIO ──────────────────────────── */
.portfolio {
  max-width: 900px;
  margin: 0 auto clamp(6rem, 10vw, 9rem);
  text-align: center;
}

.portfolio__placeholder {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── FAQ ────────────────────────────────── */
.faq-section {
  max-width: 700px;
  margin: 0 auto clamp(6rem, 10vw, 9rem);
}

.faq__item {
  border-bottom: 1px solid var(--border);
  padding: clamp(1rem, 2vw, 1.4rem) 0;
}

.faq__q {
  font-family: "Georgia", serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

body.rtl .faq__q {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", serif;
}

.faq__q:hover {
  color: var(--bronze);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

body.rtl .faq__a {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", sans-serif;
  line-height: 2;
}

.faq__item.open .faq__a {
  max-height: 300px;
  padding-top: 0.6rem;
}

/* ── CONTACT (SOCIAL BUTTONS) ────────────── */
.contact {
  position: relative;
  max-width: 500px;
  margin: 0 auto clamp(6rem, 10vw, 9rem);
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}

/* Baby's breath subtle blurred background */
.contact::before {
  content: '';
  position: absolute;
  inset: -20px;
  z-index: -1;
  background-image: url('../assets/babys-breath.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(3px) brightness(1.03);
  opacity: 0.3;
  transform: scale(1.02);
}

.contact__text {
  position: relative;
  z-index: 1;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

body.rtl .contact__text {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", sans-serif;
}

.contact__socials {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 2.5rem);
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 0.7rem;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.social-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--border-strong);
}

/* ── TIKTOK POPUP ──────────────────────── */
.tiktok-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tiktok-popup--open {
  opacity: 1;
  pointer-events: auto;
}

.tiktok-popup__card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.5rem;
  text-align: center;
  max-width: 300px;
  width: 90%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tiktok-popup__close {
  position: absolute;
  top: 0.5rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

body.rtl .tiktok-popup__close {
  right: auto;
  left: 0.8rem;
}

.tiktok-popup__card p {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

body.rtl .tiktok-popup__card p {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", sans-serif;
}

.tiktok-popup__link {
  display: block;
  padding: 0.7rem 1rem;
  margin-bottom: 0.6rem;
  border-radius: 6px;
  background: var(--surface);
  color: var(--bronze);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.tiktok-popup__link:hover {
  background: var(--border);
  color: var(--text-primary);
}

/* ── BALLOON ────────────────────────────── */
.balloon {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  will-change: transform, opacity;
  top: 0;
  left: 50%;
  width: clamp(140px, 20vw, 280px);
  height: auto;
  opacity: 0;
  display: none;
}

/* ── FOOTER ─────────────────────────────── */
.footer {
  text-align: center;
  padding: 3rem 1rem;
  border-top: 1px solid var(--border);
}

.footer p {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

body.rtl .footer p {
  font-family: "Cairo", "Traditional Arabic", "Tahoma", sans-serif;
}

.footer__sep {
  color: var(--text-muted);
  opacity: 0.4;
  margin: 0 0.4rem;
}

.vypera-link {
  color: var(--bronze);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.vypera-link:hover {
  color: var(--bronze-light);
  text-decoration: underline;
}
