/* style.css */
tailwind.config = {
  theme: {
    extend: {
      aspectRatio: {
        'w-16': '16',
        'h-9': '9',
      }
    }
  }
}

.tab-active {
  background-color: white;
  color: #047857;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Floating Contact Icons Styles */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.floating-caller {
  animation: entrance 0.5s ease-out, pulse 2s infinite 0.5s;
  transform-origin: center;
}

.floating-whatsapp {
  animation: entrance 0.5s ease-out 0.2s both, pulse 2s infinite 0.7s;
  transform-origin: center;
}

.contact-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.caller-button {
  background-color: #047857;
}

.whatsapp-button {
  background-color: #25D366;
}

.contact-button:hover {
  transform: scale(1.1);
}

.caller-button:hover {
  background-color: #065f46;
}

.whatsapp-button:hover {
  background-color: #128C7E;
}

/* Contact icons animations on hover */
.contact-button:hover i {
  animation: shake 0.5s ease-in-out;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(4, 120, 87, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(4, 120, 87, 0);
  }
}

@keyframes entrance {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-90deg);
  }
  60% {
    transform: scale(1.2) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes shake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-10deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(10deg); }
}

/* Hide on small screens in landscape mode */
@media (max-height: 500px) and (orientation: landscape) {
  .floating-caller {
    bottom: 10px;
    right: 10px;
  }
  
  .contact-button {
    width: 45px;
    height: 45px;
  }
}

/* Google Review Panel Hover Effects */
.review-panel {
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
  overflow: hidden;
}

.review-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #a57028 0%, #a57028 50%, #a57028 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  border-radius: 0.5rem;
}

.review-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.review-panel:hover::before {
  opacity: 0.9;
}

.review-panel:hover h3,
.review-panel:hover p {
  color: white;
}

.review-panel:hover .text-blue-500 {
  color: #a5f3fc !important;
  text-decoration: underline;
  font-weight: 500;
}

.review-panel .bxs-star {
  transition: transform 0.3s ease, color 0.3s ease;
}

.review-panel:hover .bxs-star {
  color: #ffd700 !important;
  transform: scale(1.2);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.7);
}

/* Add glow effect on hover */
.review-panel:hover {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
  animation: glowPulse 1.5s infinite alternate;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.7), 0 0 40px rgba(59, 130, 246, 0.5);
  }
}

/* Package Card Hover Effects */
.package-card {
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #a57028 0%, #a57028 50%, #a57028 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  border-radius: 0.5rem;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.package-card:hover::before {
  opacity: 0.9;
}

.package-card:hover h3,
.package-card:hover span:not(.bg-yellow-100),
.package-card:hover li span {
  color: white;
}

.package-card:hover .bg-yellow-100 {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: #065f46 !important;
  font-weight: 600;
}

.package-card:hover .bx-check {
  color: #a7f3d0 !important;
}

.package-card a.bg-yellow-600 {
  transition: all 0.3s ease;
}

.package-card:hover a.bg-yellow-600 {
  background-color: white !important;
  color: #047857 !important;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Add glow effect on hover */
.package-card:hover {
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5), 0 0 30px rgba(16, 185, 129, 0.3);
  animation: yellowGlowPulse 1.5s infinite alternate;
}

@keyframes yellowGlowPulse {
  0% {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5), 0 0 30px rgba(16, 185, 129, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.7), 0 0 40px rgba(16, 185, 129, 0.5);
  }
}

/* Popup styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: white;
  border-radius: 0.5rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.popup-overlay.active .popup-content {
  transform: translateY(0);
}

.popup-header {
  background: linear-gradient(to right, #a57028 , #a57028);
  padding: 1rem;
  color: white;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.popup-close:hover {
  transform: scale(1.1);
}

.popup-body {
  padding: 1.5rem;
}

.popup-footer {
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Navbar transition styles */
.navbar {
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.navbar-link {
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-link:hover {
  color: rgba(134, 239, 172, 1);
}

.navbar.scrolled .navbar-link {
  color: #1F2937;
}

.navbar.scrolled .navbar-link:hover {
  color: #047857;
}

.navbar-brand {
  color: white;
  font-weight: 700;
  transition: color 0.3s ease;
}

.navbar.scrolled .navbar-brand {
  color: #047857;
}

.mobile-menu-button {
  border-color: white;
  color: white;
  transition: all 0.3s ease;
}

.navbar.scrolled .mobile-menu-button {
  border-color: #047857;
  color: #047857;
}

/* Mobile menu styles */
#mobile-menu {
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#mobile-menu:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  max-height: 300px;
}

/* Mobile menu links styling */
#mobile-menu a {
  color: #1F2937;
  width: 100%;
  text-align: center;
  font-weight: 500;
}

#mobile-menu a:hover {
  background-color: #F3F4F6;
  color: #047857;
}

/* Ensure the mobile menu container has proper width */
#mobile-menu > div {
  width: 100%;
  background-color: white;
}

/* Aspect ratio container for videos */
.aspect-w-16 {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.aspect-w-16 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Gallery Modal Styles */
.gallery-item {
  transition: all 0.3s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

#imageModal {
  transition: opacity 0.3s ease;
}

#imageModal.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#modalImage {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Zoom animation */
.zoom-in {
  animation: zoomIn 0.3s ease forwards;
}

.zoom-out {
  animation: zoomOut 0.3s ease forwards;
}

@keyframes zoomIn {
  from { transform: scale(1); }
  to { transform: scale(1.5); }
}

@keyframes zoomOut {
  from { transform: scale(1.5); }
  to { transform: scale(1); }
}

/* Logo transition styles */
.logo-container {
  height: 80px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.logo-light {
  display: block;
  max-height: 100%;
  width: auto;
  transition: opacity 0.3s ease;
}

.logo-dark {
  display: none;
  max-height: 100%;
  width: auto;
  transition: opacity 0.3s ease;
}

.navbar.scrolled .logo-light {
  display: none;
}

.navbar.scrolled .logo-dark {
  display: block;
}

/* Single page navigation styles */
.section-anchor {
  scroll-margin-top: 100px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}