/* Reset default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: #333;
}

        header {
            background-color: green;
            padding: 1px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 24px;
            color: white;
        }
        .hamburger {
            display: none;
            cursor: pointer;
        }
        nav {
            display: flex;
            justify-content: space-around;
            align-items: center;
            z-index: 2;
        }
        nav a {
            color: white;
            text-decoration: none;
            padding: 1px 15px;
            z-index: 2;
        }
        
        .container {
          display: flex
          margin: 0 auto;
          padding: 0 20px;
        }
        
        .left-div {
              width: 80%;
              float: left;
              background-color: #f2f2f2;
              word-break: break-word;
            }
            
        .right-div {
              width: 20%;
              float: left;
              background-color: #ddd;
              display: flex;
            }

/* iphone 13 - 2532x1170 pixels at 460ppi */
@media only screen 
    and (device-width: 390px) 
    and (device-height: 844px) 
    and (-webkit-device-pixel-ratio: 3) { 
          .hamburger {
            display: block;
        }
        nav {
            display: none;
            flex-direction: column;
            background-color: green;
            position: absolute;
            top: 60px;
            left: 0;
            width: 100%;
        }
        nav a {
            display: block;
            padding: 15px;
            text-align: center;
        }
        nav.active {
            display: flex;
        }
        .container {
            flex-direction: column-reverse;
        }
        .left-div {
            width: 100%;
        }
    }            

@media screen and (max-width: 768px) {
            .hamburger {
                display: block;
            }
            nav {
                display: none;
                flex-direction: column;
                background-color: green;
                position: absolute;
                top: 60px;
                left: 0;
                width: 100%;
            }
            nav a {
                display: block;
                padding: 15px;
                text-align: center;
            }
            nav.active {
                display: flex;
            }
            .container {
                flex-direction: column-reverse;
            }
            .left-div {
                width: 100%;
            }
}
 
table {
    border-collapse: collapse;
    width: 100%;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
  } 
  

table th {
  background-color: #301be7;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #ccc;
}

table tr:nth-child(even) td {
  background-color: #f2f2f2;
}

table tr:hover td {
  background-color: #ffedcc;
}

table td {
  background-color: #fff;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  word-wrap: break-word;
}

/* Hero section styles */
#hero {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 300px;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.hero-content {
  max-width: 100%;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 40px;
}

.hero-content .btn {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-content .btn:hover {
  background-color: #555;
}

/* About section styles */
#about {
  padding: 80px 0;
  background-color: #f7f7f7;
  text-align: center;
}

#about h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

#about p {
  font-size: 18px;
  margin-bottom: 40px;
}
 

 
/* (B) GALLERY WRAPPER */
.gallery {
  /* (B1) GRID LAYOUT - 3 IMAGES PER ROW */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
 
  /* (B2) OPTIONAL WIDTH RESTRICT */
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

#gallery h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

/* (C) GALLERY IMAGES */
.gallery img {
  /* (C1) DIMENSION */
  width: 100%;
  height: 300px;  /* optional */
  padding: 10px;
 
  /* (C2) COLORS */
  border: 1px solid #ddd;
  background: #fff;
 
  /* (C3) IMAGE RESIZE */
  /* cover | contain | fill | scale-down */
  object-fit: contain;
  position: relative;
}

/* (E) OPTIONAL ZOOM ON HOVER */
.gallery img:hover {
  z-index: 9;
  transform: scale(1.3);
  /* linear | ease | ease-in | ease-out | ease-in-out */
  transition: transform ease 0.5s;
}

/* (F) FULLSCREEN MODE */
.gallery img.full {
  position: fixed;
  top: 0; left: 0; z-index: 999;
  width: 100vw; height: 100vh;
  object-fit: fit;
  background: rgba(0, 0, 0, 0.7);
}

.gallery img.full:hover {
  z-index: 999;
  transform: none;
}

/* (D) ON SMALL SCREENS - 2 IMAGES PER ROW */
@media only screen and (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* overview section styles */
#overview {
  padding: 10px 5px 15px 20px;
  background-color: #f7f7f7;
  text-align: left;
}
/* page section styles */

/* gallery section styles */
#gallery {
  padding: 10px 5px 15px 20px;
  text-align: left;
}

#gallery h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Services section styles */
#services {
  padding: 10px 5px 15px 20px;
  text-align: left;
}

#services h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

#services ul {
  list-style: none;
  margin-bottom: 40px;
}

#services ul li {
  display: inline-block;
  margin-right: 20px;
  font-size: 18px;
}

/* Neighborhood section styles */
#neighborhood {
  padding: 10px 5px 15px 20px;
  text-align: left;
}

#neighborhood h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Real Estate section styles */
#realestate {
  padding: 10px 5px 15px 20px;
  text-align: left;
}

#realestate h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Real Estate section styles */
#realestate h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

/* hoa section styles */
#hoa {
  padding: 10px 5px 15px 20px;
  text-align: left;
}

#hoa h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

/* connect section styles */
#connect {
  padding: 10px 5px 15px 20px;
  text-align: left;
}

#connect h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Portfolio section styles */
#portfolio {
  padding: 10px 5px 15px 20px;
  text-align: center;
}

#portfolio h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.portfolio-items {
  display: flex;
  justify-content: center;
}

.portfolio-item {
  margin: 0 20px;
  text-align: center;
}

.portfolio-item img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 10px;
}

.portfolio-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Contact section styles */
.contact {
  padding: 10px 5px 15px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #555;
}

/* Footer styles */
.footer {
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 20px;
  float: left;
  text-align: center;
}

.footer p {
  font-size: 14px;
}

