/* css/about-page.css */

/* About Page Specific Styles - Minimal, relying on style.css */
.page-header { 
    /* Example: Overriding background image for this specific page */
    background: linear-gradient(rgba(44, 44, 44, 0.7), rgba(44, 44, 44, 0.7)), url('images/about-header.jpg') center/cover; 
}

/* JAVÍTOTT: PAGE HEADER SZÍNEK (A legutolsó kérés szerint) */
.page-header h1 { 
    font-family: 'Great Vibes', cursive; 
    color: var(--accent-orange) !important; /* Narancssárga kiemelő szín */
    font-size: 3.25rem; 
    font-weight: 400;
    margin-bottom: 10px; 
    display: inline-block;
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
}
.page-header p { 
    font-size: 1.125rem; 
    color: var(--white) !important; /* Fehér */
}
/* VÉGE: PAGE HEADER SZÍNEK */

/* --- Introduction and Profile Section --- */
.about-content { 
    display: grid; 
    grid-template-columns: 1fr 2fr; /* Profile column slightly narrower */
    gap: 50px; 
    align-items: flex-start; 
}
.about-image-wrapper {
    position: sticky;
    top: 100px; /* Stick it below the header */
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    /* Ensure it doesn't stretch too wide on larger screens */
    max-width: 350px; 
    margin: 0 auto;
}
.about-image { 
    width: 100%;
    max-width: 250px;
    height: 250px;
    border-radius: 50%; 
    overflow: hidden; 
    margin: 0 auto 20px; 
    border: 5px solid var(--primary); 
    box-shadow: 0 0 0 5px var(--accent);
}
.about-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    /* JAVÍTOTT: Az arc jobb oldalára fókuszálás */
    object-position: 70% 50%; 
}
.about-text h2 { 
    font-size: 2.5rem; 
    margin-bottom: 25px; 
}
.about-text p { 
    margin-bottom: 20px; 
    font-size: 1rem; 
    color: var(--dark); 
}

/* --- Vertical Timeline Styles (Visual Update) --- */
.timeline-section {
    padding-top: 40px;
    padding-bottom: 90px;
    background-color: var(--light); /* Added a light background for contrast */
}
.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}
/* Vertical Line - Thinner, subtle color */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px; /* Thinner line */
    background-color: #ddd; /* Lighter color */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}
.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Icon Element - Modernized and ready for animation */
.timeline-icon {
    position: absolute;
    width: 50px; /* Larger icon container */
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--primary);
    color: var(--white);
    border: 5px solid var(--white); /* White border for separation from line */
    top: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.15); /* Soft shadow */
    z-index: 1;
    font-size: 1.5rem; /* Larger icon */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth animation transition */
}

/* Animation/Hover Effect - The 'animated' part */
.timeline-container:hover .timeline-icon {
    background-color: var(--accent-orange); /* Color change on hover */
    transform: scale(1.1) rotate(5deg); /* Scale and rotate */
    /* Pulse/Glow effect (using a standard orange for the glow) */
    box-shadow: 0 0 0 5px rgba(255, 165, 0, 0.5), 0 0 15px rgba(0,0,0,0.2); 
}

.left .timeline-icon {
    right: -25px; /* Half of width */
}
.right .timeline-icon {
    left: -25px; /* Half of width */
}

.left {
    left: 0;
}
.right {
    left: 50%;
}

/* Remove the old ::after dot styling */
.timeline-container::after {
    content: none; 
}

/* Arrow/Pointer - Keep the arrow, but adjust position */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 25px;
    width: 0;
    z-index: 1;
    right: 40px; /* Adjusted position */
    border: medium solid var(--white);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--white);
}
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 25px;
    width: 0;
    z-index: 1;
    left: 40px; /* Adjusted position */
    border: medium solid var(--white);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--white) transparent transparent;
}

.timeline-content {
    padding: 25px;
    background-color: var(--white);
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Softer shadow */
    border-left: 5px solid var(--primary); 
    transition: all 0.3s ease;
}
.timeline-container:hover .timeline-content {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15); /* Lift on hover */
}
/* Adjusting the border for right side */
.right .timeline-content {
    border-left: none;
    border-right: 5px solid var(--primary);
}
.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 5px;
}
.timeline-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}
.timeline-date {
    font-weight: 700;
    color: var(--accent-orange);
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

/* Responsive timeline */
@media (max-width: 992px) { 
    .about-content { 
        grid-template-columns: 1fr; 
        gap: 30px;
    } 
    .about-image-wrapper {
        position: static;
        order: -1;
        max-width: 100%;
    }
    /* Timeline collapse to single column */
    .timeline::after {
        left: 25px; /* Move line to the left, adjusted for new icon size */
    }
    .timeline-container {
        width: 100%;
        padding-left: 80px; /* Space for the line and circle */
        padding-right: 15px;
    }
    .timeline-container::before {
        left: 70px; /* Adjust arrow position */
        border: medium solid var(--white);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--white) transparent transparent;
    }
    .left .timeline-icon, .right .timeline-icon {
        left: 0px; /* Position icon on the line */
        right: auto;
    }
    .right {
        left: 0%;
    }
    .right .timeline-content {
        border-right: none;
        border-left: 5px solid var(--primary);
    }
}