/* style.css */

/* Core Tailwind-like styles from the HTML file, moved here for clarity */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Montserrat', sans-serif; /* Default font set in HTML now */
    color: #333;
    overflow-x: hidden;
}

.heading-style {
    font-family: 'Cinzel', serif; /* UPDATED from Playfair Display */
    color: #8A2C4A;
}

/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #8A2C4A;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.modal-title {
    font-family: 'Cinzel', serif; /* UPDATED from Playfair Display */
    color: #8A2C4A;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

/* --- Slider/Carousel Styles --- */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    flex: 0 0 100%; /* Each item takes full width */
    width: 100%;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
    pointer-events: none; /* Allow clicks to pass through wrapper */
}

.slider-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 9999px;
    cursor: pointer;
    z-index: 20;
    transition: background-color 0.3s;
    pointer-events: auto; /* Re-enable clicks on buttons */
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Key Features Slider Custom Look */
#features .slider-wrapper {
    transition: transform 0.3s ease;
}

#features .slider-item {
    flex: 0 0 calc(100% / 3); /* Show 3 items on desktop */
    min-width: calc(100% / 3);
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (max-width: 1024px) { /* Tablet */
    #features .slider-item {
        flex: 0 0 50%; /* Show 2 items on tablet */
        min-width: 50%;
    }
}

@media (max-width: 768px) { /* Mobile */
    #features .slider-item {
        flex: 0 0 100%; /* Show 1 item on mobile */
        min-width: 100%;
    }
}

/* --- Location Benefit Hover Effect --- */
#location .benefit-card {
    transition: background-color 0.3s, transform 0.3s;
}

#location .benefit-card:hover {
    background-color: #f0e6e9; /* Slightly lighter pink on hover */
    transform: translateY(-2px);
}

#location .benefit-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    margin-top: 5px; /* Spacing between title and hidden detail */
}

#location .benefit-card:hover .benefit-details {
    max-height: 50px; 
    opacity: 1;
}

/* --- Floor Plan Blur Styles --- */
.floorplan-img-wrapper {
    position: relative;
    overflow: hidden;
}

.floorplan-img {
    filter: blur(4px);
    transform: scale(1.05);
    transition: filter 0.3s ease, transform 0.3s ease;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.floorplan-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}

.floorplan-card:hover .floorplan-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.floorplan-card:hover .floorplan-img {
    filter: blur(2px);
    transform: scale(1.08);
}

