.cta-button {
  background: #c8102e;
  color: #fff;
  padding: 0.75em 1.5em;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.cta-button:hover {
  background: #a50e24;
  transform: scale(1.05);
}

/* WHY DUBOIS SECTION */
.why-dubois {
  background: #fff;
  padding: 3em 1em;
  text-align: center;
  border-top: 6px solid #c8102e;
}

.why-dubois h2 {
  font-size: 2.2rem;
  margin-bottom: 1.25em;
  color: #000;
}

.features {
  list-style: none;
  font-size: 1.2rem;
  padding: 0;
  color: #333;
  max-width: 600px;
  margin: 0 auto;
}

.features li {
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

/* FEATURED APARTMENTS */
.apartments-preview {
  padding: 4em 1em;
  background: #f8f8f8;
}

.apartments-preview h2 {
  font-size: 2.2rem;
  margin-bottom: 1em;
  color: #000;
  text-align: center;
}

.apartment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  margin: auto;
}

.apartment-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.apartment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.apartment-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.apartment-card h3 {
  font-size: 1.5rem;
  color: #c8102e;
  margin-top: 1em;
}

.apartment-card p {
  font-size: 1.1rem;
  color: #444;
  padding: 0.5em 1em 1.5em;
  margin: 0;
}

.booking-cta {
  margin-top: 2em;
  text-align: center;
}

/* AMENITIES SECTION */
.amenities-section {
  padding: 4em 1em;
  background: #fff;
  border-top: 6px solid #c8102e;
}

.amenities-block {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 3em;
  margin: 4em auto;
  max-width: 1200px;
  padding: 0 1em;
}

.amenities-images {
  flex: 1 1 50%;
  max-width: 50%;
}

.amenities-images img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.amenities-text {
  flex: 1 1 50%;
  font-size: 1.1rem;
  text-align: left;
}

.amenities-text h2 {
  color: #c8102e;
  font-size: 2rem;
  margin-bottom: 1em;
}

.amenities-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amenities-text li {
  margin-bottom: 0.75em;
}

/* MAP SECTION */
.map-section {
  background: #f9f9f9;
  padding: 3em 1em;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 6px solid #c8102e;
  box-sizing: border-box;
}

.map-section h2 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 1em;
}

.map-section img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 4px solid #c8102e;
  margin-top: 1em;
}

.map-section p {
  font-size: 1.1rem;
  color: #333;
  margin-top: 1em;
}

/* SECTION HEADINGS */
.section-heading h2 {
  font-size: 2.2rem;
  text-align: center;
  color: #000;
  font-weight: bold;
  margin-bottom: 2em;
}

/* FOOTER EXTENDED FOR HOME PAGE */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 2.5em 1em;
}

.footer h3 {
  color: #c8102e;
  margin-bottom: 1em;
  font-size: 1.5rem;
}

.footer p {
  margin: 0.5em 0;
  font-size: 1rem;
  line-height: 1.5;
}

.footer a {
  color: #c8102e;
  text-decoration: underline;
  font-weight: bold;
}

.footer a:hover {
  color: #a50e24;
}

@media (max-width: 768px) {
  /* Header spacing */
  .header {
    padding: 1rem;
  }

  /* Top row: logo on left, menu icon on right */
  .logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Logo size */
  .logo-wrapper img.big-logo {
    max-height: 100px;
    width: auto;
  }

  /* Hamburger icon on right */
  .menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: white;
  }

  /* Nav container holds dropdown menu */
  .nav-container {
    width: 100%;
    margin-top: 0.5rem;
  }

  /* Hidden nav by default on mobile */
  .navbar {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: #000;
    width: 100%;
    padding: 0.5rem 0;
    border-top: 2px solid #c8102e;
  }

  /* Show nav when open */
  .navbar.open {
    display: flex;
  }

  /* Nav links styling */
  .navbar a {
    padding: 0.75rem 1.5rem;
    width: 100%;
    display: block;
    color: white;
    border-bottom: 1px solid #222;
    text-decoration: none;
  }

  .navbar a:hover {
    background-color: #111;
  }
}

/* === FORCE HIDE MENU TOGGLE ON DESKTOP === */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
  
}
@media (max-width: 768px) {
  .contact-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .contact-section {
    width: 100%;
    max-width: 500px;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .contact-section ul {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
  }

@media (max-width: 768px) {
  .cta-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: center;
    border-radius: 6px;
  }

  .contact-section {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }
}

  .map-section {
    width: 100%;
    text-align: center;
  }

  .map-section iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
  }
}

html, body {
  overflow-x: hidden;
}
@media (max-width: 768px) {
  .amenities-block {
    flex-direction: column;
    gap: 2em;
  }

  .amenities-images,
  .amenities-text {
    max-width: 100%;
    flex: 1 1 100%;
    text-align: center;
  }

  .amenities-images img {
    width: 100%;
    height: auto;
  }

  .amenities-text {
    font-size: 1rem;
    text-align: center;
  }

  .amenities-text h2 {
    font-size: 1.75rem;
  }
}
