/* Events Section Styles */
.events {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 176, 59, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.event-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 176, 59, 0.2);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 176, 59, 0.2);
}

.event-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffb03b, #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.event-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-upcoming {
    background: rgba(52, 152, 219, 0.9);
    color: white;
}

.status-ongoing {
    background: rgba(46, 204, 113, 0.9);
    color: white;
}

.status-completed {
    background: rgba(149, 165, 166, 0.9);
    color: white;
}

.event-content {
    padding: 25px;
}

.event-date {
    color: #ffb03b;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-content h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.event-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-location {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-event {
    background: linear-gradient(135deg, #ffb03b, #e67e22);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-event:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 176, 59, 0.4);
}

.no-events {
    color: #7f8c8d;
    font-size: 1.2rem;
    padding: 60px 0;
}

/* Events Page Styles */
.events-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.events-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.events-header p {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagination a,
.pagination span {
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a {
    background: rgba(255, 176, 59, 0.1);
    color: #ffb03b;
    border: 2px solid rgba(255, 176, 59, 0.2);
}

.pagination a:hover {
    background: #ffb03b;
    color: white;
    transform: translateY(-2px);
}

.pagination .current {
    background: #ffb03b;
    color: white;
    border: 2px solid #ffb03b;
}

/* Event Details Page */
.event-details {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.event-hero {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.event-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px;
    color: white;
}

.event-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.event-description {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
    color: #2c3e50;
}

/* Event Details Enhancements */
.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
}

.breadcrumb-item a {
    color: #ffb03b;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 600;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffb03b, #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.info-content h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-content p {
    color: #7f8c8d;
    margin: 0;
}

.share-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }

/* Sidebar Styles */
.sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h5 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffb03b;
}

.search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.search-form .form-control {
    border: none;
    padding: 12px 20px;
}

.search-form .btn {
    border: none;
    background: #ffb03b;
    padding: 12px 20px;
}

.recent-event-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recent-event-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-event-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-small {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffb03b, #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.recent-event-content h6 {
    margin-bottom: 8px;
    line-height: 1.3;
}

.recent-event-content h6 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.recent-event-content h6 a:hover {
    color: #ffb03b;
}

.recent-event-date {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-widget {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.contact-widget h5 {
    color: white;
    border-bottom-color: #ffb03b;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    color: #ffb03b;
    width: 20px;
}

.event-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(255, 176, 59, 0.1);
    border-radius: 8px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #ffb03b;
    color: white;
    transform: translateX(5px);
}

.status-upcoming { 
    color: #ffffff; 
    background: #3498db; 
    padding: 4px 12px; 
    border-radius: 15px; 
    font-weight: 600; 
    font-size: 0.85rem;
    display: inline-block;
}
.status-ongoing { 
    color: #ffffff; 
    background: #27ae60; 
    padding: 4px 12px; 
    border-radius: 15px; 
    font-weight: 600; 
    font-size: 0.85rem;
    display: inline-block;
}
.status-completed { 
    color: #ffffff; 
    background: #95a5a6; 
    padding: 4px 12px; 
    border-radius: 15px; 
    font-weight: 600; 
    font-size: 0.85rem;
    display: inline-block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .events {
        padding: 60px 0;
    }
    
    .event-card {
        margin-bottom: 30px;
    }
    
    .events-header h1 {
        font-size: 2rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-hero {
        height: 250px;
    }
    
    .event-hero h1 {
        font-size: 1.8rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .event-description {
        padding: 25px;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .info-card {
        margin-bottom: 15px;
    }
}