/* Custom CSS for GharKhareedo.in */

body {
    font-family: 'Inter', sans-serif; /* Using a modern, readable font */
    background-color: #f0f2f5; /* Light grey background */
    color: #333;
}

/* Navbar adjustments */
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}
.navbar-nav .nav-link {
    font-weight: 500;
    margin-right: 15px;
    color: rgba(255, 255, 255, 0.85); /* Lighter text for contrast */
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #fff; /* White on hover/active */
}


/* Hero Section on Homepage */
.hero-section {
    background: linear-gradient(to right, #e0f7fa, #bbdefb); /* Light blue gradient */
    color: #333;
    padding: 6rem 3rem;
}
.hero-section .display-4 {
    color: #0d6efd; /* Primary blue */
}
.hero-section .btn-lg {
    padding: 0.85rem 1.8rem;
    font-size: 1.25rem;
    border-radius: 0.75rem;
}
.hero-section .btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
    background-color: transparent;
}
.hero-section .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: #fff;
}
.hero-section .btn-info {
    background-color: #17a2b8; /* Bootstrap info blue */
    border-color: #17a2b8;
}
.hero-section .btn-info:hover {
    background-color: #138496;
    border-color: #138496;
}


/* Card and form styling */
.card {
    border-radius: 1rem; /* More rounded corners */
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1); /* Softer shadow */
}

.card-title {
    color: #0d6efd; /* Primary blue for titles */
    font-size: 2.5rem;
    font-weight: 700;
}

.form-label {
    font-weight: 600; /* Bolder labels */
    color: #555;
}

.form-control,
.form-select {
    border-radius: 0.5rem; /* Rounded input fields */
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
    transform: translateY(-1px); /* Slight lift on hover */
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529; /* Dark text for warning */
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn-warning:hover {
    background-color: #ffcd39;
    border-color: #ffcd39;
    transform: translateY(-1px);
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}
.btn-success:hover {
    background-color: #157347;
    border-color: #157347;
    transform: translateY(-1px);
}

.btn-info {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}
.btn-info:hover {
    background-color: #31d2f2;
    border-color: #31d2f2;
    transform: translateY(-1px);
}


.form-check-input:checked {
    background-color: #0d6efd; /* Consistent color for checked radios/checkboxes */
    border-color: #0d6efd;
}

.form-check-label {
    font-weight: 500;
    color: #444;
}

/* Badges for Free/Paid */
.badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    vertical-align: middle;
    border-radius: 0.375rem;
}

/* Listing Cards for Browse Sections */
.listing-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.15);
}
.listing-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.listing-card .card-body {
    padding: 1.25rem;
}
.listing-card .card-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}
.listing-card .card-text.fw-bold {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}
.listing-card .list-unstyled li {
    margin-bottom: 0.25rem;
}
.listing-card .list-unstyled li i {
    width: 20px; /* Align icons */
    text-align: center;
}

/* Listing Detail Page Styles */
#listingDetailSection .detail-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}
#listingDetailSection .detail-list li i {
    width: 25px;
    text-align: center;
    color: #0d6efd;
}
#detailVideoContainer video {
    max-height: 400px; /* Limit video height */
    width: 100%;
    object-fit: contain; /* Ensure video fits without cropping */
}


/* Footer */
footer {
    background-color: #212529; /* Dark background for footer */
    color: #f8f9fa;
    font-size: 0.9rem;
}
footer .social-icons a {
    color: #f8f9fa;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}
footer .social-icons a:hover {
    color: #0d6efd; /* Primary blue on hover */
}


/* Responsive adjustments */
@media (max-width: 767.98px) {
    .card-body {
        padding: 1.5rem;
    }
    .card-title {
        font-size: 2rem;
    }
    .btn-lg {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1.25rem;
    }
    .hero-section {
        padding: 4rem 1rem;
    }
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    .hero-section .fs-5 {
        font-size: 1rem !important;
    }
}
