/* Make menu text readable - black color for main navigation */
.u-header .u-nav-link,
.u-menu .u-nav-link,
.u-nav-container .u-nav-link,
.u-nav-item .u-nav-link {
  color: #333 !important;
}

.u-header .u-nav-link:hover,
.u-menu .u-nav-link:hover,
.u-nav-container .u-nav-link:hover,
.u-nav-item .u-nav-link:hover {
  color: #000 !important;
}

/* Mobile menu (sidenav) - keep white text on black background */
.u-sidenav .u-nav-link,
.u-popupmenu-items .u-nav-link {
  color: #fff !important;
}

/* Header background - light yellow to match main page */
.u-header {
  background-color: #faf8f3 !important;
  background-image: none !important;
}

.u-header .u-sheet-1 {
  background-color: #faf8f3 !important;
}

/* Prevent text editing and selection issues */
* {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Allow text selection only in text content areas */
p, h1, h2, h3, h4, h5, h6, span, a, li, td, th, label, input[type="text"], textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Prevent contenteditable */
[contenteditable="true"] {
  contenteditable: false !important;
}

body, html {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Galleries Grid Layout */
#galleries-section {
  background-color: #faf8f3 !important;
  padding: 60px 20px;
}

.galleries-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.gallery-title-section {
  padding: 24px 24px 16px;
  background-color: #f8f8f8;
  text-align: center;
}

.gallery-title {
  font-size: 1.75rem;
  margin: 0 0 8px 0;
  font-weight: 600;
  color: #333;
}

.gallery-subtitle {
  font-size: 0.95rem;
  margin: 0;
  color: #555;
  line-height: 1.5;
}

/* Mini Carousel */
.mini-carousel {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  cursor: pointer;
  background: #f5f5f5;
}

.mini-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.mini-carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.mini-carousel-slide.active {
  display: block;
}

.mini-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 10;
}

.mini-carousel-btn:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mini-carousel-btn.prev {
  left: 12px;
}

.mini-carousel-btn.next {
  right: 12px;
}

/* Expanded Carousel Modal */
.carousel-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-modal.active {
  display: flex;
  opacity: 1;
}

.carousel-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
}

.carousel-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: all 0.2s ease;
}

.carousel-modal-close:hover {
  background: #fff;
  transform: scale(1.1);
}

.expanded-carousel {
  position: relative;
  width: 100%;
  height: 80vh;
  max-height: 800px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  background: #fff;
}

.expanded-carousel .carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.expanded-carousel .carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.expanded-carousel .carousel-slide.active {
  display: block;
}

.expanded-carousel .carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.expanded-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.expanded-carousel .carousel-btn:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.expanded-carousel .carousel-btn.prev {
  left: 24px;
}

.expanded-carousel .carousel-btn.next {
  right: 24px;
}

.u-section-1 {
  background-image: none;
  min-height: 140px;
  padding: 30px 0;
}

.u-section-1 .u-group-1 {
  margin-top: 0;
  margin-bottom: 0;
  min-height: auto;
  height: auto;
}

.u-section-1 .u-container-layout-1 {
  padding: 0;
}

.u-section-1 .u-text-1 {
  font-size: 2.5rem;
  margin: 0 auto;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #333;
}

.u-section-1 .u-text-2 {
  line-height: 1.6;
  font-size: 1.125rem;
  width: 794px;
  margin: 16px auto 0;
  color: #555;
}

.u-section-1 .u-shape-1 {
  width: 30px;
  height: 368px;
  background-image: none;
  margin: -247px auto 0 0;
}

.u-section-1 .u-shape-2 {
  width: 30px;
  height: 368px;
  background-image: none;
  margin: -368px 0 0 auto;
}

@media (max-width: 1199px) {
  .u-section-1 {
    min-height: 130px;
    padding: 25px 0;
  }

  .u-section-1 .u-group-1 {
    margin-top: 0;
    height: auto;
  }

  .u-section-1 .u-text-1 {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 991px) {
  .u-section-1 {
    min-height: 120px;
    padding: 20px 0;
  }

  .u-section-1 .u-group-1 {
    margin-top: 0;
  }

  .u-section-1 .u-text-2 {
    width: 720px;
  }
}

@media (max-width: 767px) {
  .u-section-1 {
    min-height: 110px;
    padding: 18px 0;
  }

  .u-section-1 .u-text-1 {
    font-size: 2rem;
  }

  .u-section-1 .u-text-2 {
    font-size: 1rem;
    width: 540px;
    margin-top: 12px;
  }
}

@media (max-width: 575px) {
  .u-section-1 {
    min-height: 100px;
    padding: 15px 0;
  }

  .u-section-1 .u-group-1 {
    margin-top: 0;
  }

  .u-section-1 .u-text-1 {
    font-size: 1.75rem;
  }

  .u-section-1 .u-text-2 {
    width: 90%;
    font-size: 0.95rem;
    margin-top: 10px;
  }
}.u-section-2 {
  background-image: none;
  min-height: 520px;
}

.u-section-2 .u-gallery-1 {
  height: 610px;
  margin-top: -90px;
  margin-bottom: 0;
}

.u-section-2 .u-carousel-indicators-1 {
  position: absolute;
  bottom: 10px;
}

.u-section-2 .u-carousel-item-1 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-1 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-item-2 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-2 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-item-3 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-3 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-item-4 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-4 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-item-5 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-5 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-item-6 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-6 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-item-7 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-7 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-item-8 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-8 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-item-9 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-9 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-item-10 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-10 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-item-11 {
  margin-right: 0;
}

.u-section-2 .u-over-slide-11 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-2 .u-carousel-control-1 {
  position: absolute;
  left: 10px;
  width: 40px;
  height: 40px;
}

.u-section-2 .u-carousel-control-2 {
  position: absolute;
  right: 10px;
  width: 40px;
  height: 40px;
}
/* Responsive Grid Layout */
@media (max-width: 991px) {
  .galleries-grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-title {
    font-size: 1.5rem;
  }

  .gallery-subtitle {
    font-size: 0.9rem;
  }

  .mini-carousel {
    height: 280px;
  }
}

@media (max-width: 767px) {
  #galleries-section {
    padding: 40px 15px;
  }

  .galleries-grid-container {
    gap: 24px;
  }

  .gallery-title-section {
    padding: 20px 20px 12px;
  }

  .gallery-title {
    font-size: 1.35rem;
  }

  .gallery-subtitle {
    font-size: 0.85rem;
  }

  .mini-carousel {
    height: 250px;
  }

  .mini-carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .mini-carousel-btn.prev {
    left: 8px;
  }

  .mini-carousel-btn.next {
    right: 8px;
  }

  .expanded-carousel {
    height: 70vh;
    max-height: 600px;
  }

  .carousel-modal-close {
    top: -45px;
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .expanded-carousel .carousel-btn {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .expanded-carousel .carousel-btn.prev {
    left: 16px;
  }

  .expanded-carousel .carousel-btn.next {
    right: 16px;
  }
}

@media (max-width: 479px) {
  #galleries-section {
    padding: 30px 10px;
  }

  .galleries-grid-container {
    gap: 20px;
  }

  .gallery-title-section {
    padding: 16px 16px 10px;
  }

  .gallery-title {
    font-size: 1.2rem;
  }

  .gallery-subtitle {
    font-size: 0.8rem;
  }

  .mini-carousel {
    height: 220px;
  }

  .expanded-carousel {
    height: 65vh;
    max-height: 500px;
  }
}


/* Floating WhatsApp Button Container */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* WhatsApp Chat Bubble */
.whatsapp-bubble {
  background-color: #fff;
  color: #333;
  padding: 12px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 220px;
  position: relative;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-bubble-text {
  flex: 1;
}

.whatsapp-bubble-close {
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #999;
  font-weight: bold;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.whatsapp-bubble-close:hover {
  color: #333;
}

/* Speech bubble tail pointing to button */
.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 767px) {
  .whatsapp-container {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-float {
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-bubble {
    max-width: 200px;
    font-size: 13px;
    padding: 10px 14px;
  }
}

@media (max-width: 575px) {
  .whatsapp-container {
    bottom: 12px;
    right: 12px;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-icon {
    width: 26px;
    height: 26px;
  }
  
  .whatsapp-bubble {
    max-width: 180px;
    font-size: 12px;
    padding: 8px 12px;
  }
}
