﻿/* General Styles */
.project-detail-container {
    padding: 40px 15px;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background: linear-gradient(135deg, #122d3d 0%, #764ba2 100%);
    padding: 30px 0;
    margin-bottom: 40px;
}

.custom-breadcrumb {
    background: transparent;
    margin-bottom: 15px;
    padding: 0;
}

    .custom-breadcrumb > li + li:before {
        content: "\f285";
        font-family: "bootstrap-icons";
        color: rgba(255,255,255,0.6);
    }

    .custom-breadcrumb li a {
        color: rgba(255,255,255,0.9);
        text-decoration: none;
        transition: all 0.3s;
    }

        .custom-breadcrumb li a:hover {
            color: #fff;
        }

    .custom-breadcrumb li.active {
        color: #fff;
    }

    .custom-breadcrumb i {
        margin-right: 5px;
    }

.page-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Main Image */
.main-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    cursor: pointer;
}

    .main-image-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .main-image-wrapper:hover img {
        transform: scale(1.05);
    }

.image-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
}

.main-image-wrapper:hover .image-zoom-overlay {
    opacity: 1;
}

.image-zoom-overlay i {
    font-size: 48px;
    margin-bottom: 10px;
}

.image-zoom-overlay span {
    font-size: 16px;
    font-weight: 600;
}

/* Section Titles */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #122d3d;
    display: inline-block;
}

    .section-title i {
        margin-right: 10px;
        color: #122d3d;
    }

/* Project Description */
.project-description {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.description-content {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* Thumbnail Gallery */
.gallery-thumb-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-thumb-link {
    display: block;
    width: 100%;
    height: 200px; /* veya padding-bottom: 75%; için aspect ratio */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.gallery-thumb-item:hover .gallery-thumb-link {
    transform: scale(1.1);
}

/* img etiketini gizle */
.gallery-thumb-item img {
    display: none;
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Resmi crop eder, aspect ratio'yu korur */
    object-position: center center; /* Ortala */
    transition: transform 0.3s ease;
}

.gallery-thumb-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}



    .gallery-thumb-item:hover img {
        transform: scale(1.1);
    }

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(22 55 75 / 39%) 0%, rgb(22 55 75 / 42%) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-thumb-item:hover .thumb-overlay {
    opacity: 1;
}

.thumb-overlay i {
    color: #fff;
    font-size: 32px;
}

/* Video Section */
.video-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* Location Section */
.location-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

    .map-wrapper iframe {
        width: 100%;
        height: 400px;
        border: none;
    }

/* Sidebar Cards */
.features-card,
.info-card,
.share-card,
.cta-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

    .card-title i {
        margin-right: 8px;
        color: #122d3d;
    }

/* Features Content */
.features-content {
    color: #666;
    line-height: 1.8;
}

    .features-content ul {
        list-style: none;
        padding: 0;
    }

        .features-content ul li {
            padding: 5px 0;
            padding-left: 20px;
            position: relative;
        }

            .features-content ul li:before {
                content: "\f26b";
                font-family: "bootstrap-icons";
                position: absolute;
                left: 0;
                color: #122d3d;
                font-size: 14px;
            }

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .info-list li {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
    }

        .info-list li:last-child {
            border-bottom: none;
        }

    .info-list i {
        font-size: 20px;
        color: #122d3d;
        margin-right: 12px;
        min-width: 20px;
    }

.info-label {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
}

.info-value {
    color: #666;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    flex: 1;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 20px;
}

    .share-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        color: #fff;
    }

    .share-btn.facebook {
        background: #3b5998;
    }

    .share-btn.twitter {
        background: #1da1f2;
    }

    .share-btn.linkedin {
        background: #0077b5;
    }

    .share-btn.whatsapp {
        background: #25d366;
    }

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, #474747 0%, #535353 100%);
    color: #fff;
}

    .cta-card .card-title {
        color: #fff;
        border-color: rgba(255,255,255,0.3);
    }

.cta-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-text {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-card .btn-primary {
    background: #fff;
    color: #000;
    border: none;
    font-weight: 600;
    padding: 12px;
    transition: all 0.3s;
}

    .cta-card .btn-primary:hover {
        background: #f0f0f0;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

/* Other Projects Section */
.other-projects-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

    .section-main-title i {
        margin-right: 12px;
        color: #122d3d;
    }

.section-subtitle {
    color: #999;
    font-size: 16px;
}

/* Project Card */
.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    margin-bottom: 30px;
    height: 100%;
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    .project-card a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

.project-image {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%;
}

    .project-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(22 55 75 / 39%) 0%, rgb(22 55 75 / 42%) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    color: #fff;
    text-align: center;
}

    .overlay-content i {
        font-size: 48px;
        margin-bottom: 10px;
        display: block;
    }

    .overlay-content span {
        font-size: 16px;
        font-weight: 600;
    }

.project-info {
    padding: 25px;
}

.project-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.project-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-link {
    color: #122d3d;
    font-weight: 600;
    font-size: 14px;
}

    .project-link i {
        margin-left: 5px;
        transition: margin 0.3s;
    }

.project-card:hover .project-link i {
    margin-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }

    .section-main-title {
        font-size: 24px;
    }

    .project-detail-container {
        padding: 20px 15px;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .share-btn {
        min-width: 45%;
    }

    .main-image-wrapper {
        margin-bottom: 20px;
    }

    .project-description,
    .thumbnail-gallery-section,
    .video-section,
    .location-section {
        padding: 20px;
    }
}
