/* public/css/events.css */

/* Events Section Styling */
.events-hero {
    background: linear-gradient(135deg, #1d2127 0%, #2b3037 100%);
    color: var(--color-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.events-hero::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(236, 40, 37, 0.08) 0%,
        transparent 60%
    );
    pointer-events: none;
    z-index: 1;
}

/* .events-hero .container {
    position: relative;
    z-index: 2;
} */

.events-hero h1,
.event-detail-header h1 {
    font-family: "Sora-SemiBold";
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .events-hero h1,
    .event-detail-header h1 {
        font-size: 1.5rem;
    }
    .events-hero p {
        font-size: 14px !important;
    }
}
/* .events-hero h1 span {
    color: transparent;
    background: linear-gradient(135deg, var(--color-yellow) 0%, #ffd000 100%);
    -webkit-background-clip: text;
    background-clip: text;
} */

.events-hero p {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--mid-light-color);
}

/* Event Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: -20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--color-white);
    color: var(--dark-color);
    border: 1px solid #eaeaea;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    box-shadow: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--color-red);
    color: var(--color-white);
    background: var(--color-red);
    transform: none;
    box-shadow: none;
}

/* Events Grid & Card styling */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

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

.event-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.event-image-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.event-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-image-wrapper img {
    transform: scale(1.06);
}

.event-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.event-badge.masterclass {
    background: var(--color-red);
}
.event-badge.workshop {
    background: var(--color-yellow);
    color: var(--dark-color);
}
.event-badge.seminar {
    background: #0023d4;
}

.event-seats-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ff3838;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 56, 56, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0);
    }
}

.event-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--mid-dark-color);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-meta i,
.event-meta svg {
    color: var(--color-red);
}

.event-body .event-title {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-card:hover .event-body .event-title {
    color: var(--color-red);
}

.event-body p {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-speaker {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    margin-top: auto;
}

.speaker-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-red);
}

/* .speaker-info h5 {
    font-family: "Sora", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark-color);
}

.speaker-info span {
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    color: #888;
} */

.event-footer {
    padding: 0 25px 25px 25px;
}

.btn-event {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--color-yellow);
    color: var(--dark-color);
    font-weight: 700;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.event-card:hover .btn-event {
    background-color: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 5px 15px rgba(236, 40, 37, 0.3);
}

/* ========================================================
   EVENT DETAILS PAGE STYLE
   ======================================================== */
.event-detail-header {
    background: linear-gradient(135deg, #1d2127 0%, #2b3037 100%);
    color: var(--color-white);
    padding: 60px 0;
    position: relative;
}

.event-detail-header .breadcrumb-link {
    color: var(--color-yellow);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-detail-header .breadcrumb-link:hover {
    text-decoration: underline;
}

/* .event-detail-header h1 {
    font-family: "Sora", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 25px;
    line-height: 1.2;
} */

.header-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.header-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item-icon {
    font-size: 1.5rem;
    color: var(--color-yellow);
}

.info-item-text h6 {
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    color: var(--mid-light-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item-text p {
    font-family: "Sora", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-white);
}

/* Event Content Column & Side Card layout */
.event-main-content {
    padding: 60px 0 80px 0;
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section h2 {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.detail-section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--color-red);
}

.detail-section p {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
}

.learn-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .learn-list {
        grid-template-columns: 1fr 1fr;
    }
}

.learn-list li {
    position: relative;
    padding-left: 30px;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.learn-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    width: 20px;
    height: 20px;
    background: rgba(236, 40, 37, 0.1);
    color: var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Speaker profile styling */
.speaker-profile-box {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 25px;
    align-items: center;
    border: 1px solid #eaeaea;
}

@media (max-width: 576px) {
    .speaker-profile-box {
        flex-direction: column;
        text-align: center;
    }
}

.speaker-profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.speaker-profile-info h4 {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.speaker-profile-info h6 {
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    color: var(--color-red);
    margin-bottom: 12px;
    font-weight: 600;
}

.speaker-profile-info p {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Sticky Form Card */
.event-sidebar-card {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 6px solid var(--color-red);
    padding: 30px 25px;
    position: sticky;
    top: 100px;
}

.sidebar-card-title {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 8px;
    text-align: center;
}

.sidebar-card-subtitle {
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-bottom: 25px;
}

.sidebar-card-timer {
    background: #fffbe5;
    border: 1px dashed var(--color-yellow);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c62828;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sidebar-form .form-group {
    margin-bottom: 20px;
}

.sidebar-form label {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.sidebar-form .form-control,
.sidebar-form .form-select {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #eaeaea;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sidebar-form .form-control:focus,
.sidebar-form .form-select:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(236, 40, 37, 0.1);
}

.btn-register-submit {
    display: block;
    width: 100%;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    font-weight: 700;
    padding: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
}

.btn-register-submit:hover {
    background: var(--dark-color);
    box-shadow: 0 5px 15px rgba(43, 48, 55, 0.3);
}

.form-footer-note {
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    margin-top: 15px;
}
