/* 
 * Founder Page Styles - Krzysztof Oliwa
 * 
 * Custom styles specific to the founder/biography page
 * These styles complement the design system and Tailwind CSS
 * Brand Colors: Navy (#04192C), Steel Blue (#184973), Red (#B8030D), Gold (#FFD700)
 */

/* ==========================================
   PAGE ANIMATIONS & EFFECTS
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.founder-page-main {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Professional photo styling */
.founder-page-main img {
    transition: transform 0.3s ease;
}

.founder-page-main img:hover {
    transform: scale(1.02);
}

/* Stats cards */
.founder-page-main .bg-white\/5 {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.founder-page-main .bg-white\/5:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
}

/* ==========================================
   BIOGRAPHY SECTION
   ========================================== */

/* Dropcap styling */
.founder-page-main .text-2xl.float-left {
    line-height: 1;
    margin-top: 0.2em;
}

/* Biography cards */
.founder-page-main .bg-\[\#EDEFF0\] {
    box-shadow: 0 4px 12px rgba(24, 73, 115, 0.08);
    transition: all 0.3s ease;
}

.founder-page-main .bg-\[\#EDEFF0\]:hover {
    box-shadow: 0 6px 20px rgba(24, 73, 115, 0.12);
    transform: translateY(-2px);
}

/* Current role box */
.founder-page-main .bg-gradient-to-br {
    box-shadow: 0 20px 40px rgba(4, 25, 44, 0.2);
}

/* ==========================================
   CAREER TIMELINE
   ========================================== */

/* Timeline line */
.founder-page-main .bg-\[\#184973\] {
    position: relative;
}

/* Timeline dots */
.founder-page-main .w-4.h-4 {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Timeline cards */
.founder-page-main .rounded-xl.shadow-lg {
    transition: all 0.3s ease;
}

.founder-page-main .rounded-xl.shadow-lg:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 32px rgba(24, 73, 115, 0.15);
}

/* Left-side timeline items */
.founder-page-main .lg\:pr-12 .rounded-xl:hover {
    transform: translateX(-8px);
}

/* ==========================================
   NHL TEAMS SECTION
   ========================================== */

/* Team cards */
.founder-page-main .bg-gradient-to-br.from-\[\#EDEFF0\] {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.founder-page-main .bg-gradient-to-br.from-\[\#EDEFF0\]:hover {
    border-color: rgba(24, 73, 115, 0.3);
    transform: translateY(-8px);
}

/* Team icons */
.founder-page-main .w-16.h-16 {
    transition: all 0.3s ease;
}

.founder-page-main .bg-gradient-to-br.from-\[\#EDEFF0\]:hover .w-16.h-16 {
    transform: rotate(360deg) scale(1.1);
}

/* Stanley Cup badge highlight */
.founder-page-main .border-\[\#FFD700\] {
    position: relative;
}

.founder-page-main .border-\[\#FFD700\]::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #FFD700, #B8030D);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.founder-page-main .border-\[\#FFD700\]:hover::before {
    opacity: 0.1;
}

/* ==========================================
   SECTION DIVIDERS
   ========================================== */

/* Underline divider */
.founder-page-main .w-24.h-1 {
    transition: width 0.3s ease;
}

.founder-page-main section:hover .w-24.h-1 {
    width: 6rem;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.founder-page-main .bg-\[\#B8030D\] {
    position: relative;
    overflow: hidden;
}

/* Hockey pattern background */
.founder-page-main .bg-\[\#B8030D\]::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 2px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 2px);
    background-size: 50px 50px;
    opacity: 0.1;
    pointer-events: none;
}

/* ==========================================
   ANIMATION DELAYS
   ========================================== */

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-600 { animation-delay: 0.6s; }
.animate-delay-800 { animation-delay: 0.8s; }
.animate-delay-1000 { animation-delay: 1s; }
.animate-delay-1200 { animation-delay: 1.2s; }

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

@media (max-width: 768px) {
    .founder-page-main {
        padding: 0;
    }
    
    .founder-page-main h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .founder-page-main h2 {
        font-size: 1.5rem;
    }
    
    /* Timeline adjustments */
    .founder-page-main .lg\:w-1\/2 {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Team cards stack properly */
    .founder-page-main .sm\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    /* Reduce dropcap size */
    .founder-page-main .text-2xl.float-left {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .founder-page-main {
        font-size: 14px;
    }
    
    .founder-page-main h1 {
        font-size: 1.75rem;
    }
    
    .founder-page-main h2 {
        font-size: 1.25rem;
    }
    
    /* Stats cards adjust */
    .founder-page-main .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .founder-page-main .grid-cols-3 > div {
        padding: 0.75rem;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

/* High contrast mode support */
@media (prefers-contrast: more) {
    .founder-page-main .text-\[\#FFD700\] {
        color: #DAA900;
    }
    
    .founder-page-main .border-\[\#FFD700\] {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .founder-page-main,
    .founder-page-main * {
        animation: none !important;
        transition: none !important;
    }
    
    .founder-page-main .rounded-xl.shadow-lg:hover {
        transform: none;
    }
    
    .founder-page-main img:hover {
        transform: none;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .founder-page-main .bg-\[\#04192C\] {
        background: white !important;
        color: black !important;
    }
    
    .founder-page-main .text-white {
        color: black !important;
    }
    
    .founder-page-main .bg-\[\#B8030D\] {
        background: white !important;
        border: 2px solid black;
    }
}
