/* Custom styles for 3KLocalListing */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.business-card {
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
}
/* Custom styles for 3KLocalListing */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}
/* Back to top button */
.btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Text truncate for multiple lines */
.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category card styles */
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

/* Business card hover effect */
.business-card {
    transition: transform 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.business-card {
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
}
/* Category Page Styles */
.page-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.category-search .input-group {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
}

.icon-circle-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .page-header {
        text-align: center;
    }
    
    .category-search {
        margin-top: 1.5rem;
    }
    
    .icon-circle-lg {
        width: 60px;
        height: 60px;
    }
}
/* About Page Styles */
.about-hero, .contact-hero {
    background-color: #0d6efd;
    background-image: linear-gradient(135deg, #0d6efd 0%, #084298 100%);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-circle-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Contact Form Styles */
.contact-form .form-control, 
.contact-form .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}

.contact-form textarea {
    min-height: 150px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .about-hero, .contact-hero {
        padding: 2rem 0;
    }
    
    .icon-circle-lg {
        width: 60px;
        height: 60px;
    }
}
/* Login Page Styles */
.login-card {
    border-radius: 0.5rem;
    overflow: hidden;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.login-card .card-header {
    padding: 1.5rem;
    text-align: center;
}

.login-card .card-body {
    padding: 2rem;
}

.social-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    padding: 0.5rem;
}

.social-login i {
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .login-card .card-body {
        padding: 1.5rem;
    }
    
    .social-login {
        width: 100px;
    }
}
/* Registration Form Styles */
.registration-form .card {
    border-radius: 0.5rem;
    overflow: hidden;
    border: none;
}

.registration-form .card-header {
    padding: 1.5rem;
}

.registration-form .card-body {
    padding: 2rem;
}

.registration-form label {
    font-weight: 500;
}

.registration-form .form-control, 
.registration-form .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}

.registration-form .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
}

.registration-form .btn-submit {
    padding: 0.75rem;
    font-weight: 500;
}

/* File upload styling */
.form-control[type="file"] {
    padding: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .registration-form .card-body {
        padding: 1.5rem;
    }
}
/* Registration Success Page Styles */
.success-hero {
    background-color: #0d6efd;
    background-image: linear-gradient(135deg, #0d6efd 0%, #084298 100%);
}

.icon-circle-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.steps {
    position: relative;
    padding-left: 40px;
}

.steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
}

.step {
    position: relative;
    display: flex;
    gap: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    position: absolute;
    left: -40px;
}

.step-content {
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .success-hero {
        padding: 2rem 0;
    }
    
    .icon-circle-lg {
        width: 60px;
        height: 60px;
    }
    
    .steps {
        padding-left: 30px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        left: -30px;
        font-size: 0.875rem;
    }
}