/* Custom Styles for Events Page */

/* Main Events Header */
.events-header {
    position: relative;
    background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b);
    color: #fff;
    padding: 50px 0;
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.events-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-dots.png');
    opacity: 0.1;
    z-index: 1;
}

.events-header h2 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.events-header p {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Event Introduction Section */
.event-intro {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #3a1c71;
}

.event-intro p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.event-intro p:last-child {
    margin-bottom: 0;
}

.event-intro a {
    color: #d76d77;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-intro a:hover {
    color: #3a1c71;
    text-decoration: underline;
}

/* Registration Information Section */
.registration-info {
    margin-top: 50px;
}

.registration-info h3 {
    color: #3a1c71;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.registration-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #d76d77, #ffaf7b);
}

.registration-info .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.registration-info .card-body {
    padding: 30px;
    background-color: #f9f9ff;
}

.registration-info ol {
    counter-reset: item;
    padding-left: 0;
}

.registration-info ol li {
    position: relative;
    list-style-type: none;
    margin-bottom: 15px;
    padding-left: 40px;
    line-height: 1.6;
}

.registration-info ol li:before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #d76d77, #ffaf7b);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-weight: 600;
    font-size: 14px;
}

.registration-info a {
    color: #d76d77;
    font-weight: 600;
    transition: color 0.3s ease;
}

.registration-info a:hover {
    color: #3a1c71;
}

/* Featured Events Section */
.featured-events {
    margin-top: 60px;
    margin-bottom: 40px;
}

.featured-events h3 {
    color: #3a1c71;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.featured-events h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #d76d77, #ffaf7b);
}

.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #3a1c71;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-card-content {
    padding: 25px;
}

.event-card-content h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.event-card-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-details {
    display: flex;
    margin-bottom: 20px;
}

.event-details-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    color: #777;
    font-size: 14px;
}

.event-details-item i {
    margin-right: 5px;
    color: #d76d77;
}

.btn-register {
    display: inline-block;
    background: linear-gradient(135deg, #d76d77, #ffaf7b);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-register:hover {
    background: linear-gradient(135deg, #3a1c71, #d76d77);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .events-header {
        padding: 30px 0;
    }
    
    .events-header h2 {
        font-size: 2rem;
    }
    
    .event-intro {
        padding: 20px;
    }
    
    .registration-info .card-body {
        padding: 20px;
    }
    
    .event-card-img {
        height: 180px;
    }
}
