/*
TON SEKTOR - Custom Minimalist Business Card Style - Dark Mode (Single Display Fix)
*/

/* Reset and base styles - Dark Mode */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #1a1a1a;
    margin: 0;
    padding: 0;
}

/* Hide blog elements */
.wp-block-query,
.wp-block-post-template,
.wp-block-query-pagination,
.entry-meta,
.post-navigation,
.comments-area,
.sidebar {
    display: none !important;
}

/* HIDE ALL SITE TITLE BLOCKS - This will remove all TON SEKTOR instances */
.wp-block-site-title {
    display: none !important;
}

/* Main container styling */
.wp-site-blocks {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Add TON SEKTOR manually at the beginning of content */
.wp-site-blocks::before {
    content: "TON SEKTOR";
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem 0;
    text-align: center;
    color: #ffffff;
    display: block;
}

/* Tagline/subtitle */
.wp-block-site-tagline {
    font-size: 1.2rem;
    font-weight: 400;
    color: #b0b0b0;
    text-align: center;
    margin: 0 0 4rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Section styling */
.tonsektor-section {
    margin: 3rem 0;
    text-align: center;
}

.tonsektor-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.02em;
}

.tonsektor-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #c0c0c0;
    max-width: 600px;
    margin: 0 auto 1rem auto;
}

/* Portfolio/Credits styling */
.tonsektor-credits {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.tonsektor-credits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #404040;
    font-size: 1rem;
    color: #d0d0d0;
}

.tonsektor-credits li:last-child {
    border-bottom: none;
}

/* Services list */
.tonsektor-services {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.tonsektor-services li {
    padding: 0.8rem 0;
    font-size: 1rem;
    color: #c0c0c0;
    position: relative;
}

.tonsektor-services li:before {
    content: "•";
    color: #808080;
    margin-right: 1rem;
}

/* Contact section */
.tonsektor-contact {
    background: #2d2d2d;
    padding: 2rem;
    margin: 3rem -2rem 0 -2rem;
    border-radius: 8px;
    border: 1px solid #404040;
}

.tonsektor-contact h2 {
    color: #ffffff;
}

.tonsektor-contact p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #d0d0d0;
}

.tonsektor-contact a {
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px solid #606060;
    transition: border-color 0.3s ease;
}

.tonsektor-contact a:hover {
    border-bottom-color: #ffffff;
    color: #ffffff;
}

/* Navigation - minimal */
.wp-block-navigation {
    display: none;
}

/* Footer minimal */
.wp-block-template-part {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #404040;
    text-align: center;
    font-size: 0.9rem;
    color: #808080;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .wp-site-blocks {
        padding: 40px 20px;
    }
    
    .wp-site-blocks::before {
        font-size: 2.5rem;
    }
    
    .wp-block-site-tagline {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .tonsektor-contact {
        margin-left: -20px;
        margin-right: -20px;
    }
}

@media (max-width: 480px) {
    .wp-site-blocks::before {
        font-size: 2rem;
    }
    
    .tonsektor-section h2 {
        font-size: 1.3rem;
    }
}

/* Print styles for business card effect */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .wp-site-blocks {
        max-width: none;
        padding: 20px;
    }
    
    .wp-site-blocks::before {
        color: black;
    }
    
    .tonsektor-section h2 {
        color: black;
    }
    
    .tonsektor-section p {
        color: #333;
    }
    
    .tonsektor-contact {
        background: #f9f9f9;
        border: 1px solid #ddd;
    }
}

/* Dark mode specific enhancements */
::selection {
    background: #404040;
    color: #ffffff;
}

::-moz-selection {
    background: #404040;
    color: #ffffff;
}

/* Ensure WordPress blocks inherit dark theme */
.wp-block-group {
    color: inherit;
}

.wp-block-heading {
    color: inherit;
}

.wp-block-paragraph {
    color: inherit;
}

.wp-block-list {
    color: inherit;
}
