/* Page Title Section Styles */
.section-header {
    border-bottom: 1px solid #e9e9e9;
    background: #f8f9f9;
}

.section-container {
    margin: 0 6%;
}

.section-title {
    font-size: 35px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* Base styles */
.property-section {
    padding: 40px 0;
}

.property-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 6%;
}

.property-column {
    flex: 1 1 100%;
}

.image-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-column {
    padding: 0 10px;
}

.property-heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}

.heading-line {
    width: 50px;
    height: 2px;
    background-color: #006605;
    margin-bottom: 20px;
}

.property-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

.property-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #006605;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.property-button:hover {
    background-color: #006605c8;
}

/* Contact Table */
.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.contact-table th,
.contact-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.contact-table th {
    background-color: #999999;
    color: white;
}

.contact-table tr {
    background-color: #f2f2f2;
    color: #777777;
    font-family: Garamond, 'Times New Roman', serif;
}

.contact-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.contact-table tr:hover {
    background-color: #e6e6e6;
}

a {
    color: #006605;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive Layout */
@media (min-width: 768px) {
    .property-column {
        flex: 1 1 48%;
    }

    .image-column {
        align-items: flex-start;
    }
}

.property-column p {
    margin-bottom: 8%;
    font-family: Garamond, 'Times New Roman', serif;
    font-size: 16px;
}

.floorplan-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 6%;
}

.floorplan-column {
    flex: 1 1 100%;
}

/* Headings */
.floorplan-heading {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.floorplan-line {
    width: 50px;
    height: 2px;
    background-color: #006605;
    margin-bottom: 10px;
}

/* Main Image */
.floorplan-main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Gallery */
.floorplan-gallery {
    display: flex;
    flex-wrap: wrap;
}

.floorplan-gallery a {
    width: 25%;
}

.floorplan-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.floorplan-gallery img:hover {
    transform: scale(1.05);
}

/* Table Styling */
.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
}

.size-table th,
.size-table td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: center;
}

.size-table td{
    font-family: Garamond, 'Times New Roman', serif;
}

.size-table th {
    background-color: #777;
    color: white;
    font-weight: bold;
}

.size-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Responsive */
@media (min-width: 768px) {
    .floorplan-column {
        flex: 1 1 40%;
        padding: unset;
    }
}

/* Section Container */
.amenities-section {
    padding: 40px 0;
    margin: 0 6%;
    padding-bottom: unset;
}

/* Title Row */
.amenities-title-row {
    text-align: left;
    margin-bottom: 20px;
}

.amenities-heading {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.amenities-line {
    width: 50px;
    height: 2px;
    background-color: #006605;
}

/* Amenities List Row */
.amenities-list-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Columns */
.amenities-column {
    flex: 1 1 100%;
}

/* List Styling */
.amenities-list {
    list-style-type: disc;
    padding-left: 10%;
    margin: 0;
}

.amenities-list li {
    font-size: 16px;
    margin-bottom: 10px;
    font-family: Garamond, 'Times New Roman', serif;
}

/* Responsive */
@media (min-width: 768px) {
    .amenities-column {
        flex: 1 1 48%;
    }
}

/* Section Wrapper */
.renderings-section {
    padding: 40px 0;
    margin: 0 6%;
}

/* Title Row */
.renderings-title-row {
    text-align: left;
    margin-bottom: 20px;
}

.renderings-heading {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.renderings-line {
    width: 50px;
    height: 2px;
    background-color: #006605;
}

/* Gallery Grid */
.renderings-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

/* Individual Item */
.rendering-item {
    flex: 1 1 100%;
    text-align: center;
}

.rendering-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rendering-item img:hover {
    transform: scale(1.03);
}

/* Responsive: 3 columns on desktop, 2 on tablet, 1 on mobile */
@media (min-width: 768px) {
    .rendering-item {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (min-width: 992px) {
    .rendering-item {
        flex: 1 1 calc(33.333% - 13.33px);
    }
}

.section-container {
    padding: 20px 0;
    margin: 0 6%;
}

.section-heading {
    margin-bottom: 20px;
}

.section-heading h2 {
    font-size: 20px;
    margin: 0;
    color: #333;
}

.heading-divider {
    width: 50px;
    height: 2px;
    background-color: #006605;
    margin: 10px 0 0;
    border-radius: 10px;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.image-gallery a {
    flex: 1 1 calc(14.28% - 10px);
    max-width: calc(14.28% - 10px);
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.map-container {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .image-gallery a {
        flex: 1 1 calc(25% - 10px);
        max-width: calc(25% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .image-gallery a {
        flex: 1 1 calc(33.33% - 10px);
        max-width: calc(33.33% - 10px);
    }

    .section-heading h2 {
        font-size: 22px;
    }
}

@media screen and (max-width: 480px) {
    .image-gallery a {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .section-container {
        padding: 20px 10px;
    }
}

.disclaimer-section {
    padding: 20px 0;
    padding-bottom: 40px;
}

.disclaimer-container {
    margin: 0 6%;
}

.disclaimer-heading {
    margin-bottom: 20px;
}

.disclaimer-heading h2 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.disclaimer-divider {
    width: 50px;
    height: 2px;
    background-color: #006605;
    margin: 10px 0 0;
    border-radius: 10px;
}

.disclaimer-text {
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
    font-family: Garamond, 'Times New Roman', serif;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .disclaimer-heading h2 {
        font-size: 22px;
    }

    .disclaimer-text {
        font-size: 15px;
    }

    .disclaimer-section {
        padding: 30px 15px;
    }
}

/* === Floorplan Viewer Styles (Unique Scoped) === */
.fpv-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.fpv-image {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
    display: block;
    border-radius: 10px;
}

.fpv-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.fpv-prev,
.fpv-next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    padding: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    transition: background 0.2s;
}

.fpv-prev:hover,
.fpv-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.fpv-prev {
    left: 20px;
}

.fpv-next {
    right: 20px;
}

@media (max-width: 768px) {
    .fpv-prev,
    .fpv-next {
        font-size: 28px;
        padding: 15px;
    }
}

/* === 3D Renderings Modal Styles === */
.r3d-overlay {
    display: none;
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.r3d-img {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
    display: block;
    border-radius: 10px;
}

.r3d-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.r3d-prev,
.r3d-next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    padding: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    transition: background 0.2s;
}

.r3d-prev:hover,
.r3d-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.r3d-prev {
    left: 20px;
}

.r3d-next {
    right: 20px;
}

@media (max-width: 768px) {
    .r3d-prev,
    .r3d-next {
        font-size: 28px;
        padding: 15px;
    }
}






/* === Image Gallery Viewer Styles (Scoped as igv) === */
.igv-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.igv-image {
  max-width: 90%;
  max-height: 80%;
  margin: auto;
  display: block;
  border-radius: 10px;
}

.igv-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.igv-prev,
.igv-next {
  position: absolute;
  top: 50%;
  font-size: 40px;
  padding: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  transition: background 0.2s;
}

.igv-prev:hover,
.igv-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.igv-prev {
  left: 20px;
}

.igv-next {
  right: 20px;
}

@media (max-width: 768px) {
  .igv-prev,
  .igv-next {
    font-size: 28px;
    padding: 15px;
  }
}
