/* About Page Specific Styles */

/* Timeline Styles */
.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #92400e;
    border-radius: 50%;
    border: 4px solid #f5f5f4;
}

/* Prose Enhancement */
.prose p {
    margin-bottom: 1.5rem;
}

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

/* Quote Block Styling */
blockquote {
    position: relative;
}

/* Stats Counter Animation */
@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: count-up 0.8s ease-out forwards;
}

/* Image Hover Effects - Desktop only */
@media (hover: hover) {
    .about-image {
        transition: transform 0.6s ease, box-shadow 0.6s ease;
    }

    .about-image:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
}

/* Active state for touch devices */
.about-image:active {
    transform: scale(0.98);
}

/* Timeline Responsive */
@media (max-width: 768px) {
    .timeline-item::before {
        display: none;
    }
    
    /* Vertical timeline on mobile */
    .relative .space-y-12 > div {
        padding-left: 1.5rem;
        border-left: 2px solid rgba(146, 64, 14, 0.3);
    }
}

/* Philosophy Section Decorative Elements */
.philosophy-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(146, 64, 14, 0.1);
    filter: blur(60px);
}

/* Founder Avatar */
.founder-avatar {
    background: linear-gradient(135deg, #92400e 0%, #78350f 100%);
    box-shadow: 0 10px 30px rgba(146, 64, 14, 0.3);
    flex-shrink: 0;
}

/* CTA Section Enhancement */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

/* Smooth Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Touch Targets */
@media (max-width: 768px) {
    button, 
    a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better spacing for founder quote */
    blockquote {
        padding: 1.5rem;
    }
    
    /* Stack founder info on mobile */
    .founder-avatar {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1rem;
    }
    
    /* Adjust stats grid */
    .grid.md\\:grid-cols-3 {
        gap: 1rem;
    }
    
    /* Optimize image grids */
    .grid.grid-cols-2 {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    /* Single column stats on very small screens */
    .grid.md\\:grid-cols-3 > div {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    
    nav,
    footer {
        display: none;
    }
    
    body {
        color: #000;
    }
    
    .bg-stone-900 {
        background: #f5f5f4 !important;
        color: #1c1917 !important;
    }
    
    .bg-amber-900 {
        background: #92400e !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .border-amber-900 {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    .stat-number {
        animation: none;
    }
    
    .about-image {
        transition: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #92400e;
    outline-offset: 3px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #e7e5e4 25%, #d6d3d1 50%, #e7e5e4 75%);
    background-size: 200% 100%;
}

img[src] {
    background: none;
}

/* About page uses gallery slider styles from style.css */
