/* Global Settings */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  background-color: #d59be4;
  color: #111;
}

/* Navbar */
.custom-navbar {
  padding: 10px 20px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-icon {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.navbar-title {
  font-size: 1.5rem;
  color: #333;
  margin-left: 6px;
  font-weight: 600;
}

/* Residency Video */
.residency-video {
  max-width: 1200px;
  height: auto;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.custom-video {
  border: 4px solid #198754;
  border-radius: 16px;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: auto;
  max-width: 800px;
}

/* Logo Page */
.logo-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease;
  padding: 20px;
}

.logo-container img {
  width: 220px;
  height: auto;
}

.logo-container h1 {
  margin-top: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #0f0f0f;
}

.background-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/Logos/bg.webp') no-repeat center center/cover;
  filter: blur(10px) brightness(0.8);
  z-index: -1;
}

.hidden {
  display: none;
}

/* Gallery Section */
#gallery-section {
  padding-top: 60px;
  min-height: 100vh;
  padding-left: 20px;
  padding-right: 20px;
}

.gallery-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

.gallery-card p {
  font-size: 1.8rem;
  color: #ffffff;
  margin-top: 10px;
  font-weight: 600;
  text-shadow: 1px 1px 2px #000;
}

.image-gallery img {
  width: 280px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-gallery a:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Amenities */
.amenity-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.amenity-icon:hover {
  transform: scale(1.1);
  color: #17acd1;
}

.amenity-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #198754;
}

.gallery-main {
  height: 100%;
  object-fit: cover;
  max-height: 400px;
  width: 100%;
  border-radius: 12px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .navbar-title {
    font-size: 1.3rem;
  }

  .custom-navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-title {
    font-size: 2rem;
  }

  .gallery-card p {
    font-size: 1.3rem;
  }

  .image-gallery img {
    width: 100%;
    max-width: 95%;
  }

  .residency-video {
    padding: 10px;
  }

  .custom-video {
    max-width: 100%;
    height: auto;
  }

  .logo-container h1 {
    font-size: 1.6rem;
  }

  .amenity-icon {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

