/* styleslogin.css */

/* CSS Reset (Optional but Recommended) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif; /* Updated Font */
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Links */
a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation Bar */
nav {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

nav .logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00ffcc;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav .nav-links li a {
    font-size: 1rem;
    color: #ffffff;
    transition: color 0.3s;
}

nav .nav-links li a:hover {
    color: #00ffcc;
}

nav .menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

/* What's for Sale Section */
.whats-for-sale-section {
    padding: 80px 20px;
    background-color: #121212;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    flex: 1; /* Ensures footer stays at the bottom */
}

.whats-for-sale-section h2 {
    text-align: center;
    color: #00ffcc;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.whats-for-sale-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: #ccc;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Package Card */
.package-card {
    background-color: #1a1a1a;
    border: 2px solid #00ffcc;
    border-radius: 10px;
    padding: 20px;
    position: relative; /* For positioning the sold overlay */
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.4);
}

.package-card h3 {
    color: #00ffcc;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.package-card p {
    color: #ddd;
    margin-bottom: 10px;
    font-size: 1rem;
}

.package-card strong.full-payment {
    color: #00ffcc; /* Aqua */
}

.package-card strong.payment-plan {
    color: #ffcc00; /* Gold */
}

.package-card strong.monthly-payment {
    color: #ff4500; /* OrangeRed */
}

/* SOLD Overlay */
.sold-overlay {
    position: absolute;
    top: 10px;
    left: -40px;
    width: 120px;
    background-color: rgba(255, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    transform: rotate(-45deg);
    font-weight: bold;
    padding: 5px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 10;
    font-size: 1rem;
}

/* Express Interest Button */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, #800080, #00ffcc); /* Purple to Aqua */
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: bold;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.cta-button:hover {
    background: linear-gradient(45deg, #00ffcc, #800080); /* Aqua to Purple */
}

.sold-button {
    background: #555555; /* Dark Grey */
    cursor: not-allowed;
}

.sold-button:hover {
    background: #555555; /* Remain the same */
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 20px 30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.footer-container p {
    font-size: 0.9rem;
}

/* Responsive Design */

/* Mobile Menu */
@media (max-width: 768px) {
    nav .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        height: 100vh;
        width: 200px;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: flex-start;
        padding-top: 30px;
        transition: right 0.3s ease-in-out;
    }

    nav .nav-links.active {
        right: 0;
    }

    nav .nav-links li {
        width: 100%;
        padding: 10px 20px;
    }

    nav .nav-links li a {
        width: 100%;
        display: block;
        font-size: 1.1rem;
    }

    nav .menu-toggle {
        display: block;
    }
}

/* Smaller Screens */
@media (max-width: 480px) {
    .whats-for-sale-section h2 {
        font-size: 2rem;
    }

    .whats-for-sale-section p {
        font-size: 1rem;
    }

    .package-card h3 {
        font-size: 1.5rem;
    }

    .package-card p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .sold-overlay {
        width: 100px;
        left: -30px;
        font-size: 0.9rem;
    }

    nav .logo a {
        font-size: 1.5rem;
    }

    nav .nav-links li a {
        font-size: 1rem;
    }
}
