/* ============================================================
   VALENTINA PLATFORM TOP BAR V19
   Platform actions live in a dedicated row ABOVE the main menu.
   No overlap with navigation links or booking/contact buttons.
   ============================================================ */

/* Desktop / large screens: dedicated utility row above navigation. */
.vt-platform-topbar{
  width:100%;
  margin:0 0 12px;
  pointer-events:none;
}
.vt-platform-topbar-inner{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
.vt-platform-topbar-label{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  opacity:.92;
  pointer-events:auto;
}
.vt-platform-topbar-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold-2),var(--teal));
  box-shadow:0 0 0 5px rgba(23,201,192,.08);
}
.vt-platform-topbar-label>span:last-child{
  display:flex;
  align-items:baseline;
  gap:7px;
  white-space:nowrap;
}
.vt-platform-topbar-label b{
  font-size:11px;
  font-weight:850;
  direction:rtl;
}
.vt-platform-topbar-label small{
  font-size:7px;
  letter-spacing:.16em;
  color:rgba(255,255,255,.54);
}
.vt-platform-topbar-actions{
  display:flex;
  align-items:center;
  gap:8px;
  pointer-events:auto;
}
.vt-platform-topbar-btn{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:7px 13px;
  border-radius:999px;
  text-decoration:none!important;
  font-size:10.5px;
  font-weight:800;
  white-space:nowrap;
  direction:rtl;
  transition:transform .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.vt-platform-topbar-btn i{
  font-style:normal;
  font-size:13px;
  line-height:1;
}
.vt-platform-topbar-btn.is-register{
  color:#fff;
  border:1px solid rgba(23,201,192,.42);
  background:linear-gradient(135deg,rgba(11,95,168,.34),rgba(23,201,192,.22));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}
.vt-platform-topbar-btn.is-login{
  color:#fff;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(7,22,36,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.vt-platform-topbar-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.48);
  box-shadow:0 10px 24px rgba(0,0,0,.15);
}

/* Keep the main row completely independent from the platform row. */
@media (min-width:1261px){
  .site-header .nav-row{
    position:relative;
    z-index:2;
  }
  .site-header .header-actions{
    flex-wrap:nowrap!important;
  }
  .vt-platform-menu{display:none!important}
}

/* Tablet + mobile: platform buttons stay inside the independent drawer. */
.vt-mobile-platform-block{display:none}
@media (max-width:1260px){
  .vt-platform-topbar{display:none!important}
  .vt-platform-menu{display:none!important}
  .vt-mobile-platform-block{
    display:block;
    margin-top:22px;
    padding:16px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:20px;
    background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  }
  .vt-mobile-platform-head{display:flex;align-items:center;gap:10px;direction:rtl;margin-bottom:12px}
  .vt-mobile-platform-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,rgba(90,166,224,.22),rgba(23,201,192,.2));color:#fff;font-size:15px}
  .vt-mobile-platform-head div{display:flex;flex-direction:column;min-width:0;text-align:right}
  .vt-mobile-platform-head b{font-size:13px;color:#fff}
  .vt-mobile-platform-head small{margin-top:3px;font-size:8px;letter-spacing:.14em;color:#7893aa}
  .vt-mobile-platform-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .vt-mobile-platform-button{
    min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:8px;
    padding:11px 13px;border-radius:14px;text-decoration:none!important;font-size:12px;font-weight:800;
  }
  .vt-mobile-platform-button span{min-width:0;text-align:right;direction:rtl}
  .vt-mobile-platform-button i{font-style:normal;font-size:15px;flex:0 0 auto}
  .vt-mobile-platform-button.is-register{background:linear-gradient(135deg,#128fd1,#18c2bb);color:#fff;box-shadow:0 12px 28px rgba(18,143,209,.18)}
  .vt-mobile-platform-button.is-login{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.13);color:#fff}
}
@media (max-width:520px){
  .vt-mobile-platform-actions{grid-template-columns:1fr}
}

/* ============================================================
   VALENTINA HEADER POLISH V20
   - Remove flying balloons
   - Bring navigation closer to the logo
   - Add a soft flowing color-wave to the brand
   ============================================================ */

/* Remove the animated balloons from the public hero completely. */
.float-balloon,
.cms-hero-home .float-balloon,
.hero .float-balloon{
  display:none!important;
  animation:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Desktop: keep the logo, menu, and actions in one clean controlled row. */
@media (min-width:1261px){
  .site-header .nav-row{
    grid-template-columns:max-content minmax(0,1fr) max-content!important;
    column-gap:clamp(20px,2vw,38px)!important;
  }
  .site-header .brand{
    justify-self:start!important;
    margin:0!important;
  }
  .site-header .nav-links{
    justify-self:start!important;
    justify-content:flex-start!important;
    margin-inline-start:clamp(4px,.55vw,10px)!important;
    gap:clamp(15px,1.3vw,25px)!important;
  }
  .site-header .header-actions{
    justify-self:end!important;
  }
}

/* Flowing color wave across the logo icon. */
.site-header .brand-mark,
.vt-mobile-brand{
  position:relative;
}
.site-header .brand-mark img,
.vt-mobile-brand img{
  transform:translateZ(0);
  will-change:filter;
  animation:vtLogoColorWave 8s ease-in-out infinite;
}

/* Matching animated gradient across the VALENTINA wordmark. */
.site-header .brand-name b,
.site-header .brand-name span,
.vt-mobile-brand b,
.vt-mobile-brand small{
  background:linear-gradient(
    100deg,
    #ffffff 0%,
    #ffffff 18%,
    #67b8f2 32%,
    #20d5c9 47%,
    #ffffff 61%,
    #e9b66f 76%,
    #ffffff 100%
  );
  background-size:280% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent!important;
  animation:vtLogoTextWave 8s linear infinite;
}

@keyframes vtLogoColorWave{
  0%,100%{
    filter:brightness(1.08) sepia(.08) saturate(1.2) hue-rotate(0deg) drop-shadow(0 0 0 rgba(23,201,192,0));
  }
  25%{
    filter:brightness(1.14) sepia(.42) saturate(2.1) hue-rotate(145deg) drop-shadow(0 0 10px rgba(90,166,224,.22));
  }
  50%{
    filter:brightness(1.16) sepia(.38) saturate(2.25) hue-rotate(185deg) drop-shadow(0 0 12px rgba(23,201,192,.24));
  }
  75%{
    filter:brightness(1.12) sepia(.48) saturate(2.05) hue-rotate(330deg) drop-shadow(0 0 10px rgba(233,182,111,.18));
  }
}

@keyframes vtLogoTextWave{
  0%{background-position:0% 50%}
  100%{background-position:280% 50%}
}

/* Keep the mobile/tablet menu logic untouched; only animate its brand gently. */
@media (max-width:1260px){
  .vt-mobile-brand img{animation-duration:9s}
  .vt-mobile-brand b,
  .vt-mobile-brand small{animation-duration:9s}
}

/* Accessibility: stop decorative movement when the user requests reduced motion. */
@media (prefers-reduced-motion:reduce){
  .site-header .brand-mark img,
  .vt-mobile-brand img,
  .site-header .brand-name b,
  .site-header .brand-name span,
  .vt-mobile-brand b,
  .vt-mobile-brand small{
    animation:none!important;
  }
}

/* ============================================================
   VALENTINA HERO TITLE POLISH V21
   - Slightly smaller giant wordmark
   - Exact horizontal centering
   - Same animated color wave used by the logo
   ============================================================ */

.cms-hero-home .hero-inner{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}

.cms-hero-home .hero-en.hero-ghost,
.cms-hero-home .hero-ghost{
  display:block!important;
  width:fit-content!important;
  max-width:min(82vw,1100px)!important;
  margin-inline:auto!important;
  text-align:center!important;
  font-size:clamp(72px,8.4vw,150px)!important;
  line-height:.86!important;
  letter-spacing:-.045em!important;
  white-space:nowrap!important;
  opacity:1!important;
  color:transparent!important;
  background:linear-gradient(
    100deg,
    #ffffff 0%,
    #ffffff 18%,
    #67b8f2 32%,
    #20d5c9 47%,
    #ffffff 61%,
    #e9b66f 76%,
    #ffffff 100%
  )!important;
  background-size:280% 100%!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  animation:vtLogoTextWave 8s linear infinite!important;
  filter:drop-shadow(0 10px 28px rgba(0,0,0,.12));
}

@media (max-width:1260px){
  .cms-hero-home .hero-en.hero-ghost,
  .cms-hero-home .hero-ghost{
    max-width:90vw!important;
    font-size:clamp(62px,11vw,118px)!important;
    animation-duration:9s!important;
  }
}

@media (max-width:700px){
  .cms-hero-home .hero-en.hero-ghost,
  .cms-hero-home .hero-ghost{
    max-width:92vw!important;
    font-size:clamp(48px,14vw,82px)!important;
    letter-spacing:-.035em!important;
    line-height:.9!important;
  }
}

@media (max-width:430px){
  .cms-hero-home .hero-en.hero-ghost,
  .cms-hero-home .hero-ghost{
    font-size:clamp(42px,13.5vw,64px)!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .cms-hero-home .hero-en.hero-ghost,
  .cms-hero-home .hero-ghost{
    animation:none!important;
    background-position:48% 50%!important;
  }
}
