/* Classic Events Index Page Styles */

/* Hero Section */
.services-style2-service-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.services-style2-service-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

/* Section Title */
.sec-title {
    margin-bottom: 40px;
}

.sec-title p {
    font-family: 'Georgia', serif;
    font-size: 16px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 400;
}

.sec-title .title {
    font-family: 'Georgia', serif;
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 0;
}

.sec-title .title span {
    color: #8b4513;
    position: relative;
}

.sec-title .title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8b4513, #d2691e);
    border-radius: 2px;
}

/* Description Text */
.text p {
    font-family: 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 0;
    font-style: italic;
}

/* Event Cards */
.single-service-style2 {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #e9ecef;
    position: relative;
    margin-bottom: 30px;
}

.single-service-style2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #8b4513;
}

/* Image Holder */
.img-holder {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.single-service-style2:hover .img-holder img {
    transform: scale(1.05);
}

/* Overlay */
.overlay-style-two {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.7), rgba(210, 105, 30, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.single-service-style2:hover .overlay-style-two {
    opacity: 1;
}

/* Event Date Badge */
.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #8b4513;
    z-index: 2;
}

.event-date .day {
    display: block;
    font-family: 'Georgia', serif;
    font-size: 24px;
    font-weight: 700;
    color: #8b4513;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-family: 'Georgia', serif;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Text Holder */
.text-holder {
    padding: 30px 25px;
}

/* Event Meta */
.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.event-meta span {
    font-family: 'Times New Roman', serif;
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-meta i {
    color: #8b4513;
    font-size: 12px;
}

/* Event Title */
.inner h3 {
    font-family: 'Georgia', serif;
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.single-service-style2:hover .inner h3 {
    color: #8b4513;
}

/* Event Description */
.inner .text p {
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 20px;
    font-style: normal;
}

/* Read More Button */
.read-more {
    margin-top: 20px;
}

.btn-one {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Georgia', serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #8b4513, #d2691e);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.btn-one:hover {
    background: #ffffff;
    color: #8b4513;
    border-color: #8b4513;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

.btn-one .flaticon-next {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-one:hover .flaticon-next {
    transform: translateX(3px);
}

/* Empty State */
.alert {
    background: #f8f9fa;
    border: 2px solid #8b4513;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    font-family: 'Times New Roman', serif;
    font-size: 18px;
    color: #6c757d;
    margin: 40px 0;
}

.alert-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Pagination */
.pagination-holder {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    font-family: 'Georgia', serif;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .active span {
    background: #8b4513;
    color: #ffffff;
    border-color: #8b4513;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .sec-title .title {
        font-size: 36px;
    }
    
    .text p {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .services-style2-service-page {
        padding: 60px 0;
    }
    
    .sec-title .title {
        font-size: 32px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .services-style2-service-page {
        padding: 40px 0;
    }
    
    .sec-title .title {
        font-size: 28px;
    }
    
    .text-holder {
        padding: 25px 20px;
    }
    
    .inner h3 {
        font-size: 20px;
    }
    
    .event-date {
        top: 15px;
        right: 15px;
        padding: 10px 12px;
    }
    
    .event-date .day {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .sec-title .title {
        font-size: 24px;
    }
    
    .img-holder {
        height: 200px;
    }
    
    .pagination a,
    .pagination span {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow.fadeInUp {
    animation: fadeInUp 1.2s ease-out;
}

/* Classic Typography Enhancement */
.single-service-style2 {
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

/* Decorative Elements */
.sec-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8b4513, #d2691e);
    border-radius: 2px;
}

.sec-title {
    position: relative;
    padding-top: 30px;
}