/* Modern Design Elements */
:root {
    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    --secondary-gradient: linear-gradient(135deg, #20c997 0%, #198754 100%);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-transition: all 0.3s ease;
    --swiper-theme-color: #000000
}

/* Hero Section Enhancements */
.hero-section {
    position: relative;
    overflow: visible;
    background: var(--primary-gradient);
    border-radius: 0 0 50px 50px;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.trending-slider {
    
    padding-bottom: 3rem;
}

.trending-slide-img {
    padding: 1rem;
    margin: 1rem 0;
}

.carousel-image {
    max-height: 75vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

/* Modern Card Design */
.modern-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--hover-transition);
    border: none;
    overflow: hidden;
    position: relative;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--hover-transition);
}

.modern-card:hover::before {
    opacity: 1;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    transform: rotate(-10deg);
    transition: var(--hover-transition);
}

.modern-card:hover .feature-icon {
    transform: rotate(0deg);
}

/* Modern Buttons */
.modern-btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--hover-transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    z-index: -1;
    transition: var(--hover-transition);
    opacity: 0;
}

.modern-btn:hover::before {
    opacity: 1;
}

/* Pricing Cards */
.pricing-card {
    border-radius: 30px;
    overflow: hidden;
    transition: var(--hover-transition);
}

.pricing-card:hover {
    transform: scale(1.02);
}

.pricing-header {
    background: var(--primary-gradient);
    padding: 2rem;
    color: white;
    text-align: center;
    border-radius: 30px 30px 0 0;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        border-radius: 0 0 30px 30px;
    }
    
    .modern-card {
        margin-bottom: 1.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a58ca;
}

/* Business Listing Styles */
.business-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.business-logo {
    border-radius: 8px;
    object-fit: contain;
}

.business-logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #f3f3f3, #e0e0e0);
    border-radius: 8px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

.btn-primary {
    background: linear-gradient(45deg, var(--easybook-main-colour), var(--easybook-main-colour-alpha));
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    border: 2px solid var(--easybook-main-colour);
    color: var(--easybook-main-colour);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--easybook-main-colour);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* SEO-friendly structured data */
[itemtype="http://schema.org/LocalBusiness"] {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .business-card {
        margin-bottom: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .btn-primary, .btn-outline-primary {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* Loading state */
.business-card.loading {
    position: relative;
    min-height: 200px;
}

.business-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Search Card Styles */
.search-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.search-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.search-card .form-control {
    border-radius: 8px 0 0 8px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.search-card .form-control:focus {
    box-shadow: none;
    border-color: var(--easybook-main-colour);
}

.search-card .btn-primary {
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1.5rem;
}

.search-card .form-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background-color: #fff;
}

.search-card .form-select:focus {
    box-shadow: none;
    border-color: var(--easybook-main-colour);
}

/* Pagination Styles */
.pagination {
    margin-bottom: 0;
}

.pagination .page-link {
    color: var(--easybook-main-colour);
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--easybook-main-colour);
    color: #fff;
    border-color: var(--easybook-main-colour);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background-color: var(--easybook-main-colour);
    border-color: var(--easybook-main-colour);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #e0e0e0;
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--easybook-main-colour);
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alert-danger {
    background-color: #fff5f5;
    color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .search-card .form-control,
    .search-card .btn-primary,
    .search-card .form-select {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .pagination .page-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Navigation Spacing Fix */
.container.py-5.mt-5 {
    margin-top: 6rem !important;
} 