/* Font declarations */
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/InstrumentSerif-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  height: 100%;
}

body {
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
  transform: translateY(0);
}

/* Construction Banner Styles */
.construction-banner {
  background-color: #f59e0b;
  color: white;
  padding: 8px 0;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.construction-banner .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.construction-banner p {
  margin: 0;
  letter-spacing: 1px;
}

.register-btn {
  background-color: white;
  color: #f59e0b;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.register-btn:hover {
  background-color: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: inline-block;
  text-decoration: none;
}

.logo img {
  height: 46px;
  transition: all 0.3s ease;
}

.logo a:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Location Dropdown Styles */
.location-dropdowns {
  margin-top: 40px;
}
.dropdown-list-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.location-dropdown {
  border-radius: 10px;
  background: #f6f8fa;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.location-dropdown[open] {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.location-dropdown summary {
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 18px 30px;
  background: #002d5c;
  color: #fff;
  border: none;
  outline: none;
  letter-spacing: 1px;
  transition: background 0.2s;
  user-select: none;
  list-style: none;
}
.location-dropdown summary::-webkit-details-marker {
  display: none;
}
.location-dropdown summary:after {
  content: '\25BC';
  float: right;
  font-size: 1rem;
  margin-left: 12px;
  transition: transform 0.3s;
}
.location-dropdown[open] summary:after {
  transform: rotate(-180deg);
}
.location-dropdown ul {
  margin: 0;
  padding: 20px 30px 24px 30px;
  background: #fff;
  border-top: 1px solid #e0e6ed;
  list-style: disc inside;
}
.location-dropdown li {
  font-size: 1.08rem;
  color: #333;
  margin-bottom: 8px;
  padding-left: 2px;
}
.location-dropdown li:last-child {
  margin-bottom: 0;
}

.location-hero {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  margin-top: 100px;
  position: relative;
  padding-top: 0%;
  padding-bottom: 10%;
}

.location-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.location-hero .container {
  position: relative;
  z-index: 1;
}


.custom-video-player {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.custom-video-player #playPauseBtn {
  opacity: 1;
  transition: opacity 0.3s;
}
.custom-video-player.playing #playPauseBtn {
  opacity: 0;
  pointer-events: none;
}
.custom-video-player.playing:hover #playPauseBtn,
.custom-video-player #playPauseBtn:focus {
  opacity: 1;
  pointer-events: auto;
}


.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0066cc;
}

/* Construction Banner */
.construction-banner {
  background-color: #FFD700;
  color: #333;
  padding: 10px 0;
  text-align: center;
}

.construction-banner .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.construction-banner p {
  font-weight: 600;
  letter-spacing: 1px;
}

.register-btn {
  background-color: transparent;
  border: 2px solid #333;
  color: #333;
  padding: 5px 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 20px;
}

.register-btn:hover {
  background-color: #333;
  color: #FFD700;
}

/* Hero Section - Welcome to Blue Vista */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: rgb(255, 255, 255);
  margin-top: 100px;
  position: relative;
  padding-top: 0%;
  padding-bottom: 10%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero .container {
  position: relative;
  z-index: 1;
}


/* Welcome to Blue Vista Hero Text */
.hero h1 {
  font-size: 7.5rem; 
  line-height: 1.55;
  margin-bottom: 10px;
}

.hero .welcome {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #4D9FFF;
  font-weight: normal;
  font-size: 0.8em;
  display: block;
  margin-bottom: -0.7em;
}

.hero .blue-vista {
  font-family: 'Instrument Serif', sans-serif;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 1px;
}

/* Video Block Section */
.video-block {
  padding: 30px 0;
  text-align: center;
}

.video-container {
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.video-thumbnail:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-heading {
  font-size: 2.125rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.description-columns {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.description-column {
  flex: 1;
  text-align: justify;
}

.video-description {
  font-size: 0.935rem;
  line-height: 1.8;
  color: #555;
}

/* Property Types Section */
.property-types {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.property-types .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.property-type {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-type:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.property-type h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.property-type .price {
  font-size: 1.5rem;
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 20px;
}

.property-type .description {
  margin-bottom: 30px;
  color: #555;
}

.property-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-top: 20px;
}

/* Brochure Section */
.brochure {
  padding: 20px 0;
}

.brochure-content {
  background-size: cover;
  background-position: center;
  height: 180px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
}

.brochure-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.brochure-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
}

.download-btn {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 8px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

/* Page-specific button colors */
.b-page .download-btn {
  background-color: #00533d;
}

.d-page .download-btn {
  background-color: #0066cc;
}

/* Future S page styling will go here */

.download-btn:hover {
  background-color: #004d99;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.b-page .download-btn:hover {
  background-color: #003d2d;
}

.d-page .download-btn:hover {
  background-color: #004d99;
}

/* Featured Models Section */
.featured-models {
  background-color: #ffffff !important;
  background-image: none !important;
  background: #ffffff !important;
  padding: 60px 0;
}

/* Footer */
footer, .site-footer {
  padding: 50px 0;
  color: #000;
  background-size: 100% auto;
  background-position: top center;
  position: relative;
  background-repeat: no-repeat;
  min-height: 400px;
}

/* Removed black overlay to show original footer image with gradient */

/* Updated legal footer styles */
.footer-divider {
  border: none;
  border-top: 1px solid #000;
  margin: 20px 0;
}
.footer-legal {
  text-align: justify;
  max-width: 900px;
  margin: 0 auto;
}
.footer-legal p {
  color: #3d3d3d;
  margin-bottom: 10px;
  font-size: 0.6rem;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-bluevista-text {
  font-size: 0.7rem;
  line-height: 1.8;
  text-align: left;
}

.footer-bluevista-text a {
  color: #3a3939;
  text-decoration: none;
}

.footer-bluevista-text a:hover {
  color: #0066cc;
}

.builder-logo img {
  height: 80px;
  margin-bottom: 20px;
}

.footer-contact-group {
  display: flex;
  align-items: right;
  gap: 10px;
}

.footer-contact {
  font-size: 0.7rem;
  line-height: 1.8;
  text-align: right;
}

.footer-contact a {
  color: #3a3939;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #0066cc;
}

/* Floor Plan Designs Section */
.floor-plan-designs {
    padding: 80px 0;
    text-align: center;
}

.floor-plan-designs h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.floor-plan-designs p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #555;
}

.design-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.design-card {
    position: relative;
    width: 350px;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.design-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.design-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.design-card.modern-detached .card-overlay {
    background-color: rgba(77, 159, 255, 0.5); /* Light blue overlay */
}

.design-card.designer-bungalows .card-overlay {
    background-color: rgba(76, 175, 80, 0.5); /* Light green overlay */
}

.design-card.contemporary-semis .card-overlay {
    background-color: rgba(158, 158, 158, 0.5); /* Light gray overlay */
}

.design-card:hover .card-overlay {
    opacity: 0.7; /* Increase opacity on hover */
}

.card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 51, 102, 0.8);
    color: white;
    padding: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    z-index: 2;
}

/* Floor Plans Section */
.floor-plans-section {
    padding: 50px 0;
    background-color: #f4f4f4;
}

.floor-plans-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.floor-plan-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

/* Grid Layout for D-series floor plans */
.floor-plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    max-width: 800px;
    width: 100%;
}

/* D1 cell - spans 2 rows */
.plan-btn.d1-cell {
    grid-column: 1;
    grid-row: 1 / 3;
    min-height: 200px;
}

/* Regular plan buttons in grid */
.plan-btn {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100px;
    border: none;
    cursor: pointer;
}

.b-page .plan-btn {
    background-color: #00533d;
}

.d-page .plan-btn {
    background-color: #2c3e50;
}

.plan-btn:hover, .plan-btn.active {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.b-page .plan-btn:hover, .b-page .plan-btn.active {
    background-color: #006b47;
}

.d-page .plan-btn:hover, .d-page .plan-btn.active {
    background-color: #34495e;
}

/* B-series 3x2 grid layout */
.floor-plan-grid-b {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    max-width: 350px;
    width: 100%;
}

/* B-series specific button styling - less wide, more square */
.floor-plan-grid-b .plan-btn {
    padding: 12px 5px;
    min-height: 65px;
    font-size: 0.8rem;
}

/* S-series simple layout */
.floor-plan-simple {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.floor-plan-simple .plan-btn {
    min-height: 60px;
    padding: 15px 25px;
    font-size: 1rem;
}

/* S-series 2x2 grid layout */
.floor-plan-grid-s {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    max-width: 300px;
    width: 100%;
}

/* S-series specific button styling in grid */
.floor-plan-grid-s .plan-btn {
    padding: 15px 10px;
    min-height: 70px;
    font-size: 0.9rem;
}

/* Model Showcase Section */
.model-showcase .container {
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.model-carousel .carousel-main-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carousel-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.carousel-thumbnails .thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.carousel-thumbnails .thumbnail.active, .carousel-thumbnails .thumbnail:hover {
    border-color: #0066cc;
}

.model-details {
    grid-column: 1 / 2;
}

.model-rendering {
    grid-column: 2 / 3;
    grid-row: 1 / 3; 
}

.model-rendering img {
    width: 100%;
    border-radius: 10px;
}

.model-details h4 {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
}

.model-details h1 {
    font-size: 3rem;
    margin: 10px 0;
    color: #003366;
}

.model-details p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Floor Plan Images Section */
.floor-plan-images {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.floor-plan-images .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.floor-plan-thumb img {
    max-width: 250px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Artist Concept Carousel */
.artist-concept-carousel {
    padding: 80px 0 40px 0; /* Reduced bottom padding to bring carousel closer to model section */
    text-align: center;
}

.carousel-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 920px; /* Increased by 15% from 800px */
    margin: 0 auto;
    overflow: hidden;
}

.carousel-fade {
    position: relative;
    width: 100%;
    height: 517px; /* Increased by 15% from 450px */
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* Model Details & Floor Plans Section */
.model-details-floor-plans .container {
    padding: 40px 20px 80px 20px; /* Reduced top padding to bring model section closer to carousel */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 10px;
    align-items: center;
}

.model-info {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.model-info h4 {
    margin-bottom: 10px;
    color: #555;
}

.b-page .model-info h4 {
    color: #00533d;
}

.d-page .model-info h4 {
    color: #003366;
}

.model-info h1 {
    margin-bottom: 15px;
}

.model-info p {
    margin-bottom: 8px;
}

.model-info .download-btn {
    margin-top: 25px;
    width: auto;
    min-width: 120px;
    max-width: 160px;
    padding: 10px 20px;
    font-size: 0.9rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.model-rendering-image {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding-right: 15%;
}

.model-rendering-image img {
    width: 100%;
    border-radius: 10px;
}

.floor-plan-thumbnails {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.thumbnail-item {
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
}

.thumbnail-item img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f9f9;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.thumbnail-item p {
    margin-top: 10px;
    font-weight: 500;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal for Floor Plans */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1,
.video-heading,
.video-description,
.property-type,
.brochure-content {
  animation: fadeIn 1s ease forwards;
}

.property-type:nth-child(2) {
  animation-delay: 0.2s;
}

/* Featured Models Section */
.featured-models {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.featured-models .container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-models h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.model-card {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.model-card:nth-child(even) {
  flex-direction: row-reverse;
}

.model-card-image {
  flex: 1;
  height: 300px;
}

.model-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-card-content {
  flex: 1;
  padding: 30px;
}

.model-card-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.model-card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .model-card, 
  .model-card:nth-child(even) {
    flex-direction: column;
  }
  
  .model-card-image {
    width: 100%;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .navbar .container {
    position: relative;
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #333;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1002;
}

.menu-toggle:focus {
  outline: none;
}

/* Mobile Navigation */
.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  z-index: 1000;
}

.nav-links.active li {
  margin: 10px 0;
  text-align: center;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Create a hover buffer zone to prevent menu from disappearing */
.dropdown::after {
  content: '';
  position: absolute;
  height: 20px;
  width: 100%;
  bottom: -20px;
  left: 0;
  z-index: 1000;
}

/* Reset every level so there’s literally no lateral gap */
.dropdown-menu,
.dropdown-menu li,
.dropdown-menu li a {
    margin: 0;
    padding: 0;
}

/* Make the link fill the whole row */
.dropdown-menu li a {
    display: block;
    width: 100%;          /* guarantees no leftover gutter */
    padding: .6rem 1rem;  /* equal L/R if you still want room for text */
    box-sizing: border-box;
}

/* Active row */
.dropdown-menu li a.is-active,
.dropdown-menu li a:hover {
    background: #3d92ff;
    border-radius: 8px;   /* matches the parent’s corners */
}



.dropdown-menu {
  display: none;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9); /* Solid background color */
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  z-index: 1001;
  list-style: none;
  padding: 0px;              /* Remove all padding */
  padding-inline-end: 0px; /* Ensure no logical padding on left */
  margin: 0;               /* Reset all margins */
  left: 25%; /* Center align with parent */
  transform: translateX(-50%); /* Center align with parent */
  border-radius: 8px;
  overflow: hidden; /* Prevent any transparent corners */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown item styling */
.dropdown-menu li {
  background-color: rgba(255, 255, 255, 0.95); /* Slightly more opaque */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.2s ease;
  width: 100%; /* Ensure full width */
}

.dropdown-menu li:hover {
  background-color: #4D9FFF;
}

/* Restore border radius on first and last items so hover highlight covers rounded corners */
.dropdown-menu li:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.dropdown-menu li:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.dropdown-menu li a {
  color: #333;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap; /* Prevent text wrapping */
}

.dropdown-menu li:hover a {
  color: white;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .video-heading {
    font-size: 2rem;
  }
  
  .description-columns {
    flex-direction: column;
    gap: 20px;
  }
  
  .property-types .container {
    flex-direction: column;
    align-items: center;
  }
  
  .property-type {
    max-width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  footer, .site-footer {
    background-size: cover; /* fill height to avoid white space */
    background-position: top center;
    position: relative;
    min-height: 300px;
  }
  
  /* Removed black overlay for mobile footer to preserve gradient */
  
  .site-footer .container {
    position: relative;
    z-index: 1;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    margin-top: 10px;
  }
  
  .nav-links.active .dropdown:hover .dropdown-menu {
    display: block;
    width: 80%;
    margin: 0 auto;
  }
  
  .footer-logo img,
  .builder-logo img {
    margin: 0 auto;
    display: block;
  }
  
  .footer-contact {
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .construction-banner .container {
    flex-direction: column;
    gap: 10px;
  }
}

/* FAQ Page Styles */
.faq-section {
  padding: 120px 0 80px;
  background-color: #f9f9f9;
  margin-top: 80px; /* Adjust based on header height */
}

.faq-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 50px;
  color: #002d5c;
  font-family: 'Instrument Serif', serif;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding-left: 0;
}

.faq-list li {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  counter-increment: faq-counter;
  position: relative;
  padding-left: 50px;
}

.faq-list li::before {
    content: counter(faq-counter);
    position: absolute;
    left: 25px;
    top: 25px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
    transform: translateX(-50%);
}

.faq-list h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.faq-list p,
.faq-list ul {
  color: #555;
  line-height: 1.7;
}

.faq-list ul {
  padding-left: 20px;
  margin-top: 10px;
}

.faq-list ul li {
  padding: 5px 0;
  margin-bottom: 5px;
  box-shadow: none;
  border-radius: 0;
  padding-left: 15px;
}

.faq-list ul li::before {
    content: '•';
    font-size: 1.2rem;
    color: #0066cc;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Mobile Navigation Styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.menu-toggle span {
  display: block;
  font-size: 28px;
  line-height: 1;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 180px;
  z-index: 1001;
  list-style: none;
  margin: 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: #0066cc;
  padding-left: 25px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    padding: 20px 0;
    flex-direction: column;
    z-index: 1000;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-links li:last-child {
    border-bottom: none;
  }
  
  .nav-links a {
    display: block;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
  }
  
  .nav-links a:hover {
    background-color: #f8f9fa;
    border-left-color: #0066cc;
    color: #0066cc;
  }
  
  /* Mobile Dropdown Styles */
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background-color: #f8f9fa;
    border-radius: 0;
    margin: 0;
    padding: 0;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown > a {
    position: relative;
  }
  
  .dropdown > a::after {
    content: '▼';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s ease;
  }
  
  .dropdown.active > a::after {
    transform: translateY(-50%) rotate(180deg);
  }
  
  .dropdown-menu a {
    padding: 12px 45px;
    font-size: 14px;
    background-color: transparent;
    border-left: 4px solid transparent;
  }
  
  .dropdown-menu a:hover {
    background-color: #e9ecef;
    border-left-color: #0066cc;
    padding-left: 50px;
  }
  
  /* Adjust logo size on mobile */
  .logo img {
    height: 40px;
  }
  
  /* Adjust navbar padding on mobile */
  .navbar {
    padding: 12px 0;
  }
  
  /* Ensure header doesn't interfere with mobile menu */
  header {
    position: relative;
  }
  
  /* Adjust hero section margin for mobile */
  .hero {
    margin-top: 80px;
  }
  
  .location-hero {
    margin-top: 80px;
  }

  /* Model page carousel and floor plan fixes */
  .model-showcase .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Artist Concept Carousel Mobile Fixes */
  .carousel-container {
    max-width: 95%;
    margin: 0 auto;
  }

  .carousel-fade {
    height: 250px; /* Reduced height for mobile */
  }

  .carousel-control {
    font-size: 1.5rem;
    padding: 8px 12px;
  }

  .carousel-control.prev {
    left: 5px;
  }

  .carousel-control.next {
    right: 5px;
  }

  /* Model Carousel Mobile Fixes */
  .carousel-thumbnails {
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .carousel-thumbnails .thumbnail {
    width: 60px;
    height: 45px;
    flex-shrink: 0;
  }

  .model-carousel .carousel-main-image img {
    max-height: 250px;
    object-fit: cover;
  }

  /* Model Details Floor Plans Mobile Fixes */
  .model-details-floor-plans .container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    padding: 20px;
  }

  .model-info {
    grid-column: 1;
    grid-row: 1;
    padding-left: 0;
    text-align: center;
  }

  .model-rendering-image {
    grid-column: 1;
    grid-row: 2;
    padding-right: 0;
  }

  .model-rendering-image img {
    max-height: 200px;
    object-fit: cover;
  }

  /* Floor Plan Thumbnails Mobile Fixes - This is the key fix */
  .floor-plan-thumbnails {
    grid-column: 1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
    padding: 0 10px;
  }

  .thumbnail-item {
    width: 100%;
    max-width: none;
  }

  .thumbnail-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
  }

  .thumbnail-item p {
    font-size: 0.8rem;
    height: auto;
    margin-top: 5px;
    padding: 0 5px;
    text-align: center;
    line-height: 1.2;
  }

  /* Floor Plan Images Section Mobile Fixes */
  .floor-plan-images .container {
    flex-direction: column;
    align-items: center;
  }

  .floor-plan-thumb img {
    max-width: 100%;
    height: auto;
  }

  /* Floor Plan Grid Mobile Fixes */
  .floor-plan-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: 8px;
    max-width: 100%;
  }

  .plan-btn.d1-cell {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 80px;
  }

  /* B-series Grid Mobile Fixes */
  .floor-plan-grid-b {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    max-width: 100%;
  }

  .floor-plan-simple {
    gap: 8px;
  }

  .plan-btn {
    font-size: 0.8rem;
    padding: 12px 8px;
    min-height: 80px;
  }

  .floor-plan-simple .plan-btn {
    min-height: 50px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  /* Modal Mobile Fixes */
  .modal {
    padding-top: 50px;
  }

  .modal-content {
    width: 95%;
    margin: 20px auto;
  }

  .modal-container {
    padding: 20px;
  }

  .modal-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
  }

  .close-modal {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
  .floor-plan-thumbnails {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .thumbnail-item img {
    height: 150px;
  }

  .carousel-fade {
    height: 200px;
  }

  .model-info h1 {
    font-size: 1.8rem;
  }

  .floor-plan-buttons {
    gap: 5px;
  }

  .plan-btn {
    font-size: 0.7rem;
    padding: 6px 8px;
  }
}

/* Tablet Responsive Styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav-links li {
    margin-left: 20px;
  }
  
  .nav-links a {
    font-size: 13px;
  }
  
  .logo img {
    height: 42px;
  }
}

/* Pricing Sections */
.pricing-sections {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 40px;
  padding: 30px 0;
}

.pricing-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: normal;
  color: #333;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Mobile responsive for pricing sections */
@media (max-width: 768px) {
  .pricing-sections {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    padding: 20px 0;
  }
  
  .pricing-item {
    margin: 0 20px;
  }
  
  .pricing-item h3 {
    font-size: 1rem;
  }
}

