/*
Theme Name: 3D Printer Control Panel Theme
Theme URI: https://tomich.fun
Author: Tom Tomich
Author URI: https://tomich.fun
Description: Custom dark theme for 3D Printer Control Panel project website
Version: 1.0.0
License: Custom Non-Commercial License
Text Domain: 3dpc-theme
*/

/* ===== CSS VARIABLES - PROJECT COLORS ===== */
:root {
    --bg-gradient: linear-gradient(135deg, #0a1628 0%, #1a2942 50%, #0d1b2a 100%);
    --text-color: #e0e6ed;
    --card-bg: rgba(20, 35, 50, 0.5);
    --border-color: rgba(0, 255, 255, 0.1);
    --primary-color: #00d4ff;
    --success-color: #5dff8f;
    --warning-color: #ffd54f;
    --error-color: #ff6b6b;
    --text-secondary: #7ea8c8;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-color);
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 150, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(13, 27, 42, 0.6);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    text-decoration: none;
}

/* ===== NAVIGATION ===== */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--primary-color);
}

/* ===== CONTAINER ===== */
.container,
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 3em;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.hero .subtitle {
    font-size: 1.3em;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero .description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: rgba(0, 123, 255, 0.2);
    color: #4dabf7;
    border: 1px solid rgba(0, 123, 255, 0.5);
}

.btn-primary:hover {
    background: rgba(0, 123, 255, 0.3);
    border-color: rgba(0, 123, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.btn-success {
    background: rgba(40, 167, 69, 0.2);
    color: #5dff8f;
    border: 1px solid rgba(40, 167, 69, 0.5);
}

.btn-success:hover {
    background: rgba(40, 167, 69, 0.3);
    border-color: rgba(40, 167, 69, 0.7);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CARDS ===== */
.card {
    background: rgba(13, 27, 42, 0.6);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.card h2 {
    color: #00d4ff;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.card h3 {
    color: #00d4ff;
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-item {
    background: rgba(10, 22, 40, 0.7);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

.feature-item h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

/* ===== SCREENSHOTS ===== */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 27, 42, 0.9);
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.site-footer {
    background: rgba(13, 27, 42, 0.8);
    padding: 40px 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-top: 20px;
}

/* ===== WORDPRESS CONTENT ===== */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0 20px 30px;
    line-height: 2;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.entry-content a:hover {
    color: var(--success-color);
}

.entry-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--success-color);
}

.entry-content pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border-left: 3px solid var(--primary-color);
}

/* ===== RESPONSIVE ===== */
/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
        z-index: 1000;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 255, 255, 0.2);
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-navigation a {
        display: block;
        padding: 12px 15px;
        background: rgba(0, 212, 255, 0.05);
        border-radius: 6px;
        text-align: center;
    }
    
    .header-content {
        position: relative;
    }
    
    .site-title {
        font-size: 1em !important;
        line-height: 1.2;
    }
    
    .site-logo img {
        height: 40px !important;
    }

    .features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}







