body {
    font-family: 'Inter', sans-serif;
}
.font-lora {
    font-family: 'Lora', serif;
}
html {
    scroll-behavior: smooth;
}
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero_cover.webp');
    background-size: cover;
    background-position: center;
}
/* Style for the navbar when scrolled */
.scrolled {
    background-color: rgba(13, 76, 82, 0.9); /* A slightly transparent dark teal */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
header {
    transition: background-color 0.5s ease-in-out;
}

.cta-parallax-bg {
    background-image: url('images/cta-background.webp');
}

.btn-services {
  /* This display property is needed for self-start to work */
  display: inline-block;
  
  /* Color: White text, Teal background */
  background-color: #0d9488; /* This is teal-600 */
  color: white;
  
  /* Sizing & Spacing */
  padding-top: 0.75rem;    /* py-3 */
  padding-bottom: 0.75rem; /* py-3 */
  padding-left: 2rem;      /* px-8 */
  padding-right: 2rem;     /* px-8 */
  border-radius: 0.5rem;   /* rounded-lg */
  font-weight: 700;        /* font-bold */
  align-self: flex-start;  /* self-start */
  
  /* Transition */
  transition: background-color 0.3s, color 0.3s;
}

.btn-services:hover {
  /* Hover: White background, Teal text */
  background-color: white;
  color: #0d9488; /* This is teal-600 */
}

/* For the main Call-to-Action buttons */
.btn-primary {
  /* Default: Teal background, White text */
  background-color: #0d9488; /* This is teal-600 */
  color: white;
  font-weight: 700; /* font-bold */
  padding-top: 0.75rem;    /* py-3 */
  padding-bottom: 0.75rem; /* py-3 */
  padding-left: 2rem;      /* px-8 */
  padding-right: 2rem;     /* px-8 */
  border-radius: 0.5rem;   /* rounded-lg */
  font-size: 1.125rem;     /* text-lg */
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  border: 2px solid transparent; /* Add a transparent border to prevent "jumps" on hover */
}

.btn-primary:hover {
  /* Hover: White background, Teal text, Teal border */
  background-color: white;
  color: #0d9488; /* This is teal-600 */
  border-color: #0d9488; /* Add a border matching the teal color */
}

/* For the Contact Us button within the CTA section */
.btn-secondary {
  /* Default: Dark Gray background, White text */
  background-color: #1f2937; /* This is gray-800 */
  color: white;
  font-weight: 700; /* font-bold */
  padding-top: 0.75rem;    /* py-3 */
  padding-bottom: 0.75rem; /* py-3 */
  padding-left: 2rem;      /* px-8 */
  padding-right: 2rem;     /* px-8 */
  border-radius: 0.5rem;   /* rounded-lg */
  font-size: 1.125rem;     /* text-lg */
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  border: 2px solid transparent; /* Add a transparent border to prevent "jumps" on hover */
}

.btn-secondary:hover {
  /* Hover: Even Darker Gray background, Teal text, Teal border */
  background-color: #111827; /* This is gray-900 */
  color: #0d9488; /* This is teal-600 */
  border-color: #0d9488; /* Add a border matching the teal color */
}

/* Gallery Image Hover Effect */
.gallery-item {
  position: relative;
  overflow: hidden; /* Ensures the zoom effect doesn't spill out */
  display: block; /* Make sure the anchor tag behaves like a block for sizing */
}

.gallery-item img {
  transition: transform 0.3s ease-in-out; /* Smooth transition for the image */
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* Dark shade overlay */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none; /* Allows clicks to pass through to the image below if needed */
  z-index: 1; /* Ensure overlay is above the image */
  border-radius: 0.5rem; /* Match rounded corners of the image */
}

.gallery-item::after {
  content: '+';
  font-family: Arial, sans-serif; /* Or any font you prefer for the plus sign */
  font-size: 3rem; /* Large plus sign */
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5); /* Start small and centered */
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  pointer-events: none; /* Allows clicks to pass through */
  z-index: 2; /* Ensure plus sign is above the overlay */
}

.gallery-item:hover::before {
  opacity: 1; /* Show the overlay on hover */
}

.gallery-item:hover::after {
  opacity: 1; /* Show the plus sign on hover */
  transform: translate(-50%, -50%) scale(1); /* Scale up to normal size */
}

/* Force GLightbox navigation arrows to be visible on mobile */
.glightbox-touch .gnext,
.glightbox-touch .gprev {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ============================================== */
/* MODAL (POP-UP) STYLES                      */
/* ============================================== */

.modal-overlay {
  /* Hidden by default */
  display: none; 
  
  /* Full screen overlay */
  position: fixed;
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */

  /* Flexbox to center the content */
  align-items: center;
  justify-content: center;
}

/* This class is added by JavaScript to show the modal */
.modal-overlay.active {
  display: flex;
}

.modal-content {
  background-color: #fefefe;
  color: #333;
  margin: auto;
  padding: 2rem;
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 90%; /* Good for mobile */
  max-width: 600px; /* Max width on desktop */
  position: relative;
  
  /* Animation (optional but nice) */
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Close button */
.modal-close {
  color: #aaa;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Simple fade-in/drop-down animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

/* Add this to your styles.css */

.rotating-gallery-item {
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure it takes up the full height of its grid cell */
    width: 100%;
    border-radius: 0.5rem; /* Match rounded corners of static images */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* Match shadow-md */
}

.rotating-gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* All images start hidden */
    transition: opacity 1s ease-in-out; /* Smooth fade effect */
}

/* This class will be added by JavaScript to the currently active image */
.rotating-gallery-item img.active-slide {
    opacity: 1; /* Make the active image visible */
}

/* Inherit existing gallery item hover effects */
.rotating-gallery-item.gallery-item::before,
.rotating-gallery-item.gallery-item::after {
    border-radius: 0.5rem; /* Ensure overlay and plus sign also have rounded corners */
}