/* ========================================
   FOUNDER PROFILES PAGE - Page-Specific Styles
   Shared styles moved to base.css
   ======================================== */

/* Page Background (optional override if needed) */
body.founder-profiles-page {
    background-color: #0a0a0a;
    color: #e5e7eb;
}

/* Founders Container */
.founder-grid {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

/* Founder Card - Alternating Layout */
.founder-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 768px) {
    .founder-card {
        grid-template-columns: 280px 1fr;
        gap: 3rem;
    }
    
    /* Second founder: reverse the order */
    .founder-card:nth-child(2) {
        grid-template-columns: 1fr 280px;
    }
    
    .founder-card:nth-child(2) .founder-avatar {
        order: 2;
    }
    
    .founder-card:nth-child(2) .founder-info {
        order: 1;
    }
}

.founder-card:hover {
    border-color: rgba(255, 105, 180, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.15);
}

/* Automatic fade-in animation for founder cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.founder-card.fade-in {
    /* Override base.css transition to allow animation */
    transition: none;
    /* Ensure initial state from base.css is maintained */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Founder Avatar */
.founder-avatar {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-photo {
    width: 240px;
    height: 240px;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.1);
    display: block;
}

.founder-card:hover .founder-photo {
    border-color: #ff69b4;
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.2);
    transform: scale(1.02);
}

.avatar-placeholder {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.15), rgba(255, 215, 0, 0.15));
    border: 3px solid rgba(255, 105, 180, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: bold;
    color: #ff69b4;
    font-family: 'Playfair Display', serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.1);
}

.founder-card:hover .avatar-placeholder {
    border-color: #ff69b4;
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.2);
}

.avatar-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1rem;
    font-style: italic;
}

/* Founder Info */
.founder-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.founder-name {
    font-size: 1.875rem;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    color: #e5e7eb;
    margin: 0 0 0.5rem 0;
}

.founder-title {
    font-size: 1rem;
    color: #fb923c; /* Orange - Business & Operations */
    font-weight: 600;
    margin: 0 0 1rem 0;
}

/* Founder Quote */
.founder-quote {
    padding: 1.25rem;
    border-left: 4px solid #ff69b4;
    background: rgba(255, 105, 180, 0.05);
    border-radius: 4px;
    margin: 0 0 1.5rem 0;
}

.founder-quote p {
    font-size: 1rem;
    font-style: italic;
    color: #d1d5db;
    margin: 0;
    line-height: 1.6;
}

/* Founder Bio */
.bio-preview {
    display: block;
}

.bio-preview.expanded {
    display: block;
}

.bio-preview:not(.expanded) .founder-bio:nth-child(n+2) {
    display: none;
}

.founder-bio {
    font-size: 1rem;
    color: #b3b3b3;
    line-height: 1.8;
    margin: 0;
}

.founder-bio + .founder-bio {
    margin-top: 1.25rem;
}

.read-more-btn {
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 105, 180, 0.1);
    border: 1px solid rgba(255, 105, 180, 0.3);
    border-radius: 20px;
    color: #ff69b4;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: rgba(255, 105, 180, 0.2);
    border-color: #ff69b4;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 105, 180, 0.2);
}

/* Social Links */
.founder-socials {
    display: flex;
    gap: 0.75rem;
    margin: 0;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 50%;
    color: #60a5fa; /* Blue - Product Development */
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: #60a5fa;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 0 1rem rgba(96, 165, 250, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .founder-grid {
        gap: 3rem;
    }

    .founder-card {
        padding: 2rem;
        gap: 2rem;
        grid-template-columns: 1fr !important;
    }

    .founder-card:nth-child(2) .founder-avatar {
        order: 0;
    }
    
    .founder-card:nth-child(2) .founder-info {
        order: 1;
    }

    .founder-card:hover {
        transform: translateY(-2px);
    }

    .founder-photo {
        width: 180px;
        height: 180px;
    }

    .avatar-placeholder {
        width: 180px;
        height: 180px;
        font-size: 3.5rem;
    }

    .founder-name {
        font-size: 1.5rem;
    }

    .founder-title {
        font-size: 0.9375rem;
    }

    .founder-bio {
        font-size: 0.9375rem;
    }

    .founder-socials {
        gap: 0.75rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .founder-card {
        padding: 1.5rem;
    }

    .founder-photo {
        width: 160px;
        height: 160px;
    }

    .avatar-placeholder {
        width: 160px;
        height: 160px;
        font-size: 3rem;
    }

    .founder-name {
        font-size: 1.25rem;
    }

    .founder-title {
        font-size: 0.875rem;
    }

    .founder-quote {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .founder-bio {
        font-size: 0.875rem;
    }

    .founder-socials {
        gap: 0.5rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

/* Staggered fade-in animation delays */
.founder-card.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.founder-card.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

/* Email Notification Styles */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

#email-notification {
    animation: slideIn 0.3s ease-out;
}

#email-notification strong {
    word-break: break-all;
}

@media (max-width: 640px) {
    #email-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}
