/* Global Styles */
body {
  color: #cead73;
  background-color: #090909;
  font-family: Montserrat, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #cead73;
  font-family: Montserrat, sans-serif;
}

.box {
  max-width: 1720px;
  margin: auto;
  padding: 0 16px;
}

@media (max-width: 767px) {
  .box {
    padding: 0 22px;
  }
}


p {
  line-height: 161.6%;
}

/* Custom Scrollbar Styles */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #cead73;
  /* Gold background */
}

::-webkit-scrollbar-thumb {
  background: #0d3730;
  /* Dark green thumb */
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1a4d44;
  /* Slightly lighter dark green on hover */
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #0d3730 #cead73;
  /* thumb color, track color */
}

/* Mobile Menu Styles */
.hamburger-line {
  transform-origin: center;
  transition: all 0.3s ease-in-out;
}

/* Active hamburger animation */
#mobileMenuBtn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

#mobileMenuBtn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

#mobileMenuBtn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile menu animations */
#mobileMenu.open {
  transform: translateX(0);
}

#mobileMenuOverlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile nav item hover effects */
.mobile-nav-item {
  position: relative;
  overflow: hidden;
}

.mobile-nav-item::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: linear-gradient(to bottom, #cead73, rgba(206, 173, 115, 0.5));
  transition: left 0.3s ease-in-out;
}

.mobile-nav-item:hover::before {
  left: 0;
}

/* Header responsive adjustments */
@media (max-width: 1023px) {
  header .box {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 640px) {
  header .box {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Reviews Slider Styles */
.flickity-reviews {
  width: 100%;
  height: 495px;
  /* Total height: 240px + 15px gap + 240px */
}

.flickity-reviews .carousel-cell {
  width: 50%;
  /* Show 2 slides on mobile */
  margin-right: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Desktop: Show 3 columns */
@media (min-width: 1024px) {
  .flickity-reviews .carousel-cell {
    width: 33.333%;
    /* Show 3 slides on desktop */
  }
}

.flickity-reviews .carousel-cell .review-image {
  width: 100%;
  height: 240px;
  /* Fixed height for consistency */
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}

.flickity-reviews .carousel-cell .review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.flickity-reviews .carousel-cell .review-image:hover img {
  transform: scale(1.05);
}

.flickity-reviews .flickity-viewport {
  height: 100%;
}

/* Hide Flickity dots */
.flickity-reviews .flickity-page-dots {
  display: none;
}

/* Hide default Flickity buttons */
.flickity-reviews .flickity-button {
  display: none;
}

/* Projects Slider Styles */
.flickity-projects {
  width: 100%;
  height: 495px;
  /* Total height: 240px + 15px gap + 240px */
}

.flickity-projects .carousel-cell {
  width: 50%;
  /* Show 2 slides on mobile */
  margin-right: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Desktop: Show 3 columns */
@media (min-width: 1024px) {
  .flickity-projects .carousel-cell {
    width: 33.333%;
    /* Show 3 slides on desktop */
  }
}

.flickity-projects .carousel-cell .project-image {
  width: 100%;
  height: 240px;
  /* Fixed height for consistency */
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}

.flickity-projects .carousel-cell .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.flickity-projects .carousel-cell .project-image:hover img {
  transform: scale(1.05);
}

.flickity-projects .flickity-viewport {
  height: 100%;
}

/* Hide Flickity dots */
.flickity-projects .flickity-page-dots {
  display: none;
}

/* Hide default Flickity buttons */
.flickity-projects .flickity-button {
  display: none;
}

/* Kitchen Project Slider Styles */
.flickity-kitchen {
  width: 100%;
}

.flickity-kitchen .carousel-cell {
  width: 100%;
  /* 1 image on mobile */
  margin-right: 15px;
}



/* Laptop: Show 4 images */
@media (min-width: 1024px) {
  .flickity-kitchen .carousel-cell {
    width: calc(25% - 11.25px);
    /* 4 images */
  }
}

/* Desktop: Show 5 images */
@media (min-width: 1280px) {
  .flickity-kitchen .carousel-cell {
    width: calc(24% - 25px);
    /* 5 images */
  }
}

.flickity-kitchen .carousel-cell .kitchen-image {
  width: 100%;
  height: 300px;
  /* Fixed height for mobile */
  overflow: hidden;
  position: relative;
}

.flickity-kitchen .carousel-cell .kitchen-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.flickity-kitchen .carousel-cell .kitchen-image:hover img {
  transform: scale(1.05);
}

@media (min-width: 1024px) {
  .flickity-kitchen .carousel-cell .kitchen-image {
    height: 364px;
    /* Fixed height for desktop */
  }
}

.flickity-kitchen .flickity-viewport {
  height: auto;
}

/* Hide Flickity dots */
.flickity-kitchen .flickity-page-dots {
  display: none;
}

/* Hide default Flickity buttons for kitchen carousel */
.flickity-kitchen .flickity-button {
  display: none;
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 676px;
  height: 80%;
  max-height: 700px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 2px solid #cead73;
  border-radius: 50%;
  background: transparent;
  color: #cead73;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #cead73;
  color: #000;
}

/* Modal Gallery Carousel */
.modal-gallery {
  width: 100%;
  height: 100%;
  position: relative;
}

.modal-main-slider {
  height: calc(100% - 150px);
  width: 100%;
}

.modal-main-slider .carousel-cell {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
}

.modal-main-slider .carousel-cell img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

.modal-thumbnails {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  /* Ensure positioning context for navigation arrows */
  overflow: visible;
}

.modal-thumbnails .carousel-cell {
  width: 150px;
  height: 100px;
  margin-right: 10px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  overflow: hidden;
  border-radius: 4px;
  border: 2px solid transparent;
}

.modal-thumbnails .carousel-cell.is-selected {
  opacity: 1;
  border-color: #cead73;
}

.modal-thumbnails .carousel-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Thumbnail Navigation Arrows */
.modal-thumbnail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  border: 2px solid #cead73;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.9);
  color: #cead73;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modal-thumbnail-nav:hover {
  background: #cead73;
  color: #000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(206, 173, 115, 0.4);
}

.modal-thumbnail-prev {
  left: 10px;
}

.modal-thumbnail-next {
  right: 10px;
}

/* Modal Navigation Arrows */
.modal-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 2px solid #cead73;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #cead73;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.3s ease;
}

.modal-nav-arrow:hover {
  background: #cead73;
  color: #000;
}

.modal-nav-prev {
  left: 20px;
}

.modal-nav-next {
  right: 20px;
}

/* Hide default Flickity buttons in modal */
.modal-gallery .flickity-button {
  display: none;
}

.modal-gallery .flickity-page-dots {
  display: none;
}


.flickity-kitchen .flickity-button,
.flickity-yt .flickity-button {
  display: none;
}

.flickity-yt .slider-items-yt {
  width: calc(33.7% - 25px);
  margin-right: 25px;
}

.team-item {
  width: calc(23.2% - 28px);
  margin-right: 28px;
}

.clients-item {
  width: calc(15.6% - 27px);
  margin-right: 27px;
}

.we-are-in-item {
  width: calc(31.6% - 25px);
  margin-right: 25px;
}

.video-item {
  width: 254px;
  margin-right: 16px;
}

.f-logo-area img {
  transform: scale(1.1);
  position: relative;
  top: -20px;
}

.addres--area span {
  font-size: 15px;
  line-height: 181%;
}

.popup-thum-img-single.is-selected::after {
  background: #00000000;
}

.popup-thum-img-single.is-selected {
  border: 1px solid #CEAD73;
}

.popup-thum-img-single {
  width: calc(10% - 15px);
  margin-right: 15px;
  position: relative;
}

.popup-thum-img-single::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: #000000d1;
}

popup-gallery {
  transition: .3s all;
}

.thumb-grid .kitchen-image {
  width: calc(20% - 25px);
  margin-right: 25px;
  margin-bottom: 25px;
}


.nme-pasae br {
  display: none;
}



@media (max-width: 767px) {
  .nme-pasae br {
    display: block;
  }

  h2 br,
  p br {
    display: none;
  }

  .we-are-in-item {
    width: 155px;
    margin-right: 10px;
  }

  .clients-item {
    width: calc(40.6% - 10px);
    margin-right: 10px;
  }

  .flickity-kitchen .carousel-cell {
    width: calc(42% - 10px);
  }

  .flickity-kitchen .carousel-cell .kitchen-image {
    height: 160px;
  }

  .arrow-mobile-fixing svg {
    width: 15.75px;
    height: 15.75px;
  }

  .video-item {
    width: 186.33px;
  }

  .video-item-img:last-child {
    display: none;
  }

  .header-main-area {
    padding: 0px;
  }

  .thumb-grid .kitchen-image {
    width: calc(50% - 10px);
    margin-right: 10px;
    margin-bottom: 10px;
  }

  popup-gallery #vista-prev-btn,
  popup-gallery #vista-next-btn {
    display: none;
  }

  .popup-thum-img-single {
    width: calc(20% - 15px);
    margin-right: 15px;
  }

  .flickity-yt .slider-items-yt {
    width: calc(70.7% - 10px);
    margin-right: 10px;
  }

  .flickity-kitchen .carousel-cell {
    width: 160px;
    margin-right: 10px;
  }

  .team-item {
    width: calc(65.7% - 10px);
    margin-right: 10px;
  }

  .why-us-lis-icon p br {
    display: block;
  }
}

.mobile-menu-area {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  overflow: hidden;
  transition: .3s all;
}

.active-index:after {
  content: "";
  left: calc(50% - 8px);
  top: 33px;
  border-radius: 50%;
  display: block;
  position: absolute;
  border: 8px solid #ffffff;
  border-bottom-color: transparent;
  border-left-color: transparent;
  transform: rotate(-45deg);
}


.thumb-grid .kitchen-image {
  opacity: 0;
}

.load-area-done.thumb-grid .kitchen-image {
  opacity: 1;
}

.sldier-arrow-main+svg path {
  color: #cead73;
}

.sldier-arrow-main:hover+svg path {
  color: #0d3730;
}

.sldier-arrow-main:hover {
  color: #0d3730;
  border-bottom-color: #0d3730;
}

.sldier-arrow-main:hover h3 {
  color: #0d3730;
}

.sldier-arrow-main:hover svg {
  color: #0d3730;
}

body {
  overflow-x: hidden;
}