/* Timeline Styles */
.timeline {
    margin: 2rem 0;
    position: relative;
    padding-left: 2rem;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #b22222;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -2.1rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #b22222;
    border: 2px solid #b22222;
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: bold;
    color: #b22222;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #aaaaaa;
    line-height: 1.6;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8));
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 60px 20px;
    border-bottom: 1px solid #b22222;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #b22222;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #cccccc;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content h2 {
    color: #b22222;
    margin: 1.5rem 0 1rem;
}

.main-content h3 {
    color: #b22222;
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.main-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #dddddd;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    background: #1a1a1a;
    padding: 1.5rem;
    border-left: 3px solid #b22222;
    border-radius: 4px;
}

.info-box h4 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-box p {
    color: #cccccc;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    /* Vision Section */
.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.vision-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.vision-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #dddddd;
}

.vision-list li::marker {
    color: #b22222;
}

.section-dark .vision-content p,
.section-dark .vision-list li {
    color: #e0e0e0;
}
/* Sensei Quote */
.sensei-quote {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-left: 4px solid #b22222;
    padding: 1.5rem 2rem;
    margin: 1rem 0 2rem;
    border-radius: 4px;
}

.sensei-quote p {
    font-size: 1.3rem;
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.quote-author {
    display: block;
    text-align: right;
    color: #b22222;
    font-weight: bold;
}

/* Blockquote */
blockquote {
    background: #111111;
    border-left: 4px solid #b22222;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #cccccc;
}

/* Achievements List */
.achievements-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.achievements-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #dddddd;
}

.achievements-list li:before {
    content: "▹";
    color: #b22222;
    position: absolute;
    left: 0;
}

/* Philosophy Box */
.philosophy-box {
    background: #111111;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid #b22222;
}

.philosophy-box p {
    color: #dddddd;
    line-height: 1.7;
}

.philosophy-box p:first-child {
    font-weight: bold;
    color: #b22222;
    margin-bottom: 1rem;
}

/* Main Content Lists */
.main-content ul {
    margin: 1rem 0 1rem 1.5rem;
}

.main-content ul li {
    margin-bottom: 0.5rem;
    color: #dddddd;
}
/* Navigation - οριζόντιο μενού */
nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    display: inline-block;
}

nav ul li a:hover {
    color: #b22222;
}

/* Dropdown menu */
nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #f5f5f5;
    border: 1px solid #b22222;
    border-radius: 8px;
    min-width: 180px;
    display: none;
    z-index: 100;
    padding: 0.5rem 0;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li {
    display: block;
    width: 100%;
}

nav ul li ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    white-space: nowrap;
}

nav ul li ul li a:hover {
    background: #b22222;
    color: white;
}

/* Hamburger menu for mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #f5f5f5;
        padding: 1rem 0;
        margin-top: 1rem;
        border-top: 1px solid #b22222;
    }
    nav ul.active {
        display: flex;
    }
    nav ul li {
        width: 100%;
        text-align: center;
    }
    nav ul li ul {
        position: static;
        background: #e5e5e5;
        display: none;
        margin-top: 0.5rem;
    }
    nav ul li.active ul {
        display: block;
    }
    nav ul li ul li a {
        padding: 0.5rem;
        text-align: center;
        white-space: normal;
    }
}
}