/* --- VARIABLES & RESET --- */
:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --accent: #000000;
    --gray: #f4f4f4;
    --border: 2px solid #1a1a1a;
    --font-main: 'Courier Prime', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- NAVIGATION --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 25px 0; border-bottom: var(--border);
}

.logo { font-weight: 700; font-size: 1.5rem; letter-spacing: -1px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 1rem; position: relative; }
.nav-links a:hover::after {
    content: ''; position: absolute; left: 0; bottom: -5px;
    width: 100%; height: 2px; background: var(--text);
}

/* --- HERO & TOOL --- */
.hero { padding: 80px 0; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 10px; font-weight: 700; }
.hero p { font-size: 1.2rem; color: #555; margin-bottom: 50px; }

/* The Converter Box */
.converter-box {
    border: var(--border); background: var(--gray);
    padding: 40px; max-width: 700px; margin: 0 auto;
    box-shadow: 8px 8px 0px rgba(0,0,0,1); /* Hard shadow */
}

.drop-zone {
    border: 2px dashed #999; background: #fff;
    padding: 40px; cursor: pointer; transition: 0.3s;
    text-align: center; margin-bottom: 20px;
}
.drop-zone:hover { border-color: var(--accent); background: #fafafa; }
.drop-zone-text { font-size: 1.1rem; color: #666; }
input[type="file"] { display: none; }

/* Preview Thumbs */
#preview-area {
    display: flex; flex-wrap: wrap; gap: 10px; 
    justify-content: center; margin-bottom: 20px;
}
.thumb {
    width: 70px; height: 70px; object-fit: cover; 
    border: 1px solid #ccc; background: #fff; padding: 3px;
}

.btn-convert {
    background: var(--accent); color: #fff; border: none;
    padding: 15px 40px; font-size: 1.1rem; cursor: pointer;
    font-family: var(--font-main); width: 100%;
    transition: 0.2s;
}
.btn-convert:hover { background: #333; }

/* --- BLOG SECTION --- */
.section-title { font-size: 2rem; margin-bottom: 30px; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.blog-section { padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }

.blog-card { border: 1px solid #ddd; padding: 20px; transition: 0.2s; }
.blog-card:hover { border-color: #000; box-shadow: 4px 4px 0px #000; }
.blog-date { font-size: 0.8rem; color: #888; margin-bottom: 10px; display: block; }
.blog-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.read-link { text-decoration: underline; font-weight: 700; font-size: 0.9rem; }

/* --- FOOTER --- */
footer { background: #111; color: #fff; padding: 50px 0; margin-top: 50px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-col h4 { border-bottom: 1px solid #444; padding-bottom: 10px; margin-bottom: 15px; }
.footer-col a { display: block; color: #aaa; margin-bottom: 8px; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.copyright { text-align: center; margin-top: 40px; font-size: 0.8rem; color: #555; }
