/* Places View Page Styles */

:root {
    --primary-color: #09153D;
    --secondary-color: #EE1C47;
    --text-color: #334155;
    --bg-light: #F8FAFC;
}

body {
    background-color: var(--bg-light);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}

/* Helper Classes */
.text-secondary-color {
    color: var(--secondary-color) !important;
}

.bg-secondary-color {
    background-color: var(--secondary-color) !important;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #64748b;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: #94a3b8;
}

/* Profile Header with Decorative Shapes */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #020617 100%);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px -10px rgba(9, 21, 61, 0.4);
}

.profile-header::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(238, 28, 71, 0.15) 0%, transparent 70%);
    top: -300px;
    right: -100px;
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
}

.profile-header::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 130, 58, 0.1) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite reverse;
    z-index: 0;
}

.profile-header .container {
    z-index: 5;
}

.header-actions {
    z-index: 10;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.profile-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

.profile-logo-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.profile-logo-wrapper:hover {
    transform: scale(1.05);
}

.profile-logo,
.profile-logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: white;
}

.profile-logo-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-logo-placeholder .initials {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.verified-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    z-index: 3;
    border: 3px solid var(--primary-color);
}

.profile-title {
    font-weight: 800;
    font-size: 2.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.action-link-dark {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.action-link-dark:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.backdrop-blur {
    backdrop-filter: blur(5px);
}

/* Bootstrap Secondary Button Enhancement */
.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    animation: subtle-pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #d01239;
    border-color: #d01239;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -5px rgba(238, 28, 71, 0.5) !important;
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(238, 28, 71, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(238, 28, 71, 0);
    }
}

.btn-white {
    background: white;
    color: var(--secondary-color);
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Content Cards with Modern Design */
.content-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 1.5rem;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 2px;
}

/* Gallery Grid Enhanced */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 8px;
    aspect-ratio: 21/9;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 12px;
}

.gallery-item.item-0 {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-link {
    display: block;
    position: relative;
    height: 100%;
}

.gallery-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-link:hover::after {
    opacity: 1;
}

.gallery-link:hover img {
    transform: scale(1.08);
}

.more-photos-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9, 21, 61, 0.9), rgba(238, 28, 71, 0.9));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    z-index: 2;
}

/* Service Tags Enhanced */
.service-tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), #1e293b);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(9, 21, 61, 0.25);
}

/* Sidebar Enhanced */
.sticky-sidebar {
    position: sticky;
    top: 2rem;
}

.contact-card {
    background: linear-gradient(145deg, var(--primary-color) 0%, #1e293b 100%) !important;
    box-shadow: 0 10px 40px rgba(9, 21, 61, 0.3) !important;
    border: none !important;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-list li a:hover .icon-circle {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: scale(1.1);
}

/* Review Items Enhanced */
.review-item {
    transition: all 0.3s ease;
    padding: 1.5rem !important;
    margin: 0 -0.5rem;
    border-radius: 12px;
}

.review-item:hover {
    background: #f8fafc;
    transform: translateX(8px);
}

.review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-text {
    color: #64748b;
    line-height: 1.6;
}

/* Ratings Wrapper */
.ratings-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 991px) {
    .profile-title {
        font-size: 1.75rem;
    }

    .profile-logo-wrapper {
        width: 120px;
        height: 120px;
    }

    .gallery-grid {
        aspect-ratio: 16/9;
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.item-0 {
        grid-column: span 2;
    }

    .content-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .profile-title {
        font-size: 1.5rem;
    }

    .btn-secondary {
        font-size: 0.8rem;
    }
}