:root {
    --primary-color: #2c3e50;
    --accent-color: #d35400;
    --bg-light: #f8f9fa;
    --text-muted: #6c757d;
    --header-height: 1.125rem;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 0;
}
.navbar-brand {
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    font-size: 1.5rem;
}
.nav-link {
    font-weight: 500;
    color: var(--primary-color);
    margin-left: 1rem;
}
.nav-link:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('/assets/images/bg.png') no-repeat center center/cover;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.6), rgba(44, 62, 80, 0.3));
}
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 800px;
    padding: 0 15px;
}
.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Search Widget */
.search-widget {
    background: white;
    padding: 0.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.search-input {
    border: 1px solid #e9ecef;
    border-right: none;
    border-radius: 8px 0 0 8px;
    height: 55px;
    padding-left: 20px;
}
.search-input:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}
.search-btn {
    height: 55px;
    border-radius: 0 8px 8px 0;
    background-color: var(--accent-color);
    border: none;
    padding: 0 2rem;
    font-weight: 600;
    font-size: 1.1rem;
}
.search-btn:hover {
    background-color: #ba4a00;
}
/* Mobile fix for inputs */
@media (max-width: 768px) {
    .search-input { border-radius: 8px; border-bottom: 1px solid #e9ecef; margin-bottom: 10px; }
    .search-btn { width: 100%; border-radius: 8px; margin-top: 10px; }
}

/* Categories */
.category-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    background: #fff;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--accent-color);
}
.category-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: inline-block;
}
.category-title {
    font-weight: 600;
    color: var(--primary-color);
}

/* Space Cards */

.space-card a {
    text-decoration: none;
}

.space-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.space-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.space-card:hover .card-img {
    transform: scale(1.05);
}
.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    backdrop-filter: blur(4px);
}
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ccc;
    transition: all 0.2s;
}
.wishlist-btn:hover {
    color: var(--accent-color);
}
.card-body {
    padding: 1.25rem;
}

.space-location {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;   /* show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 24px; /* keeps all cards equal height */
}

.space-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: block;
}
.space-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #f1f1f1;
    padding-top: 1rem;
}
.price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}
.price-unit {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Features Section */
.feature-box {
    padding: 2rem;
    border-radius: 12px;
    background: var(--bg-light);
    height: 100%;
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* Call to Action */
.cta-section {
      background: url('/assets/images/hostimage.png') no-repeat center center/cover;
    color: white;
    padding: 5rem 0;
    border-radius: 20px;
    margin: 4rem 0;
}
.btn-light-custom {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
}
.btn-light-custom:hover {
    background: #f1f1f1;
    color: var(--primary-color);
}

/* Hero Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 12px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-main {
    grid-row: 1 / 3;
}

/* Mobile adjustments for gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 250px;
        gap: 8px;
    }
    .gallery-main {
        grid-row: 1;
    }
    .gallery-side {
        display: none; /* Hide side images on very small screens for simplicity */
    }
}

/* Booking Card */
.booking-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
    background: #fff;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.price-unit {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #4a4a4a;
}
.amenity-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Section Headers */
.section-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    background-image: url('https://picsum.photos/seed/map/800/400?grayscale&blur=2');
    background-size: cover;
    position: relative;
}
.map-overlay {
    background: rgba(255,255,255,0.8);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
}

/* Reviews */
.review-card {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 12px;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: #ba4a00;
    border-color: #ba4a00;
}


/* Navbar for Auth Page */
.auth-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
.navbar-brand {
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    font-size: 1.5rem;
    text-decoration: none;
}
.navbar-brand:hover {
    color: var(--accent-color);
}

/* Split Layout */
.auth-container {
    min-height: calc(100vh - 76px); /* Minus navbar height */
}
.auth-image-side {
    background: url('https://picsum.photos/seed/office-interior/800/1200') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}
.auth-image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.4));
    z-index: 1;
}
.auth-image-content {
    position: relative;
    z-index: 2;
    color: white;
}
.auth-quote {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
}

/* Form Side */
.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #fff;
}

/* Form Styling matching Home Page Inputs */
.form-control-custom {
    height: 55px;
    border-radius: 8px; /* Slightly squarer than pill, matches search bar */
    border: 1px solid #e9ecef;
    padding-left: 1rem;
    font-size: 1rem;
}
.form-control-custom:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}
.input-group-text {
    background-color: white;
    border: 1px solid #e9ecef;
    border-right: none;
    color: var(--text-muted);
}
.input-group .form-control:last-child {
    border-left: none;
}
.input-group:focus-within .input-group-text {
    border-color: var(--accent-color);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--accent-color);
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px;
    border-radius: 30px; /* Pill shape like home page */
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s;
}
.btn-primary-custom:hover {
    background-color: #ba4a00;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211, 84, 0, 0.3);
}

.btn-social {
    background: white;
    border: 1px solid #e9ecef;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}
.btn-social:hover {
    background-color: var(--bg-light);
    border-color: #ccc;
}

/* Utilities */
.link-primary {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.link-primary:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.hidden {
    display: none;
}


/*----explore spaces-----*/

.search-hero {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
}
.search-input {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
.search-input:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}
.btn-search {
    height: 50px;
    background-color: var(--accent-color);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 0 2rem;
}
.btn-search:hover { background-color: #ba4a00; }

/* --- Filters Sidebar --- */
.filters-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

/* Sticky Sidebar */
@media (min-width: 992px) {
    .sticky-sidebar {
        position: sticky;
        top: 100px;
    }
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}
.filter-section:last-child { border-bottom: none; }

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Custom Checkbox */
.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
.form-check-label {
    color: #555;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Range Slider Styling */
input[type=range] {
    width: 100%;
    height: 5px;
    background: #e9ecef;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- Venue Cards --- */
.venue-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.venue-card:hover .card-img { transform: scale(1.05); }

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.95);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ccc;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.wishlist-btn:hover { color: var(--accent-color); }
.wishlist-btn.active { color: var(--accent-color); }

.card-body { padding: 1.25rem; display: flex; flex-direction: column; flex-grow: 1; }

.venue-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
}
.venue-title:hover { color: var(--accent-color); }

.venue-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.amenities-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.card-footer-custom {
    margin-top: auto;
    border-top: 1px solid #f1f1f1;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}
.price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.btn-view {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    transition: all 0.2s;
}
.btn-view:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile Filter Drawer/Modal */
.filter-offcanvas {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.btn-filter-mobile {
    background: white;
    border: 1px solid #ccc;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Hero Section */
.about-hero {
    position: relative;
    background: url('/assets/images/aboutbanner.jpeg') no-repeat center center/cover;
    padding: 8rem 0;
    text-align: center;
    color: white;
}
.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.85); /* Dark overlay */
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}
.hero-title {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.hero-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Section Headings */
.section-heading {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.section-subheading {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Stats Section */
.stats-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}
.stat-item {
    text-align: center;
    padding: 2rem;
}
.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Values Cards */
.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
}
.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(44, 62, 80, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
}

/* Team Section */
.team-member {
    text-align: center;
}
.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.team-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}
.team-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.social-links a {
    color: var(--text-muted);
    margin: 0 5px;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.social-links a:hover {
    color: var(--primary-color);
}