/* havuzwp-hizmetler-grid */
.havuzwp-hizmetler-grid-wrapper {
    display: grid;
    gap: 30px;
    margin: 40px 0;
}
.havuzwp-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.havuzwp-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.havuzwp-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .havuzwp-grid-cols-3, .havuzwp-grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .havuzwp-grid-cols-2, .havuzwp-grid-cols-3, .havuzwp-grid-cols-4 { grid-template-columns: 1fr; }
}

/* havuzwp-hizmetler-slider */
.havuzwp-slider-container {
    margin: 40px 0;
}
.havuzwp-swiper-prev, .havuzwp-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ffffff !important;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    z-index: 10;
    color: #1a2a40 !important;
    transition: all 0.3s ease;
}
.havuzwp-swiper-prev:hover, .havuzwp-swiper-next:hover {
    background: #1a2a40 !important; /* Tema renginden bağımsız, kapağın şık laciverti */
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(26,42,64,0.3);
    transform: translateY(-50%) scale(1.1); /* Hover'da hafif büyüme efekti */
}
.havuzwp-swiper-prev svg, .havuzwp-swiper-next svg {
    stroke: currentColor !important;
    transition: all 0.3s ease;
}
.havuzwp-swiper-prev { left: 0; }
.havuzwp-swiper-next { right: 0; }
.swiper-slide { height: auto; } /* Ensure cards stretch to same height */
.havuzwp-hizmet-card { height: 100%; } /* Stretch cards */

.havuzwp-hizmet-card {
    background: #ffffff;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.12); /* Biraz daha belirgin border */
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    top: 0;
}
.havuzwp-hizmet-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    top: -5px;
}
.havuzwp-hizmet-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}
.havuzwp-no-image {
    background: #f1f5f9;
}
.havuzwp-hizmet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.havuzwp-hizmet-card:hover .havuzwp-hizmet-image img {
    transform: scale(1.05);
}
.havuzwp-hizmet-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.havuzwp-hizmet-title {
    margin: 0 0 10px 0;
    font-size: 1.15rem !important; /* Öncekinden 3-4px daha büyük */
    font-weight: 600 !important; /* 600'e çekildi */
    line-height: 1.4;
    font-family: var(--e-global-typography-primary-font-family, inherit);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.havuzwp-hizmet-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
}
.havuzwp-hizmet-excerpt {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.havuzwp-hizmet-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.havuzwp-readmore-link {
    display: inline-flex;
    align-items: center;
    color: var(--e-global-color-accent, #0ea5e9);
    font-weight: 500; /* 600'den 500'e (daha ince) çekildi */
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
}
.havuzwp-arrow {
    margin-left: 8px;
    transition: transform 0.3s;
}
.havuzwp-hizmet-card:hover .havuzwp-arrow {
    transform: translateX(5px);
}

/* Single Template Styles */
.havuzwp-single-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
@media (max-width: 768px) {
    .havuzwp-single-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px auto;
        padding: 0 15px;
    }
    .havuzwp-single-content, .havuzwp-single-sidebar {
        padding: 20px;
    }
    .havuzwp-breadcrumb-wrapper {
        margin-bottom: 20px !important;
        padding: 15px 0 !important;
    }
    .havuzwp-breadcrumb-container {
        font-size: 14px;
    }
}
.havuzwp-single-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Premium Hero Section */
.havuzwp-hero-section {
    background-color: #1a2a40;
    background-image: radial-gradient(circle at top right, rgba(255,255,255,0.05) 0%, transparent 40%),
                      radial-gradient(circle at bottom left, rgba(0,0,0,0.3) 0%, transparent 40%);
    position: relative;
    padding: 160px 20px 140px 20px; /* Increased bottom padding for overlap */
    text-align: center;
    color: #ffffff;
    margin: 0 10px; /* Sadece sağdan soldan 10px boşluk bırakıldı */
    border-radius: 8px; /* Masaüstünde tüm köşeler 8px */
    overflow: hidden;
}
.havuzwp-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Cg%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}
.havuzwp-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.havuzwp-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    font-family: var(--e-global-typography-primary-font-family, inherit);
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
    color: #ffffff !important;
}

/* Updated Body Styles */
.havuzwp-single-body {
    color: var(--e-global-color-text, #444);
    font-family: var(--e-global-typography-text-font-family, inherit);
    line-height: 1.8;
    font-size: 1.05rem;
}
.havuzwp-single-thumbnail {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.havuzwp-single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Overlap Content Wrapper */
.havuzwp-single-wrapper {
    max-width: 1200px;
    margin: -80px auto 40px auto; /* Overlap hero section */
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 10;
}

/* Content Box Enhancements */
.havuzwp-single-content {
    background: #ffffff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
}

/* Sidebar Enhancements */
.havuzwp-single-sidebar {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    align-self: start;
    position: sticky;
    top: 100px;
}
.havuzwp-sidebar-widget {
    margin-bottom: 30px;
}
.havuzwp-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-family: var(--e-global-typography-primary-font-family, inherit);
    color: #1a2a40;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.havuzwp-sidebar-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background-color: var(--e-global-color-accent, #f9a826);
}
.havuzwp-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.havuzwp-sidebar-list li {
    margin-bottom: 8px;
}
.havuzwp-sidebar-list a {
    text-decoration: none;
    color: var(--e-global-color-text, #475569);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
}
.havuzwp-sidebar-list a::before {
    content: '→';
    margin-right: 12px;
    color: #1a2a40; /* Tema renginden bağımsız doğrudan koyu lacivert yapıldı */
    font-weight: bold;
    transition: transform 0.3s ease;
}
.havuzwp-sidebar-list a:hover {
    color: #1a2a40;
    background: #ffffff;
    border-color: rgba(0,0,0,0.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.havuzwp-sidebar-list a:hover::before {
    transform: translateX(4px);
}
.havuzwp-sidebar-list li.havuzwp-current-item a {
    background: #1a2a40;
    color: #ffffff;
    font-weight: 700;
    border-color: #1a2a40;
    box-shadow: 0 4px 15px rgba(26,42,64,0.2);
}
.havuzwp-sidebar-list li.havuzwp-current-item a::before {
    color: #ffffff;
    transform: translateX(4px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .havuzwp-hero-section {
        padding: 220px 20px 80px 20px;
        margin: -120px 0 0 0 !important; /* Tema boşluğunu tamamen yutmak için iyice yukarı çektik */
        border-radius: 0 0 16px 16px;
    }
    .havuzwp-hero-title {
        font-size: 2.2rem;
    }
    .havuzwp-single-wrapper {
        grid-template-columns: 1fr;
        margin-top: -60px;
        gap: 25px;
        padding: 0 15px;
    }
    .havuzwp-single-content {
        padding: 30px 20px;
    }
    .havuzwp-single-sidebar {
        padding: 30px 20px;
    }
}
