/*
Theme Name: Kendrick-Kamau Negasi
Theme URI: https://kamaunegasi.me
Author: Kamau Negasi
Author URI: https://kamaunegasi.me
Description: Minimalist corporate landing page with green accent
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kamaunegasi
*/

/* ==================== */
/* CSS Variables        */
/* ==================== */

:root {
    --color-bg: #000000;
    --color-text: #ffffff;
    --color-accent: #10b981;
    --color-text-muted: #6b7280;
    --color-border: #1f2937;
    
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    --font-mono: 'Courier New', monospace;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --transition: all 0.3s ease;
}

/* ==================== */
/* Reset & Base         */
/* ==================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* ==================== */
/* Typography           */
/* ==================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
}

p {
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* ==================== */
/* Layout               */
/* ==================== */

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

/* ==================== */
/* Logo                 */
/* ==================== */

.logo {
    position: fixed;
    top: var(--spacing-md);
    left: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    z-index: 100;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--color-text);
    font-weight: 400;
}

/* ==================== */
/* Hero Section         */
/* ==================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 200;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(0.75rem, 2vw, 1rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 300;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== */
/* Section Titles       */
/* ==================== */

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 300;
    color: var(--color-accent);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* ==================== */
/* About Section        */
/* ==================== */

.about {
    background-color: var(--color-bg);
}

.about-content {
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    font-weight: 300;
}

/* ==================== */
/* Links Section        */
/* ==================== */

.links {
    padding: var(--spacing-xl) 0;
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 400px;
    margin: 0 auto;
}

.link-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--color-text);
    transition: var(--transition);
}

.link-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.link-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* ==================== */
/* Contact Section      */
/* ==================== */

.contact {
    padding: var(--spacing-xl) 0;
}

.contact-info {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.contact-info p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

.contact-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--color-accent);
    color: #000000;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ==================== */
/* Footer               */
/* ==================== */

.footer {
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

/* ==================== */
/* Animations           */
/* ==================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

.section-title {
    animation: fadeIn 0.8s ease-out;
}

/* ==================== */
/* Responsive           */
/* ==================== */

@media (max-width: 768px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .logo {
        top: var(--spacing-sm);
        left: var(--spacing-sm);
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .links-grid {
        max-width: 100%;
    }
    
    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .link-item {
        padding: var(--spacing-sm);
    }
}
