/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: Arial, sans-serif; */
}

/* Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Logo Styling */
.navbar .logo h2 {
    font-size: 22px;
    font-weight: 800;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.nav-links a:hover {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.05);
}

.nav-links a.active {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.08);
}

/* Red Hover Effect for Logout */
.nav-links a[href="student_logout.html"] {
    color: #ef4444;
}

.nav-links a[href="student_logout.html"]:hover {
    color: #ffffff;
    background-color: #ef4444;
}

/* Responsive Navbar Rules */
@media screen and (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        position: relative;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 6px 12px;
    }
}


.property-box {
    display: flex;
    width: 100%;
    max-width: 920px;
    gap: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    transition: transform 0.3s ease;
}

.property-box:hover {
    transform: translateY(-5px);
}

/* Left Side Image */
.pro-img img {
    width: 350px;
    height: 225px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* Right Side Info */
.pro-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Title */
.pro-info h3 {
    margin-top: 0;
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Paragraph Styling */
.pro-info p {
    margin: 6px 0;
    font-size: 15px;
    color: #555;
}

.property-location {
    color: #34495e;
}

.property-rent {
    color: #27ae60;
    font-weight: bold;
    background: #ecfdf5;
    padding: 4px 8px;
    border-radius: 5px;
    display: inline-block;
}

.property-type {
    color: #8e44ad;
    font-style: italic;
}

.property-owner {
    color: #2c3e50;
    font-weight: 500;
}

.property-contact {
    background: #fff5e6;
    color: #e67e22;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    display: inline-block;
}

.property-status {
    font-weight: bold;
    margin-top: 10px;
}

.property-status .available {
    color: green;
}

.property-status .not-available {
    color: red;
}

/* Buttons */
.wishlist-btn,
.book-btn,
.view-details-btn {
    margin-top: 10px;
    margin-right: 10px;
    padding: 8px 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s;
}

.wishlist-btn {
    background: #ffe4ec;
    color: #e84393;
}

.wishlist-btn:hover {
    background: #ffdaeb;
}

.book-btn {
    background: #74b9ff;
    color: white;
}

.book-btn:hover {
    background: #4dabf7;
}

.view-details-btn {
    background: #2ecc71;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.view-details-btn:hover {
    background: #27ae60;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .property-box {
        flex-direction: column;
        align-items: center;
    }

    .pro-img img {
        width: 100%;
        height: auto;
    }

    .pro-info {
        width: 100%;
        padding-top: 15px;
    }

    .wishlist-btn,
    .book-btn,
    .view-details-btn {
        width: 100%;
        margin: 6px 0;
    }
}
