/* =====================================================
   DETAY SAYFALARI CSS (Kurum & Hisse)
   Rehabis.tr - Profesyonel Kurumsal Tema
===================================================== */

/* ==================== HERO SECTION ==================== */
.detail-hero {
    background: linear-gradient(135deg, #0d9488, #06b6d4);
    padding: 2rem 0;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.hero-breadcrumb a:hover {
    color: #fff;
}

.hero-breadcrumb i {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
}

.hero-breadcrumb span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==================== DETAIL SECTION ==================== */
.detail-section {
    padding: 3rem 0 5rem;
    background: #f8fafc;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

/* ==================== DETAIL MAIN ==================== */
.detail-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-header {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hisse-percentage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.percentage-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d9488, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}

.hisse-percentage span {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #64748b;
}

.detail-meta i {
    color: #0d9488;
}

/* ==================== GALLERY ==================== */
.detail-gallery {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.gallery-main {
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.gallery-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    opacity: 1;
    border-color: #0d9488;
}

/* ==================== DETAIL CONTENT ==================== */
.detail-content {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.detail-content h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.detail-content h2 i {
    color: #0d9488;
}

.content-text {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
}

/* ==================== HISSE INFO GRID ==================== */
.hisse-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hisse-info-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.hisse-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.1);
    border-color: #0d9488;
}

.hisse-info-card .info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hisse-info-card .info-icon i {
    color: #0d9488;
    font-size: 1.25rem;
}

.hisse-info-card .info-content {
    flex: 1;
}

.hisse-info-card .info-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.hisse-info-card .info-big {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

/* ==================== KURUM BİLGİLERİ GRID ==================== */
.kurum-bilgileri-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.bilgi-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
}

.bilgi-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.bilgi-value {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 600;
}

/* ==================== FEATURES ==================== */
.detail-features {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.detail-features h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.detail-features h2 i {
    color: #0d9488;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-radius: 10px;
}

.feature-item i {
    color: #0d9488;
    font-size: 0.9rem;
}

.feature-item span {
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==================== INFO BOX ==================== */
.detail-info-box {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border: 1px solid #99f6e4;
}

.detail-info-box > i {
    width: 50px;
    height: 50px;
    background: #0d9488;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.detail-info-box h4 {
    font-size: 0.9rem;
    color: #0d9488;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.detail-info-box p {
    color: #334155;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* ==================== SIDEBAR ==================== */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

/* ==================== PRICE CARD ==================== */
.price-card {
    text-align: center;
    background: linear-gradient(135deg, #0d9488, #06b6d4);
    border: none;
}

.price-label {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.price-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.price-value {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.btn-contact-full {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #0d9488;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-contact-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ==================== INFO CARD ==================== */
.info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.info-card h3 i {
    color: #0d9488;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item .info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.info-item .info-label i {
    color: #94a3b8;
    font-size: 0.85rem;
}

.info-item .info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

/* ==================== SHARE CARD ==================== */
.share-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.share-card h3 i {
    color: #0d9488;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.btn-share {
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
}

.btn-share.whatsapp {
    background: #25D366;
}

.btn-share.facebook {
    background: #1877F2;
}

.btn-share.twitter {
    background: #1DA1F2;
}

.btn-share.linkedin {
    background: #0A66C2;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==================== SWAL CUSTOM ==================== */
.contact-form-popup {
    border-radius: 20px !important;
}

.swal-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
}

.swal-form .swal2-input,
.swal-form .swal2-textarea {
    margin: 0 !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    font-size: 0.95rem !important;
}

.swal-form .swal2-input:focus,
.swal-form .swal2-textarea:focus {
    border-color: #0d9488 !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1) !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .detail-grid {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        position: static;
    }
    
    .hisse-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .detail-section {
        padding: 2rem 0;
    }
    
    .detail-header {
        padding: 1.5rem;
    }
    
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .detail-title {
        font-size: 1.4rem;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .gallery-main img {
        height: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .kurum-bilgileri-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
    
    .price-value {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .detail-content,
    .detail-features,
    .sidebar-card {
        padding: 1.25rem;
    }
    
    .percentage-circle {
        width: 70px;
        height: 70px;
        font-size: 1.25rem;
    }
}
