/* ============================================
   AHOJ DEV — CUSTOM STYLESHEET
   Performance-obsessed, typography-first design
   ============================================ */

/* ============================================
   CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   Bold, oversized, hierarchical
   ============================================ */
h1, h2, h3 {
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

.large-text {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.5;
    font-weight: 500;
}

/* ============================================
   COLOR PALETTE
   Brutalist, restrained, purposeful
   ============================================ */
:root {
    --color-primary: #FF3366;      /* Bold accent - used sparingly */
    --color-secondary: #0066FF;    /* Deep blue */
    --color-accent: #00FF00;       /* Sharp green accent */
    --color-dark: #000000;         /* True black */
    --color-light: #ffffff;
    --color-gray: #666666;
    --color-gray-light: #f5f5f5;
    --color-border: #000000;       /* Sharp black borders */
}

.highlight {
    color: var(--color-primary);
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HEADER & NAVIGATION
   Clean, minimal, out of the way
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--color-light);
    z-index: 1000;
    border-bottom: 3px solid var(--color-dark);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    text-decoration: none;
    letter-spacing: -0.01em;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--color-primary);
}

/* ============================================
   HERO SECTION
   Massive typography, bold statement
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: var(--color-light);
    border-bottom: 4px solid var(--color-dark);
}

.hero h1 {
    margin-bottom: 2rem;
    max-width: 1100px;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--color-gray);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* ============================================
   BUTTONS & CTAs
   Meaningful, not generic
   ============================================ */
.cta,
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.15s ease;
    border: 3px solid var(--color-dark);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta {
    background: var(--color-dark);
    color: var(--color-light);
}

.cta:hover {
    background: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn-primary {
    background: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn-primary:hover {
    background: var(--color-dark);
    color: var(--color-light);
}


/* ============================================
   ABOUT SECTION
   Editorial layout, asymmetric grid
   ============================================ */
.about {
    padding: 8rem 0;
    background: var(--color-dark);
    color: var(--color-light);
    border-bottom: 4px solid var(--color-accent);
}

.about h2 {
    color: var(--color-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-principles {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 0;
    border: 3px solid var(--color-light);
}

.about-principles h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.about-principles ul {
    list-style: none;
}

.about-principles li {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-principles li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.about-principles strong {
    display: block;
    color: var(--color-light);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

/* ============================================
   WORK/PRODUCTS SECTION
   Geometric precision, structured cards
   ============================================ */
.work {
    padding: 8rem 0;
    background: var(--color-gray-light);
    border-bottom: 4px solid var(--color-dark);
}

.work h2 {
    margin-bottom: 4rem;
}

.product-card {
    background: var(--color-light);
    padding: 4rem;
    border-radius: 0;
    border: 3px solid var(--color-dark);
    margin-bottom: 3rem;
}

.product-card.featured {
    border: 4px solid var(--color-dark);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-status {
    background: var(--color-dark);
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: 0;
    border: 2px solid var(--color-dark);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-card h3 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.product-tagline {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: var(--color-gray);
    margin-bottom: 2rem;
    font-weight: 500;
}

.product-details {
    margin: 2rem 0;
}

.product-features {
    list-style: none;
    margin-top: 2rem;
}

.product-features li {
    padding: 1rem 0 1rem 2.5rem;
    border-bottom: 1px solid var(--color-gray-light);
    position: relative;
    font-size: 1.0625rem;
}

.product-features li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--color-dark);
    font-weight: 700;
    font-size: 1rem;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-cta {
    margin-top: 3rem;
}

.future-products {
    text-align: center;
    padding: 3rem 0;
}

.future-note {
    font-size: 1.25rem;
    color: var(--color-gray);
    font-style: italic;
}

/* ============================================
   CONTACT SECTION
   Simple, direct, human
   ============================================ */
.contact {
    padding: 8rem 0;
    background: var(--color-light);
}

.contact h2 {
    margin-bottom: 3rem;
}

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

.email-link {
    display: inline-block;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-dark);
    text-decoration: none;
    margin-top: 2rem;
    border-bottom: 6px solid var(--color-dark);
    transition: all 0.15s ease;
    font-family: monospace;
}

.email-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}


/* ============================================
   FOOTER
   Essential only
   ============================================ */
footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--color-gray);
    font-size: 0.95rem;
}

footer nav {
    display: flex;
    gap: 2rem;
    padding: 0;
}

footer nav a {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

footer nav a:hover {
    color: var(--color-accent);
}

/* ============================================
   RESPONSIVE DESIGN
   Fluid, not breakpoint-heavy
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    nav ul {
        gap: 1.25rem;
    }

    nav a {
        font-size: 0.875rem;
    }

    .hero {
        padding: 6rem 0 3rem;
        min-height: 90vh;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-card {
        padding: 2.5rem 1.5rem;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    footer nav {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   ACCESSIBILITY
   Keyboard navigation & focus states
   ============================================ */
:focus-visible {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
/* Contain paint for better rendering */
.product-card,
.about-principles {
    contain: paint;
}

/* GPU acceleration for transforms */
.cta,
.btn-primary,
.email-link {
    will-change: transform;
}
