/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f9fc;
    color: #333;
    line-height: 1.6;
    /* padding: 20px; */
    min-height: 100vh;
}
/* Top Bar */
.top-bar {
  background-color: #0c0a14;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}
.top-bar a {
  color: #fff;
  text-decoration: none;
  margin-left: 8px;
}
/* Top bar actions + social icons */
.top-bar .top-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.top-bar .book-link {
  background: linear-gradient(90deg,#17a2b8 0%, #138496 100%);
  padding: 8px 14px;
  border-radius: 20px;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.25s ease;
}
.top-bar .book-link:hover { opacity: 0.95; transform: translateY(-2px); }
.top-bar .social-icons { display:flex; align-items:center; gap:6px; }
.top-bar .social-icons a { color: #fff; font-size: 15px; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,0.05); transition: background 0.18s, transform 0.15s; }
.top-bar .social-icons a:hover { background: rgb(7, 159, 47); transform: translateY(-2px); }

@media (max-width: 768px) {
  .top-bar { padding: 8px 0; font-size: 13px; }
  .top-bar .container { 
    flex-direction: column !important; /* Stack phone/email and buttons */
    gap: 8px;
  }
  .top-bar .top-actions { 
    width: 100%; 
    justify-content: center; /* Center the buttons on mobile */
  }
}

@media (max-width: 576px) {
  /* Instead of hiding text, we make the button slightly smaller but readable */
  .top-bar .book-text { display: inline; } 
  .top-bar .book-link { 
    padding: 6px 12px; 
    font-size: 11px; 
    white-space: nowrap; /* Prevents text from breaking into two lines */
  }
  .top-bar .social-icons a { width: 40px; height: 40px; }
}

@media (max-width: 400px) {
  /* On very small screens, shorten the text to save space */
  .top-bar .book-text { display: none; }
  .top-bar .book-link::after { content: "Book Now"; } /* Shorter alternative */
  .top-bar .top-actions { gap: 4px; }
}

/* Navbar */
.navbar {
  background-color: #e0e2e0b5;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: top 0.3s ease;
}
.navbar.hide-navbar {
  top: -80px;
}
.navbar-nav .nav-link {
  font-weight: 600;
  color: #222 !important;
  margin-left: 20px;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #007bff !important;
}

/* Hamburger Menu */
.navbar-toggler {
  border: none !important;
  padding: 6px 8px;
  display: none;
}
.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none;
}
.navbar-toggler .hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.navbar-toggler .hamburger span {
  width: 24px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  transition: all 0.35s ease;
  display: block;
}
.navbar-toggler.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}
.navbar-toggler.active .hamburger span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile navbar menu */
@media (max-width: 991px) {
  .navbar-toggler { display: flex; align-items: center; justify-content: center; }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #e0e2e0b5;
    backdrop-filter: blur(8px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .navbar-collapse.show {
    max-height: 400px;
    overflow-y: auto;
  }
  .navbar-nav {
    flex-direction: column !important;
    padding: 12px 0;
    width: 100%;
  }
  .navbar-nav .nav-link {
    margin-left: 0 !important;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(34, 34, 34, 0.08);
  }
  .navbar-nav .dropdown-item {
    padding: 10px 32px;
  }
}

/* Dropdown */
.navbar .dropdown-menu {
  position: static;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  width: 100%;
}
.navbar .dropdown-menu.show {
  max-height: 300px;
}
.navbar .dropdown-menu .dropdown-item {
  padding: 10px 32px;
  font-weight: 500;
  color: #222;
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
}
.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #7fef71;
  color: #007bff;
}

/* Desktop dropdown styling */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    position: absolute !important;
    background: #f0f0f0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: none;
    overflow: visible;
    width: auto;
    left: 0;
    top: 100%;
  }
  .navbar .dropdown-menu .dropdown-item {
    padding: 8px 16px;
    border-bottom: none;
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .navbar-nav {
    flex-direction: column !important;
    align-items: center;
    width: 100%;
  }
  .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
  .nav-item.active{
     
      color: #138496 !important;
  
  }
  .navbar .container {
    flex-direction: row;
    align-items: flex-start;
  }
  .logo img {
    height: 48px;
  }
  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
  }
  .top-bar a {
    margin-left: 0;
    margin-top: 4px;
    display: block;
  }
}

/* Navbar & Top Bar Responsive */
    @media (max-width: 992px) {
      .navbar-nav {
        flex-direction: column !important;
        /*align-items: flex-start !important;*/
        align-items:center;
        width: 100%;
      }
      .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 10px;
      }
      .navbar .container {
        flex-direction: row;
        align-items: flex-start;
      }
       .nav-item.active{
      padding:4px 4px;
      color: #138496 !important;
    /* font-weight: 700;
    background: linear-gradient(90deg, #17a2b8 0%, #138496 100%);
    border-radius: 25px; */
    /* padding-right: 20px; */
  }
      .logo img {
        height: 48px;
      }
      .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
        font-size: 13px;
      }
      .top-bar a {
        margin-left: 0;
        margin-top: 4px;
        display: block;
      }
    }
/* Gallery Container */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Gallery Header */
.gallery-title {
    text-align: center;
    color: #1a535c;
    font-size: 2.5rem;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4ecdc4;
}

.gallery-subtitle {
    text-align: center;
    color: #2c8c99;
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 30px;
}

/* Image Cards */
.image-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 300px;
    position: relative;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Card Images */
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover .card-image {
    transform: scale(1.05);
}

/* Overlay Effect */
.image-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-card:hover::after {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .gallery-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .image-card {
        height: 280px;
    }
    
    body {
        padding: 10px;
    }
    
    .gallery-container {
        padding: 10px;
    }
}
.footer1 {
      background-color: rgb(5, 5, 31);
      color: white;
    }
    .footer1 ul {
      list-style: none;
      padding-left: 0;
    }
    .footer1 a {
      text-decoration: none;
      color: white;
    }
    .footer1 a:hover {
      color: #ffc107;
    }
/* Optional: For touch devices 
@media (hover: none) {
    .image-card:hover {
        transform: none;
    }
    
    .image-card:hover .card-image {
        transform: none;
    }
} */