/* Events Page Styles */
.events-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/etkinlikler/Pi Teknik Sunum.pdf-image-038.png');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
}

.events-hero-content {
    text-align: center;
    color: #fff;
    z-index: 2;
}

.events-heading {
    font-family: 'Raleway', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ffffff 0%, #0097d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 151, 212, 0.3);
    line-height: 1.2;
    padding: 10px 30px;
    display: inline-block;
}

.events-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #ccc;
}

.events-section {
    padding: 80px 0;
    background-color: var(--background-light);
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.events-divider {
    height: 3px;
    width: 180px;
    background: #0097d4;
    margin: 0 auto 50px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 151, 212, 0.5);
}

.events-divider:after {
    content: '';
    position: absolute;
    height: 3px;
    width: 50px;
    background: #333;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.event-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: #fff;
    transition: all 0.3s ease;
}

.event-card:hover .event-overlay {
    background: linear-gradient(to top, rgba(0, 151, 212, 0.8), transparent);
}

.event-content {
    padding: 20px;
}

.event-title {
    color: var(--text-light);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-date {
    color: var(--eastern-blue);
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.event-description {
    color: #bdbdbd;
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-details {
    color: var(--text-gray);
    font-size: 14px;
}

.event-location {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 0.9rem;
}

.event-location i {
    margin-right: 5px;
    color: #0097d4;
}

.event-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0097d4;
    color: #fff;
    border-radius: 5px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-button:hover {
    background-color: #0078a8;
    transform: translateY(-3px);
}

/* Featured Events Slider */
.featured-events {
    margin-bottom: 80px;
}

.featured-events-title {
    color: var(--text-light);
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.swiper-container {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    transition: all 0.3s ease;
    transform: scale(0.85);
    opacity: 0.7;
}

.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.featured-event-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-event-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.featured-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 30%, transparent);
    padding: 40px 30px;
    color: #fff;
}

.featured-event-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-event-description {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.7;
    max-width: 80%;
}

.featured-event-details {
    color: #ffffff;
    font-size: 14px;
}

.featured-event-detail {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.featured-event-detail i {
    margin-right: 8px;
    color: #0097d4;
    font-size: 1.1rem;
}

.featured-event-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #0097d4;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.featured-event-button:hover {
    background-color: #0078a8;
    transform: translateY(-3px);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #0097d4;
}

.swiper-pagination-bullet-active {
    background-color: #0097d4;
}

/* Hidden Events and Load More Button */
.hidden-event {
    display: none;
}

.event-card-visible {
    display: block;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.load-more-container {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    background: var(--eastern-blue);
    color: #ffffff;
    border-color: var(--eastern-blue);
}

.load-more-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .featured-event-card {
        height: 400px;
    }
    
    .featured-event-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .events-hero {
        height: 40vh;
    }
    
    .events-heading {
        font-size: 3.5rem;
    }
    
    .events-hero-content p {
        font-size: 1rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-event-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .load-more-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .events-heading {
        font-size: 2.5rem;
    }
    
    .featured-event-title {
        font-size: 1.5rem;
    }
} 