/* Theme Name: Halkevleri
Theme URI: Kurumsal Tema
Author: Ozan Cırık
Version: 1.0 */

/* Genel Stiller */
:root {
    --primary: #ff5d20;
    --primaryKadin: #ff5d20;
    --secondary: #1A1A1A;
    --dark-gray: #333333;
    --medium-gray: #fff;
    --link-blue: #000;
}

body.kadin {
    --primary: #a1289c; /* Kadın sayfası için yeni primary renk */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--secondary);
    line-height: 1.6;
}

a {
    color: var(--link-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

.btn-orange{
    background-color: var(--primary);
    color: white;
    border-radius: 0%;
    padding: 10px 50px;

}

.btn-orange:hover{
    background-color: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* Üst Bilgi Çubuğu */
.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar i {
    color: white;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* Ana Menü */
.navbar {
    background-color: #0000004a;
    padding: 0;
    position: relative;
    top: 0px;
    z-index: 999999;
    width: 100%;
    margin-bottom: -73px;
}

/* Ana Menü */
.navbar.frontpage {
    background-color: #fff;
    padding: 0;
    position: relative;
    top: 0px;
    z-index: 999999;
    width: 100%;
    margin-bottom: -73px;
}

.navbar-brand {
    padding: 10px 0;
}

.navbar.frontpage{
    -webkit-box-shadow: 0px 3px 15px -13px rgba(254,89,29,0.5);
    -moz-box-shadow: 0px 3px 15px -13px rgba(254,89,29,0.5);
    box-shadow: 0px 3px 15px -13px rgba(254,89,29,0.5);
}

.navbar.frontpage .navbar-nav .nav-link {
    color: black !important;
    padding: 25px 15px !important;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s;
}

.navbar.frontpage .navbar-nav .nav-link:hover,
.navbar.frontpage .navbar-nav .nav-link.active {
    color: #fff !important;
}


.navbar.frontpage .navbar-nav .search-toggle .nav-link{
    cursor: pointer;
    background-color: var(--primary);
    color: #fff !important;

}

.navbar-nav .nav-link {
    color: white !important;
    padding: 25px 15px !important;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s;
}


.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--primary);
}

.navbar-nav .highlight {
    color: var(--primary) !important;
    font-weight: bold;
}
.navbar-nav .highlight:hover {
    color: #fff !important;
    font-weight: bold;
}

/* Dropdown Menü */
.dropdown-menu, .sub-menu {
    background-color: white;
    border: none;
    border-radius: 0;
    margin-top: 0;
    border-bottom: 3px solid var(--primary); /* Turuncu alt çizgi eklendi */

}

.dropdown-item {
    color: #333;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Dropdown menü alt çizgisi */
.navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    border-bottom: 3px solid var(--primary);
}

/* Mobil Menü */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
    }

    .social-icons {
        text-align: center !important;
        margin-top: 10px;
    }
}

/* Hero Slider */
#manset .hero-slider .item {
    height: 800px;
    background-size: cover;
    background-position: center;
    position: relative;
}

#manset .hero-slider .overlay {
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#manset .hero-slider .content {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

#manset .hero-slider h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

#manset .hero-slider .btn-light:hover {
    background: var(--primary);
    color: #fff;
}

/* Bilgi Kutuları */
.info-box {
    padding: 30px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-top: -50px;
    position: relative;
    z-index: 9;
    border-radius: 5px;
}

.info-box i {
    color: var(--primary);
}

.info-box h5 {
    margin: 0 0 5px;
    font-weight: 600;
    font-size: 15px;
    min-width: 80%;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-box p {
    color: var(--medium-gray);
    margin: 0;
}

.info-box > div{
    padding: 10px;

}

/* Blog Kartları */
.blog-card {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.blog-card .card-body {
    padding: 25px;
}

.blog-card .badge {
    background: var(--primary);
    padding: 5px 10px;
    font-weight: 500;
}

.date-single {
    background: var(--primary);
    padding: 5px 10px;
    font-weight: 500;
    color: #fff;
    border-radius: 5px;
}

.blog-card .card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 15px 0;
}

.blog-card .card-text {
    color: var(--secondary);
    margin-bottom: 20px;
}

.blog-card .btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.blog-card .btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: #fff;
    padding: 60px 0 30px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
}

/* Responsive Ayarlar */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 15px 0;
    }

    #manset .hero-slider .item {
        height: 450px;
    }

    #manset .hero-slider h1 {
        font-size: 36px;
    }

    .info-box {
        margin-top: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .top-bar {
        text-align: center;
    }
    .navbar {
        margin-bottom: -53px;
    }
    .top-bar .social-icons {
        margin-top: 10px;
    }

    #manset .hero-slider .item {
        height: 350px;
    }

    #manset .hero-slider h1 {
        font-size: 28px;
    }
}

/* Animasyonlar */
.animate {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    animation-name: fadeIn;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slideInUp {
    animation-name: slideInUp;
}

.theme-slider-content{
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

/* Primary Arka Plan Rengi ve Hover Efekti */
.bg-primary {
    background-color: var(--primary) !important;
    color: #fff;
}

.color-primary {
    color: var(--primary) !important;
}

a.bg-primary:hover {
    background-color: #fff !important;
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* Başlık Stilleri */
.section-title {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.section-divider {
    margin: auto;
    width: 40%;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 1.5rem;
}

/* Paralaks Bölümü */
.parallax-section {
    width: 100%;
    height: 300px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.parallax-content {
    position: relative;
    top: 40%;
    width: 100%;
    text-align: center;
}

.parallax-content h1 {
    color: white;
    margin-bottom: 1rem;
}
footer li a,footer p a{
    color: white;
}

/* Arama Formu */
.search-form {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    display: none;
    transition: all 0.3s ease;
}

.search-form.active {
    display: block;
}

.search-form .form-control {
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    color: #fff;
    padding: 0.5rem 0;
}

.search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.search-form .btn-close {
    background-color: #fff;
    opacity: 0.7;
    margin-left: 1rem;
}

.search-form .btn-close:hover {
    opacity: 1;
}

.search-toggle {
    cursor: pointer;
    background-color: var(--primary);

}

.owl-nav{
    display: none;
}


.news-area{
    box-shadow: 0 25px 98px 0 rgba(0,0,0,.1);
    padding: 20px;
}

.side-area{
    box-shadow: 0 25px 98px 0 rgba(0,0,0,.1);
    padding: 20px;
}

.news-area h3{
    font-size: 24px;
    font-weight: bold;
}

.news-area  * {
    max-width: 100% !important;
}

.twitter-timeline {
    max-height: 5000px; /* Tweet alanı için bir yükseklik belirle */
    overflow-y: scroll; /* Gerektiğinde kaydırma çubuğu ekler */
}
.pagination {
    margin: 20px 0;
}

.pagination .page-numbers {
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    text-decoration: none;
}

.pagination .current {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .page-numbers:hover {
    background-color: #f8f9fa;
}


.pagination .page-numbers li {
   list-style: none;
}

.page-numbers{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
}

.sub-menu.dropdown-menu.show{
    -webkit-box-shadow: -12px 12px 5px -10px rgba(0,0,0,0.75);
    -moz-box-shadow: -12px 12px 5px -10px rgba(0,0,0,0.75);
    box-shadow: -12px 12px 5px -10px rgba(0,0,0,0.75);
    margin: -18px;

}

.latest-post{
    background: #fff;
    padding: 10px;
}

.latest-post-title h5{
    font-size: 1rem;
}
.latest-post-date .badge{
    background: #c2c2c2 !important;
    color: #fff !important;
}

/* Mobil cihazlar için farklı yükseklik */
@media (max-width: 768px) {
    #hero-slider-kadin.hero-slider .owl-carousel .item {
        height: 300px !important;
    }
}

/* Tablet cihazlar için farklı yükseklik */
@media (min-width: 769px) and (max-width: 1024px) {
    #hero-slider-kadin.hero-slider .owl-carousel .item {
        height: 350px !important;
    }
}


/* Hero Slider */
#hero-slider-kadin.hero-slider .item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

#hero-slider-kadin.hero-slider .overlay {
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#hero-slider-kadin.hero-slider .content {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

#hero-slider-kadin.hero-slider h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

#hero-slider-kadin.hero-slider .btn-light:hover {
    background: var(--primary);
    color: #fff;
}