/* BookIt.ai Public Website Styles */

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding-top: 76px;
}

.hero-search .input-group {
    max-width: 600px;
}

.hero-image img {
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

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

/* Category Cards */
.category-card {
    display: block;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 1rem;
    transition: all 0.3s ease;
    color: #333;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: #E91E63;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #E91E63, #9C27B0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Professional Cards */
.professional-card .card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}

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

.professional-card .card-img-top {
    position: relative;
    overflow: hidden;
}

/* Profile Page */
.professional-profile .cover-section {
    overflow: hidden;
}

.profile-avatar {
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.portfolio-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

/* Search Results */
.search-filters {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
}

.search-results .professional-card {
    margin-bottom: 1.5rem;
}

/* Category Page */
.category-hero {
    background: linear-gradient(135deg, #E91E63, #9C27B0);
    padding: 6rem 0 4rem;
    color: white;
}

.subcategory-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: rgba(255,255,255,0.2);
    border-radius: 2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.subcategory-badge:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

/* Footer */
.footer {
    background: #1a1a2e !important;
}

.footer a:hover {
    color: #E91E63 !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #E91E63, #9C27B0);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #C2185B, #7B1FA2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.btn-outline-primary {
    border-color: #E91E63;
    color: #E91E63;
}

.btn-outline-primary:hover {
    background: #E91E63;
    border-color: #E91E63;
}

/* Rating Stars */
.rating-stars .bi-star-fill {
    color: #ffc107;
}

.rating-stars .bi-star {
    color: #e0e0e0;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #E91E63, #9C27B0);
    padding: 8rem 0 4rem;
    color: white;
}

.page-header h1 {
    font-weight: 700;
}

/* Cards */
.card {
    border-radius: 1rem;
}

.card-header {
    border-radius: 1rem 1rem 0 0 !important;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
}

/* Forms */
.form-control:focus {
    border-color: #E91E63;
    box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.25);
}

/* Object fit */
.object-fit-cover {
    object-fit: cover;
}

/* Service List */
.service-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.service-item:last-child {
    border-bottom: none;
}

/* Review Item */
.review-item {
    padding: 1rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }

    .hero-search .input-group {
        flex-direction: column;
    }

    .hero-search .input-group > * {
        border-radius: 0.5rem !important;
        margin-bottom: 0.5rem;
    }

    .professional-profile .profile-header {
        text-align: center;
    }

    .professional-profile .profile-header .d-flex {
        flex-direction: column;
        align-items: center !important;
    }

    .page-header {
        padding: 6rem 0 2rem;
    }
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Loading State */
.loading-spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(233, 30, 99, 0.3);
    border-radius: 50%;
    border-top-color: #E91E63;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* App Store Buttons */
.app-store-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #000;
    color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-store-btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #E91E63, #9C27B0);
    color: white;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
}

.stat-label {
    opacity: 0.8;
}

/* FAQ Section */
.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.1));
    color: #E91E63;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(233, 30, 99, 0.25);
}

/* Legal Pages */
.legal-content {
    padding: 2rem 0;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.legal-content p {
    color: #666;
    line-height: 1.8;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 1rem;
    padding: 2rem;
}

/* Help Center */
.help-category {
    display: block;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    text-align: center;
}

.help-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: #E91E63;
}

.help-category i {
    font-size: 2.5rem;
    color: #E91E63;
    margin-bottom: 1rem;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E91E63, #9C27B0);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}
