@font-face {
  font-family: "Brilon Regular";
  src: url("/fonts/Brilon-Regular.otf");
}

:root {
  --color-stone-50: #fafaf9;
  --color-stone-100: #f5f5f4;
  --color-stone-200: #e7e5e4;
  --color-stone-300: #d6d3d1;
  --color-stone-400: #a8a29e;
  --color-stone-500: #78716c;
  --color-stone-600: #57534e;
  --color-stone-700: #44403c;
  --color-stone-800: #292524;
  --color-stone-900: #1c1917;
  --color-accent: #8b7355;
  --color-accent-light: #a89279;
  --color-accent-dark: #6e5a42;
  --color-warm-bg: #faf8f5;
  --color-warm-bg-alt: #f3efe9;
}

/* ──────────────────────────────────────
   Typography
   ────────────────────────────────────── */

body {
  font-family: 'Lato', 'Montserrat', 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: var(--color-stone-800);
  background-color: var(--color-warm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.content {
  font-family: 'Lato', 'Open Sans', 'Noto Sans JP', sans-serif;
}

h1, h2, h3, .title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-stone-800);
}

.text-4xl, .text-5xl, .text-6xl {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 500;
}

/* ──────────────────────────────────────
   Logo
   ────────────────────────────────────── */

.h-14 {
  height: 5rem;
}

/* ──────────────────────────────────────
   Navigation
   ────────────────────────────────────── */

header nav {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-stone-200);
  padding: 1rem 2.5rem;
  transition: all 0.3s ease;
}

header nav a {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-stone-600) !important;
  transition: color 0.3s ease, border-color 0.3s ease;
  padding-bottom: 4px;
  border-bottom: 1.5px solid transparent;
}

header nav a:hover {
  color: var(--color-accent) !important;
  border-bottom-color: var(--color-accent);
  opacity: 1 !important;
}

header nav .flex.items-center a {
  border-bottom: none;
}

#overlay {
  background: var(--color-stone-900);
}

#overlay ul li a {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  border-bottom: none !important;
  color: white !important;
  transition: opacity 0.3s ease;
}

#overlay ul li a:hover {
  opacity: 0.7;
  color: white !important;
  border-bottom: none !important;
}

.mopen span {
  background: var(--color-stone-700);
  height: 1.5px;
  width: 28px;
  margin-left: -14px;
}

.mopen .top {
  transform: translateY(-9px);
}

.mopen .bottom {
  transform: translateY(9px);
}

/* ──────────────────────────────────────
   Hero Slider
   ────────────────────────────────────── */

.swiper-container {
  position: relative;
}

.swiper-wrapper img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.03);
}

.slide-wrap img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
}

.swiper-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.swiper-slide .s-fade-txt {
  z-index: 2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.swiper-slide .s-fade-txt h1 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 3rem;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 1.25rem !important;
  color: rgba(255, 255, 255, 0.8);
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
  width: 8px;
  height: 8px;
}

.swiper-pagination-bullet-active {
  background: white;
}

/* ──────────────────────────────────────
   Feature Strip
   ────────────────────────────────────── */

.bg-tlgray-200 {
  background-color: var(--color-warm-bg-alt) !important;
}

.bg-tlgray-200 .bg-white {
  background-color: white !important;
  border: 1px solid var(--color-stone-200);
  border-radius: 4px;
  transition: all 0.4s ease;
}

.bg-tlgray-200 .bg-white:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.1);
  border-color: var(--color-accent-light);
}

.bg-tlgray-200 .bg-white h2 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--color-stone-800);
  margin-top: 0.75rem;
}

.bg-tlgray-200 .bg-white p {
  color: var(--color-stone-500);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.bg-tlgray-200 .bg-white span[class*="fa-"],
.bg-tlgray-200 .bg-white span[class*="icon-"] {
  color: var(--color-accent);
}

/* ──────────────────────────────────────
   Section Headings
   ────────────────────────────────────── */

.section-heading {
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 1rem auto 0;
}

/* Homepage "Les chambres" heading */
.mx-auto.my-10.max-w-6xl > h2 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  color: var(--color-stone-800);
  margin-left: 0;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
}

.mx-auto.my-10.max-w-6xl > h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 1rem auto 0;
}

/* ──────────────────────────────────────
   Room Summary Cards
   ────────────────────────────────────── */

.sans.w-full {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-stone-200);
  transition: all 0.4s ease;
  background: white;
}

.sans.w-full:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.12) !important;
  border-color: var(--color-stone-300);
}

.sans.w-full img#thumb {
  transition: transform 0.6s ease;
}

.sans.w-full:hover img#thumb {
  transform: scale(1.03);
}

.sans.w-full .text-gray-900.font-bold {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--color-stone-800);
}

.sans.w-full .text-gray-700 {
  color: var(--color-stone-500);
  line-height: 1.7;
}

.sans.w-full .border-r.border-b.border-l,
.sans.w-full [class*="border-r"][class*="border-b"] {
  border-color: transparent !important;
}

/* ──────────────────────────────────────
   Page Titles
   ────────────────────────────────────── */

h1.title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
  font-size: 2.8rem;
  color: var(--color-stone-800);
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

h1.title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
  margin-top: 1rem;
}

/* Blog post title (bold variant) */
h1.title.font-bold {
  font-weight: 500;
}

/* ──────────────────────────────────────
   Content Prose Refinements
   ────────────────────────────────────── */

.content.prose {
  color: var(--color-stone-700);
}

.content.prose h2,
.content.prose h3,
.content.prose h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  color: var(--color-stone-800);
}

.content.prose a {
  color: var(--color-accent-dark);
  text-decoration-color: var(--color-accent-light);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.content.prose a:hover {
  color: var(--color-accent);
}

.content.prose blockquote {
  border-left-color: var(--color-accent-light);
  color: var(--color-stone-600);
  font-style: italic;
}

.content.prose img {
  border-radius: 4px;
}

/* ──────────────────────────────────────
   Blog Post Meta
   ────────────────────────────────────── */

section.mb-4.text-lg h4 {
  color: var(--color-stone-500);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
}

section.mb-4.text-lg h4 span[class*="icon-"],
section.mb-4.text-lg h4 span[class*="fa-"] {
  color: var(--color-accent);
}

/* ──────────────────────────────────────
   Prev/Next Navigation
   ────────────────────────────────────── */

aside#meta .border {
  border-color: var(--color-stone-300);
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.1rem;
}

aside#meta .border:hover {
  border-color: var(--color-accent);
  background-color: var(--color-warm-bg-alt);
}

/* ──────────────────────────────────────
   Footer
   ────────────────────────────────────── */

footer .bg-gray-800 {
  background-color: var(--color-stone-800) !important;
  padding: 3rem 2.5rem;
}

footer .bg-gray-800 .items-center.text-xl {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

footer .bg-gray-800 a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

footer .bg-gray-800 a:hover {
  color: white !important;
}

footer .copy {
  background-color: var(--color-stone-900) !important;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 1rem 2.5rem;
  color: var(--color-stone-400);
}

/* ──────────────────────────────────────
   Scroll-to-Top Button
   ────────────────────────────────────── */

.scroll-top {
  background-color: var(--color-stone-800);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  opacity: 0.7;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.scroll-top:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ──────────────────────────────────────
   Pagination
   ────────────────────────────────────── */

.page-link {
  border-color: var(--color-stone-200);
  color: var(--color-stone-600);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.page-link:hover {
  background-color: var(--color-warm-bg-alt);
  color: var(--color-accent);
}

.page-item.active .page-link {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

/* ──────────────────────────────────────
   Carousel (Page Carousels)
   ────────────────────────────────────── */

.carousel {
  border-radius: 6px;
  overflow: hidden;
}

.carousel ol li a {
  border-color: rgba(255, 255, 255, 0.8);
}

.carousel ol li.selected a {
  background: white;
}

/* ──────────────────────────────────────
   Forms
   ────────────────────────────────────── */

input[type='text'],
textarea {
  border: 1px solid var(--color-stone-300);
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.2s ease;
  background: white;
}

input[type='text']:focus,
textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

/* ──────────────────────────────────────
   Scrollbar
   ────────────────────────────────────── */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-stone-100);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-stone-400);
  border-radius: 8px;
  box-shadow: none;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-stone-500);
}

/* ──────────────────────────────────────
   Wrapper / Side-by-side Images
   ────────────────────────────────────── */

.wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1rem;
}

.wrapper > div:first-child {
  margin-right: 0;
}

.wrapper div {
  overflow: hidden;
  border-radius: 4px;
}

.wrapper img {
  display: block;
  height: auto;
}

/* ──────────────────────────────────────
   Smooth global transitions
   ────────────────────────────────────── */

a {
  transition: color 0.3s ease, opacity 0.3s ease;
}

img {
  transition: transform 0.5s ease;
}

/* ──────────────────────────────────────
   Responsive refinements
   ────────────────────────────────────── */

@media (max-width: 768px) {
  .swiper-wrapper img,
  .slide-wrap img {
    height: 40vh;
  }

  h1.title {
    font-size: 2.2rem;
  }

  .mx-auto.my-10.max-w-6xl > h2 {
    font-size: 2rem;
  }

  .swiper-slide .s-fade-txt h1 {
    font-size: 2rem;
  }

  header nav {
    padding: 0.75rem 1.5rem;
  }

  .h-14 {
    height: 4rem;
  }
}
