/* About page specific styles */

/* Quote styling with Google Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500&display=swap');

.quote-section {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.quote-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    color: var(--cui-body-color);
    position: relative;
    padding: 0 2rem;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(50, 31, 219, 0.3);
    position: absolute;
    line-height: 1;
}

.quote-text::before {
    top: -0.5rem;
    left: 0;
}

.quote-text::after {
    bottom: -1.5rem;
    right: 0;
}

[data-coreui-theme="dark"] .quote-text::before,
[data-coreui-theme="dark"] .quote-text::after {
    color: rgba(100, 150, 255, 0.4);
}

/* Divider between paragraphs */
.content-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    margin: 1.5rem 0;
}

[data-coreui-theme="light"] .content-divider {
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.15), transparent);
}

/* Philosophy cards grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    .quote-text {
        font-size: 1.5rem;
    }
}

.philosophy-item {
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

[data-coreui-theme="light"] .philosophy-item {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-coreui-theme="light"] .philosophy-item:hover {
    background: rgba(255, 255, 255, 0.8);
}

.philosophy-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.philosophy-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--cui-primary);
}

[data-coreui-theme="dark"] .philosophy-title {
    color: #7c9fff;
}

.philosophy-desc {
    /* Inherits hero-description style from landing.css */
    margin: 0;
}

/* Section header styling */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-header h4 {
    margin: 0;
    font-weight: 600;
}

.section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
}

[data-coreui-theme="light"] .section-header::after {
    background: linear-gradient(90deg, rgba(0,0,0,0.15), transparent);
}

/* Lead paragraph styling - inherits from landing.css hero-description style */

/* Portrait styling */
.portrait-container {
    float: left;
    width: 180px;
    height: 180px;
    margin: 0 1.5rem 1rem 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    shape-outside: circle(50%);
    flex-shrink: 0;
}

.portrait-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

[data-coreui-theme="light"] .portrait-container {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Clear float after bio content */
.bio-content::after {
    content: '';
    display: table;
    clear: both;
}

@media (max-width: 576px) {
    .portrait-container {
        float: none;
        margin: 0 auto 1.5rem auto;
        display: block;
        width: 150px;
        height: 150px;
    }
}
