/* Reset some default styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
}

/* Header Styling */
header {
  background-color: #e1f0ff;
  color: black;
  text-align: center;
  padding: 5px;
}

header h1 {
  /* font-size: 2rem;
  margin-bottom: 5px; */
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.1);
  margin: 5px 0;
}

header p {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 10px;
}

header nav a {
  color: #f39c12;
  margin: 0 10px;
  text-decoration: none;
  display: flex;
  gap: 10px;
}
nav {
  display: flex;
  gap: 20px;
}
header nav a:hover {
  color: #fff;
}
.navContainer {
  display: flex;
  justify-content: center;
}
.nav-bar a {
  color: #333;
  /* Example text color */
  text-decoration: underline;
  /* Remove underline */
  /* padding: 10px; */
  font-size: 1.8rem;
}
.nav-bar a:hover {
  background-color: #ddd;
  color: #000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.containerOveview {
  display: flex;
  margin: 10px;
  flex-direction: column;
}
/* Banner Styling */
#banner img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

/* Section Titles */
section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #34495e;
  border-bottom: 2px solid #f39c12;
  padding-bottom: 10px;
}

.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1px;
}

.project-header h2 {
  font-size: 1.6rem;
  color: #333;
}

.download-btn {
  color: #6a1b9a;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.download-btn i {
  font-size: 1.2rem;
}

/* Tab Buttons */
.tabs {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}

.tab-btn {
  background-color: #f5f5f5;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.tab-btn.active {
  background-color: #333;
  color: #fff;
}
.tab-btn2 {
  background-color: #f5f5f5;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}
.tab-btn2.active {
  background-color: #333;
  color: #fff;
}

/* Tab Content Styling */
.tab-content {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 2.6;
  color: #555;
  padding-bottom: 1%;
}

.more-info-btn {
  color: #6a1b9a;
  text-decoration: underline;
  display: inline-block;
  margin: 15px 0;
  font-weight: bold;
}

.question-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 10px 15px;
  margin-top: 15px;
}

.question-box p {
  font-weight: bold;
  color: #333;
}

.ask-btn {
  background-color: #333;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

/* Price List Table */
.price-table {
  border: 1px solid #ddd;
  width: 100%;
  margin: 20px auto;
  border-collapse: collapse;
  background: white;
}
.price-table th,
.price-table td {
  padding: 10px;
  text-align: center;
}
.price-table th,
.price-table td {
  font-weight: bold;
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid #ddd;
  font-size: 1.2rem;
}

.price-table th {
  background-color: #f5f5f5;
  font-weight: bold;
  color: #333;
}
.price-table tr:hover {
  background: #e1f0ff;
}
.price-table td {
  color: #555;
}

/* Amenities Section */
#amenities .amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 1.5rem;
}

.amenity {
  width: calc(33.333% - 20px);
  text-align: center;
}

.amenity i {
  font-size: 2rem;
  color: #f39c12;
  margin-bottom: 10px;
}

/* Configurations Section */
.configurations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.configuration {
  flex: 1;
  background-color: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
}

.configuration h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #34495e;
}

.configuration p {
  font-size: 1rem;
  color: #7f8c8d;
}

/* Contact Form Styling */
#contact form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.form-group label {
  font-weight: bold;
  color: #34495e;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  padding: 12px;
  background-color: #f39c12;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.btn-submit:hover {
  background-color: #e67e22;
}

/* Footer Styling */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer p {
  margin-bottom: 10px;
}

footer .social-links a {
  color: #f39c12;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.5s ease;
  font-size: 1.2rem;
}

footer .social-links a:hover {
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .amenities-list,
  .configurations-list {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.5rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .amenity,
  .configuration {
    width: 100%;
  }
}

/* Main Image Section */

.badges {
  position: absolute;
  left: 10px;
  display: flex;
  gap: 8px;
}

.badge {
  background-color: #6a1b9a;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.bottom-badges-container {
  margin: 10px;
}
.badge.assured {
  background-color: #4caf50;
}

.buttons {
  position: absolute;
  right: 10px;
  display: flex;
  gap: 8px;
}

.buttons .btn {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  border: 1px solid #ddd;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: background-color 0.5s;
}

.buttons .btn:hover {
  background-color: #f0f0f0;
}

/* Bottom Badges */
.bottom-badges {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.bottom-badges .badge {
  background-color: #e0f7fa;
  color: #00796b;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
}

.badge.residential {
  background-color: #e1bee7;
  color: #6a1b9a;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* .additional-images {
    grid-template-columns: 1fr;
  } */
}
tab-content {
  line-height: 1; /* Slightly tighter on mobile */
  font-size: 1.1rem;
}
.containerImg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
}
.containerImg img {
  /* height: 120px;
  width: 330px;
  margin: 10px; */
  max-width: 200px;
  height: auto;
}
.containerImg div {
  flex: 0.5;
}

/* Grid Layout */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.overview-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.overview-item i {
  font-size: 1.5rem;
  color: #6a1b9a;
}

.label {
  font-weight: bold;
  color: #555;
  font-size: 1.2rem;
}

.value {
  font-size: 1.3rem;
  color: #333;
  margin-top: 5px;
}

.value a {
  color: #6a1b9a;
  text-decoration: none;
}

.value a:hover {
  text-decoration: underline;
}
/* Styling header logo image*/
.companyLogo {
  margin-top: 15px;
  display: flex;
  justify-content: end;
  width: 100%;
  height: fit-content;
}
/* Add these media queries to your existing CSS */

/* Navigation Responsive Styles */
@media (max-width: 768px) {
  .containerImg {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }
  .containerImg img {
    display: none; /* Hide the image */
  }
  .containerImg div {
    flex: 1;
    width: 100%;
  }
  .containerImg h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-align: center;
  }

  .containerImg p {
    font-size: 1.4rem;
    text-align: center;
  }
  .nav-bar {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 10px;
  }

  .nav-bar a {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1.4rem;
    border-bottom: 1px solid #eee;
  }

  .nav-bar a:last-child {
    border-bottom: none;
  }
}

/* Property Gallery Responsive Styles */
@media (max-width: 768px) {
  /* #property-gallery {
    padding: 10px;
  } */

  /* .main-image {
    width: 100%;
    height: 300px;
    margin: 10px 0;
  } */

  /* .additional-images {
    grid-template-columns: 1fr;
    gap: 8px;
  } */

  /* .image-item {
    height: 200px;
  } */

  .bottom-badges-container {
    flex-direction: column;
    gap: 10px;
  }

  .bottom-badges {
    flex-wrap: wrap;
    justify-content: center;
  }

  .badge {
    font-size: 0.8rem;
    padding: 4px 6px;
  }
}

/* Overview Grid Responsive Styles */
@media (max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .overview-item {
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
  }

  .label {
    font-size: 1rem;
  }

  .value {
    font-size: 1.1rem;
  }
}

/* Project About Section Responsive Styles */
@media (max-width: 768px) {
  .project-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .tabs {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .tab-btn,
  .tab-btn2 {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
  }

  .price-table {
    font-size: 0.9rem;
  }

  .price-table th,
  .price-table td {
    padding: 8px;
    font-size: 0.9rem;
  }
}

/* Amenities Section Responsive Styles */
@media (max-width: 768px) {
  #amenities .amenities-list {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .amenity {
    width: 100%;
    padding: 10px;
    font-size: 1.2rem;
  }

  .amenity i {
    font-size: 1.6rem;
  }
}

/* Container Responsive Padding */
@media (max-width: 768px) {
  .container {
    padding: 15px;
    margin: 10px;
  }
}

/* Header Typography Responsive Styles */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }

  header p {
    font-size: 1.4rem;
  }
}

/* Fix for very small screens */
@media (max-width: 320px) {
  .nav-bar a {
    font-size: 1.2rem;
    padding: 8px;
  }

  .badge {
    font-size: 0.7rem;
    padding: 3px 5px;
  }

  .main-image {
    height: 250px;
  }
}
