/* Additional styles specific to the index page */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/*.background-container {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: -1;*/
/*    background-color: #f5f5f5;*/
/*    background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7));*/
/*}*/

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(
        to bottom,
        #ffffff 70%,          /* White for most of the height */
        lightgray 85%,          /* Still white at 80% height */
        #6d6d6d 100%          /* Transition to darker color in bottom 20% */
    );

    /* Semi-transparent overlay to ensure text remains readable */
    /*box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.2);*/
}

.mascot-container{
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: -1;
    pointer-events: none;
}

.mascot-image {
    height: 60vh; /* Adjust as needed - controls maximum height */
    width: auto;
    display: block;
}

/* Center the content vertically */
.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center horizontally */
    min-height: 100vh;
    width: 100%;
    padding: 40px 35% 40px 0px;
    box-sizing: border-box;
}

h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    margin-top: -50px;
}

.login-card {
    background: linear-gradient(to bottom, #0fced1,#16b9b9);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px 30px 30px 30px;
    width: 60%;
    /*max-width: 400px;*/
    margin: 0 auto;
}

.login-card h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.login-form input {
    width: 100%;
    box-sizing: border-box; /* This ensures padding is included in the width */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.login-form input:focus {
    border-color: #0fced1;
    outline: none;
    box-shadow: 0 0 5px rgba(15, 206, 209, 0.3);
}

.login-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #0fced1;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-submit-btn:hover {
    background-color: #0bb8bb;
}


.google-login-btn {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: white;
    color: #59585f;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    width: 85%;
    cursor: pointer;
    transition: background-color 0.3s;
    border-style: inset;
    border-color: lightgray;
    border-width: 2px;
}

.google-login-btn:hover {
    transform: scale(1.07);
    transition: transform 0.2s ease-in-out;
    border-style: outset;
    border-color: gray;
    border-width: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.google-logo {
    width: 40px;
    height: 40px;
}


.user-profile {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.welcome-text {
    font-size: 18px;
    font-weight: 500;
    margin-right: auto;
}

.logout-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.properties-container {
    margin-top: 40px;
}

.properties-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.property-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.property-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .property-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 20px;
    }

    .property-list {
        grid-template-columns: 1fr;
    }
}

/* Make h1 and login-card responsive */
.content h1 {
    text-align: center;
    width: 100%;
    max-width: 600px; /* Limit maximum width */
    margin-left: 5px;
}

.auth-container {
    width: 100%;
    max-width: 600px; /* Limit maximum width */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* If there are other top-level elements in .content that shouldn't be centered,
   you may need to create a wrapper for just the h1 and auth-container */
.centered-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* For specifically handling mobile views */
@media (max-height: 600px) {
    .content {
        padding: 20px;
    }
}

/* Responsive Design Adjustments */

/* Medium screens */
@media (max-width: 768px) {
    .content h1 {
        font-size: 2.2em; /* Slightly smaller heading */
    }

    .auth-container {
        max-width: 90%; /* Wider container on medium screens */
    }
}

/* Small screens */
@media (max-width: 480px) {
    .content {
        padding: 20px 15px; /* Less padding */
    }

    .content h1 {
        font-size: 1.8em; /* Even smaller heading */
    }

    .login-card {
        padding: 20px 15px; /* Less padding inside the card */
    }

    .login-form .form-group {
        margin-bottom: 15px; /* Less space between form elements */
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .content h1 {
        font-size: 1.5em; /* Smallest heading size */
    }
}
