/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
@font-face {
  font-family: "IvoryLLWeb-Regular";
  src: url("../Fonts/IvoryLLWeb-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "PlaywriteCU";
  src: url("../Fonts/PlaywriteCU-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Sea";
  src: url("../Fonts/SEASRN__.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
:root {
  --default-font: "IvoryLLWeb-Regular", system-ui, sans-serif;
  --heading-font: "IvoryLLWeb-Regular";
  --heading-color: #ec8735;
  --accent-color: #4b89c3;
  --nav-color: #5c5c5c;
  --nav-hover-color: #151515;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #5c5c5c;
  --nav-dropdown-hover-color: #151515;
  --swiper-theme-color: #ffffff;

  --main-spacing: 1rem;
  font-size: 18px;
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Reset & Base Elements
--------------------------------------------------------------*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.11;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family: var(--default-font);
  line-height: 1.3;
  font-weight: 400;
}

body {
  color: #888888;
  background-color: #ffffff;
  font-family: var(--default-font);
  line-height: 1.3;
  word-break: break-word;
  overflow-x: hidden;
  font-size: 1rem;
}

main,
section {
  display: block;
  unicode-bidi: isolate;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 400;
  margin: 0;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: transparent;
  margin: 1rem 0;
}

h2 {
  font-size: 2rem;
  line-height: 1.1;
  padding: calc(var(--main-spacing) / 1.2) 0 calc(var(--main-spacing) / 4);
  color: #888888;
  color: rgba(225, 225, 225, 1);
  margin-bottom: 0;
  letter-spacing: 0;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.1;
  padding: calc(var(--main-spacing) / 2) 0 1rem;
  color: #888888;
}

ul {
  padding: 0;
}

p,
li,
b {
  font-family: var(--default-font);
  line-height: 1.1;
}

a {
  color: #888888;
  text-decoration: underline;
  transition: 0.3s;
}

a:hover {
  color: #151515;
}

.no-break {
  white-space: nowrap;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.button {
  padding: 6px 15px 6px;
  color: #f2f2e7;
  border: none;
  border-radius: 3px;
  border-radius: 50px;

  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background-color: #888888;
  background-color: #e1e1e1;
  color: #888888;
  text-decoration: none;
}

.hero .cta-btn {
  color: #ffffff;
  border: 2px solid #ffffff;
  background-color: transparent;
  font-size: 1rem;
  padding: 8px 30px;
  border-radius: 50px;
  position: relative;
  text-decoration: none;
}
.hero .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: white;
}

.button-container,
.button-container-menu {
  justify-content: flex-start;
  margin-left: 1rem;
  padding: calc(var(--main-spacing) / 0.91) 0 calc(var(--main-spacing) / 4);
}

.button-container-menu {
  justify-content: left;
  width: 100%;
}

.button-container3 {
  margin-right: auto;
  margin-left: auto;

  padding: calc(var(--main-spacing) / 0.91) 0 calc(var(--main-spacing) / 4);
  display: flex;
  width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.flex-column {
  flex-direction: column !important;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
  transition: transform 0.4s ease, padding 0.4s ease;
}

.header.hide {
  transform: translateY(-100%);
}

.header-padding {
  padding: calc(var(--main-spacing) / 1.5) 1rem calc(var(--main-spacing) / 2);
  background-color: rgba(225, 225, 225, 0.85);
  background-color: #ffffff;

  border-bottom: 0.06667rem solid #888888;
  backdrop-filter: blur(9px);
}

.nav-link {
  padding: 0;
}

.navbar {
  padding: 0;
}

.navbar-nav {
  padding: calc(var(--main-spacing) / 1.5) 0 calc(var(--main-spacing) / 2);
}

.logo {
  order: 1;
  margin-right: auto;
}
.logo img {
  max-width: 34px;
  height: auto;
}

.logo-about {
  max-width: 11svh;
  height: auto;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.1));
}

.text-about {
  margin: 0 0 24px 0;
}

.list-about {
  margin: 24px 0 24px 24px;
  max-width: 800px;
}

.list-about li {
  text-indent: -24px;
  padding-left: 24px;
  line-height: 1.34;
  margin-bottom: 0.7em;
  list-style-position: inside;
}

.card {
  position: relative;
  height: 100%;
  width: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-col {
  height: 100%;
}

.c-col-card {
  position: relative;
  color: inherit;
}

.c-col-card__main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-col-card__main {
  position: relative;
}

.c-col-card__main .c-col-card__fig {
  max-width: 40%;
  order: 2;
  margin-bottom: 0;
}

.c-col-card__fig img {
  position: relative;
  /*
    max-width: 274px;

    */
  width: 100%;
  max-height: 280px;
}

.c-col-card__fig {
  width: 100%;
  margin-bottom: 0;
  order: 2;
}

.c-col-card__fig,
.c-col-card img {
  width: 100%;
  height: auto;
}

.c-col-card__fig img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Optional: crop to fill container */
}

.c-col-card__content {
  padding: 1rem;
  padding-left: 0;
}

.c-col-card__main .c-col-card__content {
  flex: 1;
  text-align: left;
}

.c-col-card__main .c-col-card__content {
  flex: 1;
  text-align: left;
}

/*--------------------------------------------------------------
# Navbar Section
--------------------------------------------------------------*/

nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: #fff;
  transition: transform 0.3s ease;
  will-change: transform;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Hide / show */
nav.navbar.nav-hidden {
  transform: translateY(-100%);
}
nav.navbar.nav-visible {
  transform: translateY(0);
}

@media (min-width: 992px) {
  .navbar-nav {
    margin-left: 6rem;
  }

  .header-logo {
    margin-right: 8rem;
  }
}
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus,
.navbar-toggler {
  outline: none;
  box-shadow: none;
  border: none;
}

.nav-link {
  color: #767676;
}
/* 3. Mobile (collapsed) view enhancements */
@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    position: absolute;
    top: 100%; /* directly under the navbar bar */
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1050; /* above other content */
    padding: 0.2rem 1.3rem;
  }

  /* Separate items with a line except the last one */
  #navbarNav .nav-item:not(:last-child) {
    border-bottom: 2px solid rgba(0, 0, 0, 0.137);
  }

  /* Comfortable padding for touch targets */
  #navbarNav .nav-link {
    padding: 0.5rem 0.5rem;
    display: block;
  }

  /* Optional: full width links */
  #navbarNav .nav-link {
    width: 100%;
  }
}

/* Accessibility: visible focus outline */
.navbar-nav .nav-link:focus-visible {
  outline: 2px solid var(--nav-active-color);
  outline-offset: 2px;
}

/* Ensure the flex container distributes space nicely */
.navbar .d-flex {
  gap: 0.5rem;
}

/* On large screens, push the collapse (links) to the left so logo sits at right edge */
@media (min-width: 992px) {
  .navbar-collapse {
    margin-right: auto;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 0;
  display: flex;
}

.hero img,
.oreh-header .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero .container {
  z-index: 3;
  display: block;
  position: relative;
  width: auto;
  padding: 5rem 0 2rem 0;
}

.masthead-slide {
  position: relative;
  text-align: center !important;
  display: flex !important
;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.masthead-img {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

.masthead-img.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.7s ease;
  pointer-events: none;
}

.masthead-img {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.9s ease;
}

.video-container {
  transform: scale(1);
  transition: transform 0.8s ease;
}

.masthead-img.hidden .video-container {
  transform: scale(0.95); /* Or 0.8 for stronger zoom out */
  transition: transform 1.2s ease;
}

.masthead-content {
  position: relative;
  z-index: 5;
  padding: 24px;
  height: 100%;
  max-width: 100%;
  color: #ebebdd;
  position: relative;
  z-index: 7;
  display: flex;
  flex-direction: column;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  margin-bottom: 48px;
}

.masthead-title {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.masthead-title2 {
  margin-top: 51vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.magritte-title {
  font-family: "PlaywriteCU", sans-serif;

  font-size: clamp(1.2rem, 7vw, 4rem); /* Responsive size */
  line-height: 3;

  white-space: nowrap; /* Force one line */

  color: black;
  text-align: center;
  transition: color 1.5s ease-in-out;
}

.magritte-title.color-white {
  color: white !important;
}

.mt-6 {
  margin-top: 0 !important;
}

.masthead-details {
  text-shadow: none;
}

.o-max-700 {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  color: #ffff;
  font-size: 1.33rem;
  line-height: 1.25;
  min-height: calc(1.33rem * 2.5);
  font-weight: 400;
}

.typed-cursor {
  font-weight: 1.33rem;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.zoom {
  opacity: 0;
  transform: scale(0.99);
  animation: fadeZoomIn 0.9s ease-out forwards; /* <– duration and easing */
  animation-delay: 2.5s; /* <– delay before it starts */
}

@keyframes fadeZoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.space-landing {
  padding-top: 1rem;
}

.landing-text {
  font-family: "PlaywriteCU";
  font-weight: 400;
  font-size: 5vw;
  margin-top: 1vh;
  color: #151515;
}

.hero-fullscreen-image {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-fullscreen-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 54.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  z-index: 7;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lightbox hidden by default */
#lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(225, 225, 225, 0.85) 0%,
    rgba(225, 225, 225, 0.99) 80%
  );
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #888888;
  cursor: pointer;
}

.custom-lightbox {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(225, 225, 225, 0.85) 0%,
    rgba(225, 225, 225, 0.99) 80%
  );
  overflow: auto; /* permet scroll global si besoin */
}

.custom-lightbox-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 850px;
  max-height: 90vh; /* limite hauteur lightbox */
  text-align: center;
  display: flex;
  flex-direction: column;
}

.custom-close {
  position: absolute;
  top: 12px;
  right: 25px;
  font-size: 32px;
  font-weight: bold;
  color: #888888;
  cursor: pointer;
  user-select: none;
  z-index: 10;
}

/* Conteneur images scrollable */
.menu-images-container {
  margin-top: 0; /* laisser place à la croix */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Style images */
.menu-images-container img {
  max-width: 100%;
  height: auto;
  user-select: none;
}

.clickable-image {
  cursor: pointer;
  border: 2px solid rgba(225, 225, 225, 0.85);
  transition: filter 0.2s ease;
}

.clickable-image:hover {
  filter: brightness(97%);
  border: 0px solid rgba(225, 225, 225, 0.85);
}

#lightbox-video {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(225, 225, 225, 0) 30%,
    rgba(39, 39, 39, 0.85) 100%
  );

  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox-video .video-wrapper {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}

#lightbox-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#lightbox-video .close-video {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10000;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  padding: 2rem 1rem 0.8rem;
  background-color: rgba(225, 225, 225, 0.85);
}
.footer-container {
  max-width: 1140px;
  margin: auto;
  font-size: 0.8rem;
  color: #888888;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
}
.footer-secondary {
  display: flex;
  flex-wrap: wrap;
}
.footer-column {
  flex: 1;
  min-width: 160px;
  border-top: 0.06667rem solid #888888;
  padding-top: 0.5rem;
  gap: 1rem;
}
.footer-address address {
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 0.6rem !important;
}
.footer-menu,
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-menu li,
.footer-social li {
  padding: 0.15em 0;
  margin-bottom: 1em;
}
.footer-menu a,
.footer-social a,
.footer-link {
  text-decoration: none;
}
.footer-menu a:hover,
.footer-social a:hover,
.footer-link:hover {
  text-decoration: underline;
}
.footer-bottom {
  border-top: 0.06667rem solid #888888;
  padding-top: 0.5rem;
  justify-content: space-between;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.footer-bottom > * {
  grid-column: 2; /* Place all direct children in the 2fr column */
}

.footer-content {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 5rem;
  max-width: 5rem;

  height: auto;
  justify-content: space-between;
}

.column-social-logo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem; /* optional: spacing if not using full height */
  padding-bottom: 1rem;
}

/*--------------------------------------------------------------
# Utility & Layout
--------------------------------------------------------------*/
.home {
  padding: 1rem;
}
.wrapper,
.wrapper-txt {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-top: 0.06667rem solid #888888;
}
.wrapper {
  padding-top: 1rem;
}
.wrapper-h {
  padding-top: 0;
}
.wrapper-txt {
  padding: 0.5rem 0 0;
}
.wrap-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.space {
  padding-top: 2rem;
}
.small-space {
  padding-top: 1.4rem;
}
.space-laz {
  padding-top: 1rem;
}
.space-bar {
  border-top: 0.06667rem solid #888888;
  margin-top: 1rem;
  padding-bottom: 1rem;
}
.hide-space {
  padding-top: 0;
}
.bloc {
  padding-top: 51px;
}
.bottom-bloc {
  margin-top: 30px;
}
.contact-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 7px;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Style for each .icon */
.social-icons .icon {
  font-size: 1rem; /* icon size */
  color: #888888; /* default icon color */
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Hover effect: general (fallback) */
.social-icons .icon:hover {
  color: #000; /* fallback color if no platform match */
}

/*--------------------------------------------------------------
# Image Galleries
--------------------------------------------------------------*/
.image-gallery,
.image-gallery-portrait,
.image-gallery-A4 {
  display: flex;
  gap: 1rem;
  padding: 0 0.25rem;
}
.swiper-slide img {
  width: calc((100% - 2rem) / 3);
  height: 34svh;
  object-fit: cover;
}
.image-gallery-portrait img {
  height: 52svh;
}
.swiper-button-prev svg,
.swiper-button-next svg {
  display: block;
  height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
  margin-top: 0;
}
.image-gallery-A4 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* espace entre les images */
}

.swiper-button-next {
  right: 0;
}
.swiper-button-preview {
  left: 0;
}

.swiper-button-prev {
  left: 0px;
  right: auto;
}

.image-gallery-A4 img {
  flex: 0 0 calc((100% - 2rem) / 3);
  aspect-ratio: 1 / 1.414; /* A4 ratio portrait */
  object-fit: cover;
  height: auto;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--background-color);
  overflow: hidden;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#preloader::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border: 6px solid var(--accent-color);
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  animation: preloader-rotate 1.5s linear infinite;
}

@keyframes preloader-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Layout Containers & Wrappers
--------------------------------------------------------------*/
.wrapper,
.wrapper-txt {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-top: 0.06667rem solid #888888;
}

.wrapper {
  padding-top: 1rem;
}
.wrapper-h {
  padding-top: 0;
  border-top: 0.06667rem solid #888888;
}

.wrapper-txt {
  padding-top: 0.5rem;
  padding-bottom: 0;
}

.wrap-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-shrink: 0;
  width: auto;
}

.small-space {
  padding-top: 1.4rem;
}
.space {
  padding-top: 2rem;
}
.space-laz {
  padding-top: 1rem;
}

.space-bar {
  margin-top: 1rem;
  padding-bottom: 1rem;
  border-top: 0.06667rem solid #888888;
}

/*--------------------------------------------------------------
# Price List & Contact
--------------------------------------------------------------*/
.price-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.label {
  flex: 0 0 200px;
  max-width: 100%;
}

.price {
  flex: 1 1 auto;
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 7px;
  row-gap: 0;
  align-items: start;
}

/*--------------------------------------------------------------
# Image Galleries
--------------------------------------------------------------*/
.image-gallery,
.image-gallery-portrait,
.image-gallery-A4 {
  display: flex;
  gap: 1rem;
  padding: 0 0.25rem;
}

.image-gallery img,
.image-gallery-portrait img {
  width: calc((100% - 2rem) / 3);
  object-fit: cover;
}

.image-gallery img {
  height: 34svh;
}
.image-gallery-portrait img {
  height: 52svh;
}

.image-gallery-A4 {
  flex-wrap: wrap;
  justify-content: center;
}

.image-gallery-A4 img {
  flex: 0 0 calc((100% - 3rem) / 4);
  max-width: calc((100% - 3rem) / 4);
  height: auto;
  object-fit: cover;
}

/*--------------------------------------------------------------
# Swiper Slider
--------------------------------------------------------------*/

.swiper {
  position: relative;
  touch-action: pan-y;
}

.swiper-slide {
  height: 34.5svh;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: none;
  user-select: none;
  pointer-events: none;
}

/* Arrow buttons: centered vertically */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 30;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: none !important;
}

/* Inner circular arrow icon with shadow */
.swiper-button-prev .span1,
.swiper-button-next .span1 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(0 0 0 / 26%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0;
  pointer-events: none;
  user-select: none;
  position: relative;
  z-index: 2;
}

/*--------------------------------------------------------------
# Image Gallery (Centered)
--------------------------------------------------------------*/
.image-gallery-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.image-gallery-3 img {
  width: 100%;
  max-height: 14em;
  max-height: 14em;
  width: auto;
  height: auto;
  display: block;
}

/*--------------------------------------------------------------
# Home Layout Sections
--------------------------------------------------------------*/
.oreh-header {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.oreh-header .home {
  position: relative;
  z-index: 2;
  padding: 15rem 1rem 8rem;
  max-width: 1140px;
  margin: 0 auto;
  background: none;
}

.oreh-header .base,
.oreh-header .intro {
  background: none;
}

.intro .h1 {
  pointer-events: none;
}

.base {
  max-width: 1140px;
  margin: auto;
}

.base-landing {
  max-width: 1140px;
  margin: auto;
  height: 80vh;
}

main.home article.intro,
main.home article.intro2 {
  display: grid;
  max-width: 1140px;
  margin: auto;
  column-gap: 1rem;
}

main.home article.intro {
  grid-template-columns: 1fr 2fr;
}

main.home article.intro2 {
  grid-template-columns: 1fr;
}

.intro2_wrap {
  max-width: 88%;
  margin: 0 auto;
  padding: 0 5%;
}

.intro3 {
  text-align: center;
}

.intro3_wrap {
  width: 100%;
  max-width: none;
  display: block;
  padding: 0 1rem;
}

.text_wrap {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/*--------------------------------------------------------------
# Text Styling
--------------------------------------------------------------*/
.underline-b,
.underline-c {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  color: #606166;
}

.underline {
  text-decoration: underline;
}

.highlight {
  color: red;
}

/*--------------------------------------------------------------
# Colored Span Utilities
--------------------------------------------------------------*/
.span1,
.span1-footer,
.navmenu a.active .span-nav1 {
  color: #e78d3b;
}

.span2,
.span2-footer,
.navmenu a.active .span-nav2 {
  color: #a1124c;
}

.span3,
.span3-footer,
.navmenu a.active .span-nav3 {
  color: #3b9191;
}

.span4,
.span4-footer,
.navmenu a.active .span-nav4 {
  color: #3e87ec;
}

.span5,
.span5-footer,
.navmenu a.active .span-nav5 {
  color: #2d0d84;
}

.span6,
.span6-footer,
.navmenu a.active .span-nav6 {
  color: #888888;
}

.span-nav1,
.span-nav2,
.span-nav3,
.span-nav4,
.span-nav5,
.span-nav6 {
  color: #151515 !important;
}

.span1-footer {
  color: #151515 !important;
}

.span2-footer {
  color: #151515 !important;
}

.span3-footer {
  color: #151515 !important;
}

.span4-footer {
  color: #151515 !important;
}

.span5-footer {
  color: #ffffff !important;
}

.span6-footer {
  color: #ffffff !important;
}

.span8-footer {
  color: #888888 !important;
}

.swiper-button-next .span1,
.swiper-button-prev .span1,
.swiper-button-next .span2,
.swiper-button-prev .span2,
.swiper-button-next .span3,
.swiper-button-prev .span3,
.swiper-button-next .span4,
.swiper-button-prev .span4,
.swiper-button-next .span5,
.swiper-button-prev .span5,
.swiper-button-next .span6,
.swiper-button-prev .span6 {
  color: #e1e1e1;
}

.swiper-button-next:hover .span1,
.swiper-button-prev:hover .span1,
.swiper-button-next:hover .span2,
.swiper-button-prev:hover .span2,
.swiper-button-next:hover .span3,
.swiper-button-prev:hover .span3,
.swiper-button-next:hover .span4,
.swiper-button-prev:hover .span4,
.swiper-button-next:hover .span5,
.swiper-button-prev:hover .span5,
.swiper-button-next:hover .span6,
.swiper-button-prev:hover .span6 {
  color: #ffffff;
  opacity: 0.5;
}

/*--------------------------------------------------------------
# Button Colors
--------------------------------------------------------------*/
.button-span1 {
  background-color: #e78d3b;
}
.button-span2 {
  background-color: #a1124c;
}
.button-span3 {
  background-color: #3b9191;
}
.button-span4 {
  background-color: #207dff;
}
.button-span5 {
  background-color: #230084;
}
.button-span6 {
  background-color: #352d8d;
}

/*--------------------------------------------------------------
# Borders
--------------------------------------------------------------*/
.border-top-span1 {
  border-top: 0.06667rem solid #151515;
}
.border-top-span2 {
  border-top: 0.06667rem solid #ffffff;
}
.border-top-span3 {
  border-top: 0.06667rem solid #888888;
}
.border-top-span4 {
  border-top: 0.06667rem solid #888888;
}
.border-top-span5 {
  border-top: 0.06667rem solid #888888;
}
.border-top-span6 {
  border-top: 0.06667rem solid #888888;
}

/*--------------------------------------------------------------
# Footer Hover Effects
--------------------------------------------------------------*/
.span1-footer:hover,
.span2-footer:hover,
.span3-footer:hover,
.span4-footer:hover,
.span5-footer:hover,
.span6-footer:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Map & Utility Spacing
--------------------------------------------------------------*/
.map-frame {
  display: block;
  width: 50%;
  height: 400px;
  border: 0;
  margin: 0 auto;
}

.mb-5 {
  margin-bottom: 1rem !important;
}

@media (max-width: 1024px) {
  .home {
    padding-top: 0;
  }

  .swiper-slide {
    height: 25svh !important;
  }

  .swiper {
    height: 25svh;
  }

  .bloc {
    padding-top: 60px;
  }
}

@media (max-width: 800px) {
  .masthead-title h1 {
    font-size: 3.4rem;
  }

  h2 {
    letter-spacing: -0.01em;
  }

  /* ===== Base ===== */
  :root {
    font-size: 16px;
  }

  .base,
  .header,
  .header-padding {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .bottom-bloc {
    margin-top: 8px;
  }

  .navbar-brand {
    padding-top: calc(var(--main-spacing) / 1.5);
    padding-bottom: calc(var(--main-spacing) / 2);
  }

  .wrap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0 1rem;
    width: 100%;
  }

  /* ===== Intro Section ===== */
  .intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  main.home article.intro {
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
    gap: 0;
  }

  main.home article.intro2 {
    display: grid;
    max-width: 1140px;
    margin: auto;
    grid-template-columns: 1fr;
    row-gap: 0;
    column-gap: 1rem;
  }

  .intro2_wrap,
  .intro3_wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  /* ===== Logo & Nav Toggle ===== */
  .logo {
    order: 1;
    margin-right: auto;
    padding-right: 0;
  }

  .logo img {
    max-width: 34px;
    height: auto;
    display: block;
  }

  .mobile-nav-toggle {
    display: block;
    order: 2;
    font-size: 1.75rem;
    cursor: pointer;
    position: relative;
    z-index: 1000;
  }

  /* ===== Navigation Menu ===== */
  #navmenu {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    flex-direction: column;
    transition: 0.4s ease, padding 0.4s ease;
  }

  #navmenu.active {
    max-height: 500px;
    padding-top: 1rem;
    padding-bottom: 0;
  }

  .navmenu ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1rem;
    margin: 0;
    list-style: none;
    gap: 0;
  }

  .navmenu li {
    width: 100%;
  }

  .navmenu li a {
    display: inline-block;
    width: 100%;
    padding: 12px 0 9px;
    border-top: 0.06667rem solid #888888;
    text-decoration: none;
  }

  /* ===== Typography ===== */
  h1 {
    font-size: 4.3em;
  }

  h2 {
    margin: 0;
    padding: calc(var(--main-spacing) / 1.2) 0 calc(var(--main-spacing) / 4);
  }

  .underline-b {
    text-decoration: none !important;
  }

  .underline-c .span1 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2.5px;
    color: #e78d3b !important;
  }
  .underline-b,
  .underline-c .span2 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2.5px;
    color: #a1124c;
  }
  .underline-b,
  .underline-c .span3 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2.5px;
    color: #3b9191;
  }
  .underline-b,
  .underline-c .span4 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2.5px;
    color: #207dff;
  }
  .underline-b,
  .underline-c .span5 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2.5px;
    color: #230084;
  }

  .underline-b,
  .underline-c .span6 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2.5px;
    color: #888888;
  }

  /* ===== Utility & Layout ===== */
  .button-container-menu {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .wrapper {
    flex-direction: column;
    justify-content: flex-start;
  }

  .wrapper-h {
    min-width: 100%;
  }

  .space {
    padding-top: 1rem;
  }

  .small-space {
    padding-top: 0;
  }

  .hide-space {
    padding-top: 24px;
  }

  /* ===== Pricing Section ===== */
  .price-list {
    gap: 1rem;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .label,
  .price {
    flex: none;
    width: 100%;
  }

  /* ===== Image Gallery ===== */
  .image-gallery-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }

  .image-gallery-3 img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
  }

  .image-gallery-A4 img {
    flex: 1 1 100%;
    max-width: 50%;
  }
  .none2 {
    display: none;
  }

  .none {
    display: none;
  }

  /* ===== Map ===== */
  .map-frame {
    width: 100%;
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-secondary {
    flex-direction: column;
  }

  .footer-bottom {
    border-top: 0.06667rem solid #888888;
    padding-top: 0.5rem;
    justify-content: space-between;
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-bottom > * {
    grid-column: 2; /* Place all direct children in the 2fr column */
  }

  /*
     .footer-logo {
    align-self: center;
  }
  */

  .swiper-slide {
    height: 39svh !important;
  }

  .swiper {
    height: 39svh;
  }

  .site-footer {
    background: linear-gradient(
      to bottom,
      rgba(225, 225, 225, 0) 0%,
      rgba(225, 225, 225, 0.85) 80%
    );
  }
}

@media (max-width: 430px) {
  .footer-grid {
    gap: 0;
  }
  .image-gallery-A4 img {
    flex: 1 1 100%;
    max-width: 80%;
  }

  .swiper-slide {
    height: 52svh !important;
  }

  .swiper {
    height: 52svh;
  }

  .c-col-card__main {
    display: block;
  }

  .c-col-card__main .c-col-card__fig {
    max-width: 100%;
    order: 2;
    margin-bottom: 0;
  }

  .c-col-card__fig img {
    position: relative;
    /* max-width: 274px; */
    width: 100%;
    max-height: 300px;
  }

  .oreh-header .home {
    padding: 20vh 1rem 20vh;
  }
}

/* ===== Fix footer background persistence, especially on mobile ===== */
.site-footer {
  background: linear-gradient(
    to bottom,
    rgba(225, 225, 225, 0.95) 0%,
    rgba(225, 225, 225, 0.95) 100%
  ) !important;
}

@media (max-width: 800px) {
  .site-footer {
    background: #e1e1e1 !important; /* solid fallback so it doesn’t disappear */
  }
}

/* ===== Sliding nav indicator (only if .nav-indicator exists in markup) ===== */
.navbar-nav {
  position: relative;
}
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 111, 97, 0.15);
  border-radius: 6px;
  transition: width 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 0;
}
.navbar-nav .nav-link {
  position: relative; /* ensure links sit above indicator */
  z-index: 1;
}

.small-border {
  border-top: #00000020 1px solid;
  margin: 1.4rem auto;
  width: 77%;
}

@media (max-width: 1368px) {
  .small-border {
    width: 86%;
  }
}

/* Additional landing css */

#video-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid #ccc;
  border-top: 4px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 200;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#yt-frame {
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  height: 100%;
  border: none;
}

#yt-frame.visible {
  opacity: 1;
}
