/* storefront/app/static/css/about.css */

body, html {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.main-nav {
    margin-top: 80px; /* This matches your header height */
    margin-bottom: 0;
}

main.container {
    margin-top: 0;
    padding-top: 0;
    background-color: var(--background-color);
}

.container {
    max-width: 100%;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.about-header h1::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--icy-blue);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
}

/* Main Content */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.main-content {
    background: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Style headings within content */
.main-content h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.main-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}

.main-content h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 1.25rem 0 0.75rem;
}

/* Style paragraphs */
.main-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Style lists */
.main-content ul,
.main-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.main-content li {
    margin-bottom: 0.75rem;
}

/* Style links */
.main-content a {
    color: var(--icy-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

.main-content a:hover {
    text-decoration: underline;
}

/* Style quotes */
.main-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--icy-blue);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-primary);
    font-style: italic;
}

/* Style images */
.main-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 2rem 0;
}

/* Optional: Team Section */
.team-section {
    margin-top: 4rem;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow);
    border-color: var(--icy-blue);
}

.member-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-name {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--icy-blue);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Optional: Timeline */
.timeline-section {
    margin-top: 4rem;
}

.timeline {
    position: relative;
    margin: 2rem 0;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 2.5rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--icy-blue);
    border-radius: 50%;
    top: 0;
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-content {
    background: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.timeline-date {
    color: var(--icy-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.timeline-text {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 5rem;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: 22px;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 2rem 1rem;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .main-content {
        padding: 1.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .member-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
