/* SECTION TITLE */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
}

/* PLOTS GRID */
.plots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 10px;
}

/* CARD */
.plot-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.plot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.plot-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.plot-info {
    padding: 25px;
}

.plot-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.location {
    color: #666;
    font-size: 14px;
}

/* POPUP OVERLAY */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 15px;
}

/* POPUP BOX */
.popup-box {
    background: #fff;
    width: min(92%, 450px);
    padding: 20px;
    border-radius: 12px;
    position: relative;
    animation: pop 0.3s ease;
}

@keyframes pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: red;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    background: #cc0000;
    transform: scale(1.15);
}

/* POPUP CONTENT */
.popup-img {
    width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 10px;
    margin-bottom: 12px;
    object-fit: cover;
}

.contact-btn {
    display: block;
    text-align: center;
    background: #ff9800;
    padding: 12px;
    color: white;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #e68900;
}

/* -------------------------- */
/* 🔥 MOBILE RESPONSIVE FIXES */
/* -------------------------- */

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .plot-info {
        padding: 18px;
    }

    .plot-info h3 {
        font-size: 18px;
    }

    .plot-img {
        height: 130px;
    }

    .plots-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .popup-box {
        width: 100%;
        padding: 15px;
    }

    .popup-img {
        max-height: 220px;
    }

    .contact-btn {
        padding: 10px;
        font-size: 15px;
    }

    .close-btn {
        top: 5px;
        right: 8px;
        width: 26px;
        height: 26px;
        font-size: 18px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .plot-img {
        height: 140px;
    }
}
