/* --- Global & Hero Section --- */
.about-hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 80px 0; /* Removed side padding to rely on width/margin */
    width: 80%;      /* Matches .about-feature-row children */
    max-width: 900px; /* Matches .about-feature-row children */
    margin: 0 auto;
}

.hero-logo-container {
    flex: 0 0 240px; /* Medium size logo */
}

.hero-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(139, 115, 85, 0.3));
}

.hero-text-content {
    flex: 1;
}

.hero-text-content h1 {
    font-size: 3rem;
    color: #f5deb3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-text-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #8b7355;
    margin: 0;
}

/* Bright Wheat highlight for Svetovid and SvetoViz */
.hero-text-content p strong {
    color: #f5deb3;
    font-weight: 600;
}

/* --- Feature List Container --- */
.about-list-container {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px;
}

.about-feature-row {
    display: block;
    margin-bottom: 100px;
    width: 100%;
}

/* Centered 80% Width logic */
.about-feature-row .about-code-panel,
.about-feature-row .about-video-container {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
}

.about-feature-row .about-code-panel {
    background: #0d0806;
    border: 1px solid #36251c;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.about-video-container {
    border: 1px solid #36251c;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.about-video-container video,
.about-video-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Internal Elements */
.about-panel-header {
    background: #1e1410;
    padding: 10px 16px;
    font-size: 0.75rem;
    color: #a0866a;
    border-bottom: 1px solid #36251c;
}

.about-panel-body { padding: 35px; }
.about-panel-body h2 { color: #f5deb3; font-size: 2rem; margin: 0 0 12px 0; }
.about-description { color: #8b7355; line-height: 1.6; margin-bottom: 25px; }

.about-code-snippet {
    display: block;
    width: 100%;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #d2b48c;
    line-height: 1.6;
    padding: 20px;
    background: #050302;
    border-radius: 4px;
    white-space: pre-wrap;
    margin: 0;
}

/* Syntax Highlighting */
.about-code-snippet .func { color: #cd853f; }
.about-code-snippet .key { color: #f5deb3; font-weight: bold; }
.about-code-snippet .str { color: #8b7355; }
.about-code-snippet .int { color: #d2b48c; }
.about-code-snippet .com { color: #5c4b37; font-style: italic; }

.about-action-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    border: 1px solid #8b7355;
    color: #f5deb3;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.about-action-btn:hover {
    background: #8b7355;
    color: #1a0f0a;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-hero-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 40px 20px;
        width: 100%;
    }

    .about-feature-row .about-code-panel,
    .about-feature-row .about-video-container {
        width: 100%;
    }
}