﻿/* Events Page Enhanced Styles */

/* ========================================
   Page Header Section
======================================== */
.page-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1c2539 0%, #2a3654 100%);
}

.page-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.3;
    z-index: 0;
}

.page-header__bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.page-header__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0;
}

/* Hide decorative elements if causing issues */
.page-header__img-1,
.page-header__shape-1 {
    display: none;
}

/* Ensure title is centered and visible */
.page-header h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease;
    text-align: center;
}

/* Fix breadcrumb alignment */
.thm-breadcrumb__inner {
    display: flex;
    justify-content: center;
}

.thm-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.thm-breadcrumb li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.thm-breadcrumb li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.thm-breadcrumb li a:hover {
    color: #ff5e14;
}

/* Fix icon color in breadcrumb */
.thm-breadcrumb .fas.fa-angle-right {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ========================================
   Blog/Events Section
======================================== */
.blog-page {
    padding: 120px 0 90px;
    background: #f8f9fa;
    position: relative;
}

/* Section Title */
.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title__tagline {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: #ff5e14;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding: 8px 25px;
    background: rgba(255, 94, 20, 0.08);
    border-radius: 30px;
    font-family: 'Rubik', sans-serif;
}

.section-title__title {
    font-size: 48px;
    font-weight: 800;
    color: #1c2539;
    line-height: 1.2;
    margin: 0;
    font-family: 'Rubik', sans-serif;
}

/* Blog/Event Cards */
.blog-two__single {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-two__single:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* Image Section */
.blog-two__img {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.blog-two__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-two__single:hover .blog-two__img img {
    transform: scale(1.1);
}

.blog-two__plus {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.blog-two__single:hover .blog-two__plus {
    opacity: 1;
    transform: scale(1);
}

.blog-two__plus a {
    color: #ff5e14;
    font-size: 20px;
}

.blog-two__plus:hover {
    background: #ff5e14;
}

.blog-two__plus:hover a {
    color: #ffffff;
}

.blog-two__tag {
    position: absolute;
    top: 30px;
    left: 30px;
}

.blog-two__tag a {
    display: inline-block;
    padding: 8px 20px;
    background: #ff5e14;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-two__tag a:hover {
    background: #ff8f0e;
}

/* Content Section */
.blog-two__content {
    padding: 35px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-two__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 0;
    list-style: none;
}

.blog-two__meta li {
    font-size: 14px;
    color: #74787c;
}

.blog-two__meta li a {
    color: #74787c;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.blog-two__meta li a:hover {
    color: #ff5e14;
}

.blog-two__meta li .fas {
    color: #ff5e14;
    font-size: 14px;
}

.blog-two__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    font-family: 'Rubik', sans-serif;
    min-height: 65px;
}

.blog-two__title a {
    color: #1c2539;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-two__title a:hover {
    color: #ff5e14;
}

.blog-two__text {
    font-size: 15px;
    line-height: 1.8;
    color: #74787c;
    margin: 0 0 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Author and Button Section */
.blog-two__author-and-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.blog-two__author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-two__author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #e9ecef;
}

.blog-two__author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-two__author-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1c2539;
    margin: 0 0 3px;
}

.blog-two__author-content p {
    font-size: 13px;
    color: #74787c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-two__author-content p i {
    font-size: 10px;
}

.blog-two__author-content .text-warning {
    color: #ffc107;
}

.blog-two__author-content .text-success {
    color: #28a745;
}

.blog-two__author-content .text-muted {
    color: #6c757d;
}

.blog-two__arrow {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.blog-two__arrow:hover {
    background: #ff5e14;
    transform: translateX(5px);
}

.blog-two__arrow span {
    color: #ff5e14;
    font-size: 18px;
    transition: color 0.3s ease;
}

.blog-two__arrow:hover span {
    color: #ffffff;
}

/* Empty State */
.no-events-found {
    padding: 100px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.no-events-found .icon i {
    font-size: 80px;
    color: #e9ecef;
    margin-bottom: 30px;
}

.no-events-found h3 {
    font-size: 36px;
    font-weight: 700;
    color: #1c2539;
    margin-bottom: 15px;
    font-family: 'Rubik', sans-serif;
}

.no-events-found p {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 30px;
}

/* Pagination */
.blog-list__pagination {
    margin-top: 50px;
    text-align: center;
}

.pg-pagination {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pg-pagination li a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: #74787c;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pg-pagination li.active a,
.pg-pagination li a:hover {
    background: #ff5e14;
    border-color: #ff5e14;
    color: #ffffff;
}

/* CTA Section */
.cta-one {
    padding: 100px 0;
    background: #ffffff;
}

.cta-one__inner {
    background: linear-gradient(135deg, #1c2539 0%, #2a3654 100%);
    border-radius: 30px;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.cta-one__bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-size: cover;
    background-position: center;
}

.cta-one__icon {
    font-size: 70px;
    color: #ff5e14;
    margin-bottom: 20px;
}

.cta-one__sub-title {
    font-size: 16px;
    font-weight: 700;
    color: #ff5e14;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: 'Rubik', sans-serif;
}

.cta-one__title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 20px;
    font-family: 'Rubik', sans-serif;
}

.cta-one__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-one__btn {
    background: #ff5e14;
    color: #ffffff;
    padding: 20px 45px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-one__btn:hover {
    background: #ff8f0e;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 94, 20, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.float-bob-y {
    animation: floatBobY 3s ease infinite alternate;
}

@keyframes floatBobY {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 991px) {
    .page-header {
        min-height: 350px;
        padding: 100px 0;
    }
    
    .page-header h3 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 300px;
        padding: 80px 0;
    }
    
    .page-header h3 {
        font-size: 32px;
    }
    
    .thm-breadcrumb {
        font-size: 14px;
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .page-header {
        min-height: 250px;
        padding: 60px 0;
    }
    
    .page-header h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .thm-breadcrumb li {
        font-size: 13px;
    }
    
    .thm-breadcrumb {
        gap: 10px;
    }
}