/* Custom Styles for Canal Heights */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.nav-link {
    @apply text-gray-700 hover:text-[#c09a5c] transition-colors duration-200 font-medium;
}

.nav-link.active {
    @apply text-[#c09a5c] font-bold;
}

/* Styles for the interactive floor plan SVG */
.floor-plan-container {
    position: relative;
    width: 100%;
    height: auto;
}
    width: 100%;
    height: auto;
}

#floor-plan-svg {
    width: 100%;
    height: auto;
}

.unit {
    fill: rgba(25, 135, 84, 0.4); /* Available */
    stroke: #198754;
    stroke-width: 2;
    transition: fill 0.2s ease-in-out;
    cursor: pointer;
}

.unit:hover {
    fill: rgba(25, 135, 84, 0.7);
}

.unit.sold {
    fill: rgba(220, 53, 69, 0.5); /* Sold */
    stroke: #dc3545;
    cursor: not-allowed;
}

.unit.sold:hover {
    fill: rgba(220, 53, 69, 0.7);
}

.unit.reserved {
    fill: rgba(13, 202, 240, 0.5); /* Reserved */
    stroke: #0dcaf0;
}

.unit.reserved:hover {
    fill: rgba(13, 202, 240, 0.7);
}

.unit.selected {
    fill: rgba(255, 193, 7, 0.6) !important; /* Selected */
    stroke: #ffc107;
    stroke-width: 4;
}

.filter-btn.active {
    background-color: #c09a5c;
    color: white;
    border-color: #c09a5c;
}

/* Sticky Lead Form */
#sticky-lead-form-container {
    transition: all 0.3s ease-in-out;
}

#lead-form-modal {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    pointer-events: none; /* Hidden by default */
}

#lead-form-modal:not(.hidden) {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto; /* Make it interactive */
}

/* A little triangle to point to the button */
#lead-form-modal::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    margin-top: 0;
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}
