/* Template Name: Meleke İnşaat */


.max-height-500 {
    max-height: 500px !important;
    object-fit: cover !important;
}


.modern-project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modern-project-card__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.modern-project-card__image .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-project-card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-project-card:hover .card-overlay {
    opacity: 1;
}

.view-project-btn {
    background: #fff;
    color: #333;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-size: 14px;
}

.modern-project-card:hover .view-project-btn {
    transform: translateY(0);
}

.view-project-btn:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.modern-project-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.category-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.card-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #667eea;
}

.card-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
}

.card-date svg {
    width: 16px;
    height: 16px;
}

.read-more-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #5a67d8;
    transform: translateX(4px);
}

.read-more-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.read-more-link:hover svg {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .modern-project-card__image {
        height: 200px;
    }

    .modern-project-card__content {
        padding: 16px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

.hero-swiper-container {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-swiper {
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero1-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero1-content__subtitle__item {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero1-content h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero1-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-pagination {
    bottom: 30px !important;
    z-index: 3;
}

.hero-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

.hero-button-next,
.hero-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 3;
}

.hero-button-next:hover,
.hero-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hero-button-next:after,
.hero-button-prev:after {
    font-size: 18px;
}

@media (max-width: 768px) {
    .hero-swiper-container {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero1-content h1 {
        font-size: 2.5rem;
    }
    
    .hero1-content p {
        font-size: 1rem;
    }
    
    .hero-button-next,
    .hero-button-prev {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero1-content h1 {
        font-size: 2rem;
    }
    
    .hero-swiper-container {
        height: 70vh;
        min-height: 450px;
    }
}

.icerik {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
}

.icerik p {
    margin-bottom: 1.5rem;
}

.icerik h1, 
.icerik h2, 
.icerik h3, 
.icerik h4, 
.icerik h5, 
.icerik h6 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #222;
}

.icerik h1 { font-size: 2.5rem; }
.icerik h2 { font-size: 2rem; }
.icerik h3 { font-size: 1.75rem; }
.icerik h4 { font-size: 1.5rem; }
.icerik h5 { font-size: 1.25rem; }
.icerik h6 { font-size: 1rem; }

.icerik ul, 
.icerik ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.icerik ul {
    list-style-type: disc;
}

.icerik ol {
    list-style-type: decimal;
}

.icerik li {
    margin-bottom: 0.5rem;
}

.icerik a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icerik a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.icerik img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.icerik blockquote {
    border-left: 4px solid #007bff;
    padding: 1rem 2rem;
    margin: 1.5rem 0;
    background: #f8f9fa;
    font-style: italic;
}

.icerik code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .icerik {
        font-size: 15px;
    }
    
    .icerik h1 { font-size: 2rem; }
    .icerik h2 { font-size: 1.75rem; }
    .icerik h3 { font-size: 1.5rem; }
    .icerik h4 { font-size: 1.25rem; }
    .icerik h5 { font-size: 1.1rem; }
    .icerik h6 { font-size: 1rem; }
}
