/* Kansas City Websites Landing Page Styles */

/* Page Wrapper */
.page-wrapper {
    background-color: #121212;
    min-height: 100vh;
}

/* Card Base Styles */
.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Card */
.hero-card {
    /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('/frontend/assets/images/kansas-city-skyline.jpg'); */
    background-size: cover;
    background-position: center;
    border: none;
}

.hero-card .card-body {
    position: relative;
    z-index: 1;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0));
    z-index: 0;
}

/* Service Cards */
.service-card {
    border-radius: 15px;
    overflow: hidden;
}

.service-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1);
    background: rgba(0, 123, 255, 0.2);
}

.service-card .fas {
    color: #007bff;
}

/* Process Cards */
.process-card {
    border-radius: 15px;
    text-align: center;
}

.process-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    opacity: 0.5;
    line-height: 1;
}

.process-card:hover .process-number {
    opacity: 1;
}

/* Portfolio Cards */
.portfolio-card {
    border-radius: 15px;
    overflow: hidden;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%; /* 3:2 aspect ratio */
}

.portfolio-card .card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .card-img-top {
    transform: scale(1.1);
}

.portfolio-card .badge {
    font-size: 0.8rem;
    padding: 0.5em 1em;
    border-radius: 20px;
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.3);
    white-space: nowrap;
    margin: 0.25rem;
    display: inline-block;
}

.portfolio-card .d-flex.gap-2 {
    flex-wrap: wrap;
    margin: -0.25rem;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 20px;
}

.cta-card:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 123, 255, 0.1));
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    background: linear-gradient(45deg, #0056b3, #004494);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.text-light {
    color: #ffffff !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-card .card-body {
        padding: 2rem !important;
    }

    .service-card .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .process-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-card .card-body {
        padding: 1.5rem !important;
    }

    .btn-primary, .btn-outline-light {
        padding: 10px 20px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* List Styles */
.list-unstyled li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.list-unstyled li i {
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

/* Local Business Section */
.bg-darker {
    background-color: #1a1a1a;
}

.local-business .card {
    transition: transform 0.3s ease;
}

.local-business .card:hover {
    transform: translateY(-5px);
}

/* Portfolio Section */
.portfolio-section .card {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.portfolio-section .card:hover {
    transform: translateY(-5px);
}

.portfolio-section .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-section .card:hover .card-img-top {
    transform: scale(1.05);
}

/* Reviews Section */
.reviews-section .card {
    transition: transform 0.3s ease;
}

.reviews-section .card:hover {
    transform: translateY(-5px);
}

.stars {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Services Section */
.services-section .card {
    transition: transform 0.3s ease;
}

.services-section .card:hover {
    transform: translateY(-5px);
}

.services-section .fas {
    transition: transform 0.3s ease;
}

.services-section .card:hover .fas {
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/frontend/assets/images/kansas-city-night.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Image Styles */
.img-shadow {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Map Container */
.ratio-16x9 {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Section Spacing */
section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Reviews Section Wrapper */
.reviews-section-wrapper {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.02));
    position: relative;
    overflow: hidden;
}

.reviews-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.reviews-section-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 123, 255, 0.2), transparent);
}

/* Reviews Section */
.review-card {
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.review-card .stars {
    color: #ffc107;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-card .text-muted {
    font-size: 0.95rem;
    line-height: 1.6;
}

.review-card .reviewer-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

.review-card .reviewer-info p {
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .review-card {
        margin-bottom: 1rem;
    }
}

/* Industry Cards */
.industry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--bs-primary);
}

.industry-card .icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.industry-card .card-body {
    display: flex;
    flex-direction: column;
}

.industry-card h3 {
    font-weight: 600;
}

.industry-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}