/* Modern Client Show Page - Ultra Cool Design */
body {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 30%, #16213e 70%, #0f3460 100%) !important;
    background-attachment: fixed !important;
}

.client-show-page {
    background: transparent;
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
    overflow-x: hidden;
}

.client-show-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: shimmer 8s ease-in-out infinite alternate;
}

@keyframes shimmer {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.8;
    }
}

.client-hero {
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Compact layout styles */
.client-hero.compact-layout {
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.client-hero.compact-layout .client-title {
    font-size: 2rem;
}

.client-hero.compact-layout .client-description {
    font-size: 1rem;
    line-height: 1.5;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.text-sm {
    font-size: 0.875rem;
}

.modern-card {
    margin-bottom: 1rem;
}

/* Compact reviews scrollbar */
.reviews-section .modern-card div[style*="max-height"]::-webkit-scrollbar {
    width: 4px;
}

.reviews-section .modern-card div[style*="max-height"]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.reviews-section .modern-card div[style*="max-height"]::-webkit-scrollbar-thumb {
    background: #74b9ff;
    border-radius: 4px;
}

.reviews-section .modern-card div[style*="max-height"]::-webkit-scrollbar-thumb:hover {
    background: #0984e3;
}

.client-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.client-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
    background: linear-gradient(45deg, #fff, #74b9ff, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
    }

    100% {
        text-shadow: 0 0 30px rgba(138, 43, 226, 0.8), 0 0 40px rgba(255, 20, 147, 0.3);
    }
}

.client-description {
    font-size: 1.2rem;
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.client-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-item {
    background: rgba(116, 185, 255, 0.1);
    border: 1px solid rgba(116, 185, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: #74b9ff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.meta-item:hover {
    background: rgba(116, 185, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(116, 185, 255, 0.3);
}

.price-tag {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.4);
    animation: priceGlow 2s ease-in-out infinite alternate;
}

@keyframes priceGlow {
    0% {
        box-shadow: 0 10px 30px rgba(0, 184, 148, 0.4);
    }

    100% {
        box-shadow: 0 15px 40px rgba(0, 206, 201, 0.6), 0 0 20px rgba(0, 184, 148, 0.3);
    }
}

/* Glow Buttons */
.glow-btn {
    position: relative;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.glow-btn:hover::before {
    left: 100%;
}

.glow-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(102, 126, 234, 0.6),
        0 0 30px rgba(118, 75, 162, 0.4);
    color: white;
    text-decoration: none;
}

.glow-btn-danger {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.glow-btn-danger:hover {
    box-shadow:
        0 15px 40px rgba(231, 76, 60, 0.6),
        0 0 30px rgba(192, 57, 43, 0.4);
}

.glow-btn-success {
    background: linear-gradient(45deg, #00b894, #00cec9);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
}

.glow-btn-success:hover {
    box-shadow:
        0 15px 40px rgba(0, 184, 148, 0.6),
        0 0 30px rgba(0, 206, 201, 0.4);
}

/* Modern Card Layout */
.modern-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2, #74b9ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Image Gallery */
.image-gallery {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.gallery-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.gallery-control {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-control:hover {
    background: rgba(116, 185, 255, 0.8);
    transform: scale(1.1);
}

/* Map Container */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(116, 185, 255, 0.3);
    position: relative;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.map-container #map {
    pointer-events: none !important;
}

.map-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(116, 185, 255, 0.6);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    pointer-events: auto;
    cursor: pointer;
}

.map-container:hover .map-overlay {
    opacity: 1;
}

.map-click-hint {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.map-click-hint i {
    font-size: 1.2rem;
    color: #74b9ff;
}

#map {
    width: 100% !important;
    height: 100% !important;
    border-radius: 18px;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 20px;
    background: linear-gradient(45deg, #74b9ff, #a29bfe) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.3;
    }
}

/* Reviews Section */
.reviews-section {
    margin-top: 3rem;
}

.review-card {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(10px);
}

.reviewer-name {
    color: #74b9ff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.star-rating {
    color: #f39c12;
    margin-bottom: 1rem;
}

/* Form Styling */
.review-form {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 10px !important;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #74b9ff !important;
    box-shadow: 0 0 15px rgba(116, 185, 255, 0.3) !important;
    color: white !important;
}

.form-label {
    color: #ecf0f1;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .client-title {
        font-size: 2.5rem;
    }

    .client-hero {
        padding: 2rem;
    }

    .client-meta {
        flex-direction: column;
    }

    .gallery-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .client-title {
        font-size: 2rem;
    }

    .client-hero {
        padding: 1.5rem;
    }

    .glow-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}