/* #region Global */
* {
  box-sizing: border-box; /*makes the width and height of all elements in the site include the padding and border*/
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, sans-serif; 
  display: flex;
  flex-direction: column; 
  min-height: 100vh; 
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.index-header {
  text-align: center;
  padding-top: 25px;
  padding-bottom: 25px;
}

/* #endregion Global */

/* #region Logo */
.index-logo {
  width: 130px;
  height: auto; /*automatically adjusts the height relative to the width to maintain the original aspect ratio*/
  display: block; /*makes this a block element*/
  margin: 0 auto; /*centers this as a block element*/
  padding-bottom: 0px;
}
/* #region Logo Media Queries */
@media (min-width: 375px) {
  .index-logo {
    min-width: 140px;
  }
}

@media (min-width: 768px) {
  .index-logo {
    min-width: 160px;
  }
}
/* #endregion Logo Media Queries */
/* #endregion Logo */

/* #region Headline*/
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center;     /* horizontal center */
  text-align: center;
  padding: 0 10px;
  margin: 0 auto;
  max-width: 675px;
}

.hero-headline{
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 20px;
}

.sub-headline {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #4B4E53;
}

/* #region Headline Media Queries*/
@media (min-width: 375px) {
  .hero-headline {
    font-size: 2.1rem;
  }
  .sub-headline {
    font-size: 1.5rem;
  }
}
@media (min-width: 768px) {
  .hero {
    max-width: 768px;
  }
  
  .hero-headline {
    font-size: 2.5rem;
  }
  .sub-headline {
    font-size: 1.6rem;
  }
}
@media (min-width: 1024px) {
  .hero-headline {
    font-size: 2.75rem;
    margin-top: 40px;
  }
}
@media (min-width: 1280px){
  .hero-headline {
    font-size: 3rem;
  }
}
@media (min-width: 1920px){
  .sub-headline {
    font-size: 1.75rem;
  }
}
/* #endregion Headline Media Queries*/
/* #endregion Headline*/

/* #region Hero Image */
.hero-wrapper {
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
} 

.hero-image {
  width: 100%;              /* scales to wrapper width */
  height: auto;             /* maintains aspect ratio */
  display: inline-block;    /* ensures it respects text-align center */
}
/* #endregion Hero image */

/* #region Serving*/
.serving {
  margin-top: 20px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #4B4E53;
}

/* #region Serving Media Queries*/
@media (min-width: 375px) {
  .serving {
    font-size: 1.5rem;
  }
}
@media (min-width: 768px) {
  .serving {
    font-size: 1.6rem;
  }
}
@media (min-width: 1920px){
  .serving {
    font-size: 1.75rem;
  }
}
/* #endregion Serving Media Queries*/
/* #endregion Serving*/

/* #region Features */
.body-text {
    font-size: 1rem;
    font-weight: 600;
    color: #4B4E53;
    line-height: 1.5;
}

.features-header {
  font-size: 1.5rem;
  margin-bottom: .75rem;
  /* max-width: 500px;
  padding: 0 1rem; */
  text-align: center;
}
/* #region Features Media Queries */
@media (min-width: 375px) {
  .features-header {
    font-size: 1.75rem;
  }
  .features-text {
    font-size: 1.25
  }
}

@media (min-width: 768px) {
  .features-header {
    font-size: 2rem;
  }
  .features text {
    font-size: 1.3rem;
  }
  .body-text {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .features-header {
    font-size: 2.25rem;
  }
}

@media (min-width: 1920px){
  .features-header {
    font-size: 2.5rem;
  }
  .features-text {
    font-size: 1.35rem;
  }
}
/* #endregion Features Media Queries */
/* #endregion Features */

/* #region How it works*/
.how-it-works-section {
  background-color: #f5f5f5;
  padding: 3rem 2rem;
}

.how-it-works {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works-title {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  padding-top: 2rem;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
}

.step {
  list-style: none;
  flex: 1;
  max-width: 350px;
  margin: 0 auto;
  text-align: center;
}

.step-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: #7bac66;
  margin-bottom: 5px;
}

/* #region How it works Media Queries */
@media (min-width: 375px) {
  .how-it-works-title {
    font-size: 1.75rem;
  }
  .step-number {
  font-size: 1.75rem;
}
}


@media (min-width: 768px) {
  .how-it-works-title {
    font-size: 2rem;
  }
  .step-number {
  font-size: 2rem;
}
}

@media (max-width: 950px) {
  .steps-container {
    flex-direction: column;  /* stack vertically on smaller screens */
  }
}

@media (min-width: 1024px) {
  .how-it-works-title {
    font-size: 2.25rem;
  }
  .step-number {
  font-size: 2rem;
}
}

@media (min-width: 1920px){
  .how-it-works-title {
    font-size: 2.5rem;
  }
  .step-number {
  font-size: 2.25rem;
}
}
/* #endregion How it works Media Queries */
/* #endregion How it works*/

/* #region Sample Brochure */
.sample-section{
  width: 100%;
  padding-top: 2rem;
}

.sample-wrapper {
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  max-width: 800px;
} 

.sample-image {
  width: 100%;
  height: auto;
  display: inline-block;
  padding-right: 1rem;
  padding-left: 1rem;
}

#sample-text {
  text-align: center;
}
/* #endregion Sample Brochure */

/* #region Move-In Day*/
.move-in-day {
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: #f5f5f5;
}

.move-in-text {
  max-width: 800px;
  margin: 0 auto;
}

.move-in-day ul{
  padding-left: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
/* #endregion Move-In Day*/

/* #region Why Apartments Participate*/
.apartments {
  margin: 0 auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 800px;
}
/* #endregion Why Apartments Participate*/

/* #region Contact Form */
.contact-section {
  background-color: #f5f5f5;
  padding: 4rem 2rem;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.contact-text {
  font-size: 1rem;
  font-weight: 600;
  color: #4B4E53;
  line-height: 1.5;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #4B4E53;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: Helvetica, sans-serif;
  font-size: 1rem;
  color: #4B4E53;
  background-color: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #7bac66;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-family: Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #7bac66;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  opacity: 0.9;
}

/* #region Contact Form Media Queries */
@media (min-width: 375px) {
  .contact-title {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-text {
    font-size: 1.2rem;
  }

  .contact-form button {
    width: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .contact-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1920px) {
  .contact-title {
    font-size: 2.5rem;
  }
}
/* #endregion Contact Form Media Queries */
/* #endregion Contact Form */

/* #region Footer */
.landing-footer {
  background-color: #f9f9f9;
  padding: 40px 20px;
  border-top: 1px solid #ddd;
  font-size: 1rem;
  color: #555;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1px;
}

.footer-brand {
  margin: 0;
  font-weight: 500;
 
}

.footer-nav a {
  margin-left: 10px;
  color: #555;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}
/* #region Footer Media Queries */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer-nav a {
    margin-left: 0;
    margin: 5px 10px;
    display: inline-block;
  }
}

@media (min-width: 1920px) {
  .landing-footer {
    font-size: 1.25rem;
  }
}
/* #endregion Footer Media Queries */
/* #endregion Footer */