/*
Theme Name: Jis.to Personal Portfolio & Blog
Theme URI: https://jis.to
Description: A clean, high-performance personal blog and product showcase theme.
Version: 1.0.0
Author: Jis Johnson
Text Domain: jis-to
*/

:root {
    --primary-color: #0f172a; 
    --secondary-color: #0ea5e9; 
    --accent-gradient: linear-gradient(135deg, #0ea5e9, #3b82f6);
    --text-dark: #334155;
    --text-muted: #64748b;
    --bg-light: #ffffff;
    --border-color: #cbd5e1;
}

* { box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.site-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 2px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-grid { display: flex; justify-content: space-between; align-items: center; }
.site-branding h1 { font-size: 1.5rem; margin: 0; color: var(--primary-color); }
.site-branding p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* Custom Logo Sizing Fix */
.site-branding img.custom-logo { 
    max-height: 60px; 
    width: auto; 
    max-width: 100%; 
    object-fit: contain; 
}

.site-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; align-items: center; }
.site-navigation a { text-decoration: none; color: var(--text-dark); font-weight: 600; transition: color 0.3s ease; }
.site-navigation a:hover { color: var(--secondary-color); }

/* Main Layout */
.main-content-area { display: flex; flex-direction: column; gap: 40px; margin: 40px auto; }
.content-primary { flex: 1; min-width: 0; }

/* Grid for Products/Showcase */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.product-card { background: #ffffff; padding: 25px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #ffffff;
    padding: 40px 0 20px 0;
    margin-top: 60px;
    text-align: center;
}
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #ffffff; }

@media (max-width: 992px) {
    .site-container { padding: 0 20px; }
}
@media (max-width: 768px) {
    .site-navigation { display: none; } /* Add your mobile menu toggle logic here */
}