/* =======================================
   VARIABLES & RESET
======================================= */
:root {
  --amber: #d97706;
}

:target {
  scroll-margin-top: 100px;
}

body {
  font-family: 'Newsreader', serif;
}

.font-serif {
  font-family: 'Ephesis', cursive;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  color: black;
}

/* =======================================
   HEADER & NAVIGATION
======================================= */
header {
  backdrop-filter: blur(12px);
  opacity: 0.9;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* =======================================
   GLOBAL UI ELEMENTS
======================================= */
.rounded-2xl {
  border-radius: 1rem !important;
}

.text-shadow-sm {
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  }

.shortdesc {
  min-height: 3.2em;
}

/* =======================================
   BACK TO TOP BUTTON
======================================= */
#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--amber);
  color: white;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 9999;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  background: #b96805;
}

/* =======================================
   HOME PAGE — HERO
======================================= */
.hero {
  height: 700px;
  position: relative;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* =======================================
   HOME PAGE — ICON CIRCLES
======================================= */
.circle-icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
}

/* =======================================
   HOME PAGE — IMAGES
======================================= */
.room-img {
  height: 256px;
  width: 100%;
  object-fit: cover;
}

.espace-img {
  height: 384px;
  width: 100%;
  object-fit: cover;
}

/* =======================================
   CHAMBRE PAGE — CAROUSEL
======================================= */
.carousel-item img {
  height: 490px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* =======================================
   CHAMBRE PAGE — THUMBNAILS
======================================= */
.thumb-img {
  height: 80px;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
  border-radius: .6rem;
}

.thumb-img.active {
  outline: 3px solid var(--amber);
}

/* =======================================
   CHAMBRE PAGE — INFOS
======================================= */
.equip-icon i {
  color: var(--amber);
  margin-right: 8px;
}

/* =======================================
   CHAMBRE PAGE — AUTRES CHAMBRES
======================================= */
.other-room-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: .5rem .5rem 0 0;
}
