/**
 * Professional Image Placeholders for Medical Aesthetics Website
 * Dr. Hamza Gemici - Dummy Images with Theme Design
 */

/* ============================================================================
   HERO BACKGROUND PLACEHOLDER
   ============================================================================ */
.hero-bg-placeholder {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg,
        hsl(221, 83%, 53%) 0%,
        hsl(221, 83%, 48%) 25%,
        hsl(158, 64%, 52%) 75%,
        hsl(158, 64%, 47%) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero-bg-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    animation: subtle-move 20s ease-in-out infinite alternate;
}

@keyframes subtle-move {
    0% { transform: translateX(-2%) translateY(-1%); }
    100% { transform: translateX(2%) translateY(1%); }
}

/* ============================================================================
   DOCTOR PROFILE PLACEHOLDER
   ============================================================================ */
.doctor-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg,
        hsl(210, 40%, 96%) 0%,
        hsl(214, 32%, 91%) 100%
    );
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.doctor-placeholder::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
    border-radius: 50%;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.doctor-placeholder::after {
    content: '👨‍⚕️';
    font-size: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}

.doctor-placeholder .placeholder-text {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--muted-foreground);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

/* ============================================================================
   SERVICE ICON PLACEHOLDERS
   ============================================================================ */
.service-icon-placeholder {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.service-icon-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%
    );
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Specific service icons */
.service-icon-botox::after {
    content: '💉';
    font-size: 1.5rem;
    z-index: 2;
}

.service-icon-filler::after {
    content: '✨';
    font-size: 1.5rem;
    z-index: 2;
}

.service-icon-skincare::after {
    content: '🧴';
    font-size: 1.5rem;
    z-index: 2;
}

.service-icon-laser::after {
    content: '⚡';
    font-size: 1.5rem;
    z-index: 2;
}

/* ============================================================================
   GALLERY PLACEHOLDERS (Before/After)
   ============================================================================ */
.gallery-placeholder-img {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg,
        hsl(210, 40%, 98%) 0%,
        hsl(210, 40%, 94%) 100%
    );
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-placeholder-img::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
    border-radius: 50%;
    opacity: 0.1;
}

.gallery-placeholder-img::after {
    content: '📸';
    font-size: 2.5rem;
    opacity: 0.4;
    z-index: 2;
}

/* Before/After specific styling */
.before-after-placeholder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.before-placeholder,
.after-placeholder {
    height: 200px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.before-placeholder {
    background: linear-gradient(135deg,
        hsl(0, 0%, 96%) 0%,
        hsl(0, 0%, 92%) 100%
    );
}

.after-placeholder {
    background: linear-gradient(135deg,
        hsl(142, 76%, 96%) 0%,
        hsl(142, 76%, 92%) 100%
    );
}

.before-placeholder::after {
    content: 'Before';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.after-placeholder::after {
    content: 'After';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================================================
   CLINIC/FACILITY PLACEHOLDERS
   ============================================================================ */
.clinic-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg,
        hsl(210, 40%, 98%) 0%,
        hsl(214, 32%, 95%) 50%,
        hsl(210, 40%, 98%) 100%
    );
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg,
            transparent 0px,
            transparent 20px,
            rgba(var(--primary-rgb), 0.03) 20px,
            rgba(var(--primary-rgb), 0.03) 40px
        );
}

.clinic-placeholder::after {
    content: '🏥';
    font-size: 3rem;
    opacity: 0.3;
    z-index: 2;
}

/* ============================================================================
   TESTIMONIAL AVATAR PLACEHOLDERS
   ============================================================================ */
.testimonial-avatar-placeholder {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.testimonial-avatar-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.4) 0%,
        transparent 60%
    );
}

/* Different avatar colors */
.avatar-1 { background: linear-gradient(135deg, hsl(221, 83%, 53%) 0%, hsl(158, 64%, 52%) 100%); }
.avatar-2 { background: linear-gradient(135deg, hsl(158, 64%, 52%) 0%, hsl(221, 83%, 53%) 100%); }
.avatar-3 { background: linear-gradient(135deg, hsl(142, 76%, 36%) 0%, hsl(221, 83%, 53%) 100%); }

/* ============================================================================
   LOGO/BRANDING PLACEHOLDER
   ============================================================================ */
.logo-placeholder {
    width: 200px;
    height: 60px;
    background: linear-gradient(90deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    position: relative;
    overflow: hidden;
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%
    );
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(0) translateY(0) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */
@media (max-width: 768px) {
    .doctor-placeholder {
        height: 300px;
    }

    .doctor-placeholder::after {
        font-size: 3rem;
    }

    .service-icon-placeholder {
        width: 3rem;
        height: 3rem;
    }

    .gallery-placeholder-img {
        height: 200px;
    }

    .before-after-placeholder {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .before-placeholder,
    .after-placeholder {
        height: 150px;
    }

    .clinic-placeholder {
        height: 250px;
    }

    .clinic-placeholder::after {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-bg-placeholder {
        min-height: 100vh;
    }

    .doctor-placeholder {
        height: 250px;
    }

    .doctor-placeholder::after {
        font-size: 2.5rem;
    }

    .service-icon-placeholder {
        width: 2.5rem;
        height: 2.5rem;
    }

    .service-icon-placeholder::after {
        font-size: 1.25rem;
    }

    .gallery-placeholder-img {
        height: 180px;
    }

    .gallery-placeholder-img::after {
        font-size: 2rem;
    }

    .before-placeholder,
    .after-placeholder {
        height: 120px;
    }

    .logo-placeholder {
        width: 150px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ============================================================================
   UTILITY CLASSES FOR IMAGES
   ============================================================================ */
.img-placeholder {
    background: var(--muted);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.img-placeholder:hover {
    border-color: var(--primary);
    background: var(--background);
    color: var(--primary);
}

.img-loading {
    background: linear-gradient(90deg,
        var(--muted) 25%,
        var(--border) 50%,
        var(--muted) 75%
    );
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s ease-in-out infinite;
}

@keyframes loading-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}