/* ======================================
   ORBITIE INTERACTIVE SITEMAP STYLES
   ====================================== */

.sitemap-main {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.sitemap-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(46, 125, 50, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(76, 175, 80, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.sitemap-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.sitemap-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.sitemap-logo h1 {
    font-size: 48px;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sitemap-logo h2 {
    font-size: 28px;
    color: #4CAF50;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Interactive Tree Structure */
.sitemap-tree {
    position: relative;
    margin: 60px 0;
}

/* Node Styles - Görseldeki yeşil kutular gibi */
.sitemap-node {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 10px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
    min-width: 180px;
    justify-content: flex-start;
}

.sitemap-node:hover {
    border-color: #66BB6A;
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.sitemap-node.sitemap-root {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-color: #66BB6A;
    color: white;
    font-weight: 700;
    font-size: 18px;
    min-width: 200px;
    justify-content: center;
}

.sitemap-node.sitemap-parent {
    border-color: #FF9800;
    color: #FF9800;
    font-weight: 600;
}

.sitemap-node.sitemap-parent:hover {
    border-color: #FFB74D;
    background: rgba(255, 152, 0, 0.1);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.sitemap-node.sitemap-child {
    border-color: #4CAF50;
    color: #4CAF50;
    font-size: 14px;
    min-width: 160px;
    padding: 12px 16px;
}

.sitemap-node.sitemap-single {
    border-color: #2196F3;
    color: #2196F3;
    font-weight: 600;
}

.sitemap-node.sitemap-single:hover {
    border-color: #42A5F5;
    background: rgba(33, 150, 243, 0.1);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.sitemap-node a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.sitemap-node span {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.sitemap-node i {
    font-size: 16px;
    opacity: 0.8;
    flex-shrink: 0;
}

/* Level Layout - Hiyerarşik yapı */
.sitemap-level-0 {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.sitemap-level-1 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.sitemap-level-2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.sitemap-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.sitemap-children {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
}

/* Bağlantı Çizgileri - Çok daha subtle ve arka planda */
.sitemap-level-0::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(76, 175, 80, 0.15) 20%, rgba(76, 175, 80, 0.15) 80%, transparent 100%);
    z-index: -1;
}

.sitemap-branch::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background: rgba(76, 175, 80, 0.15);
    z-index: -1;
}

.sitemap-parent::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background: rgba(76, 175, 80, 0.15);
    z-index: -1;
}

/* Product Grid */
.sitemap-products {
    background: rgba(10, 10, 10, 0.6);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(76, 175, 80, 0.2);
    backdrop-filter: blur(10px);
}

.sitemap-products h3 {
    color: #4CAF50;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sitemap-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.sitemap-product-item {
    background: rgba(76, 175, 80, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.sitemap-product-item:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.sitemap-product-item a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Blog Section */
.sitemap-blog {
    background: rgba(33, 150, 243, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(33, 150, 243, 0.2);
    backdrop-filter: blur(10px);
}

.sitemap-blog h3 {
    color: #2196F3;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sitemap-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.sitemap-blog-item {
    background: rgba(33, 150, 243, 0.05);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.sitemap-blog-item:hover {
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.sitemap-blog-item a {
    color: #2196F3;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sitemap-blog-date {
    font-size: 12px;
    opacity: 0.7;
    font-weight: normal;
}

/* Statistics */
.sitemap-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.sitemap-stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.sitemap-stat-item:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.sitemap-stat-item i {
    font-size: 20px;
    color: #4CAF50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sitemap-logo h1 {
        font-size: 36px;
    }
    
    .sitemap-logo h2 {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .sitemap-level-1,
    .sitemap-level-2 {
        flex-direction: column;
        align-items: center;
    }
    
    .sitemap-node {
        min-width: 200px;
        justify-content: center;
    }
    
    .sitemap-product-grid {
        grid-template-columns: 1fr;
    }
    
    .sitemap-blog-grid {
        grid-template-columns: 1fr;
    }
    
    .sitemap-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .sitemap-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .sitemap-main {
        padding: 40px 0;
    }
    
    .sitemap-node {
        min-width: 180px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .sitemap-logo h1 {
        font-size: 28px;
    }
    
    .sitemap-logo h2 {
        font-size: 16px;
    }
}

/* Animation Classes */
.sitemap-node.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interactive States */
.sitemap-node.active {
    border-color: #66BB6A;
    background: rgba(76, 175, 80, 0.2);
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.6);
}

.sitemap-children.show {
    animation: fadeInDown 0.4s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
