.landing-content {
    width: 100%;
    min-height: 30vh;
    background-color: var(--background-light);
    transition: width 0.3s ease;
}

#heroCarousel {
    position: relative;
    height: 250px;
}

#heroCarousel .carousel-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

#heroCarousel .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.search-overlay-container {
    position: relative;
    margin-top: -50px; /* Reduced from -100px to partially cover carousel */
    z-index: 10;
}

.search-overlay-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    position: relative;
}

@media (max-width: 768px) {
    .search-overlay-container {
        margin-top: -50px;
    }
}
@media (max-width: 768px) {
    #heroCarousel {
        height: 150px;
    }

    #heroCarousel .carousel-item img {
        height: 150px;
    }

    .search-overlay-container {
        margin-top: -50px;
    }
}

.logo-container {
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s ease;
}

.logo-image {
    pointer-events: none;
    -webkit-user-drag: none;
}

.landing-content.map-visible {
    width: 50%;
    transition: width 0.3s ease;
}

.listing-card {
    transition: width 0.3s ease, flex 0.3s ease;
}

@media (max-width: 768px) {
    .landing-content.map-visible {
        width: 100%;
    }
}

.landing-header {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.landing-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.landing-header .lead {
    font-size: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

.warehouse-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.warehouse-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.warehouse-card .description-text {
    font-size: 0.9rem;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-image-placeholder {
    background-color: #f8f9fa;
    color: #6c757d;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    background: rgba(0, 0, 0, 0.3);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.5);
}