/* İlan detay sayfası stilleri */
body {
    background: var(--background-color);
    min-height: 100vh;
}

/* Fotoğraf galerisi stilleri */
.photo-gallery {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.main-photo {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background: #f8f9fa;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Filigran stili */
.main-photo::before {
    content: "PlakamOlsun.com";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 2.5rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.05);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

.thumbnail-container {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.thumbnails::-webkit-scrollbar {
    height: 6px;
}

.thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.thumbnails::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail:hover {
    transform: translateY(-2px);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Detay kartı stilleri */
.card {
    border-radius: var(--border-radius);
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
}

.text-primary {
    font-weight: 600;
    color: var(--primary-color) !important;
}

/* Bilgi grupları */
.info-group {
    background: var(--background-color);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
}

.info-group h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-group p {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Favori buton stilleri */
.btn-outline-primary {
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background: #0069d9;
}

.fas.fa-heart {
    color: var(--accent-color);
}

/* Açıklama kartı */
.description-card {
    margin-top: 1.5rem;
}

.description-card .card-text {
    line-height: 1.6;
    color: var(--secondary-color);
}

/* Gezinme butonları */
.photo-nav {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.photo-nav.prev {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.05), transparent);
}

.photo-nav.next {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.05), transparent);
}

.photo-nav:hover {
    opacity: 1;
}

.photo-nav i {
    color: var(--secondary-color);
    font-size: 1.75rem;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .main-photo {
        height: 350px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .info-group {
        padding: 1rem;
    }
}

/* Ana container */
.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 3 Bölümlü layout */
.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 300px;
    gap: 20px;
    margin-top: 20px;
    align-items: start;
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .detail-grid > div:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-grid > div:last-child {
        grid-column: span 1;
    }
} 