
html {
    scroll-behavior: smooth;

}

body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 20px;
    background: #d8e1e3;
    margin-top: 40px;
}
.card {
    width: 300px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.card img {
    width: 100%;
    height: 200px;
    
}
.card .info {
    padding: 10px;
    font-family: 'Raleway', sans-serif;
    color: black;
}
.detail-container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive grid */
@media (max-width: 768px) {
    .grid {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
    }
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
}
.filters input {
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  min-width: 120px;
  margin-right: 10px;
}

.filters button {
  background-color: #5ea7c0;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.filters button:hover {
  background-color: #478ea9;
}

#map {
    height: 400px;
    margin-top: 20px;
}

/* Header styles */
/*.site-header {*/
/*    background-color: white;*/
/*    padding: 10px 20px;*/
/*    box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
/*    position: sticky;*/
/*    top: 0;*/
/*    z-index: 100;*/
/*}*/

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 35px;
}


.nav-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

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

.auth-button .login-btn {
    background-color: #5ea7c0;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.auth-button .login-btn:hover {
    background-color: #478ea9;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  
}


.gallery {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  justify-content: center;
}

.gallery img {
  width: 200px;
  height: 130px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.property-summary {
    text-align: center;
    margin: 30px auto;
    line-height: 1.6;
}

.search-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.background-image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    object-fit: cover;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    background-color: rgba(69, 69, 69, 0.4); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px;
}

.background-overlay h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 36px;
    font-weight: bold;
    margin: 20px 0;
}

.background-overlay h1.welcome-heading {
    font-family: 'Raleway', sans-serif;
    font-size: 70px;
    font-weight: 800;
    line-height: 1.2;
}


.guide-button {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 30px;
    margin-bottom: 10px;
}
.main-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    height: calc(100vh - 80px);
    overflow: hidden;
    
}

.property-list {
    width: 50%;
    overflow-y: auto;
    
}

.map-container {
    flex-grow: 1;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    width: 50%;
}
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 15px; 
}
#property-map {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.see-properties-btn {
    background-color: white;
    color: #333;
    padding: 12px 25px;
    margin-top: 20px;
    border-radius: 30px;
    font-size: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.see-properties-btn:hover {
    background-color: #f0f0f0;
}

.property-page-heading {
    font-family: 'Raleway', sans-serif;
    text-align: center;
    font-size: 32px;
    margin: 0 0 10px;
    color: #333;
}

.thumbnail {
    max-width: 200px;
    margin: 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.2s;
}
.thumbnail:hover {
    transform: scale(1.05);
}
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}
.lightbox.show {
    display: flex;
}

.no-results-message {
    text-align: center;
    font-size: 30px;
    color: #666;
    margin-top: 100px;
    font-family: 'Raleway', sans-serif;
}

