body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f4f6f8;
  color: #333;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* NAVBAR */

.navbar {
  background: #111;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 600;
}

.logo a {
  color: #ffd700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo a:hover {
  color: #fff;
}

.logo img {
  height: 60px;
  width: auto;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 28px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffd700;
}

.nav-links a.nav-apply {
  background: #ffd700;
  color: #000;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
}

.nav-links a.nav-apply:hover {
  background: #7a0000;
  color: #fff;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
}

a.links {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.links:hover {
  color: #ffd700;
}

@media (max-width: 900px) {
  .navbar-inner {
    padding: 12px 20px;
  }

  .logo {
    font-size: 22px;
  }

  .logo img {
    height: 48px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -260px;
    height: 100vh;
    width: 220px;
    background: #111;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    transition: 0.3s;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.4);
    z-index: 1100;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    margin: 10px 0;
    width: 100%;
  }

  .nav-links a.nav-apply {
    text-align: center;
    box-sizing: border-box;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 900;
  }

  .overlay.active {
    display: block;
  }
}

/* HERO */

.hero {
  position: relative;
  min-height: 78vh;
  background: url("../../images/magnolia-flats/hero.webp") center/cover no-repeat;
  background-color: #111;
  display: flex;
  align-items: flex-end;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  box-sizing: border-box;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 6px;
  color: #ffd700;
}

.hero-text h2 {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-text p {
  font-size: 18px;
  margin: 0;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.apply-btn {
  background: #ffd700;
  color: #000;
  padding: 16px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
  border: 2px solid #ffd700;
}

.apply-btn:hover {
  background: #7a0000;
  border-color: #7a0000;
  color: #fff;
}

.apply-btn.outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.apply-btn.outline:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    background-image: url("../../images/magnolia-flats/hero-mobile.webp");
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-text h2 {
    font-size: 22px;
  }

  .apply-btn {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* INFO BAR */

.info-bar {
  background: #1e3a5f;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.info-bar h2 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  margin: 0 0 12px;
}

.info-bar p {
  margin: 6px 0;
}

.call-btn {
  background: #ffd700;
  color: #000;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 12px;
}

.call-btn:hover {
  background: #7a0000;
  color: #fff;
}

/* ABOUT */

.about {
  padding: 70px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.about h2 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin: 0 0 20px;
}

.about p {
  font-size: 17px;
  line-height: 1.6;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.specs li {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 15px;
}

.utility-note {
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 22px 26px;
  margin-top: 10px;
}

.utility-note strong {
  color: #ffd700;
  font-size: 20px;
  display: block;
  margin-bottom: 6px;
  font-family: "Playfair Display", serif;
}

.utility-note p {
  margin: 0;
  font-size: 16px;
}

/* SECTION TITLES */

.section-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin: 0 0 10px;
}

.section-title.white {
  color: #fff;
  margin-bottom: 30px;
}

.section-sub {
  text-align: center;
  margin: 0 0 40px;
  color: #555;
  font-size: 17px;
}

/* SUITES */

.suites {
  background: #fff;
  padding: 80px 20px;
}

.suite-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}

.suite {
  background: #f4f6f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.suite-cover {
  position: relative;
  height: 300px;
  overflow: hidden;
  padding: 0;
  border: none;
  background: #ddd;
  cursor: pointer;
  display: block;
  width: 100%;
}

.suite-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.suite-cover:hover img {
  transform: scale(1.05);
}

.suite-count {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffd700;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.suite-body {
  padding: 24px 26px 28px;
  text-align: left;
}

.suite-body h3 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  margin: 0 0 6px;
  color: #111;
}

.suite-body .meta {
  font-weight: 600;
  margin: 0 0 10px;
  color: #7a0000;
}

.suite-body p {
  margin: 0 0 18px;
  line-height: 1.55;
  color: #555;
}

.suite-btn {
  background: #111;
  color: #ffd700;
  border: none;
  padding: 12px 26px;
  border-radius: 30px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.suite-btn:hover {
  background: #ffd700;
  color: #000;
}

@media (max-width: 768px) {
  .suite-body {
    text-align: center;
  }
}

/* TOURS */

.tours {
  padding: 80px 20px;
  background: #f4f6f8;
}

.tour-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}

.tour {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tour video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}

.tour-body {
  padding: 18px 22px 22px;
}

.tour-body h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin: 0 0 4px;
}

.tour-body p {
  margin: 0;
  color: #555;
}

.tour-note {
  text-align: center;
  margin: 36px 0 0;
  font-size: 17px;
}

.tour-note a.links {
  color: #7a0000;
  font-weight: 600;
}

/* FEATURES */

.features {
  background: #fff;
  padding: 80px 20px;
}

.feature-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
}

.feature {
  background: #f4f6f8;
  border-radius: 10px;
  padding: 26px 20px;
  text-align: center;
  font-weight: 500;
  border-top: 4px solid #ffd700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .feature {
    padding: 20px 12px;
    font-size: 14px;
  }
}

.feature svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #111;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* APPLY */

.apply {
  background: #111;
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}

.apply h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin: 0 0 12px;
}

.apply p {
  margin: 0 0 26px;
  font-size: 17px;
  color: #ddd;
}

.apply-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.apply .apply-btn {
  font-size: 17px;
  padding: 16px 40px;
}

.apply small {
  display: block;
  margin-top: 16px;
  color: #aaa;
}

/* LOCATION AND CONTACT */

.contact {
  background: #1e3a5f;
  color: #fff;
  padding: 70px 40px;
  font-size: 17px;
}

.contact .map-contac-sec {
  align-items: stretch;
}

.contact .map-col {
  display: flex;
  flex-direction: column;
}

.contact .map-col p {
  margin: 8px 0;
}

.contact .contact-info-desc {
  font-size: 22px;
  margin: 0 0 10px;
}

.contact .map-col iframe {
  width: 100%;
  flex: 1;
  min-height: 320px;
  border: 0;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: block;
}

.contact .contact-form {
  box-sizing: border-box;
}

.contact .btn-submit {
  background: #ffd700;
  color: #000;
  border-radius: 30px;
  font-family: "Inter", sans-serif;
}

.contact .btn-submit:hover {
  background: #7a0000;
  color: #fff;
}

.captcha-group {
  display: flex;
  justify-content: center;
}

@media (max-width: 360px) {
  .captcha-group .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
  }
}

.extra-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .contact {
    padding: 50px 20px;
  }

  .contact .map-col {
    text-align: center;
	font-size: 15px;
  }

  .contact .map-col iframe {
    flex: none;
    height: 280px;
    min-height: 0;
  }
}

/* FOOTER */

footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 30px;
}

/* GALLERY LIGHTBOX */

.gallery-box {
  position: fixed;
  inset: 0;
  background: #0d0d0d;
  z-index: 2000;
  display: none;
  flex-direction: column;
  color: #fff;
}

.gallery-box.active {
  display: flex;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  gap: 16px;
}

.gallery-head h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin: 0;
  color: #ffd700;
}

.gallery-head span {
  color: #bbb;
  font-size: 14px;
  margin-left: 12px;
}

.gallery-close {
  background: none;
  border: 1px solid #555;
  color: #fff;
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

.gallery-close:hover {
  background: #7a0000;
  border-color: #7a0000;
}

.gallery-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 70px;
  min-height: 0;
}

.gallery-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.gallery-stage.loading img {
  opacity: 0.3;
}

.gallery-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffd700;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
  pointer-events: none;
}

.gallery-stage.loading .gallery-loader {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 34px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

.gallery-nav:hover {
  background: #ffd700;
  color: #000;
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.gallery-caption {
  text-align: center;
  padding: 12px 20px 0;
  font-size: 15px;
  color: #ddd;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 14px 20px 18px;
  overflow-x: auto;
  justify-content: center;
}

.gallery-thumbs img {
  width: 88px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  flex-shrink: 0;
  background: #222;
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
  opacity: 1;
  border-color: #ffd700;
}

.gallery-thumbs img.plan {
  object-fit: contain;
}

body.gallery-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .gallery-stage {
    padding: 0 10px;
  }

  .gallery-nav {
    width: 42px;
    height: 42px;
    font-size: 26px;
    background: rgba(0, 0, 0, 0.5);
  }

  .gallery-thumbs {
    justify-content: flex-start;
  }

  .gallery-head h3 {
    font-size: 18px;
  }
}
