/* ========================================
   Polentus - Corporate Site
   ======================================== */

:root {
    --color-primary: #111827;
    --color-text: #374151;
    --color-text-light: #6b7280;
    --color-text-dark: #111827;
    --color-background: #ffffff;
    --color-background-alt: #f9fafb;
    --color-border: #e5e7eb;
    --color-accent: #2563eb;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07);
    --radius: 4px;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    color: var(--color-text-dark);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1rem; font-weight: 500; }

a {
    color: inherit;
    text-decoration: none;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: #1f2937;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--color-text);
}

.nav-links a:hover {
    color: var(--color-text-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-text-dark);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    background: var(--color-background);
}

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

.hero h1 {
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* About */
.about {
    padding: 80px 0;
    background: var(--color-background-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--color-text);
    margin-bottom: 16px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-item h3 {
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.detail-item p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

/* Portfolio */
.portfolio {
    padding: 80px 0;
    background: var(--color-background);
}

.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 8px;
}

.section-header p {
    color: var(--color-text-light);
}

.portfolio-grid {
    display: grid;
    gap: 24px;
}

.portfolio-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 48px;
}

.portfolio-empty {
    background: var(--color-background-alt);
}

.empty-state {
    text-align: center;
}

.empty-state p {
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.empty-state span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Contact */
.contact {
    padding: 80px 0;
    background: var(--color-background-alt);
    border-top: 1px solid var(--color-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-content h2 {
    margin-bottom: 16px;
}

.contact-content > p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.contact-email {
    font-size: 1rem;
    color: var(--color-text-dark);
    font-weight: 500;
}

.contact-email:hover {
    color: var(--color-accent);
}

.contact-form-wrapper {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px 12px;
    font-size: 0.9375rem;
    font-family: var(--font-family);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-background);
    color: var(--color-text-dark);
    transition: border-color 0.2s;
}

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

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

.form-group select {
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: white;
    display: block;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.25rem; }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-background);
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
}
