:root {
  --main-color: #8c644b;
  --accent-color: #c0a98e;
  --bg-light: #f3f2f0;
  --text-dark: #2c2c2c;
  /* --font-primary: "Roboto", serif; */
  --font-primary: "Carattere", serif;
  --font-secondary: "Roboto", sans-serif;
}
.carattere-regular {
  font-family: "Carattere", cursive;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: var(--font-secondary);
  /* background-color: var(--bg-light); */
  background-color: white;
  color: var(--text-dark);
}

h1,
h2,
h3 {
  font-family: var(--font-primary);
}
section h3 {
  font-family: var(--font-secondary);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
  font-family: var(--font-primary);
  font-size: 1.5rem;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 3); /* 0.75 Semi-transparent white */
  backdrop-filter: blur(10px); /* Smooth blur behind the navbar */
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.2);
}
.navbar .navbar-toggler {
  border-color: white;

}

.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

}

/* After scroll: dark toggler icon and border */
.navbar.scrolled .navbar-toggler {
  border-color: #333;
}

.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280,0,0,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-brand {
  font-size: 2.5rem;
}

.navbar .nav-link,
.navbar .navbar-brand,
.navbar .fa-search {
  color: white;
  transition: color 0.3s ease;
}

/* On scroll: dark text */
.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand,
.navbar.scrolled .fa-search {
  color: #2c2c2c;
}

.hero {
  background: url("../img/hero.png") no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  padding-top: 0; /* Ensure it touches top */
  margin-top: 0;
}
.hero::before {
  content: "";
  position: absolute;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
 background-color: rgba(0, 0, 0, 0.7); /* Darken here (0.5 = 50% opacity) */
  z-index: 1;
}

.hero h1,
.hero p,
.hero a {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}
.hero h1 {
  animation-delay: 0.3s;
}

.hero p {
  animation-delay: 0.6s;
}

.hero a {
  animation-delay: 0.9s;
}

.hero h1 {
  font-size: 5rem;
  text-shadow: 1px 1px 5px #000;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeagain {
  0% {
    opacity: 0;
    transform: translateY(70px);
  }
  100% {
    opacity: 2;
    transform: translateY(0);
  }
}
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-circle-img {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  /* opacity: 0.8; */
  z-index: 1;
  object-fit: cover;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}
.hero-buttons .btn {
  border-radius: 30px;
  padding: 10px 30px;
  font-weight: 500;
  font-size: 1rem;
}

.btn-discover {
  background-color: #fff;
  color: #000;
  border: none;
}

.btn-outline-shop {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline-shop:hover {
  background-color: #fff;
  color: #000;
}

.about-img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid black;
  transition: transform 0.5s;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  animation: fadeagain 2s ease-in-out forwards;
  /* animation: fadeInUp 1s ease-out forwards; */
}

.about-img:hover {
  transform: scale(2.05);
  background-color: #000;
}
.text-justify {
  text-align: justify;
}

.object-fit-cover {
  height: 200px;
  object-fit: cover;
}
.bg-light-peach {
  background-color: #ffe8cc;
}

.journey-section {
  background: #fdf9f6;
  padding: 4rem 0;
  font-family: "Segoe UI", sans-serif;
}

.journey-title {
  font-family: "Dancing Script", cursive;
  font-size: 2.8rem;
  font-weight: 700;
  color: #4a2e1b;
}

.journey-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

.journey-img {
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  transition: transform 0.3s ease;
  border: 1px solid black;
  transition: transform 0.5s;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.journey-img:hover {
  transform: scale(1.03);
}

.btn-readmore {
  background-color: #36664a;
  color: #fff;
  font-weight: 500;
  border: none;
  padding: 0.5rem 1.2rem;
  transition: background-color 0.3s;
}

.btn-readmore:hover {
  background-color: #a0462e;
  color: #fff;
}

#types {
  background: #2a7b9b;
  background: linear-gradient(
    90deg,
    rgba(42, 123, 155, 1) 0%,
    rgba(87, 199, 133, 1) 50%,
    rgba(237, 209, 83, 1) 100%
  );
}
.art-type img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.8s;
  border: 4px solid white;
  border-radius: 2px;
  box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56),
    0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}

.art-type {
  overflow: hidden;
}

.art-type .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.art-type:hover .overlay {
  opacity: 1;
}
.art-type:hover {
  color: white;
  /* animation: pulse 1.5s infinite;  */
  transition: 0.5s ease;
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
}
#gallery {
  background: rgb(255, 255, 255);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

.gallery img {
  width: 100%;
  border: 4px solid white;
  border-radius: 8px;
  box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56),
    0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Initially hide all images */
.art-category {
  display: none;
}
.art-category.show {
  display: block;
  animation: fadeIn 0.6s ease-in;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: 300px; /* Set a consistent height */
  object-fit: cover;
  transition: transform 0.3s;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.overlay-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(79, 80, 82, 0.6); /* Bootstrap blue with opacity */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.image-wrapper:hover .overlay-info {
  opacity: 1;
}
.pageheader {
  background: url("../img/hero.png") no-repeat center center;
  background-size: cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  padding-top: 0; /* Ensure it touches top */
  margin-top: 0;
  opacity: 0.4;

  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.bg-gallery {
  position: relative;
  z-index: 1;
  color: #fff;
}

.bg-gallery::before {
  content: "";
  background-image: url("../img/hero.png"); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.3); /* Black overlay */
  background-blend-mode: darken; /* Blend black with the image */
  opacity: 0.2; /* Adjust for more/less darkness */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bg-rust {
  background-color: #b5542d !important; /* Rustic brown */
  color: #fff !important;
}
.card-img-top {
  height: 280px; /* or whatever height suits your design */
  object-fit: cover;
}
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-body .btn {
  padding: 0.5rem 1.5rem;
  border-width: 2px;
  font-weight: 500;
}

#current-works {
  padding: 2rem;
  background-color: #f9f9f9;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.video-item {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.video-item video {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.video-item h3 {
  margin: 0.5rem 0 0.25rem;
}

.video-item p {
  font-size: 0.9rem;
  color: #555;
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4a6e59;
  color: white;
  padding: 10px 12px;
  border-radius: 50%;
  display: none;
  cursor: pointer;
  z-index: 999;
}

footer {
  background: #333;
  color: white;
  padding: 20px 0;
}

footer a {
  color: #ddd;
  text-decoration: none;
}
.carousel {
  border: 4px solid white;
  border-radius: 8px;
  box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56),
    0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}
/* .carousel-img {
  width: 100%;
  border: 8px solid white;
} */
.carousel-img,
.carousel-video {
  height: 500px;
  object-fit: cover;
}

.carousel-video {
  border: none;
}

@keyframes pulse {
  0% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.5);
  }

  70% {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
  }

  100% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
  }
}

#featured {
  background-color: #36664a;
  background: #2a7b9b;
  background: linear-gradient(
    90deg,
    rgba(42, 123, 155, 1) 0%,
    rgba(87, 199, 133, 1) 50%,
    rgba(237, 209, 83, 1) 100%
  );
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.text-center {
  text-align: center;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.display-4 {
  font-size: 2.5rem;
  font-weight: 300;
}
.mb-3 {
  margin-bottom: 1rem;
}
.swiper-container.main-slider {
  max-width: 1000px;
  margin: 40px auto;
  position: relative; /* Ensure the slider is the positioning context for arrows */
}
.swiper-slide {
  position: relative;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-wrapper {
  width: 100%;
  height: 400px;
  position: relative;
}
.media-wrapper img,
.media-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-slide .media-wrapper::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 3rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  padding: 15px;
  box-sizing: border-box;
}
.swiper-button-next,
.swiper-button-prev {
  color: #000;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  top: 50%; /* Ensure arrows are vertically centered within the slider */
  transform: translateY(-50%);
}
.swiper-button-next {
  right: 10px; /* Position relative to the slider container */
}
.swiper-button-prev {
  left: 10px; /* Position relative to the slider container */
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}
.swiper-container.thumbs {
  margin-top: 10px;
  height: 100px;
}
.swiper-container.thumbs .swiper-slide img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  opacity: 0.5;
  cursor: pointer;
}
.swiper-container.thumbs .swiper-slide-thumb-active img {
  opacity: 1;
  border: 2px solid #333;
}
@media (max-width: 768px) {
  .swiper-container.thumbs {
    height: 80px;
  }
  .swiper-container.thumbs .swiper-slide img {
    height: 80px;
  }
  .display-4 {
    font-size: 2rem;
  }
}
@media (max-width: 576px) {
  .swiper-container.thumbs {
    height: 60px;
  }
  .swiper-container.thumbs .swiper-slide img {
    height: 60px;
  }
}

.rating {
  direction: rtl;
  display: inline-flex;
  gap: 10px;
  justify-content: start;
  align-items: center;
}
.rating input[type="radio"] {
  display: none;
}
.rating label {
  font-size: 1.5rem;
  color: #141111;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.rating input[type="radio"]:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
  color: #ffc107;
}

.rating-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffc107;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}

.rating-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.7);
}

.rating-badge .badge-text {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.rating-badge .stars span {
  color: #ffc107;
  font-size: 1.1rem;
}

.top-rated-carousel {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.top-rated-carousel .card {
  scroll-snap-align: start;
  transition: transform 0.3s ease-in-out;
}

.top-rated-carousel .card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.breadcrumb a {
  text-decoration: underline;
  color: #198754; /* Bootstrap success color */
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #103524; /* Bootstrap success color */
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›"; /* custom separator */
  color: #6c757d;
}
