/* ============================================
   ABOUT SECTION - EXTENDED STYLES
   ============================================ */

.section {
    padding: 8rem 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.about {
    background: linear-gradient(180deg, var(--dark-1) 0%, var(--dark-2) 100%);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Avatar Visual */
.about-visual {
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.avatar-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.avatar-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--cyan);
    background: var(--dark-2); /* Pozadí pro případ, že fotka je PNG s průhledností */
}

.avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; /* Změna na absolute */
    inset: 0;           /* Roztáhnout na celý frame */
    z-index: 2;         /* Vyšší než fallback */
}

.avatar-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--cyan);
    z-index: 1;         /* Nižší než fotka */
}

.avatar-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(
        circle at center,
        rgba(0, 245, 255, 0.4) 0%,
        transparent 70%
    );
    z-index: -1;
    animation: avatarPulse 4s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Orbiting Icons */
.orbit-container {
    position: absolute;
    inset: -40px;
    pointer-events: none;
}

.orbit-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(0, 245, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.orbit-1 { top: 0; left: 50%; transform: translateX(-50%); animation: float 3s ease-in-out infinite; }
.orbit-2 { top: 50%; right: 0; transform: translateY(-50%); animation: float 3s ease-in-out infinite 0.75s; }
.orbit-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation: float 3s ease-in-out infinite 1.5s; }
.orbit-4 { top: 50%; left: 0; transform: translateY(-50%); animation: float 3s ease-in-out infinite 2.25s; }

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

/* Status Badge */
.status-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--cyan);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-badge:hover {
    background: rgba(0, 245, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #00ff00;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
    box-shadow: 0 0 10px #00ff00;
}

.status-text {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

/* About Content */
.about-header {
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--cyan);
    border-radius: 50px;
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

.section-title strong {
    color: var(--cyan);
}

/* Story */
.about-story {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
}

.story-lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    line-height: 1.6;
}

.about-story strong {
    color: var(--cyan);
    font-weight: 700;
}

.about-story em {
    color: var(--pink);
    font-style: normal;
    font-weight: 600;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-list li {
    padding-left: 0;
    color: rgba(255, 255, 255, 0.9);
}

.about-closer {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

/* Location Box */
.location-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(112, 0, 255, 0.1);
    border: 2px solid var(--purple);
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.2);
}

.location-icon {
    font-size: 3rem;
    color: var(--purple);
    flex-shrink: 0;
}

.location-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: white;
}

.location-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
}

.location-emphasis {
    font-weight: 600;
    color: var(--purple) !important;
}

/* Examples Grid */
.about-examples {
    margin-top: 3rem;
}

.about-examples h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.example-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.example-item:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.2);
}

.example-item i {
    font-size: 1.5rem;
    color: var(--cyan);
}

.example-item span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 1.5rem;
    }
    
    .about-story {
        font-size: 1rem;
    }
    
    .story-lead {
        font-size: 1.15rem;
    }
    
    .location-box {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
}