﻿/* =========================================================
   MAKER PUBLIC PROFILE PAGE
   ========================================================= */

.maker-profile-page {
    min-height: 100vh;
    background: var(--mud-palette-background);
}

/* =========================================================
   HERO
   ========================================================= */

.maker-profile-hero {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.maker-profile-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.maker-profile-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-secondary) 100%);
}

.maker-profile-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100% );
    display: flex;
    align-items: flex-end;
    padding: 2.5rem 4rem;
    gap: 2rem;
}

/* Logo */
.maker-profile-logo-wrapper {
    flex-shrink: 0;
}

.maker-profile-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
    display: block;
}

.maker-profile-logo-placeholder {
    width: 100px;
    height: 100px;
    background: var(--mud-palette-primary);
    border: 3px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.maker-profile-logo-initials {
    color: white !important;
    font-weight: 700;
}

/* Hero info */
.maker-profile-hero-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
}

.maker-profile-name {
    color: white !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.maker-profile-accepting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.maker-profile-accepting-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    flex-shrink: 0;
    box-shadow: 0 0 6px #4caf50;
}

.maker-profile-accepting-text {
    color: rgba(255, 255, 255, 0.9) !important;
}

.maker-profile-not-accepting {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* =========================================================
   BODY
   ========================================================= */

.maker-profile-body {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 4rem;
    align-items: start;
}

/* =========================================================
   INFO SECTION
   ========================================================= */

.maker-profile-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 2rem;
}

.maker-profile-section-label {
    letter-spacing: 0.12em !important;
    color: var(--mud-palette-text-secondary) !important;
    display: block;
    margin-bottom: 0.75rem;
}

/* Bio */
.maker-profile-bio-text {
    line-height: 1.8;
    color: var(--mud-palette-text-secondary) !important;
}

/* Details */
.maker-profile-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.maker-profile-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.maker-profile-detail-icon {
    font-size: 1.1rem !important;
    color: var(--mud-palette-secondary) !important;
    flex-shrink: 0;
}

/* Specialties */
.maker-profile-specialties {
    display: flex;
    flex-direction: column;
}

.maker-profile-specialty-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.maker-profile-specialty-chip {
    margin: 0 !important;
}

/* Social */
.maker-profile-social {
    display: flex;
    flex-direction: column;
}

.maker-profile-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.maker-profile-social-button {
    text-transform: none !important;
    justify-content: flex-start !important;
    border-color: var(--mud-palette-divider) !important;
}

    .maker-profile-social-button:hover {
        border-color: var(--mud-palette-secondary) !important;
        color: var(--mud-palette-secondary) !important;
    }

/* =========================================================
   ITEMS SECTION
   ========================================================= */

.maker-profile-items-section {
    display: flex;
    flex-direction: column;
}

.maker-profile-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.maker-profile-items-empty {
    padding: 3rem;
    text-align: center;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
}

.maker-profile-items-empty-text {
    color: var(--mud-palette-text-secondary) !important;
}

/* =========================================================
   NOT FOUND
   ========================================================= */

.maker-profile-not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
}

.maker-profile-not-found-icon {
    font-size: 4rem !important;
    color: var(--mud-palette-text-secondary) !important;
}

.maker-profile-not-found-text {
    color: var(--mud-palette-text-secondary) !important;
    max-width: 400px;
}

.maker-profile-full-name {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1rem;
}

@media (max-width: 960px) {
    .maker-profile-hero {
        height: 300px;
    }

    .maker-profile-hero-overlay {
        padding: 1.5rem;
    }

    .maker-profile-body {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .maker-profile-info-section {
        position: static;
    }

    .maker-profile-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .maker-profile-body {
        padding: 1.5rem 1rem;
    }

    .maker-profile-name {
        font-size: 1.8rem !important;
    }
}