﻿/* Studio Page Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #666666;
    --background-color: #ffffff;
    --card-bg-color: #f8f8f8;
    --text-color: #333333;
    --accent-color: #FF7900;
    --font-family: 'Inter', sans-serif;
    --border-color: #e0e0e0;
    --light-gray: #f5f5f5;
}

/* Hero Section */
.studio-hero-section {
    padding: 10rem 0 0rem 0;
    text-align: center;
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.studio-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.studio-hero-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-title {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
}

.studio-intro {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.3px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Team Section */
.team-section {
    padding: 2rem 0 5rem 0;
    background-color: var(--background-color);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.team-member.founder {
    outline: 2px solid var(--accent-color);
    outline-offset: 8px;
    padding: 8px;
}

.member-image {
    flex-shrink: 0;
    width: 300px;
    position: relative;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    border: none;
    transition: transform 0.3s ease;
    display: block;
    visibility: visible;
    opacity: 1;
}

.team-photo:hover {
    transform: scale(1.02);
}

.member-info {
    flex: 1;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
}

.member-title {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--accent-color);
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 0.6rem 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.school-badge {
    position: absolute;
    top: -12px;
    right: -10px;
    background: white;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 10;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid #ccc; /* Default light gray border */
}

/* Clemson logo outline (orange) */
.team-member:first-child .school-badge {
    right: -14px;
    border: 3px solid #F56600 !important;
}

/* Raymond's Clemson badge - now handled below */

/* Judson logo outline (blue) */
.team-member:nth-child(2) .school-badge {
    right: -11px;
    border: 3px solid #1B365D !important;
}

/* Raymond's College of Charleston badge - now handled below */

.school-badge:hover {
    transform: scale(1.3);
    z-index: 15;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}



.school-icon {
    width: 48px;
    height: 48px;
    opacity: 0.9;
    display: block;
    transition: all 0.3s ease;
}

/* Special styles for Raymond's logos - stack them vertically */
.team-member:last-child .school-badge:nth-child(3) {
    right: -10px;
    top: -12px;
    border: 3px solid #8B0000 !important; /* College of Charleston - maroon */
}

.team-member:last-child .school-badge:nth-child(4) {
    right: -10px;
    top: 60px;
    border: 3px solid #F56600 !important; /* Clemson - orange */
}

/* Enhanced hover effect for Raymond's logos */
.team-member:last-child .school-badge:hover {
    transform: scale(1.4);
    z-index: 20;
}


/* Raymond's badge hover effects - now simplified */

.member-overlay .member-name {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-color);
    margin: 0 0 0.2rem 0;
    letter-spacing: 0.5px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
}

.member-overlay .member-title {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--accent-color);
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.member-bio {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
    background-color: #f8f8f8;
    padding: 2rem;
    height: 400px;
    overflow-y: visible;
    position: relative;
    z-index: 1;
}

/* Bio toggle functionality - mobile only */
@media (max-width: 768px) {
    .bio-toggle-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        height: 48px;
        min-height: 48px;
        padding: 0.75rem 1rem;
        background: var(--accent-color);
        color: white;
        border: none;
        font-size: 0.9rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 0;
        box-sizing: border-box;
        flex-shrink: 0;
    }
    
    .bio-toggle-btn:hover {
        background: #e55a00;
        transform: translateY(-1px);
    }
    
    .bio-arrow {
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }
    
    .bio-toggle-btn.expanded .bio-arrow {
        transform: rotate(180deg);
    }
    
    /* Override desktop bio styles for mobile */
    .member-bio {
        display: none !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        position: static !important;
        z-index: auto !important;
    }
    
    /* Show bio when expanded */
    .member-bio.expanded {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 1.5rem !important;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
        background-color: #f8f8f8 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        width: 100% !important;
        clear: both !important;
        overflow: visible !important;
        position: static !important;
        z-index: auto !important;
        flex-shrink: 0 !important;
    }
    
    /* Ensure team grid properly handles expanding content */
    .team-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 4rem !important;
        align-items: stretch !important;
    }
}

.member-bio p {
    margin: 0 0 1rem 0;
}

.member-bio p:last-child {
    margin-bottom: 0;
}

/* Bio toggle button - hidden on desktop, shown on mobile */
.bio-toggle-btn {
    display: none;
    min-height: 48px;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin-bottom: 3rem;
        overflow: visible;
        position: relative;
        width: 100%;
        align-items: stretch;
        min-height: fit-content;
    }
    
    /* Ensure member-info container handles bio expansion properly */
    .member-info {
        width: 100%;
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: fit-content;
    }
    
    .member-image {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        min-height: 300px;
        justify-content: center;
        position: relative;
    }
    
    .team-photo {
        width: 100%;
        height: 450px;
        margin-bottom: 0;
        object-position: center center;
    }
    
    /* Adjust Gregory Bartley's image positioning to show more of the top */
    .team-member:nth-child(2) .team-photo {
        object-position: center 5%;
    }
    
    .member-overlay {
        position: relative;
        width: 100%;
        margin-top: 1rem;
    }
    
    .overlay-content {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .school-logo {
        margin-left: 0;
    }
    
    .school-badge {
        width: 72px;
        height: 72px;
        padding: 10px;
    }
    
    .school-icon {
        width: 44px;
        height: 44px;
        opacity: 0.9;
    }
    
    .member-overlay .member-name {
        font-size: 1.1rem;
    }
    
    .member-overlay .member-title {
        font-size: 0.7rem;
    }
    
    /* Bio styles now handled globally above */
    
    .bio-toggle-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        min-height: 48px;
        padding: 0.75rem 1rem;
        background: var(--accent-color);
        color: white;
        border: none;
        font-size: 0.9rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 2px;
        box-sizing: border-box;
    }
    
    .bio-toggle-btn:hover {
        background: #e55a00;
        transform: translateY(-1px);
    }
    
    .bio-arrow {
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }
    
    .bio-toggle-btn.expanded .bio-arrow {
        transform: rotate(180deg);
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .studio-intro {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-photo {
        width: 100%;
        height: 350px;
        object-position: center center;
    }
    
    /* Adjust Gregory Bartley's image positioning for small mobile */
    .team-member:nth-child(2) .team-photo {
        object-position: center 5%;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
    
    .member-bio {
        font-size: 0.85rem;
    }
}
