/* Projeler Listeleme Sayfası */

.projeler-section {
    padding: 0 0 80px;
}

/* Kategori Filtreleme */
.proje-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}

.proje-filter-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.proje-filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.proje-filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* Proje Grid */
.proje-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Proje Card */
.proje-card {
    display: block;
    width: 100%;
    height: 475px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proje-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.proje-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.proje-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.proje-card:hover .proje-card-image img {
    transform: scale(1.05);
}

.proje-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

/* Card Content - Sol Alt */
.proje-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 3;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.proje-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.proje-card-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.proje-card:hover .proje-card-btn {
    background: #fff;
    color: var(--accent-color);
}

/* No Projects */
.no-projeler {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-projeler p {
    color: #999;
    font-size: 16px;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .proje-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .proje-card {
        height: 420px;
    }
}

@media (max-width: 1024px) {
    .proje-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .proje-card {
        height: 400px;
    }
    
    .proje-filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

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

@media (max-width: 768px) {
    .projeler-section {
        padding: 40px 0 60px;
    }
    
    .proje-filter {
        margin-bottom: 30px;
    }
    
    .proje-filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .proje-card {
        height: 380px;
    }
}

@media (max-width: 576px) {
    .proje-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .proje-card {
        height: 350px;
    }
    
    .proje-card-title {
        font-size: 16px;
    }
}


/* =============================================
   PROJE DETAY SAYFASI
   ============================================= */

/* Hero Section */
.proje-hero-section {
    padding: 60px 0;
}

.proje-hero-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Sol: Görsel */
.proje-hero-image {
    flex: 0 0 600px;
    width: 600px;
    height: 345px;
    overflow: hidden;
    border-radius: 8px;
}

.proje-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proje-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

/* Sağ: İçerik */
.proje-hero-content {
    flex: 1;
}

.proje-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.proje-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.proje-description p {
    margin-bottom: 15px;
}

.proje-description p:last-child {
    margin-bottom: 0;
}

.proje-contact-btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--accent-color);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.proje-contact-btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* =============================================
   FRANCHİSE ŞUBELER SECTION
   ============================================= */
.proje-franchise-section {
    padding: 40px 0;
    background: #fff;
    display: flex;
    justify-content: center;
}

.franchise-wrapper {
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Başlık Alanı */
.franchise-header {
    margin-bottom: 25px;
}

.franchise-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
    font-style: italic;
}

.franchise-slogan {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin: 0;
}

/* Slider Container */
.franchise-slider-container {
    position: relative;
    padding: 0 60px;
}

/* Swiper Düzenleme */
.proje-franchise-slider {
    overflow: hidden;
    padding: 10px 0;
}

.proje-franchise-slider .swiper-wrapper {
    display: flex;
    align-items: center;
}

.proje-franchise-slider .swiper-slide {
    flex-shrink: 0;
}

/* Franchise Item */
.franchise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.franchise-item:hover {
    transform: translateY(-5px);
}

/* Franchise Logo */
.franchise-logo {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.franchise-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Franchise Name */
.franchise-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Navigation Butonları */
.franchise-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.franchise-prev,
.franchise-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #666;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.franchise-prev:hover,
.franchise-next:hover {
    background: #333;
}

/* Alt Açıklama */
.franchise-description {
    margin-top: 25px;
    padding: 0 20px;
}

.franchise-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 900px;
}

/* Responsive */
@media (max-width: 992px) {
    .franchise-slider-container {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .proje-franchise-section {
        padding: 40px 0;
    }
    
    .franchise-title {
        font-size: 26px;
    }
    
    .franchise-slogan {
        font-size: 16px;
    }
    
    .franchise-slider-container {
        padding: 0 45px;
    }
    
    .franchise-logo {
        width: 70px;
        height: 70px;
    }
    
    .franchise-name {
        font-size: 13px;
    }
    
    .franchise-prev,
    .franchise-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .franchise-header {
        margin-bottom: 30px;
    }
    
    .franchise-description {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .franchise-slider-container {
        padding: 0 40px;
    }
    
    .franchise-logo {
        width: 60px;
        height: 60px;
    }
    
    .franchise-name {
        font-size: 12px;
    }
    
    .franchise-prev,
    .franchise-next {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}


/* Galeri Section */
.proje-gallery-section {
    padding: 0 0 80px;
}

.proje-gallery-slider {
    position: relative;
    padding: 0 50px;
}

.proje-gallery-slider .swiper-slide {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Slider Navigation */
.proje-gallery-slider .swiper-button-next,
.proje-gallery-slider .swiper-button-prev {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    color: #333;
}

.proje-gallery-slider .swiper-button-next:after,
.proje-gallery-slider .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.proje-gallery-slider .swiper-button-prev {
    left: 0;
}

.proje-gallery-slider .swiper-button-next {
    right: 0;
}

/* Lightbox */
.proje-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.proje-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
}

#lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .proje-hero-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .proje-hero-image {
        flex: none;
        width: 100%;
        height: 350px;
    }
    
    .proje-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .proje-hero-section {
        padding: 40px 0;
    }
    
    .proje-hero-image {
        height: 280px;
    }
    
    .proje-title {
        font-size: 24px;
    }
    
    .proje-gallery-slider {
        padding: 0 40px;
    }
    
    .proje-gallery-slider .swiper-slide {
        height: 180px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .proje-gallery-slider {
        padding: 0 35px;
    }
    
    .proje-gallery-slider .swiper-button-next,
    .proje-gallery-slider .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .proje-gallery-slider .swiper-button-next:after,
    .proje-gallery-slider .swiper-button-prev:after {
        font-size: 14px;
    }
}


/* Proje Detay CTA Section */
.proje-detay-cta {
    background-color: #f3f3f3;
    height: 300px;
    display: flex;
    align-items: center;
    padding: 0;
    margin-bottom: 80px;
    overflow: hidden;
}

.proje-detay-cta .container-1343 {
    max-width: 1343px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.proje-detay-cta .inka-content-row {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.proje-detay-cta .inka-content-text {
    flex: 1;
    padding: 30px 40px;
}

.proje-detay-cta .inka-content-image {
    flex: 0 0 448px;
    width: 448px;
    height: 300px;
}

.proje-detay-cta .inka-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proje-detay-cta .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin: 0 0 15px 0;
}

.proje-detay-cta .section-slogan {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.proje-detay-cta .section-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.proje-detay-cta .site-btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.proje-detay-cta .site-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .proje-detay-cta {
        height: auto;
        padding: 40px 0;
    }
    
    .proje-detay-cta .inka-content-row {
        flex-direction: column;
    }
    
    .proje-detay-cta .inka-content-text {
        padding: 0 20px 30px;
        text-align: center;
    }
    
    .proje-detay-cta .inka-content-image {
        flex: none;
        width: 100%;
        height: 250px;
    }
}
