/* =================================================================
   MODERN CSS FRAMEWORK (2025 Edition)
   - Advanced design system with modern CSS features
   - Full compatibility with PHP-defined :root variables
   - Optimized for performance and accessibility
   ================================================================= */

/* --- CSS RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
    font-kerning: normal;
}

/* --- CUSTOM PROPERTIES (extends PHP variables) --- */
:root {
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.4;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.35;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    line-height: 1.4;
    margin-bottom: 1rem;
}

p {
    line-height: 1.1;
    margin-bottom: 1rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.fade-in { animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.slide-in-left { animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.slide-in-right { animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.scale-in { animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

/* --- HEADER & NAVIGATION --- */
header {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-md);
}

.nav-link {
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--menu-color-hover, #2563eb);
    transition: width var(--transition-smooth);
    border-radius: 1px;
}

.nav-link:hover {
    color: var(--menu-color-hover, #2563eb) !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
#mobileMenu {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-xl);
}

#mobileMenuBtn {
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

#mobileMenuBtn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* --- BUTTONS --- */
.btn-primary-custom,
.form-trigger-btn {
    color: var(--button-text-color, #fff) !important;
    background: linear-gradient(90deg, var(--button-primary-color, #f37730) 0%, #ee8548 100%);
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 4px 24px 0 rgba(37,99,235,0.18), 0 1.5px 4px 0 rgba(0,0,0,0.10);
    padding: 0.85rem 2.5rem;
    position: relative;
    overflow: hidden;
    outline: none;
    z-index: 1;
    /* Büyümeyi engellemek için transform transition'ı kaldırıyoruz */
    transition: background 0.3s, box-shadow 0.3s;
}

/* Hover ve Focus durumu SADECE renk ve gölge değiştirir, ASLA büyütmez */
.btn-primary-custom:hover,
.btn-primary-custom:focus,
.form-trigger-btn:hover,
.form-trigger-btn:focus {
    background: linear-gradient(90deg, #f37730 0%, var(--button-primary-color, #ee8548) 100%);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.35);
    transform: none !important; /* Her ihtimale karşı! */
    animation: none !important; /* Her ihtimale karşı! */
}

/* Arka plan parlama efekti */
.btn-primary-custom::before,
.form-trigger-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.btn-primary-custom:hover::before,
.form-trigger-btn:hover::before {
    left: 100%;
}

.btn-primary-custom:active,
.form-trigger-btn:active {
    transform: translateY(1px); /* Tıklama anında hafif çökme efekti */
    box-shadow: 0 2px 10px 0 rgba(37, 99, 235, 0.25);
}

/* --- HERO SLIDER --- */
.hero-swiper {
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    position: relative;
}

.hero-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Slider content fix */
.hero-swiper h1,
.hero-swiper .slider-title {
    max-width: 100% !important;
    padding: 0 1rem;
    overflow: visible !important;
    word-break: break-word !important;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: var(--transition-smooth);
    color: white;
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 20px;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hero-swiper .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    opacity: 1;
    transition: var(--transition-smooth);
}

.hero-swiper .swiper-pagination-bullet-active {
    background-color: white;
    transform: scale(1.3);
    width: 40px;
    border-radius: 6px;
}



/* --- PROJECT CARDS --- */
.project-card {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    height: 100%;
}

.project-card-text {
    font-size: 1.25em;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img {
    transform: scale(1.15);
}

.project-card h3 {
    font-size: 1.25em;
    position: relative;
    z-index: 2;
    overflow: visible !important;
    
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.2 !important;
}

.project-card .project-location {
    font-size: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.project-card .relative.p-6.flex.flex-col.justify-between.h-60.text-white {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* --- FILTER SYSTEM --- */
#searchInput {
    border: 2px solid #e5e7eb;
    transition: var(--transition-smooth);
    font-weight: 500;
}

#searchInput:focus {
    border-color: var(--button-primary-color, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.filter-btn {
    font-weight: 500;
    letter-spacing: -0.025em;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background-color: var(--button-primary-color, #2563eb) !important;
    color: var(--button-text-color, #ffffff) !important;
    border-color: var(--button-primary-color, #2563eb);
    box-shadow: 0 4px 14px -4px rgba(37, 99, 235, 0.4);
    transform: scale(1.05);
}

/* --- FEATURE CARDS --- */
.why-card,
.bg-gray-50 {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-xl);
    transition: var(--transition-smooth);
    overflow: visible !important;
}

.why-card:hover,
.bg-gray-50:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.1);
}

.why-card h3,
.bg-gray-50 h3 {
    overflow: visible !important;
    word-break: break-word !important;
}

/* --- FAQ ACCORDION --- */
.faq-item {
    border-bottom: 2px solid #f3f4f6;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 1.5rem 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--button-primary-color, #2563eb);
}

.faq-question h3 {
    color: inherit !important;
    margin: 0;
    padding-right: 2rem;
    flex: 1;
}

.faq-question i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--button-primary-color, #2563eb);
    flex-shrink: 0;
}

.faq-item.open .faq-question {
    color: var(--button-primary-color, #2563eb) !important;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
    max-height: 1000px;
}

/* --- SECTIONS --- */
section {
    position: relative;
    overflow: visible !important;
}

section:not(#home) {
    min-height: 45vh;
    display: flex;
    align-items: center;
}

/* Container System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: visible !important;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* Section Headers */
section .text-center h2 {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    position: relative;
}

/*
section .text-center h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--button-primary-color);
    border-radius: 2px;
}
*/

.wave-separator {
    /* ... mevcut kod ... */
}

/* --- UTILITIES --- */
.loading {
    position: relative;
    color: transparent !important;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--button-primary-color, #2563eb);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Selection */
::selection {
    background-color: var(--button-primary-color, #2563eb);
    color: white;
}

/* Focus States */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--button-primary-color, #2563eb);
    outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 6px;
    transition: background var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 7vw, 2.25rem);
    }
    
    section:not(#home) {
        min-height: auto;
    }
}

@media (max-width: 1024px) {
    .project-card {
        min-height: 320px;
    }
}
@media (max-width: 640px) {
    .project-card {
        min-height: 240px;
    }
}

/* --- PERFORMANCE --- */
img {
    image-rendering: -webkit-optimize-contrast;
}

.project-card,
.filter-btn,
.btn-primary-custom,
.nav-link,
.faq-item,
.bg-gray-50 {
    will-change: transform;
}

/* --- ACCESSIBILITY --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary-custom {
        border: 2px solid currentColor;
    }
    
    .nav-link::after {
        height: 3px;
    }
}

/* === PROJECT DETAIL PAGE MODERN TASARIM === */
.project-detail-main {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
    min-height: 100vh;
    padding-bottom: 4rem;
}
.project-detail-header {
    background: linear-gradient(120deg, #e0e7ef 0%, #fff 100%);
    border-radius: 2.5rem;
    box-shadow: 0 12px 40px 0 rgba(37,99,235,0.10), 0 1.5px 4px 0 rgba(0,0,0,0.04);
    padding: 3.5rem 2rem 2.5rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
}
.project-detail-header h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--heading-color-secondary, #1e293b);
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 16px rgba(37,99,235,0.08);
    position: relative;
    z-index: 2;
}
.project-detail-header .location {
    color: #2563eb;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    z-index: 2;
    position: relative;
}
.project-detail-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #2563eb 0%, #49a752 100%);
    border-radius: 3px;
    margin: 1.5rem auto 0 auto;
    opacity: 0.18;
    z-index: 1;
}
.project-detail-header .project-short-desc {
    color: #64748b;
    font-size: 1.15rem;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    position: relative;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.project-detail-card, .project-detail-features, .project-detail-map {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px 0 rgba(37,99,235,0.07);
    border: 1px solid #e5e7eb;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
}
.project-detail-card h2, .project-detail-features h3, .project-detail-map h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color-secondary, #1e293b);
    margin-bottom: 1.2rem;
    border-bottom: 2px solid #e0e7ef;
    padding-bottom: 0.7rem;
}
.project-detail-card .prose {
    color: #475569;
    font-size: 1.1rem;
}
.project-detail-gallery {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(37,99,235,0.10);
    margin-bottom: 2.5rem;
}
.project-detail-gallery img, .project-detail-gallery .swiper-slide img {
    border-radius: 0;
    min-height: 320px;
    object-fit: cover;
}
.project-detail-features ul {
    padding-left: 0;
    margin: 0;
}
.project-detail-features li {
    background: #f1f5f9;
    border-radius: 0.75rem;
    padding: 0.75rem 1.2rem;
    margin-bottom: 0.7rem;
    font-size: 1.08rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.04);
}
.project-detail-features li i {
    color: #2563eb;
    font-size: 1.2rem;
}
.project-detail-map {
    box-shadow: 0 4px 24px 0 rgba(37,99,235,0.07);
    border-radius: 1.5rem;
    background: #fff;
    padding: 2rem;
}
.project-detail-map h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}
.project-detail-main .image-modal .modal-content {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(37,99,235,0.12);
}
@media (max-width: 900px) {
    .project-detail-header { padding: 2rem 1rem 1.5rem 1rem; }
    .project-detail-header h1 { font-size: 2.1rem; }
    .project-detail-card, .project-detail-features, .project-detail-map { padding: 1.5rem 1rem; }
}
@media (max-width: 600px) {
    .project-detail-header h1 { font-size: 2rem; }
    .project-detail-card h2, .project-detail-features h3, .project-detail-map h2 { font-size: 1.2rem; }
    .project-detail-card, .project-detail-features, .project-detail-map { padding: 1rem 0.5rem; }
}

h3, h4, h5, h6 {
    color: var(--heading-color-secondary, #374151) !important;
}

/* --- NEW MODERN FOOTER --- */
footer {
    background-color: #f9fafb; /* Light Gray - similar to bg-slate-50 */
    color: #4b5563; /* Gray-600 */
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb; /* Gray-200 */
    font-size: 0.95rem;
}
footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
footer .footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e5e7eb; /* Gray-200 */
}
footer .footer-about {
    flex: 2 1 300px; /* Takes more space */
}
footer .footer-about .company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827; /* Gray-900 */
    margin-bottom: 1rem;
}
footer .footer-about p {
    line-height: 1.6;
}
footer .footer-links {
    flex: 1 1 180px;
}
footer .footer-links h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827; /* Gray-900 */
    margin-bottom: 1.25rem;
}
footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
footer .footer-links a {
    text-decoration: none;
    color: #4b5563; /* Gray-600 */
    transition: color 0.2s ease;
}
footer .footer-links a:hover {
    color: var(--button-primary-color, #2563eb);
}
footer .footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem; /* Add some space if they are under a title */
}
footer .footer-socials a {
    font-size: 1.25rem;
    color: #6b7280; /* Gray-500 */
    transition: color 0.2s ease, transform 0.2s ease;
}
footer .footer-socials a:hover {
    color: #111827; /* Gray-900 */
    transform: translateY(-2px);
}
footer .footer-bottom {
    text-align: center; /* Flex yerine daha garantili bir yöntem */
    font-size: 0.9rem;
    color: #6b7280; /* Gray-500 */
}
@media (max-width: 768px) {
    footer .footer-main {
        flex-direction: column;
    }
    footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Proje detay sayfasındaki footer altı boşluk sorununu çözer (daha sağlam sticky footer) */
body.project-detail-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* margin-top: auto ile footer'ı her zaman en alta iter */
body.project-detail-main footer {
    margin-top: auto;
}

/* Ana içeriğin esneyerek footer'ı doğru yere itmesini sağlar */
body.project-detail-main main {
    flex-grow: 1;
}

#projectsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* Yaklaşık 24px */
    width: 100%; /* Tam genişlik */
}

#projectsGrid > a.project-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Kartları kare yapar */
}

/* Orta boy ekranlar (tabletler) için 2'li dizilim */
@media (max-width: 1024px) {
    #projectsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Küçük ekranlar (mobil) için tekli dizilim */
@media (max-width: 768px) {
    #projectsGrid {
        grid-template-columns: 1fr;
    }
}

/* Neden Villaparsel Başlık Rengi - Öncelikli */
.why-villaparsel-title {
    color: inherit !important;
    margin-bottom: 0.5rem !important; /* Başlık ile alt başlık arası boşluğu azalt */
}

/* Neden Villaparsel Süreç Diyagramı Stilleri */
.why-villaparsel-process {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.process-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 2rem;
    gap: 3rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 22%;
    margin-bottom: 2rem;
}

.step-number {
    margin-bottom: 1rem;
    position: relative;
}

.number-image {
    width: 100px;
    height: 140px;
    max-height: 140px;
    object-fit: contain;
}

.number-placeholder {
    width: 100px;
    height: 100px;
    border: 4px solid #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #22c55e;
    background: white;
}

.step-title-box {
    background: #22c55e;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    min-width: 140px;
}

.step-title-box h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: white !important;
}

.step-description {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 280px;
}

.step-description p {
    margin: 0;
}

.step-arrow {
    position: absolute;
    top: 50px;
    right: -80px;
    z-index: 10;
    width: 120px;
    height: 60px;
}

.arrow-image {
    width: 180px;
    height: 90px;
    object-fit: contain;
}

.arrow-placeholder {
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #22c55e;
    font-weight: bold;
}

/* S-şekli düzen için özel konumlandırma */
.process-step.step-1,
.process-step.step-3 {
    align-self: flex-start;
    margin-bottom: 24px;
    margin-top: 0;
}

.process-step.step-2,
.process-step.step-4 {
    align-self: flex-end;
    margin-top: 24px;
    margin-bottom: 0;
}

.process-step.step-4 {
    /* margin-top: 3rem; */
    margin-top: 24px;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: auto;
}

.process-step.step-2 {
    /* margin-top: 3rem; */
    margin-top: 24px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.process-step.step-1 {
    margin-left: 0;
    margin-right: auto;
}

.process-step.step-3 {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
}

/* Responsive tasarım */
@media (max-width: 1200px) {
    .process-container {
        max-width: 1000px;
        padding: 0 1rem;
    }
    
    .process-step {
        width: 24%;
    }
    
    .step-arrow {
        right: -60px;
        width: 100px;
        height: 50px;
    }
    
    .arrow-image,
    .arrow-placeholder {
        width: 100px;
        height: 50px;
    }
}

@media (max-width: 1024px) {
    .process-container {
        max-width: 800px;
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        width: 100%;
        max-width: 300px;
        margin: 1rem 0;
    }
    
    .process-step.step-1,
    .process-step.step-2,
    .process-step.step-3,
    .process-step.step-4 {
        margin: 1rem 0;
    }
    
    .step-arrow {
        display: none;
    }
    
    .step-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .process-container {
        padding: 0 0.5rem;
    }
    
    .number-image,
    .number-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .number-placeholder {
        font-size: 2rem;
    }
    
    .step-title-box {
        min-width: 120px;
        padding: 0.5rem 1rem;
    }
    
    .step-title-box h3 {
        font-size: 1rem;
    }
}

/* Eski özellikler bölümü için geriye uyumluluk */
section#why .grid > div,
section#why .grid > .why-card,
section#why .grid > div[style*="color:"] {
    color: inherit !important;
}

section#why .grid > div[style*="color:"] h3,
section#why .grid > div[style*="color:"] p {
    color: inherit !important;
}

section#why .grid h3:not([style]) {
    color: inherit !important;
}

section#why .grid h3[style] {
    color: unset !important;
}

/* --- YENİ ÖZELLİK KARTI (FEATURE CARD) SİSTEMİ --- */
.feature-card {
    background-color: #ffffff; /* Ana arka plan rengi */
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0; /* Kartın tamamını kapla */
    border-radius: inherit; /* Ana kartın köşe yuvarlaklığını al */
    background: var(--feature-gradient); /* PHP'den gelen degradeyi uygula */
    opacity: 0.85; /* Degradeyi biraz şeffaf yap */
    transition: opacity 0.3s ease-in-out;
    z-index: 1; /* İçeriğin arkasında kal */
}

.feature-card:hover::before {
    opacity: 1; /* Üzerine gelince degradeyi tam opak yap */
}

/* Kartın içeriğinin (yazı, ikon) degrade katmanının üzerinde olmasını sağlar */
.feature-card > * {
    position: relative;
    z-index: 2;
}

/* YENİ: Metalik Parlama Efekti */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    transform: translateX(-100%) skewX(-30deg);
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 3; /* Yazıların da üzerinde ama fare etkileşimini engellememeli */
    pointer-events: none; /* Tıklamayı engellememesi için */
}

.feature-card:hover::after {
    transform: translateX(100%) skewX(-30deg);
}

/* Proje detay Swiper galeri ve img fit */
.project-gallery-swiper .swiper-slide,
.modal-gallery-swiper .swiper-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff;
    height: 100% !important;
}
.project-gallery-swiper,
.project-gallery-swiper .swiper,
.project-gallery-swiper .swiper-wrapper,
.project-gallery-swiper .swiper-slide {
    aspect-ratio: 16/9;
    height: auto !important;
    min-height: 0;
    max-height: 70vh;
}
.project-gallery-img, .modal-img {
    height: 100% !important;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    background: #fff;
}
@media (max-width: 768px) {
    .project-gallery-swiper,
    .project-gallery-swiper .swiper,
    .project-gallery-swiper .swiper-wrapper,
    .project-gallery-swiper .swiper-slide {
        aspect-ratio: 1/1;
        max-height: 40vh;
    }
}
.image-modal,
#layoutPlanModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.92) !important;
    z-index: 10000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
.image-modal.active,
#layoutPlanModal.active {
    display: flex !important;
}
.image-modal .modal-content,
#layoutPlanModal .modal-content {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 95vw !important;
    max-height: 95vh !important;
}
#layoutPlanModalImg {
    max-width: 100vw !important;
    max-height: 90vh !important;
    border-radius: 1rem !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    background: #fff !important;
}
#layoutPlanModal .modal-close,
.image-modal .modal-close {
    position: absolute !important;
    top: 24px !important;
    right: 32px !important;
    z-index: 10001 !important;
}

/* Proje Özellikleri (Editörden Gelen) Stil */
.project-features-content p {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 1rem !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

/* Galeri ve Modal Stilleri */
.project-gallery-img, .modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: #f3f4f6;
}

.project-gallery-swiper {
    height: 500px;
}

.modal-gallery-swiper {
    height: 100%;
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
}

.image-modal .modal-content {
    background: transparent;
    box-shadow: none;
}

.project-detail-map .aspect-w-16,
.project-detail-map .aspect-w-16.aspect-h-9 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
}
.project-detail-map iframe {
    display: block;
    margin: 0;
    border-radius: 1rem;
    box-shadow: 0 4px 24px 0 rgba(37,99,235,0.07);
    border: 1px solid #e5e7eb;
    width: 100%;
    height: 400px;
    max-width: none;
}
@media (max-width: 768px) {
    .project-detail-map iframe {
        height: 220px;
    }
}

.project-detail-map .container > .project-detail-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}
@media (max-width: 1024px) {
    .project-detail-map .container > .project-detail-card {
        max-width: 100%;
    }
}

.project-detail-card.vaziyet-plan-container {
    height: 400px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}
.vaziyet-plan-img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .project-detail-card.vaziyet-plan-container {
        height: 220px;
        max-height: 220px;
    }
}

/* --- YENİ HAKKIMIZDA BÖLÜMÜ STİLLERİ --- */

/* İkonların başlıkları için daha okunaklı bir stil */
#about .grid h3 {
    color: #374151; /* Tailwind - gray-700 */
    font-weight: 600;
}

/* Özel şekilli görselin kapsayıcısı */
.about-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Görselin en-boy oranını koru */
    border-radius: 30px 0px 30px 0px; /* Çapraz köşeleri keskin yap */
    overflow: hidden; /* Dışarı taşan kısımları gizle */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin kapsayıcıyı doldurmasını sağla */
    transition: transform 0.4s ease;
}

.about-image-container:hover img {
    transform: scale(1.05); /* Üzerine gelince hafifçe büyüt */
}

/* Hakkımızda metin alanı için stiller */
#about .prose {
    color: #4b5563; /* Tailwind - gray-600 */
}

#about .prose h2,
#about .prose h3,
#about .prose strong {
    color: #1f2937; /* Tailwind - gray-800 */
}

.villaparsel-2row-grid {
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr;
    gap: 0.5rem 0;
    max-width: 1100px;
    margin: 0 auto;
}
.villaparsel-2row-grid .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 0.5rem;
}
.villaparsel-2row-grid .cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 120px;
}
.villaparsel-2row-grid .arrows-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    min-height: 100px;
}
.villaparsel-2row-grid .arrow-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}
.villaparsel-2row-grid .arrow-image {
    width: 140px;
    height: 70px;
    object-fit: contain;
}
@media (max-width: 900px) {
    .villaparsel-2row-grid {
        max-width: 98vw;
    }
    .villaparsel-2row-grid .row,
    .villaparsel-2row-grid .arrows-row {
        gap: 1rem;
    }
    .villaparsel-2row-grid .arrow-image {
        width: 90px;
        height: 40px;
    }
}
@media (max-width: 600px) {
    .villaparsel-2row-grid {
        max-width: 100vw;
        padding: 0 0.5rem;
    }
    .villaparsel-2row-grid .row,
    .villaparsel-2row-grid .arrows-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .villaparsel-2row-grid .cell {
        min-height: 80px;
    }
    .villaparsel-2row-grid .arrow-image {
        width: 60px;
        height: 24px;
    }
}
.villaparsel-flow-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.flow-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
}
.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    max-width: 260px;
    flex: 1 1 0;
}
.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 60px;
}
.flow-arrow .arrow-image {
    width: 120px;
    height: 60px;
    object-fit: contain;
}
@media (max-width: 900px) {
    .villaparsel-flow-grid {
        max-width: 98vw;
    }
    .flow-row {
        gap: 1rem;
    }
    .flow-step {
        min-width: 120px;
        max-width: 180px;
    }
    .flow-arrow .arrow-image {
        width: 70px;
        height: 30px;
    }
}
@media (max-width: 600px) {
    .villaparsel-flow-grid {
        max-width: 100vw;
        padding: 0 0.5rem;
    }
    .flow-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    .flow-step {
        min-width: 100px;
        max-width: 100%;
    }
    .flow-arrow {
        min-width: 40px;
        min-height: 24px;
    }
    .flow-arrow .arrow-image {
        width: 40px;
        height: 18px;
    }
}
.villaparsel-s-flow {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.s-row {
    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr 0.5fr 1fr 0.5fr 1fr;
    align-items: end;
    margin-bottom: 0;
}
.s-row-bottom {
    margin-top: -40px;
    align-items: start;
}
.s-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 180px;
    max-width: 240px;
    flex: 1 1 0;
}
.s-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}
.s-arrow-img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0;
}
.s-col-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 40px;
}
.s-col-empty {
    min-width: 60px;
}
@media (max-width: 1100px) {
    .villaparsel-s-flow {
        max-width: 98vw;
    }
    .s-row {
        grid-template-columns: 1fr 0.3fr 1fr 0.3fr 1fr 0.3fr 1fr;
    }
    .s-col, .s-step {
        min-width: 120px;
        max-width: 180px;
    }
    .s-arrow-img {
        width: 70px;
        height: 30px;
    }
}
@media (max-width: 700px) {
    .villaparsel-s-flow {
        max-width: 100vw;
        padding: 0 0.5rem;
    }
    .s-row {
        grid-template-columns: 1fr 0.1fr 1fr 0.1fr 1fr 0.1fr 1fr;
    }
    .s-col, .s-step {
        min-width: 80px;
        max-width: 100%;
    }
    .s-arrow-img {
        width: 40px;
        height: 18px;
    }
}
.villaparsel-svg-flow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}
.svg-flow-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    gap: 0;
}
.svg-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    max-width: 240px;
    flex: 1 1 0;
    margin: 0 0.5rem;
}
.svg-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 40px;
    margin: 0 0.5rem;
}
.svg-arrow-img {
    width: 120px;
    height: 60px;
    object-fit: contain;
}
@media (max-width: 1100px) {
    .villaparsel-svg-flow {
        max-width: 98vw;
    }
    .svg-flow-step {
        min-width: 120px;
        max-width: 180px;
    }
    .svg-arrow-img {
        width: 70px;
        height: 30px;
    }
}
@media (max-width: 700px) {
    .villaparsel-svg-flow {
        flex-direction: column;
        max-width: 100vw;
        padding: 0 0.5rem;
    }
    .svg-flow-row {
        flex-direction: column;
        align-items: stretch;
    }
    .svg-flow-step {
        min-width: 80px;
        max-width: 100%;
        margin: 0.5rem 0;
    }
    .svg-flow-arrow {
        min-width: 40px;
        min-height: 24px;
        margin: 0.25rem 0;
    }
    .svg-arrow-img {
        width: 40px;
        height: 18px;
    }
}
.villaparsel-custom-flow {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.custom-flow-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    gap: 0;
}
.custom-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    max-width: 240px;
    flex: 1 1 0;
    position: relative;
}
.custom-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}
.custom-step.lower {
    margin-top: 0;
}

.custom-arrow-img {
    width: 90px;
    height: 60px;
    object-fit: contain;
    display: block;
}
.custom-arrow-img.down {
    transform: rotate(90deg);
}
.custom-arrow-img.right {
    transform: rotate(0deg);
}
.custom-arrow-img.diag {
    transform: rotate(-35deg);
}
.step-title-box.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}
@media (max-width: 1100px) {
    .villaparsel-custom-flow {
        max-width: 98vw;
    }
    .custom-col, .custom-step {
        min-width: 120px;
        max-width: 180px;
    }
    .custom-arrow-img {
        width: 60px;
        height: 30px;
    }
    .custom-step.lower {
        margin-top: 40px;
    }
}
@media (max-width: 700px) {
    .villaparsel-custom-flow {
        flex-direction: column;
        max-width: 100vw;
        padding: 0 0.5rem;
    }
    .custom-flow-row {
        flex-direction: column;
        align-items: stretch;
    }
    .custom-col, .custom-step {
        min-width: 80px;
        max-width: 100%;
    }
    .custom-arrow-img {
        width: 40px;
        height: 18px;
    }
    .custom-step.lower {
        margin-top: 20px;
    }
}
/* Why Villaparsel S-Flow Section */
.s-flow-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 0.5rem;
    align-items: center; /* Vertically center content in the row */
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem 0;
}

.s-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;
}

/* Reverse the visual order for steps 2 and 4 */
.s-step-2, .s-step-4 {
    flex-direction: column-reverse;
}

.step-title-box {
    background-color: #28a745;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    width: 220px; /* Fixed width for alignment */
    box-sizing: border-box;
}

.step-title-box h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-description p {
    line-height: 1.5;
    color: #555;
    font-size: 0.95rem;
    max-width: 220px; /* Same as title box for alignment */
    margin: 0 auto;
}

.number-image {
    max-height: 90px;
    width: auto;
    margin: 0.5rem 0;
}

.s-flow-arrows {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}
.s-flow-arrows svg {
    overflow: visible;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .step-title-box {
        width: 180px;
        padding: 0.6rem 1.2rem;
    }
    .step-description p {
        max-width: 180px;
    }
    .number-image {
        max-height: 70px;
    }
}

@media (max-width: 768px) {
    .s-flow-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 3rem;
        padding: 1rem;
    }
    .s-step-1, .s-step-2, .s-step-3, .s-step-4 {
        grid-column: 1;
        grid-row: auto;
    }
    .s-step-2, .s-step-4 {
        flex-direction: column; /* Reset order for mobile */
    }
    .s-flow-arrows {
        display: none;
    }
}

/* =================================================================
   PROJECT SLIDER STYLES
   ================================================================= */

.project-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
}

.project-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.project-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* Slider Pagination */
.project-slider .swiper-pagination {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.project-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.project-slider .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .project-slider .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
}

/* Swiper navigation butonlarını özelleştir */
.project-slider .swiper-button-next,
.project-slider .swiper-button-prev {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #374151;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 50;
}

.project-slider .swiper-button-next:after,
.project-slider .swiper-button-prev:after {
    font-size: 14px;
    font-weight: 900;
}

.project-slider .swiper-button-next {
    right: 8px;
}

.project-slider .swiper-button-prev {
    left: 8px;
}

/* Desktop'ta hover efektini göster */
@media (min-width: 769px) {
    .project-slider:hover .swiper-button-next,
    .project-slider:hover .swiper-button-prev {
        opacity: 1;
    }
    
    .project-slider .swiper-button-next:hover,
    .project-slider .swiper-button-prev:hover {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Mobilde gizle */
@media (max-width: 768px) {
    .project-slider .swiper-button-next,
    .project-slider .swiper-button-prev {
        display: none !important;
    }
}