/* Speaker Modal Styles */
.speaker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.speaker-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.speaker-modal-content {
    position: relative;
    background: #1a1a1a;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.speaker-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.speaker-modal-close:hover {
    background: var(--main-600);
    transform: rotate(90deg);
}

.speaker-modal-body {
    padding: 40px;
}

.speaker-modal-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.speaker-modal-image img {
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.speaker-modal-info {
    color: #fff;
}

.speaker-modal-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.speaker-modal-title {
    font-size: 1.2rem;
    color: #fda312;
    margin-bottom: 30px;
    font-weight: 600;
}

.speaker-modal-bio {
    margin-bottom: 30px;
}

.speaker-modal-bio h4,
.speaker-modal-contact h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.speaker-modal-bio p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1rem;
}

.speaker-modal-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.speaker-modal-contact ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.speaker-modal-contact ul li i {
    font-size: 24px;
    color: #fda312;
}

.speaker-modal-contact ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.speaker-modal-contact ul li a:hover {
    color: #fda312;
}

.speaker-card-clickable {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.speaker-card-clickable:hover {
    transform: translateY(-5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .speaker-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .speaker-modal-body {
        padding: 30px 20px;
    }

    .speaker-modal-name {
        font-size: 2rem;
    }

    .speaker-modal-image img {
        height: 400px;
    }
}