/* I didn't recieve any feedback but i did change it to be more mobile responsive and changed some of the photos and styles */
html,
body > section {
  flex: 1;
}

body {
  width: 100%;
  background-color: #f5f5f5;
  margin: 0% !important;
  padding: 0% !important;
  font-family: "Cormorant Garamond", serif;
  display: flex;
  flex-direction: column;
}

.homeheader {
  height: 100vh;
  background-image: url("../img/Cameron-Port-header1-3.JPG");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  padding-top: 0px;
  text-align: center;
  top: 100px;
}

/* styles for link box */
[class^="header-link"] {
  padding-right: 3.5%;
  padding-left: 3.5%;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  color: black;
  font-weight: 800;
  font-size: 0.9em;
  letter-spacing: 0.2em;
}

.spacer {
  display: block;
  width: 100%;
  text-align: center;
}

.linkbox {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: normal;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-top: 3%;
  padding-right: 0%;
  padding-bottom: 0%;
  padding-left: 0%;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: top 1s ease;
  z-index: 100;
}

a:hover {
  text-decoration: none !important;
  color: rgb(255, 255, 255);
  cursor: pointer;
}

.h1container {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

h1 {
  text-align: center;
  color: black;
  font-weight: 300;
  font-size: 7.5vw;
  line-height: 2em;
  margin-top: 0;
  margin-bottom: 20vh;
  letter-spacing: 1vw;
  position: relative;
}

.coversocial {
  width: 100%;
  position: absolute;
  bottom: 3%;
}
.coverinstagram {
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.1em;
  color: black;
}
.coverinstagram:hover {
  color: #fbfbfe;
}
.title_lines {
  margin-top: 3%;
  margin-bottom: 5%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.title_lines h2 {
  font-size: 4vw;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.gallery {
  column-count: 4;
  column-gap: 12px;
  padding: 0 10%;
  margin-bottom: 50px;
}

.gallery-img:hover {
  transform: scale(1.03);
  transition: transform 0.2s ease;
  z-index: 10;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: block;
  break-inside: avoid;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
}

.lightbox.hidden {
  display: none;
}

.hidden {
  display: none;
}

.active {
  color: rgb(255, 255, 255);
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  max-height: 90%;
}

#lightbox-img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
}

.close-btn {
  position: fixed;
  top: -20px;
  right: 30px;
  color: #fbfbfe;
  font-size: 10vh;
  cursor: pointer;
}

.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fbfbfe;
  font-size: 40px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.left-arrow {
  left: 5px;
}

.right-arrow {
  right: 10px;
}

/* Footer Styling */
.simple-footer {
  background: #111;
  color: #fff;
  padding: 20px 10px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #aaa;
}

.footer-copyright {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* real estate page styles */

.homeheaderre {
  height: 100vh;
  background-image: url("../img/RealEstate/IMG_5525-HDR-18.JPG");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  padding-top: 0px;
  text-align: center;
  background-position-y: vh;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 5vh 10%;
  background-color: #f5f5f5;
}

.grid-video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}
/* About Page styles */

.aboutheader {
  height: 100vh;
  background-image: url("../img/About/author.JPG");
  background-size: 100vw;
  background-repeat: no-repeat;
  background-position: 0 -70vw;
  align-content: center;
  padding-top: 0px;
  text-align: center;
}

.abouth1 {
  color: #fbfbfe;
}

.bannerabout {
  margin-top: 15%;
  width: 100%;
  height: 70vh;
}
.innerbannerabout {
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
  align-content: normal;
  align-items: normal;
  justify-content: normal;
  width: 100%;
  height: 100%;
}

.leftbannerabout {
  margin: 0% -5% 0% 5%;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.rightbannerabout {
  margin: 0% 5% 0% -5%;
  width: 50%;
  height: 100%;
}

.aboutimagebanner {
  background-image: url("../img/About/me.JPG");
  background-position: center Bottom;
  background-size: cover;
  width: 100%;
  height: 110%;
}

.textbannerabout {
  font-family: "Montserrat", sans-serif;
  font-size: 4.5vw;
  font-weight: 500;
  height: 100%;
  line-height: 1.1em;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
}
.textbannerabout p {
  margin: 0%;
  padding: 0%;
}

#about1,
#about3,
#about5 {
  margin-left: 21%;
}
#about2,
#about4 {
  margin-left: 21%;
  color: Black;
}

#about4_2 {
  margin-left: 31.2%;
  color: black;
}
#about5_2 {
  margin-left: 31.2%;
}
.aboutme {
  margin: 10%;
}

.aboutmetitle h2 {
  font-weight: 200;
  width: 50%;
  margin-right: 45%;
  margin-left: 5%;
  text-align: left;
  font-size: 2.5em;
}
.aboutmetext {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.4em;
}

.aboutmetext p strong {
  font-weight: 500;
}
.aboutmetext p .strongblue {
  color: #00979e;
  font-weight: 500;
}

/* Contact Form styles and button style */

.contacth1 {
  padding-top: 9vh;
  font-size: 7vh;
  margin-bottom: 0 !important;
}

.visitor {
  padding-top: 0%;
}

.contactform,
.visitor-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4vh 0;
}

form {
  background-color: #fff;
  padding: 60px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
  font-family: "Montserrat", sans-serif;
  color: black;
}

.visitor-form {
  max-width: 40vw;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 1em;
  letter-spacing: 0.05em;
}

form input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid black;
  border-radius: 5px;
  font-size: 1em;
  background-color: #fbfbfe;
  color: black;
}

form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid black;
  border-radius: 5px;
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
  resize: vertical;
  min-height: 100px;
  max-height: 400px;
  background-color: #fbfbfe;
  color: black;
}

.address-entry.city,
.address-entry.state,
.address-entry.zip {
  flex: 1 1 20%;
}

.address-entry.lname,
.address-entry.fname {
  flex: 1 1 45%;
}

.address-entry.address {
  flex: 1 1 100%;
}

.form-container {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.address-entry {
  margin-right: 5vh;
  width: 100%;
}

form input[type="submit"] {
  background-color: black;
  color: #fbfbfe;
  border-top: none;
  padding: 12px 20px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 0.9vh;
}

form input[type="submit"]:hover {
  background-color: #444;
}

button {
  background-color: #333;
  color: #f0f0f0;
  border: 1px solid #555;
  padding: 10px 16px;
  font-size: 0.9em;
  border-radius: 6px;
}

button:hover {
  background-color: #ddd;
  color: #111;
  border-color: #ccc;
}

form fieldset {
  border: 1px solid black;
  border-radius: 10px;
  margin-bottom: 20px;
  background-color: #fbfbfe;
}

form legend {
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: 0.05em;
  padding: 0 10px;
}

/* making webpage mobile friendly */

@media (max-width: 1000px) and (orientation: portrait) {
  .homeheaderre {
    background-image: url("../img/RealEstate/IMG_5701-45.JPG");
  }
  .gallery {
    column-count: 2;
  }
  [class^="header-link"] {
    font-size: 2.5vw;
  }
  .aboutme > div > p {
    font-size: 3vw;
  }
  .textbannerabout > p {
    margin-bottom: 10%;
    font-size: 2.3vh;
  }
  form {
    padding: 3vh 3vh;
    max-width: 95%;
    border-radius: 8px;
    box-shadow: none;
  }

  form label {
    font-size: 0.9em;
  }

  form input[type="text"],
  form textarea {
    padding: 12px;
    margin-bottom: 20px;
    font-size: 0.95em;
    border-radius: 6px;
  }

  form textarea {
    min-height: 100px;
  }

  form input[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border-radius: 6px;
  }

  button {
    width: 100%;
    font-size: 0.95em;
    padding: 10px 12px;
    border-radius: 6px;
  }
  .contacth1 {
    font-size: 5vh;
  }
  .aboutimagebanner {
    height: 100%;
  }
  .aboutheader {
    background-position: -10vh 0vh;
    background-size: cover;
  }
}


/* Package Grid Styles */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 0 5%;
}

.package-option {
    display: flex; /* Make the package a flex container */
    flex-direction: column; /* Stack children vertically */
    padding: 1.5rem;
    border: 1px solid rgba(0,151,158,0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: white;
}

.package-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.package-option h3 {
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    color: #222222;
    margin: 1rem 0;
    font-weight: 600;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1; /* Allow the features list to grow and push the button down */
}

.package-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.package-features li:before {
    content: "•";
    color: #868686;
    position: absolute;
    left: 0;
}

.select-package {
    background: #222222;
    color: white;
    border: none;
    padding: 1rem .1rem;
    cursor: pointer;
    width: 100%;
    margin-top: auto; /* Push the button to the bottom */
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    text-align: center;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.select-package:hover {
    background: #222222;
}
/* Adjust spacing for the packages section */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; /* Reduced gap */
    margin: 2rem 0; /* Reduced margin */
    padding: 0 5%; /* Reduced padding */
}

.package-option {
    padding: 1.5rem; /* Reduced padding */
    border: 1px solid #868686;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: white;
}

/* New "See All Pricing" button */
.see-all-pricing {
    display: inline-block;
    margin-top: 1rem;
    padding: .75rem 1.5rem;
    background: #222222;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.see-all-pricing:hover {
    background: #868686;
}


/* Responsive Adjustment */
@media (max-width: 600px) {
    .footer-container {
        display: flex;
        flex-direction: column; /* Stack links vertically */
        gap: 10px; /* Space between stacked items */
    }
}
