/**
 * Etkinlik Info Widget V2 - Modern Tasarımlar
 */

.etkinlik-info-v2 {
    position: relative;
    width: 100%;
}

.info-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2c3e50;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 15px;
}

.info-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.info-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.info-value {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

/* === LAYOUT 1: Modern Card === */
.layout-modern-card .info-items {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    border-radius: 15px;
}

.layout-modern-card .info-item {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.layout-modern-card .info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.layout-modern-card .info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: #ffffff;
}

.layout-modern-card .info-icon i {
    color: #ffffff !important;
}

/* === LAYOUT 2: Elegant List === */
.layout-elegant-list .info-items {
    background: #ffffff;
    border-left: 4px solid #667eea;
}

.layout-elegant-list .info-item {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.layout-elegant-list .info-item:last-child {
    border-bottom: none;
}

.layout-elegant-list .info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.layout-elegant-list .info-item:hover::before {
    width: 100%;
}

.layout-elegant-list .info-icon {
    width: 40px;
    height: 40px;
    background: #f0f4ff;
    border-radius: 8px;
}

.layout-elegant-list .info-content {
    position: relative;
    z-index: 1;
}

/* === LAYOUT 3: Compact Grid === */
.layout-compact-grid .info-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.layout-compact-grid .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    padding: 20px 15px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.layout-compact-grid .info-item:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
}

.layout-compact-grid .info-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    margin-right: 0;
    border-radius: 50%;
}

.layout-compact-grid .info-content {
    align-items: center;
}

/* === LAYOUT 4: Timeline Vertical === */
.layout-timeline-vertical {
    position: relative;
    padding-left: 40px;
}

.layout-timeline-vertical::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.layout-timeline-vertical .info-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 25px;
}

.layout-timeline-vertical .info-icon {
    position: absolute;
    left: -20px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 3px solid #667eea;
    border-radius: 50%;
    z-index: 2;
}

.layout-timeline-vertical .info-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

/* === LAYOUT 5: Minimal Inline === */
.layout-minimal-inline .info-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.layout-minimal-inline .info-item {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    border: 1px solid #e9ecef;
}

.layout-minimal-inline .info-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background: transparent;
}

.layout-minimal-inline .info-content {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.layout-minimal-inline .info-label {
    font-size: 12px;
    margin-bottom: 0;
}

.layout-minimal-inline .info-value {
    font-size: 14px;
    font-weight: 600;
}

/* === LAYOUT 6: Badge Style === */
.layout-badge-style .info-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.layout-badge-style .info-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    min-width: 140px;
}

.layout-badge-style .info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 10px;
    margin-right: 0;
}

.layout-badge-style .info-icon i {
    color: #ffffff !important;
}

.layout-badge-style .info-label {
    color: rgba(255, 255, 255, 0.8);
}

.layout-badge-style .info-value {
    color: #ffffff;
    font-weight: 600;
}

/* === LAYOUT 7: Boxed Info === */
.layout-boxed-info .info-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.layout-boxed-info .info-item {
    flex-direction: row;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.layout-boxed-info .info-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.layout-boxed-info .info-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
}

.layout-boxed-info .info-icon i {
    color: #ffffff !important;
}

/* Icon Position Modifiers */
.icon-position-top .info-item {
    flex-direction: column;
    text-align: center;
}

.icon-position-top .info-icon {
    margin-right: 0;
    margin-bottom: 12px;
}

.icon-position-top .info-content {
    align-items: center;
}

.icon-position-right .info-item {
    flex-direction: row-reverse;
}

.icon-position-right .info-icon {
    margin-right: 0;
    margin-left: 15px;
}

/* QR Code Styling */
.qr-code-wrapper {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.qr-code-img {
    max-width: 200px;
    height: auto;
    border: 3px solid #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .info-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .layout-compact-grid .info-items,
    .layout-boxed-info .info-items {
        grid-template-columns: 1fr;
    }

    .layout-minimal-inline .info-items {
        flex-direction: column;
    }

    .layout-minimal-inline .info-item {
        width: 100%;
        justify-content: flex-start;
    }

    .layout-badge-style .info-items {
        flex-direction: column;
        align-items: stretch;
    }

    .layout-badge-style .info-item {
        width: 100%;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .etkinlik-info-v2 {
        background-color: #2c3e50;
    }

    .info-title {
        color: #ecf0f1;
    }

    .layout-modern-card .info-item,
    .layout-compact-grid .info-item,
    .layout-boxed-info .info-item {
        background: #34495e;
        color: #ecf0f1;
    }

    .info-label {
        color: #bdc3c7;
    }

    .info-value {
        color: #ecf0f1;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-item {
    animation: fadeInUp 0.5s ease forwards;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }
.info-item:nth-child(5) { animation-delay: 0.5s; }
.info-item:nth-child(6) { animation-delay: 0.6s; }
.info-item:nth-child(7) { animation-delay: 0.7s; }
.info-item:nth-child(8) { animation-delay: 0.8s; }
