/*
Theme Name: Köy Su Okuma v2
Theme URI: http://koysuokuma.com
Author: Sinorsel Yazılım
Author URI: http://sinorsel.com.tr
Description: Köy Su Okuma ve Tahsilat Sistemi için özel tema. Modern ve responsive tasarım.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koysuokumav2
Tags: responsive, custom-menu, featured-images, threaded-comments
*/

/* Tema stilleri assets klasöründeki CSS dosyalarından yüklenecek */

/* Preloader Fallback - JavaScript yüklenemezse 3 saniye sonra otomatik kapan */
.preloader-activate {
    animation: fadeOutPreloader 0.5s ease 3s forwards;
}

@keyframes fadeOutPreloader {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* JavaScript yüklendiğinde bu animasyonu iptal et */
.preloader-activate.loaded {
    animation: none;
    opacity: 0;
    visibility: hidden;
}

/* Homepage Card Alignment - Tüm kartlar eşit yükseklikte */
.ht-box-images,
.ht-box-icon {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ht-box-images .image-box-wrap,
.ht-box-icon .icon-box-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ht-box-images .content,
.ht-box-icon .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Hizmet kartları için minimum yükseklik */
.feature-images__one .ht-box-images {
    min-height: 350px;
}

/* Icon kartları için minimum yükseklik */
.ht-box-icon.style-02 {
    min-height: 280px;
}

/* Row spacing düzeni */
.row--35 {
    margin-left: -17.5px;
    margin-right: -17.5px;
}

.row--35 > [class*="col-"] {
    padding-left: 17.5px;
    padding-right: 17.5px;
}

/* Fun fact kartları eşit yükseklikte */
.fun-fact-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .fun-fact-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .fun-fact-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('assets/images/bg/hero-office-bg.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

.hero-section h5 {
    color: #ff5722 !important;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 1rem;
}

.hero-section .hero-title-primary {
    font-size: 3.5rem;
    font-weight: 700;
    color: #00d4ff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-section .btn-primary {
    background: #ff5722;
    border-color: #ff5722;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background: #e64a19;
    border-color: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
}

.hero-section .btn-light {
    background: #fff;
    border-color: #fff;
    color: #333;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn-light:hover {
    background: #f5f5f5;
    border-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.hero-section .rounded-pill {
    border-radius: 50px !important;
}

.hero-section .shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.opacity-75 {
    opacity: 0.9;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 500px;
        padding: 80px 0;
    }
    
    .hero-section .hero-title-primary {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 450px;
        padding: 60px 0;
    }
    
    .hero-section .hero-title-primary {
        font-size: 2rem;
    }
    
    .hero-section .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .hero-section .mr-3 {
        margin-right: 0 !important;
    }
}

/* Modern Service Cards */
.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.service-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card-icon i {
    font-size: 36px;
    color: #fff;
}

.service-card-content {
    text-align: center;
}

.service-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.service-card-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    font-size: 14px;
    color: #444;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: #667eea;
    margin-right: 10px;
    font-size: 12px;
}

/* Advantage Cards */
.advantage-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #f5f5f5;
}

.advantage-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 32px;
    color: #fff;
}

.advantage-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.advantage-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 767px) {
    .service-card,
    .advantage-card {
        margin-bottom: 30px;
    }
}

/* Icon size fixes for "Neden Biz?" section */
.ht-box-icon.style-02 .icon-box-wrap .content-header .icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #086ad8;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.ht-box-icon.style-02 .icon-box-wrap .content-header .icon i {
    font-size: 36px;
    color: #fff;
}

/* Hizmetler bölümü icon renkleri */
.ht-box-images .box-image i {
    color: #086ad8 !important;
}
