/* ============================================
   FELTTIST DENTAL STUDIO - Events Styles
   ============================================ */

/* ========== HERO SECTION ========== */
.events-hero {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.events-hero .hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-glow);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.events-hero .hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.events-hero .hero-title .accent {
    color: var(--accent);
}

.events-hero .hero-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== FEATURED EVENT ========== */
.featured-event {
    padding: 60px 0;
    background: var(--bg-primary);
}

.featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featured-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: #ef4444;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
}

.featured-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.event-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.event-type.seminar {
    color: #8b5cf6;
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.1);
}

.event-type.hands-on {
    color: var(--accent);
    border-color: rgba(252, 211, 77, 0.3);
    background: rgba(252, 211, 77, 0.1);
}

.event-type.workshop {
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.1);
}

.event-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.featured-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.featured-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-item i {
    color: var(--accent);
    min-width: 20px;
    margin-top: 4px;
}

.detail-item span {
    color: var(--text-primary);
    font-size: 14px;
}

.featured-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-value.free {
    color: var(--success);
}

.btn-register {
    background: #0ea5e9;
    /* Light blue/cyan from design */
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-register:hover {
    background: #0284c7;
    transform: translateY(-2px);
}

/* ========== EVENTS LIST ========== */
.events-list {
    padding: 60px 0;
}

.events-tabs {
    display: flex;
    gap: 8px;
}

.tab-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s;
}

.tab-btn:hover,
.tab-btn.active {
    border-color: #0ea5e9;
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
}

.event-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-date-badge .day {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.event-type-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

.event-content {
    padding: 24px;
}

.event-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 50px;
}

.event-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-event {
    background: #0ea5e9;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.2s;
}

.btn-event:hover {
    background: #0284c7;
}

.event-price {
    font-weight: 700;
    color: var(--text-primary);
}

/* ========== PAST EVENTS ========== */
.past-events {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
}

.gallery-overlay h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery-overlay span {
    font-size: 12px;
    color: var(--accent);
}

/* ========== NEWSLETTER ========== */
.newsletter-card {
    background: #0ea5e9;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-content h2 {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    outline: none;
}

.newsletter-form button {
    background: #000;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 250px;
    }

    .featured-content {
        padding: 24px;
    }

    .newsletter-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
}