/* ------------------------------------------------------------------
   Modern design refresh for Azran Hospitality (Blazor WASM site).
   Loaded after villoz.css so these rules take priority and give the
   template a fresher, more contemporary feel without touching the
   original template files.
   ------------------------------------------------------------------ */

:root {
  --azran-primary: #b48a5a;
  --azran-primary-dark: #96713f;
  --azran-dark: #14181f;
  --azran-radius: 14px;
  --azran-shadow: 0 12px 30px rgba(20, 24, 31, 0.12);
  --azran-shadow-hover: 0 18px 40px rgba(20, 24, 31, 0.2);
}

* {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Buttons */
.villoz-btn {
  border-radius: 50px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.villoz-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--azran-shadow-hover);
}

/* Header */
.main-header__bottom {
  backdrop-filter: saturate(180%) blur(6px);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.sticky-header--one-page.active {
  box-shadow: var(--azran-shadow);
}

/* Cards / hotel thumbnails / feature blocks get a softer, modern look */
.banner-three__thumb__left img,
.banner-three__thumb__right img,
.villoz-owl__carousel .item img {
  border-radius: var(--azran-radius);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.banner-three__thumb__left img:hover,
.banner-three__thumb__right img:hover {
  transform: scale(1.02);
  box-shadow: var(--azran-shadow-hover);
}

/* Footer */
.main-footer {
  position: relative;
}

.main-footer__bottom {
  backdrop-filter: blur(2px);
}

/* Newsletter form - modernized input/button pairing */
.footer-widget__form {
  display: flex;
  align-items: center;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--azran-shadow);
}

.footer-widget__form input {
  border: none;
  padding: 14px 20px;
  flex: 1;
}

.footer-widget__form button {
  background-color: var(--azran-primary);
  border: none;
  padding: 0 22px;
  color: #fff;
  transition: background-color 0.25s ease;
}

.footer-widget__form button:hover {
  background-color: var(--azran-primary-dark);
}

/* WhatsApp floating button - gentle motion for a modern touch */
.wtsapChat {
  transition: transform 0.25s ease;
}

.wtsapChat:hover {
  transform: scale(1.08);
}

/* Smoother section spacing on smaller screens */
@media (max-width: 767px) {
  section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* ------------------------------------------------------------------
   Initial-load splash screen.
   Lives inside #app in wwwroot/index.html, so Blazor automatically
   removes it the instant the first component renders - no JS needed.
   ------------------------------------------------------------------ */
#azran-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--azran-dark);
}

.azran-splash__inner {
  text-align: center;
  color: #fff;
}

.azran-splash__logo {
  width: 140px;
  margin-bottom: 24px;
  animation: azran-splash-pulse 1.8s ease-in-out infinite;
}

.azran-splash__spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--azran-primary);
  animation: azran-splash-spin 0.8s linear infinite;
}

.azran-splash__text {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
}

@keyframes azran-splash-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes azran-splash-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(0.96);
  }
}
