/* ==========================================================================
   HERO SECTION COMPONENT
   ========================================================================== */

.hero-section {
    text-align: center;
    padding-top: 3rem;
}

/* Avatar Logic */
.profile-avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 250px;
    height: 250px;
    object-fit: contain;
}

/* Typography Hierarchy */
.profile-name {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0.5rem 0 0.2rem;
    font-family: var(--font-heading);
}

.profile-title {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.profile-bio {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 720px;
    margin: 1.5rem auto 2.5rem;
    line-height: 1.8;
}

/* ==========================================================================
   FOUNDER PORTFOLIO CARD
   ========================================================================== */
.founder-portfolio {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-sm);
    /* Subtle border using the earthy primary color with low opacity */
    border: 1px solid rgba(140, 74, 50, 0.08);
    text-align: left;
}

.portfolio-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-align: center;
    border-bottom: 1px solid rgba(140, 74, 50, 0.1);
    padding-bottom: 0.75rem;
}

.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.portfolio-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

a.portfolio-item {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

a.portfolio-item:hover {
    transform: translateX(4px);
}

.portfolio-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--bg-body-start);
    padding: 4px;
    /* Gives the logo breathing room inside the box */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg {
    width: 26px;
    /* Slightly smaller to match visual weight of the images */
    height: 26px;
}

/* Specific styling for the YouTube SVG icon */
.yt-icon-wrapper {
    color: #CD201F;
    /* Classic YouTube Red */
}

/* Specific styling for the Education SVG icon */
.edu-icon-wrapper {
    color: var(--primary-color);
    /* Uses your earthy rust tone */
}

.portfolio-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.portfolio-text strong {
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.portfolio-text span {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* ==========================================================================
   LAYOUT FOR ACTION BUTTONS
   ========================================================================== */
.button-container {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Refining the Secondary Button:
   Using the global .cta-button class but overriding specifically for Hero 
*/
.hero-section .cta-button.secondary {
    background: transparent !important;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    box-shadow: none;
}

.hero-section .cta-button.secondary:hover {
    background: rgba(140, 74, 50, 0.05) !important;
    /* Matched hover background to new rust theme */
    transform: translateY(-2px);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
    .profile-name {
        font-size: 2rem;
    }

    .profile-avatar {
        width: 200px;
        height: 200px;
    }

    /* Portfolio card mobile adjustments */
    .founder-portfolio {
        padding: 1.25rem;
        margin: 0 1rem 2rem;
    }

    .portfolio-icon {
        width: 44px;
        height: 44px;
    }

    .button-container {
        align-items: center;
        /* Ensures buttons stay centered in the column */
        gap: 1rem;
        /* Adds consistent space between the stacked buttons */
        width: 100%;
    }

    .button-container .cta-button {
        width: 100%;
        max-width: 280px;
        /* Prevents them from stretching too wide on larger phones */
        padding: 1rem 1.5rem;
        /* Ensures a consistent "pill" height */
        box-sizing: border-box;
        /* Ensures padding doesn't break width */
    }
}