﻿.section-before {
    position: relative
}
.event-card {
    border-radius: 20px;
    box-shadow: 0px 8px 38px 0px rgba(198, 186, 162, 0.15);
    display: flex;
    align-items: center;
    padding: 40px 50px;
    background-color: var(--white-color);
}

    .event-card .event-date {
        margin-bottom: 0;
        font-size: 40px;
        padding-right: 35px;
        color: var(--theme-color);
    }

        .event-card .event-date a:hover {
            color: var(--secondary-color);
        }

    .event-card .event-content {
        border-left: 1px solid rgb(237, 234, 228);
        padding-left: 35px;
    }

    .event-card .event-title {
        margin-top: -5px;
        margin-bottom: 10px;
    }

.event-title {
    color: var(--title-color);
}

    .event-title a {
        color: inherit;
    }

        .event-title a:hover {
            color: var(--theme-color);
        }

.event-info {
    padding: 8px 0 0 0;
    margin-bottom: 0;
    list-style: none;
}

    .event-info li {
        font-family: var(--body-font);
        display: flex;
    }

        .event-info li i {
            width: 24px;
            color: var(--theme-color);
            text-align: center;
            margin-right: 5px;
        }

.event-more {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
    text-align: center;
}

    .event-more .link-btn {
        color: var(--title-color);
        position: relative;
    }

        .event-more .link-btn:after, .event-more .link-btn:before {
            content: "";
            height: 1px;
            width: 100%;
            background-color: var(--title-color);
            position: absolute;
            bottom: 5px;
            left: 0;
            transition: 0.4s ease-in-out;
        }

        .event-more .link-btn:before {
            width: 0;
            background-color: var(--theme-color);
            z-index: 2;
        }

        .event-more .link-btn:hover {
            color: var(--theme-color);
        }

            .event-more .link-btn:hover:before {
                width: 100%;
            }

.event-box {
    --icon-size: 95px;
    position: relative;
}

    .event-box .event-img {
        position: relative;
        border-radius: 30px 30px 0 0;
        overflow: hidden;
    }

        .event-box .event-img img {
            transition: 0.4s;
            border-radius: 30px 30px 0 0;
        }

        .event-box .event-img:hover img {
            transform: scale(1.1);
        }

@media not all and (min-resolution: 0.001dpcm) {
    .event-box .event-img:hover img {
        transform: scale(1);
    }
}
.event-box .event-date {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    word-wrap: break-word;
    width: var(--icon-size);
    height: var(--icon-size);
    padding: 10px;
    text-align: center;
    line-height: 1.2;
    background-color: var(--theme-color);
    color: var(--white-color);
    border-radius: 50% !important;
    border: 9px solid var(--smoke-color);
    position: absolute;
    top: calc(var(--icon-size) / -2);
    left: calc(var(--icon-size) / 2);
}

.event-box .event-info li:last-child {
    margin: 10px 0 10px 0;
}

.event-box .event-content {
    background-color: var(--white-color);
    border-radius: 0 0 30px 30px;
    padding: 32px 40px 31px 40px;
    box-shadow: 0px 15px 30px 0px rgba(228, 215, 178, 0.08);
}

.event-box .link-btn {
    text-transform: capitalize;
}

/* ------- Event Details -------*/
.event-slider-area {
    position: relative;
    --icon-gap: 40px;
}

    .event-slider-area .arrow-left,
    .event-slider-area .arrow-right {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .event-slider-area .arrow-left {
        left: var(--icon-gap);
    }

    .event-slider-area .arrow-right {
        right: var(--icon-gap);
    }

.event-location {
    height: 100%;
}

    .event-location iframe {
        width: 100%;
        height: 100%;
        border-radius: 30px;
    }

.event-title-box {
    display: flex;
    align-items: center;
}

    .event-title-box .event-title {
        margin-bottom: 0;
    }

    .event-title-box .date {
        height: 90px;
        width: 80px;
        border-radius: 10px;
        background-color: var(--theme-color);
        color: var(--white-color);
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        margin-right: 25px;
    }

        .event-title-box .date .day {
            font-size: 30px;
            width: 100%;
            display: inline-block;
            height: 55px;
            line-height: 55px;
            border-bottom: 2px solid var(--smoke-color);
        }

        .event-title-box .date .month {
            line-height: 34px;
            text-transform: uppercase;
        }

.event-details {
    margin-bottom: 20px;
}

.event-info-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

    .event-info-list li {
        display: flex;
        margin-bottom: 10px;
    }

        .event-info-list li:last-child {
            margin-bottom: 0;
        }

        .event-info-list li i {
            color: var(--theme-color);
            width: 27px;
        }

.event-nav {
    padding-top: 17px;
    display: flex;
    justify-content: space-between;
}

    .event-nav .nav-btn {
        position: relative;
        font-size: 24px;
        font-weight: 600;
        color: var(--title-color);
    }

        .event-nav .nav-btn:before {
            content: "";
            height: 2px;
            width: 0;
            background-color: var(--theme-color);
            position: absolute;
            bottom: 2px;
            right: 0;
            transition: 0.3s ease-in-out;
        }

        .event-nav .nav-btn:hover {
            color: var(--theme-color);
        }

            .event-nav .nav-btn:hover:before {
                width: 100%;
            }

        .event-nav .nav-btn:first-child i {
            margin-right: 5px;
        }

        .event-nav .nav-btn:last-child i {
            margin-left: 5px;
        }

        .event-nav .nav-btn:last-child:before {
            right: unset;
            left: 0;
        }

/* Medium Large devices */
@media (max-width: 1399px) {
    .event-box .event-content {
        padding: 22px 25px 21px 25px;
    }
}
/* Large devices */
@media (max-width: 1199px) {
    .event-card {
        flex-direction: column;
    }

        .event-card .event-date {
            font-size: 36px;
            padding-right: 0;
            margin-bottom: 15px;
        }

        .event-card .event-content {
            border-left: none;
            padding-left: 0;
        }

        .event-card .event-title {
            text-align: center;
        }

    .event-title-box .event-title {
        font-size: 36px;
    }
}
/* Medium devices */
@media (max-width: 991px) {
    .event-card {
        padding: 40px 25px;
    }

    .event-box .event-content {
        padding: 32px 40px 31px 40px;
    }

    .event-title-box {
        margin-bottom: 30px;
    }

        .event-title-box .event-title {
            font-size: 30px;
        }
}
/* Small devices */
@media (max-width: 767px) {
    .event-details {
       padding:10px
    }
    .event-title-box .event-title {
        font-size: 26px;
        line-height: 1;
        margin-bottom: 8px;
    }

    .event-nav {
        text-align: center;
        flex-direction: column;
        justify-content: center;
    }

        .event-nav .nav-btn {
            font-size: 20px;
            display: block;
        }

            .event-nav .nav-btn::before {
                display: none;
            }

            .event-nav .nav-btn:first-child {
                margin-bottom: 10px;
            }
}
/* Extra small devices */
@media (max-width: 575px) {
    .event-card .event-date {
        font-size: 30px;
    }

    .event-more .link-btn::after,
    .event-more .link-btn::before {
        display: none;
    }
}
/* Extra small devices */
@media (max-width: 416px) {
    .event-info li {
        margin-bottom: 8px;
    }

        .event-info li:last-child {
            margin-bottom: 0;
        }

    .event-box {
        --icon-size: 60px;
    }

        .event-box .event-content {
            padding: 25px 25px 25px 25px;
        }

        .event-box .event-info li {
            font-size: 14px;
            margin-bottom: 5px;
        }

            .event-box .event-info li:last-child {
                margin-bottom: 10px;
            }

        .event-box .link-btn {
            font-size: 16px;
        }

        .event-box .event-title {
            margin-bottom: 10px;
        }

        .event-box .event-date {
            font-size: 14px;
            font-weight: 600;
            padding: 12px;
            line-height: 14px;
            border-width: 6px;
        }
}
#dahaFazlaBtn {
    background: linear-gradient(135deg, #d63384, #6f42c1);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(111, 66, 193, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

    #dahaFazlaBtn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(214, 51, 132, 0.4);
    }

#loader {
    font-size: 16px;
    color: #6f42c1;
    display: none;
    margin-top: 10px;
}
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.event-date.bugun {
    animation: blink 1s infinite;
    color: #ffffff;
    font-weight: bold;
}

.event-date.gelecek {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 5px;
    display: inline-block;
}
.etkinbuton {
    text-align: center;
    margin-top: 55px;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.input-group {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

    .input-group .prefix {
        background: #eee;
        padding: 8px 10px;
        border: 1px solid #ccc;
        border-right: none;
        border-radius: 5px 0 0 5px;
    }

    .input-group input {
        flex: 1;
        padding: 8px;
        border: 1px solid #ccc;
        border-left: none;
        border-radius: 0 5px 5px 0;
        width: 100%;
    }

.submit-btn {
    width: 100%;
    background: #e91e63;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    margin-top: 15px;
    cursor: pointer;
}

.input-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.prefix {
    font-weight: bold;
    padding: 8px 10px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.input-group input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0;
    outline: none;
}
#konumBilgi {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 25px;
    font-family: Arial, sans-serif;
}
@media (max-width: 767px) {
    .blog-author .media-img {
        width: 100%;
        height: 100%;
    }
    .media-body {
        text-align: center;
        padding-top: 20px;
    }
}
.write-container {
    width: fit-content;
    margin: 20px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.blog-author {
    margin-top: 0;
    margin-bottom: 0;
    padding: 60px;
    border-left: 8px solid var(--theme-color);
    border-right: 8px solid var(--theme-color);
    position: relative;
    border-radius: 30px;
    background-color: var(--smoke-color);
}

.vs-btn.style-1 {
    background-color: transparent;
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
    padding: 10px 33px;
    width: 100%;
    margin: 25px 0 0 0;
}

.star-wrapper {
    position: relative;
    display: inline-block;
    font-size: 1.5em;
    width: 5.5em;
    height: 1.2em;
}

.stars-back, .stars-front {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
}

.stars-back {
    color: #e0e0e0;
    z-index: 1;
}

.stars-front {
    color: #ffc107;
    z-index: 2;
}
span.desig {
    color: lightseagreen;
    text-transform: uppercase;
    font-weight: bold;
}