/*
Theme Name: horsessouira
Theme URI: https://horse-trekking-essaouira.com/wp-content/themes/horsessouira
Author: horsessouiraseraidi
Author URI: https://horse-trekking-essaouira.com/
Text Domain: horsessouira
*/
@import url("https://fonts.googleapis.com/css2?family=Allura&family=Koulen&family=Overlock:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Sacramento&family=Zeyada&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Allura&family=Koulen&family=Sacramento&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Allura&family=Koulen&family=Sacramento&family=Zeyada&display=swap");
* {
  list-style: none;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

html,
body {
  font-family: "Overlock", sans-serif;
  max-width: 100% !important;
  overflow-x: hidden !important;
  /* overflow-y: hidden !important; */
}
body {
  color: var(--cl-navy);
  font-size: 1rem;
}
body {
  -webkit-user-select: none; /* For Safari */
  -moz-user-select: none; /* For Firefox */
  -ms-user-select: none; /* For Internet Explorer/Edge */
  user-select: none; /* Standard syntax */
  color: var(--cl-navy);
}

:root {
  --cl-navy: #003c58;
  --cl-dor: #e0ab0d;
  --cl-white: #ffffff;
  --cl-blk: #000;
}
h1 {
  font-family: "Overlock", sans-serif;
}
h2 {
  font-family: "Allura", cursive;
  /* font-family: "Zeyada", cursive; */
}
p {
  color: var(--cl-blk);
  /* font-family: "Allan", serif !important; */
}
li {
  color: var(--cl-navy);
}
a {
  color: var(--cl-navy);
  text-decoration: none;
}
.btn-book a {
  color: var(--cl-white) !important;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

.head {
  background-color: var(--cl-dor);
  padding: 0;
}
.head .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.head-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.head-contact a {
  color: var(--cl-white) !important;
  text-decoration: none;
}
.head-contact p {
  color: var(--cl-white) !important;
}
.head-contact i {
  font-size: 0.9rem;
  margin-right: 0.5rem;
  color: var(--cl-white) !important;
}
.head-contact div {
  color: var(--cl-white) !important;
}
.head-media {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20rem;
  z-index: 2;
}
.head-media i {
  color: var(--cl-dor) !important;
  font-size: 1rem;
}
.head-media i:hover {
  color: var(--cl-white) !important;
}
/* NAVBAR */
.navbar {
  background-color: none;
  padding: 0 1rem !important;
}
.container-fluid {
  padding: 0.2rem 0 !important;
}
.navbar-brand {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: var(--cl-white) !important;
  transition: color 0.3s;
}
.navbar .logo {
  width: 4rem;
  height: 4rem;
  border-radius: 0.3rem;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border: 0.2rem solid var(--cl-dor);
  background-color: var(--cl-white);
}
.navbar .logo:hover {
  scale: 0.9;
  transition: scale 0.5s ease-in-out;
}
.navbar-toggler {
  font-size: 1rem;
  color: var(--cl-white) !important;
}
.btn-close {
  filter: invert(15);
}
.offcanvas .btn-book {
  background-color: var(--cl-dor);
  color: var(--cl-white) !important;
  border-radius: 0.3rem;
}
/* Modifier les liens */
.navbar-nav .nav-link {
  color: var(--cl-white);
  font-weight: 600;
  transition: color 0.3s;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.navbar-nav .nav-link:hover {
  color: var(--cl-dor);
  border-radius: 5px;
}

.navbar-nav .nav-link.active {
  color: var(--cl-dor) !important;
  border-radius: 5px;
  transition: color 0.3s;
}
.navbar-nav .nav-link.active:hover {
  color: var(--cl-dor);
  border-radius: 5px;
}
.navbar-nav .nav-item {
  margin-right: 15px;
}
.navbar.scrolled {
  background-color: var(--cl-navy) !important; /* Navy blue */
  transition: background-color 0.3s ease;
}

.dropdown {
  display: flex;
  justify-content: center;
  color: var(--cl-dor);
}
.dropdown-toggle {
  color: var(--cl-white);
  font-size: 1rem;
}
.dropdown-toggle {
  color: var(--cl-white);
}
.dropdown-menu {
  background-color: var(--cl-white);
}
.dropdown-item {
  font-size: 0.9rem;
  color: var(--cl-blk);
  letter-spacing: 2px;
}
.dropdown-item:hover {
  background-color: var(--cl-dor);
}
.offcanvas {
  background-color: var(--cl-navy);
}
.offcanvas-body {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.btn-book {
  background-color: var(--cl-dor);
  color: var(--cl-white) !important;
  width: 11rem;
  height: 3rem;
  border: none;
  outline: none;
  font-size: 1rem;
  text-align: center;
  border-radius: 0.3rem;
}
/* HERO */
.hero {
  position: relative;
}
.hero .swiper {
  width: 100%;
  height: 40rem;
}
.hero .swiper-wrapper {
  width: 100%;
  height: 40rem;
}
.hero .swiper-slide {
  height: 100%;
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .swiper-slide-bg {
  position: relative;
  width: 100%;
  height: 40rem;
}

.hero .swiper-slide-bg img {
  position: relative;
  width: 100%;
  height: 40rem;
  object-fit: cover;
  transform: scale(1.3);
  transition: all 1.4s ease-in-out;
  /* filter: saturate(200%); */
}
.hero .swiper-slide-active .swiper-slide-bg img {
  transform: scale(1); /* zoom-in effect when active */
}
.hero .swiper-slide-content {
  width: 100%;
  height: 100%;
  background-color: #00000042;
  padding-left: 3rem;
  position: absolute;
  top: 0;
  left: 0%;
  transform: translate(0%);
  display: flex;
  justify-content: center;
  flex-direction: column !important;
}
.hero .swiper-slide-content div {
  max-width: 30rem;
  height: 100%;
  position: absolute;
  top: 25%;
  left: 5%;
  transform: translate(7%);
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: start;
  gap: 0.5rem;
}
.hero .swiper-slide-content h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--cl-white);
  -webkit-text-stroke: 1px var(--cl-white);
  font-weight: 700;
  text-align: start;
}
.hero .swiper-slide-content li {
  color: var(--cl-white);
  font-size: 1rem;
  font-weight: 500;
  text-align: justify;
}
.hero ul {
  padding: 0;
  display: flex;
  align-items: center;
}
.hero ul i {
  color: var(--cl-white);
  font-size: 1.5rem;
  margin-top: 0.7rem;
}
.hero ul i:hover {
  color: var(--cl-dor);
  padding: 0;
}
/* SECONDARY SWIPER STYLES */
.secondary-swiper {
  position: absolute;
  top: 30%;
  left: 72%;
  width: 17rem;
  height: 25rem;
  z-index: 20;
}
.secondary-swiper .swiper {
  width: 100%;
  height: 100%;
  border-radius: 0.3rem;
}
.secondary-swiper .swiper-slide {
  cursor: pointer;
  border-radius: 0.3rem;
}
.secondary-swiper .swiper-slide-bg {
  position: relative;
  width: 100%;
  height: 25rem;
  border-radius: 0.3rem;
}
.secondary-swiper .swiper-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.3rem;
  transition: all 0.7s ease-in-out;
}
.secondary-swiper .swiper-slide-bg img:hover {
  transform: scale(1.1);
}
.mySwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: waveZoom 7s ease-in-out infinite;
}

@keyframes waveZoom {
  0%,
  100% {
    transform: scale(1.2) translateX(0);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.25) translateX(-2%);
    filter: brightness(1.1);
  }
}

.section-equitation {
  background-color: var(--cl-white);
  color: var(--cl-navy);
  padding: 3rem 1.5rem;
  font-family: "Segoe UI", sans-serif;
}

.section-equitation h2 {
  text-align: center;
  color: var(--cl-dor);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.service-card {
  background-color: var(--cl-navy);
  color: var(--cl-white);
  border-radius: 0.3rem;
  padding: 1rem;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.service-card:hover {
  background-color: var(--cl-dor);
  color: var(--cl-white);
  transform: translateY(-5px);
}

.service-card i {
  font-size: 4rem;
  margin-bottom: 0.8rem;
  color: var(--cl-dor);
  transition: color 0.3s ease;
}

.service-card:hover i {
  color: var(--cl-white);
}

.service-card h3 {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.3rem;
  text-align: center;
  text-transform: uppercase;
  color: var(--cl-dor);
}
.service-card:hover h3 {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.3rem;
  text-align: center;
  text-transform: uppercase;
  color: var(--cl-navy);
}

.service-card p {
  font-size: 1rem;
  line-height: 1.5;
  text-align: justify;
  color: var(--cl-white);
}
.service-card:hover p {
  color: var(--cl-navy);
}
/* ABOUT */
.about-container {
  position: relative;
}
.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.about-content {
  width: 22rem;
  height: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: justify;
}

.about-content h4 {
  font-size: 0.9rem;
  margin-bottom: -0.2rem;
  font-weight: 800;
  letter-spacing: 3px;
}
.about-content h1 {
  font-size: 2rem;
  color: var(--cl-navy);
  text-transform: uppercase;
}

.about-content span {
  font-size: 5rem;
  font-weight: 800;
  font-family: "Allura", cursive;
  color: var(--cl-dor);
  line-height: 1rem;
}
.about-content p {
  font-size: 0.8rem;
  color: var(--cl-navy);
}
.about-img {
  width: 28rem;
  height: 40rem;
  z-index: 2;
  position: relative;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: saturate(150%); */
  z-index: 2;
  position: relative;
}
.about .btn-book {
  width: 12rem;
  position: relative;
  background-color: var(--cl-navy);
  color: var(--cl-white) !important;
  transition: all 0.4s ease-in-out;
}
.about .btn-book:hover {
  background-color: var(--cl-dor);
}

/*  */
/* .circle {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 5rem;
  animation: spin 10s linear infinite;
  z-index: 100;
}

.circle span {
  position: absolute;
  top: 20%;
  left: 50%;
  transform-origin: 0 0;
  font-size: 16px;
  white-space: pre;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
} */

/* SECTIION TOP */
.section-top {
  text-align: center;
  position: relative;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section-top h1 {
  line-height: 1rem;
  color: var(--cl-navy);
  position: relative;
  font-size: 4rem;
}
.section-top h2 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%);
  color: var(--cl-dor);
  font-weight: 800;
  font-size: 4rem;
}
.section-top p {
  text-align: center;
}

/* SERVICES */
.services-container {
  position: relative;
}
.services {
  position: relative;
}
/* .services-bg {
  background-color: var(--cl-dor);
  width: 100%;
  height: 25rem;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
} */
.services .swiper {
  width: 100%;
  height: 42rem;
  position: relative;
  padding-bottom: 7rem;
}
.services .swiper-wrapper {
  width: 100%;
}
.services .swiper-slide {
  width: 19rem;
  height: 37rem;
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
}

.services .swiper-slide-bg {
  position: relative;
  width: 19rem;
  height: 28rem;
  overflow: hidden;
}

.services .swiper-slide-bg img {
  position: relative;
  width: 100%;
  height: 28rem;
  object-fit: cover;
  box-shadow: rgba(0, 0, 0, 0.171) 2px 2px 2px;
  transition: all 0.4s ease-in-out;
}

.services .swiper-slide-bg img:hover {
  transform: scale(1.1);
}
.services .swiper-slide-content {
  width: 100%;
  height: 7.5rem;
  display: flex;
  justify-content: space-between;

  flex-direction: column;
  gap: 0;
  border-radius: 0.3rem;
}
.services .swiper-slide-content h1 {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--cl-navy);
  font-weight: 800;
  text-align: start;
}
.services .swiper-slide-content h3 {
  position: absolute;
  top: 0.5rem;
  left: 2rem;
  transform: translate(-50%);
  background-color: var(--cl-dor);
  color: var(--cl-white);
  font-weight: 600;
  padding: 0 0.5rem;
  font-size: 1rem;
  border-radius: 0.2rem;
}
.services .btn-book {
  color: var(--cl-dor) !important;
  text-transform: uppercase;
  background-color: transparent;
  width: 10rem;
  padding: 0;
}
.services .swiper-button-prev,
.services .swiper-button-next {
  width: 3rem;
  height: 3rem;
  font-size: 1rem !important;
  padding: 0;
  background: var(--cl-dor);
  color: var(--cl-white);
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.services .swiper-button-prev {
  position: absolute;
  top: 41rem;
  left: 45%;
  transform: translateY(-50%);
}

.services .swiper-button-next {
  position: absolute;
  top: 41rem;
  right: 45%;
  transform: translateY(-50%);
  z-index: 3;
}

.services .swiper-button-prev:hover,
.services .swiper-button-next:hover {
  background: var(--cl-dor);
  color: var(--cl-dor);
}
.swiper-button-prev i,
.swiper-button-next i {
  font-size: 6rem !important;
  color: #000;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 30px;
  font-weight: 800;
}

/* section-essaouira */
.section-essaouira {
  position: relative;
  height: 30rem;
  border-bottom: 1rem solid var(--cl-navy);
}
.section-essaouira .section-img-bg {
  width: 100%;
  height: 30rem;
  position: relative;
}
.section-essaouira .section-img-bg img {
  width: 100%;
  height: 30rem;
  position: relative;
  object-fit: cover;
  filter: brightness(50%);
  border-bottom: 1rem solid var(--cl-navy);
}
.section-essaouira .section-img-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.section-essaouira .section-img-content h2 {
  font-size: 7rem;
  color: var(--cl-dor);
  line-height: 3rem;
  text-align: center;
}
.section-essaouira .section-img-content h1 {
  font-size: 4rem;
  color: var(--cl-dor);
  line-height: 1rem;
  text-align: center;
  color: var(--cl-white);
  height: auto;
}
.section-essaouira .section-img-content p {
  font-size: 1rem;
  color: var(--cl-white);
}
/* blog */

.blog-container {
  width: 100%;
  position: relative;
}
.blog .swiper {
  width: 100%;
  height: auto;
  padding-bottom: 2rem;
}
.blog .swiper-wrapper {
  width: 100%;
  position: relative;
}
.blog .swiper-slide {
  width: 22rem;
  height: 42rem;
  text-align: center;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.4s ease-in-out;
  gap: 1rem;
}

.blog .swiper-slide-bg {
  width: 22rem;
  height: 32rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog .swiper-slide-bg img {
  width: 100%;
  height: 32rem;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}
.blog .swiper-slide-bg:hover img {
  transform: scale(1.1);
}
.blog .swiper-slide-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  width: 22rem;
}
.blog .swiper-slide-content span {
  font-size: 0.7rem;
}
.blog .swiper-slide-content h1 {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--cl-navy);
  font-weight: 800;
  text-align: start;
}
.blog .swiper-slide-content p {
  font-size: 0.9rem;
}
.blog .btn-book {
  color: var(--cl-dor) !important;
  text-transform: uppercase;
  background-color: transparent;
  width: 8rem;
  height: 0;
  padding: 0;
}

/* PAGE HEADER */

.page-a-propos .section-top {
  text-align: center;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-a-propos .section-top h1 {
  line-height: 1rem;
  color: var(--cl-navy);
  position: relative;
  font-size: 4rem;
}
.page-a-propos .section-top h2 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%);
  color: var(--cl-dor);
  font-weight: 800;
  font-size: 3rem;
  width: 100%;
}
.page-header {
  position: relative;
  text-align: center;
  color: var(--cl-dor);
  overflow: hidden;
  border-bottom: 1rem solid var(--cl-navy);
}

.page-header img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  filter: brightness(50%);
}
.header-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.header-text h1 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cl-dor);
}

.header-text p {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--cl-white);
}
/* a propos */
.page-a-propos .about-container {
  position: relative;
}
.page-a-propos .about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.page-a-propos .about-content {
  width: 30rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.page-a-propos .about-content h4 {
  font-size: 0.9rem;
  margin-bottom: -0.2rem;
  font-weight: 800;
  letter-spacing: 3px;
}
.page-a-propos .about-content h1 {
  font-size: 2rem;
  display: flex;
  color: var(--cl-navy);
}

.page-a-propos .about-content h1 span {
  padding: 0 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: "Allura", cursive;
}
.page-a-propos .about-content p {
  font-size: 0.8rem;
}
.page-a-propos .about-img {
  width: 30rem;
  height: 30rem;
  z-index: 2;
  border-radius: 0.6rem;
}
.page-a-propos .about-img img {
  width: 100%;
  height: 100%;
  border-radius: 0.6rem;
  object-fit: cover;
  /* filter: saturate(150%); */
  z-index: 2;
}
/* BLOG */
.blog-list {
  margin: 0 auto;
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  text-align: center;
}

.blog-list article {
  width: 19rem;
  height: 37rem;
  text-align: start;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.4s ease-in-out;
  gap: 1rem;
}

.blog-list article div {
  width: 19rem;
  overflow: hidden;
}
.blog-list article .swiper-slide-content {
  width: 19rem;
  height: auto;
  display: flex;
  flex-direction: column;
}
.blog-list img {
  width: 100%;
  height: 27rem;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}
.blog-list article:hover img {
  transform: scale(1.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.blog-list article h1 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cl-navy);
}

.blog-list article li {
  font-size: 0.7rem;
  color: var(--cl-navy);
}
.blog-list article li:last-child {
  font-size: 0.9rem;
}
.blog-list h2 a {
  color: var(--cl-dor);
  text-decoration: none;
  font-size: 1.2rem;
}

.blog-list .date {
  color: var(--cl-white);
  font-size: 0.9rem;
}

.blog-list .excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cl-dor);
}

.blog-list .btn-book {
  color: var(--cl-dor) !important;
  background-color: var(--cl-white);
  height: 1.5rem;
  width: 6rem;
  padding: 0;
  display: flex;
  align-items: center;
}
/* INSTA */
.insta .swiper-wrapper {
  width: 100%;
}
.insta .swiper-slide {
  position: relative;
  width: 15rem;
  height: 20rem;
  overflow: hidden;
  border-radius: 10px;
}
.insta .swiper-slide-bg {
  position: relative;
  width: 15rem;
  height: 20rem;
  overflow: hidden;
  border-radius: 10px;
}

.insta .swiper-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.insta .swiper-slide-bg:hover img {
  transform: scale(1.05);
}
.insta .icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insta .icon-overlay a,
.insta .icon-overlay span {
  color: white;
  font-size: 15px;
  background: rgba(0, 0, 0, 0.5);
  padding: 12px;
  border-radius: 50%;
  transition: background 0.2s ease;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--cl-dor);
}

.insta .icon-overlay a:hover,
.insta .icon-overlay span:hover {
  background: rgba(255, 255, 255, 0.3);
}

.insta .swiper-slide-bg:hover .icon-overlay {
  opacity: 1;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* randonnees */

.randonnees-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem;
  position: relative;
}

.randonnees-list article {
  border-left: 5px solid var(--cl-navy);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  transition: 0.4s ease-in-out;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
}

.randonnees-list article:hover {
  transform: scale(0.9) !important;
  display: flex;
  gap: 4rem;
}
.randonnees-list article:hover {
  transform: translateY(-5px);
}
.randonnees-list article div {
  max-width: 35rem;
}
.randonnees-list article h1 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--cl-navy);
}
.randonnees-list article h3 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--cl-navy);
  background-color: var(--cl-dor);
  position: absolute;
  top: 0.5rem;
  left: 0;
  transform: translate(-50%);
  width: 4rem;
  border-radius: 0.1rem;
  text-align: center;
}

.randonnees-list article p {
  font-size: 0.8rem;
  color: var(--cl-navy);
}
.randonnees-list article p:last-child {
  font-size: 0.9rem;
}
.randonnees-list h2 a {
  color: var(--cl-blk);
  text-decoration: none;
  font-size: 1.2rem;
}

.randonnees-list .excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cl-beige);
}

.randonnees-list img {
  width: 15rem;
  height: 15rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: 0.4s ease-in-out;
  object-fit: cover;
  border: 0.4rem solid var(--cl-dor);
}
.randonnees-list article:hover img {
  transform: scale(1.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 0.4rem solid var(--cl-navy);
}
.randonnees-list .btn-book {
  background-color: var(--cl-dor);
  color: var(--cl-white) !important;
  transition: all 0.4s ease-in-out;
}
.randonnees-list .btn-book:hover {
  background-color: var(--cl-navy);
  color: var(--cl-dor) !important;
}
/* RANDONNEE */
.activities-img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  position: relative;
  padding-bottom: 0.5rem;
}
.activities-img img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  position: relative;
  /* filter: saturate(300%); */
  border-bottom: none;
  outline: none;
}
/* ACTIVITY DETAILS */
.activity-details {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.activity-details-imgs .activity-details-img {
  width: 35rem;
  height: 35rem;
}
.activity-details-imgs .activity-details-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: saturate(200%); */
  border-radius: 8px;
}

.activity-details .swiper-container {
  width: 100%;
  max-width: 35rem;
  margin: auto;
  padding: 20px 0;
  overflow-x: hidden;
}

.activity-details .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 5rem;
  height: 7rem;
}

.activity-details .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  /* filter: saturate(300%); */
}

.activity-details-form {
  width: 40rem;
  height: auto;
}
.activity-details-form {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.activity-details-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.activity-details-form input,
.activity-details-form select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.activity-details .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.activity-details .modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  height: 30rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.activity-details .success-icon {
  width: 7rem;
  height: 7rem;
}

.activity-details .close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 2rem;
  color: var(--cl-dor);
  cursor: pointer;
}
/* CONTACT */
.contact-medias {
  background: var(--cl-navy);
  border-top: 1rem solid var(--cl-dor);
  border-bottom: 1rem solid var(--cl-dor);
}
.contact-medias .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.contact-media {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  width: 15rem;
  background-color: #b4c6ff3b;
}
.contact-media i {
  font-size: 4rem;
  color: var(--cl-dor);
}
.contact-media a {
  color: var(--cl-dor);
  font-size: 1rem;
}
.contact-media .head-media a i {
  color: var(--cl-dor) !important;
  font-size: 1rem;
  margin-right: 1rem;
}
.contact {
  display: flex;
  justify-content: center;
  gap: 3rem;
  border-bottom: 0.2rem dashed rgb(196, 196, 196);
}
.contact-maps iframe {
  width: 100%;
  height: 35rem;
}

/* Modal */
.contact .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.contact .modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contact .modal-content h2 {
  margin-bottom: 1rem;
  color: var(--cl-blk);
}

.contact .success-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.contact .modal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.contact .modal .close:hover {
  color: #000;
}
/* FOOTER */
.footer {
  padding-top: 1rem;
}
.footer-careau {
  height: 17rem;
  color: var(--cl-white) !important;
  padding: 1rem;
  border-radius: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.footer-careau li {
  color: var(--cl-white) !important;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-careau i {
  color: var(--cl-dor) !important;
  font-size: 1.5rem !important;
}
.footer .navbar-brand {
  width: 5rem;
  height: 5rem;
  border-radius: 0.4rem;
  border: 0.2rem solid var(--cl-dor);
  margin-bottom: 1rem;
  background-color: var(--cl-dor);
}
.footer .navbar-brand img {
  width: 100%;
  height: 100%;
  border-radius: 0.3rem;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
}
.footer .container ul {
  width: 22rem;
}
.footer .container h1 {
  color: var(--cl-dor);
  font-size: 1.3rem;
}
.footer .container li {
  color: var(--cl-white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer .container a {
  color: var(--cl-white);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.footer .container i {
  color: var(--cl-dor) !important;
  font-size: 0.9rem;
}
.footer .footer-media {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 0.1rem solid var(--cl-white);
  max-width: 10rem;
}
.oqbani li {
  color: var(--cl-white) !important;
}
.oqbani a {
  color: var(--cl-dor) !important;
}
@media (max-width: 780px) {
  .head-email {
    display: none;
  }
  /* NAVBAR */
  .navbar-brand {
    font-size: 1rem !important;
  }
  .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .hero .swiper-slide-content div {
    max-width: auto;
    max-height: 100%;
    position: absolute;
    top: 13%;
    left: 0%;
    transform: translate(2%);
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: start;
  }
  .hero .swiper-slide-content h1 {
    font-size: 1.8rem;
    width: 20rem;
    text-transform: uppercase;
    color: var(--cl-white);
    font-weight: 700;
    text-align: start;
  }
  .hero .swiper-slide-content li {
      width: 20rem;
    padding: 0 1rem;
  }
  .hero div li {
    width: 100% !important;
  }
  .secondary-swiper {
    position: absolute;
    top: 80%;
    left: 40%;
    width: 7rem;
    height: 10rem;
    z-index: 20;
  }
  .secondary-swiper .swiper-slide-bg {
    position: relative;
    width: 100%;
    height: 10rem;
    border-radius: 0.3rem;
  }
  /* ABOUT */

  .about {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .about-content {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .about-content h4 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-align: center;
  }
  .about-content h1 {
    font-size: 1.5rem;
    display: flex;
    color: var(--cl-navy);
    text-align: center;
    font-weight: 800;
  }
  .about-img {
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 0.6rem;
  }
  /* RANDONNEE */

  .services .swiper-button-prev {
    position: absolute;
    top: 41rem;
    left: 35%;
    transform: translateY(-50%);
  }

  .services .swiper-button-next {
    position: absolute;
    top: 41rem;
    right: 35%;
    transform: translateY(-50%);
    z-index: 3;
  }
  /* SECTION ESSOUIRA */
  .section-essaouira {
    position: relative;
    width: 100%;
    height: 30rem;
    border-bottom: 1rem solid var(--cl-navy);
  }
  .section-essaouira .section-img-bg {
    width: 100%;
    height: 30rem;
    position: relative;
  }
  .section-essaouira .section-img-bg img {
    width: 100%;
    height: 30rem;
    position: relative;
    object-fit: cover;
    filter: brightness(50%);
    border-bottom: 1rem solid var(--cl-navy);
  }
  .section-essaouira .section-img-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
  }
  .section-essaouira .section-img-content h2 {
    font-size: 4rem;
    color: var(--cl-dor);
    line-height: 1.5rem;
    text-align: center;
  }
  .section-essaouira .section-img-content h1 {
    font-size: 2rem;
    color: var(--cl-dor);
    line-height: 1rem;
    text-align: center;
    color: var(--cl-white);
    height: auto;
  }
  .section-essaouira .section-img-content p {
    font-size: 1rem;
    color: var(--cl-white);
  }
  /* BLOG */

  .blog .swiper-slide {
    width: 100%;
  }

  .blog .swiper-slide-bg {
    width: 100%;
  }
  .blog .swiper-slide-content {
    width: 100%;
  }
  /* BLOG-LIST */

  .blog-list article {
    width: 100%;
  }

  .blog-list article div {
    width: 100%;
  }
  .blog-list article .swiper-slide-content {
    width: 100%;
  }
  /* INSTA */
  .insta .swiper-slide {
    width: 8rem;
    height: 13rem;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .insta .swiper-slide-bg {
    position: relative;
    width: 10rem;
    height: 13rem;
  }

  .insta .swiper-slide-bg img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* CONTACT */
  .contact {
    display: flex;
    flex-direction: column;
  }
  .contact-maps iframe {
    width: 100%;
    height: 25rem;
  }
  .contact-form .activity-details-form {
    width: 100%;
    height: auto;
  }
  /* SECTIION TOP */
  .section-top {
    text-align: center;
    position: relative;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .section-top h1 {
    line-height: 1rem;
    color: var(--cl-navy);
    position: relative;
    font-size: 3rem;
  }
  .section-top h2 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%);
    color: var(--cl-dor);
    font-weight: 800;
    font-size: 3rem;
    width: 100%;
  }
  .section-top p {
    text-align: center;
  }
  /* page a propos */

  .page-a-propos .section-top h1 {
    line-height: 1rem;
    color: var(--cl-navy);
    position: relative;
    font-size: 2rem;
  }
  .page-a-propos .section-top h2 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%);
    color: var(--cl-dor);
    font-weight: 800;
    font-size: 2rem;
    width: 100%;
  }
  .page-a-propos .about-content {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .page-a-propos .about-img {
    width: 100%;
    height: 100%;
  }

  .page-a-propos .about-reverse {
    flex-direction: column-reverse;
  }
  .footer {
      height: 40rem !important;
  }
}
