/* Events Page Styles */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background: var(--nav-bg);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0.5rem 0;
}

.nav-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width:0;
    height: 2.5px;
    background: rgb(48, 48, 48);
    transition: width 0.3s ease;
}

.nav-link:hover .nav-line {
    width: 100%;
}

.nav-text {
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-link:hover .nav-text {
    transform: none;
}

.events-page {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.events-hero {
    text-align: center;
    margin-top: 15rem;
    margin-bottom: 8rem;
}

.events-hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.events-hero p {
    font-size: 1.3rem;
    color: #7f8c8d;
}

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

.event-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    max-height: 150px;
    border: 1px solid rgba(0,0,0,0.05);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.event-card.expanded {
    max-height: 800px;
}

.event-card-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 1.5rem;
    min-width: 70px;
    background: white;
    padding: 0.8rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #7f8c8d;
    letter-spacing: 1px;
    margin: 0.2rem 0;
}

.event-date .year {
    font-size: 0.8rem;
    color: #95a5a6;
}

.event-title {
    flex: 1;
}

.event-title h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #225d97;
    font-weight: 600;
}

.event-time {
    font-size: 1rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-card-content {
    padding: 1.5rem;
    display: none;
    min-height: 500px;
}

.event-card.expanded .event-card-content {
    display: block;
}

.event-location {
    margin-bottom: 1.5rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-location a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-location a:hover {
    color: #2980b9;
}

.event-description {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.6;
}

.event-requirements {
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.event-requirements h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.event-requirements ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.event-requirements li {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.event-requirements li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.event-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.register-btn, .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.register-btn {
    background: #2c3e50;
    color: white;
    text-decoration: none;
    flex: 1;
}

.register-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #2c3e50;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    background: #ecf0f1;
    transform: translateY(-2px);
}

.share-btn.shared {
    background: #2ecc71;
    color: white;
}

.share-btn i {
    transition: transform 0.3s ease;
}

.share-btn:hover i {
    transform: rotate(15deg);
}

.no-events, .error-message {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.3rem;
    padding: 3rem;
    grid-column: 1 / -1;
}

.share-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.share-dialog-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.share-dialog h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-option:hover {
    background: #ecf0f1;
    transform: translateY(-2px);
}

.share-option i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.close-share-dialog {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-share-dialog:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .events-page {
        padding: 1rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        max-height: 100px;
    }

    .event-card.expanded {
        max-height: 800px;
    }

    .share-dialog-content {
        width: 95%;
        padding: 1.5rem;
    }

    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

.supporters {
    padding: 4rem 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa);
    overflow: hidden;
}

.supporters h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 600;
}

.supporter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.supporter-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 160px;
}

.supporter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.supporter-card img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.supporter-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Ensure long supporter names wrap and the card grows as needed */
.supporter-card h1 {
    margin: 0;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

/* Make entire supporter card clickable when wrapped in a link */
.supporter-card .supporter-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {
    .supporter-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .supporter-card {
        padding: 1.5rem;
    }
}

.event-line,
.workshop-details {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.event-line,
.workshop-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.2;
}

.workshop-info-box,
.workshop-content-box {
    background: rgba(24, 24, 24, 0.95);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-info-box:hover,
.workshop-content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.workshop-info-box h2,
.workshop-content-box h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.workshop-info-box h2::after,
.workshop-content-box h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.workshop-info-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.content-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.content-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.content-item:hover::before {
    opacity: 1;
}

.content-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.content-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.5;
}

.content-item ul {
    list-style-type: none;
    padding-left: 0;
}

.content-item li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
}

.content-item li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.content-item p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .workshop-details {
        padding: 3rem 1rem;
    }

    .workshop-info-box,
    .workshop-content-box {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .workshop-info-box h2,
    .workshop-content-box h2 {
        font-size: 1.8rem;
    }
}

.section-divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    border: none;
    margin: 2rem 0;
}

.cryptocons-title {
    text-align: center;
    margin: 6rem 0;
    margin-bottom: 6rem;
}

.cryptocons-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.crypto {
    color: #00a8ff; /* Hellblau */
}

.cons {
    color: #9c27b0; /* Lila */
} 