/* 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-top: 10px;
  padding-bottom: 10px;
  min-height: 40px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.navbar-title {
  font-size: 2rem;
  color: #333;
  text-align: left;
  font-weight: 600;
}

/* Navbar link font size */
.navbar-nav .nav-link {
  font-size: 1.3rem;
  font-weight: 500;
  color: #131212 !important;
}


/* Row wrapper (optional but clean) */
.residency-video {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

/* Video outer frame */
.video-frame {
  width: 100%;
  height: 100%;
  border: 4px solid #198754;
  border-radius: 14px;              /* CRITICAL: no overflow */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: #000;
}

/* Video itself */
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;                 /* removes white gaps */
  object-fit: cover;              /* fills frame cleanly */
  border-radius: 10px;
}



/* Border + shadow box */
.video-box{
  border:4px solid #198754;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.2);
  overflow:hidden;          /* 🔑 prevents overflow */
  width:100%;
  max-width:800px;
}

.custom-video{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;      /* keeps shape */
  border-radius:12px;       /* SAME as border */
}



/* Logo Page */
.logo-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease;
}

.logo-container img {
  width: 250px;
  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 */
#gallery-section {
  padding-top: 60px;
  min-height: 100vh;
}

.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;
  justify-content: center;
  gap: 30px;
  padding: 30px 10px;
}

.gallery-card p {
  font-size: 2rem;
  color: #ffffff;
  margin-top: 20px;
  font-weight: 600;
  text-shadow: 1px 1px 2px #000;
}

.image-gallery img {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px 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.5rem;
  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-card:first-child {
  margin-top: 3px; /* You can adjust this value */
}

.gallery-main {
  height: 100%;
  object-fit: cover;
  max-height: 400px;
}

/* Footer Styling */
footer {
  background-color: #1c1c1c;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  width: 100%;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #17acd1;
}

footer p {
  margin: 5px 0;
  font-size: 1rem;
}

/* 📱 Mobile view adjustments */
@media (max-width: 576px) {
  /* Navbar title smaller */
  .navbar-title {
    font-size: 1.4rem;
    text-align: center;
  }

  /* Navbar links stacked or smaller */
  .navbar-nav .nav-link {
    font-size: 1rem;
  }

  /* Logo section */
  .logo-container img {
    width: 150px;
  }

  .logo-container h1 {
    font-size: 1.2rem;
    text-align: center;
    padding: 0 10px;
  }

  /* Gallery stacking */
  .image-gallery {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }

  .image-gallery img {
    width: 90%;
    height: auto;
  }

  .gallery-card p {
    font-size: 1.2rem;
  }

  /* Video resizing */
  .residency-video {
    height: auto;
  }

  .custom-video {
    max-width: 100%;
  }

  /* Footer smaller text */
  footer p,
  footer a {
    font-size: 0.85rem;
    display: block;
    margin: 5px 0;
  }
}

