/*
Theme Name: Hızarlı Köy Derneği
Description: Hızarlı Köy Derneği için özel olarak tasarlanmış WordPress teması. Modern tasarım ve köy yaşamına uygun renklerle hazırlanmıştır.
Version: 1.0
Author: Hızarlı Köy Derneği
Text Domain: hizarli-koy
*/

/* Tailwind CSS ve diğer stiller functions.php dosyasında yüklenecek */

/* Tema özel stilleri */
.announcements-scroll::-webkit-scrollbar {
    width: 4px;
}

.announcements-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.announcements-scroll::-webkit-scrollbar-thumb {
    background: #556B2F;
    border-radius: 2px;
}

.announcements-scroll::-webkit-scrollbar-thumb:hover {
    background: #4a5a28;
}

/* Swiper pagination dots styling */
.swiper-pagination-bullet {
    background: #C6D870 !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    background: #556B2F !important;
    opacity: 1 !important;
}

/* Gallery Navigation Buttons */
.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    color: #556B2F !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
}

.gallerySwiper .swiper-button-next:hover,
.gallerySwiper .swiper-button-prev:hover {
    color: #8FA31E !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

/* WordPress özel stilleri */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive görsel stilleri */
img {
    max-width: 100%;
    height: auto;
}

/* WordPress widget stilleri */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #374151;
    text-transform: uppercase;
    font-size: 0.875rem;
}

/* Sidebar başlık stili - tüm sidebar başlıkları için standart */
.sidebar-title {
    font-weight: bold;
    color: #374151;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-bottom: 3px solid #556B2F;
    padding-bottom: 0.5rem;
}

/* Line clamp utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* WordPress Gutenberg blok başlıkları için sidebar stili */
.sidebar .wp-block-heading,
.widget .wp-block-heading {
    font-weight: bold !important;
    color: #374151 !important;
    margin-bottom: 1rem !important;
    text-transform: uppercase !important;
    font-size: 0.875rem !important;
    border-bottom: 3px solid #556B2F !important;
    padding-bottom: 0.5rem !important;
}

/* WordPress menü stilleri */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin: 0;
}

.menu a {
    text-decoration: none;
    color: inherit;
}

/* WordPress pagination stilleri */
.page-numbers {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 2rem 0 !important;
    list-style: none !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
}

.page-numbers li {
    display: inline-block !important;
}

.page-numbers a,
.page-numbers span {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    min-width: 44px !important;
    justify-content: center !important;
    font-size: 14px !important;
}

.page-numbers a {
    background-color: #f3f4f6 !important;
    color: #374151 !important;
    border: 2px solid #e5e7eb !important;
}

.page-numbers a:hover {
    background-color: #556B2F !important;
    color: white !important;
    border-color: #556B2F !important;
    transform: translateY(-2px) !important;
}

.page-numbers .current {
    background-color: #8FA31E !important;
    color: white !important;
    border: 2px solid #8FA31E !important;
    font-weight: 700 !important;
}

.page-numbers .prev,
.page-numbers .next {
    background-color: #556B2F !important;
    color: white !important;
    border: 2px solid #556B2F !important;
    padding: 0.75rem 1.5rem !important;
}

.page-numbers .prev:hover,
.page-numbers .next:hover {
    background-color: #8FA31E !important;
    border-color: #8FA31E !important;
    transform: translateY(-2px) !important;
}

/* Pagination responsive */
@media (max-width: 640px) {
    .page-numbers {
        gap: 0.25rem !important;
    }
    
    .page-numbers a,
    .page-numbers span {
        padding: 0.5rem 0.75rem !important;
        font-size: 12px !important;
        min-width: 36px !important;
    }
    
    .page-numbers .prev,
    .page-numbers .next {
        padding: 0.5rem 1rem !important;
    }
}

/* WordPress form stilleri */
.wp-block-search__input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #556B2F;
    border-radius: 0.5rem;
    outline: none;
}

.wp-block-search__input:focus {
    ring: 2px;
    ring-color: #8FA31E;
}

.wp-block-search__button {
    background-color: #556B2F;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.wp-block-search__button:hover {
    background-color: #8FA31E;
}
