:root {
    /* "Clean & Light" Palette */
    --color-bg-body: #FAFAFA;
    --color-bg-card: #FFFFFF;
    --color-primary: #8EA6A2;
    /* Sage Green */
    --color-primary-dark: #6D8581;
    --color-text-main: #333333;
    --color-text-muted: #666666;
    --color-text-light: #999999;
    --color-border: #E5E7EB;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.mono {
    font-family: monospace;
    opacity: 0.7;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-lg);
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    color: var(--color-text-main);
}

p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

/* Components: Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn:disabled, .btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #FFF;
}

/* Hero Section */
.hero {
    height: 90vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFF;
    position: relative;
    margin-bottom: var(--space-xl);
}

.hero-content {
    max-width: 800px;
    padding: var(--space-lg);
    z-index: 10;
}

.hero-title {
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-location {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: var(--space-xs);
}

.hero-price {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.badge {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: var(--space-md);
    display: inline-block;
}

/* Cards & Grid */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

/* Specs */
.specs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
}

.spec-item {
    text-align: center;
}

.spec-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.spec-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.spec-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-border);
}

/* Highlights Section */
.highlights-section {
    margin-bottom: var(--space-xl);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.highlight-card {
    display: flex;
    align-items: center;
    background: var(--color-bg-card);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.highlight-icon {
    flex-shrink: 0;
    margin-right: 12px;
    stroke: var(--color-primary); /* Use theme color for the checkmark */
    width: 24px;
    height: 24px;
}

.highlight-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-main);
    line-height: 1.4;
}

/* Gallery - Masonry-ish Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.filter-chip {
    padding: 8px 18px;
    border-radius: 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-chip.active {
    background: var(--color-primary);
    color: #FFF;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--color-bg-card);
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: center;
    border-top: 1px solid var(--color-border);
}

/* Inquiry Form */
.inquiry-main {
    padding: var(--space-xl) 0;
    max-width: 800px;
}

.inquiry-card {
    padding: var(--space-xl);
}

.contact-form {
    margin-top: var(--space-lg);
    text-align: left;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-text-main);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form h4 {
    margin: var(--space-lg) 0 var(--space-sm);
    color: var(--color-primary-dark);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 4px;
}

.contact-form .btn {
    width: 100%;
    margin-top: var(--space-lg);
}

.form-group input.error, 
.form-group select.error, 
.form-group textarea.error {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-row {
    display: flex;
    gap: var(--space-md);
}

.form-row .form-group {
    flex: 1;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: var(--space-md);
    }
}

.form-group.has-error .error-message {
    display: block;
}

/* Snackbar */
.snackbar {
    visibility: hidden;
    min-width: 300px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: var(--radius-md);
    padding: 16px;
    position: fixed;
    z-index: 2000;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    box-shadow: var(--shadow-lg);
    transition: visibility 0s, opacity 0.5s linear;
    opacity: 0;
}

.snackbar.show {
    visibility: visible;
    opacity: 1;
}

.footer-bottom {
    margin-top: var(--space-lg);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox */
#lightbox {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s;
}

#lightbox.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: white;
    font-size: 32px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    line-height: 1;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

@media (max-width: 900px) {
    .lightbox-prev {
        left: 10px;
        background: rgba(0, 0, 0, 0.3);
    }

    .lightbox-next {
        right: 10px;
        background: rgba(0, 0, 0, 0.3);
    }
}
/* Home Screen Styles */
.app-header {
  background-color: #ffffff;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.app-header h1 a {
  text-decoration: none;
  color: var(--color-text-main);
  transition: color 0.3s ease;
}

.app-header h1 a:hover {
  color: var(--color-primary);
}

.nav-icon {
  font-size: 1.5rem;
  color: var(--color-text-main);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon:hover {
  color: var(--color-primary);
  transform: scale(1.1);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a {
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumbs .separator {
  color: var(--color-border);
  font-size: 0.8rem;
}

.breadcrumbs .current {
  color: var(--color-primary);
  font-weight: 500;
}

.home-main {
  padding: 2rem 0;
}

.section-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #ff7043; /* Warm orange accent */
  margin: 10px auto 0;
  border-radius: 2px;
}

.empty-state {
  text-align: center;
  padding: 4rem 0;
  color: #777;
  font-size: 1.1rem;
  background-color: #fdfdfd;
  border-radius: 8px;
  border: 1px dashed #ddd;
  margin-top: 2rem;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.property-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.property-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-position: center;
  background-color: #f0f0f0;
  border-bottom: 1px solid #eee;
}

.property-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-card-title {
  font-size: 1.5rem;
  color: #333;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.property-card-location {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-card-location .icon {
  margin-right: 2px;
  stroke: #777;
}

.property-card-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ff7043; /* Warm orange for price */
  margin-top: auto; /* Pushes price to bottom */
  margin-bottom: 1rem;
}

.property-card-specs {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f5f5f5;
}

.property-card-specs .spec-item {
  text-align: center;
  flex: 1;
  padding: 0 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.property-card-specs .spec-icon {
    stroke: var(--color-primary);
    margin-bottom: 2px;
}

.property-card-specs .spec-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 0.2rem;
}

.property-card-specs .spec-label {
  display: block;
  font-size: 0.85rem;
  color: #999;
}

/* Back to Home Button on Property Detail Page */
.back-to-home-btn {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  background-color: transparent;
  color: #fff;
  padding: 0.5rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  z-index: 10;
}

.back-to-home-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
}

.back-to-home-btn .icon {
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .property-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .property-card-title {
    font-size: 1.3rem;
  }

  .property-card-price {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .back-to-home-btn {
    top: 1rem;
    left: 1rem;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .app-header h1 {
    font-size: 1.5rem;
    text-align: center;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .property-card-specs {
    flex-wrap: wrap;
    justify-content: center;
  }
  .property-card-specs .spec-item {
    flex-basis: 50%;
    margin-bottom: 0.5rem;
  }
  .back-to-home-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}

