/* corporate_style.css - Dark Mode Styling Update with Improved Navbar Design */

/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #1e1e1e;
    color: #f0f0f0;
    line-height: 1.6;
}

.navbar {
    background-color: #222;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    color: #61dafb !important;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.8rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #f0f0f0 !important;
    font-weight: bold;
    margin-right: 1.5rem;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #61dafb !important;
}

.navbar-toggler {
    display: none;
}

.hero-section {
    background: url('https://source.unsplash.com/1600x400/?real-estate,cityscape') center/cover no-repeat;
    padding: 100px 20px;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.7);
    padding: 50px;
    border-radius: 15px;
    color: #f0f0f0;
    text-align: center;
}

.hero-overlay h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-overlay p {
    font-size: 1.5rem;
}

.footer {
    background-color: #111;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Listings Container */
#listings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: #2e2e2e;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s, box-shadow 0.4s;
    margin-bottom: 30px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

.card-img-top {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-bottom: 2px solid #444;
}

.card-body {
    padding: 20px;
    color: #f9f9f9;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #61dafb;
}

.card-text {
    margin-bottom: 1rem;
}

.card-address {
    margin-bottom: 1rem;
    font-style: italic;
}

.btn-bid {
    background-color: #28a745;
    color: white;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-bid:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* Footer Styling */
footer {
    background-color: #111;
    color: #777;
    padding: 20px 0;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Buttons and Links */
.btn-primary {
    background-color: #007bff;
    border: none;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Form Styling */
.listing-form {
    background-color: #2e2e2e;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    margin: 40px auto;
    max-width: 600px;
}

.listing-form label {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 8px;
}

.listing-form input,
.listing-form textarea,
.listing-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #444;
    color: #f0f0f0;
}

.listing-form input::placeholder,
.listing-form textarea::placeholder {
    color: #ccc;
}

.listing-form input:focus,
.listing-form textarea:focus,
.listing-form select:focus {
    outline: none;
    border-color: #61dafb;
    box-shadow: 0 0 5px rgba(97, 218, 251, 0.5);
}

.listing-form button {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.listing-form button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .hero-overlay p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }
}
