/*
Theme Name: Astudiolab WP
Theme URI: https://astudiolab.nl
Author: Aysula Yildiz
Author URI: https://astudiolab.nl
Description: Minimal theme wrapping the Astudiolab static site.
Version: 1.0
Text Domain: astudiolab-wp
*/
/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black:       #0a0a0a;
    --black-card:  #111111;
    --black-border:#1a1a1a;
    --white:       #f5f5f5;
    --white-dim:   #888888;

    /* ── Roze accent ── */
    --pink:        #f472b6;
    --pink-dim:    #ec4899;
    --pink-glow:   rgba(244, 114, 182, 0.12);
    --pink-border: rgba(244, 114, 182, 0.25);

    --font-sans:  'Inter', -apple-system, sans-serif;
    --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
    --max-w:      1200px;
    --radius:     8px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.page-header {
    margin-bottom: 2.5rem;
}

.page-title {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-body {
    color: var(--white-dim);
    font-size: 1rem;
    line-height: 1.75;
}

.page-body p {
    margin-bottom: 1.5rem;
}

.page-section {
    padding: 80px 0;
}

.page-section + .page-section {
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ============================================================
   SCROLL-ANIMATIES (via JS Intersection Observer)
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   NAVIGATIE
============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 0;
    border-bottom: 1px solid var(--black-border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.nav__logo {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--white);
}

.nav__logo span { color: var(--pink); }

.nav__links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav__links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--white-dim);
    transition: color 0.2s ease;
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--black) !important;
    background: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius);
    transition: background 0.2s ease !important;
}

.nav__cta:hover { background: var(--pink) !important; }

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

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Grid achtergrond */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

/* Roze glow rechts */
.hero::after {
    content: '';
    position: absolute;
    top: 15%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--pink-glow) 0%, transparent 65%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.08); }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__label {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--pink);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero__label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--pink);
}

.hero__title {
    font-size: clamp(36px, 4.8vw, 58px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.35s forwards;
}

.hero__title em {
    font-style: normal;
    color: var(--white-dim);
    font-weight: 300;
}

.hero__subtitle {
    font-size: 17px;
    color: var(--white-dim);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 440px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.5s forwards;
}

.hero__actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.65s forwards;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

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

.btn--primary:hover {
    background: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--pink-glow);
}

.btn--ghost {
    background: transparent;
    color: var(--white-dim);
    border: 1px solid var(--black-border);
}

.btn--ghost:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.2);
}

/* ============================================================
   TERMINAL
============================================================ */
.terminal-wrap {
    opacity: 0;
    animation: fadeUp 0.7s ease 0.4s forwards;
}

.terminal {
    background: #0d0d0d;
    border: 1px solid var(--black-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 24px 80px rgba(0, 0, 0, 0.7),
        0 0 60px var(--pink-glow);
}

.terminal__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    background: #161616;
    border-bottom: 1px solid var(--black-border);
}

.terminal__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal__dot--red    { background: #ff5f56; }
.terminal__dot--yellow { background: #ffbd2e; }
.terminal__dot--green  { background: #27c93f; }

.terminal__title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #444;
}

.terminal__body {
    padding: 22px 24px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 2;
    min-height: 260px;
}

.terminal__line { display: flex; align-items: flex-start; gap: 8px; }
.terminal__prompt { color: var(--pink); user-select: none; flex-shrink: 0; }
.terminal__cmd    { color: var(--white); }
.terminal__output { color: #666; padding-left: 4px; }
.terminal__output .hi  { color: var(--pink); }
.terminal__output .dim { color: #333; }
.terminal__output .ok  { color: #4ade80; }  /* groen alleen voor success */

/* Knipperende cursor */
.cursor {
    display: inline-block;
    width: 7px;
    height: 15px;
    background: var(--pink);
    vertical-align: text-bottom;
    border-radius: 1px;
    animation: blink 1.1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Terminal glow-flicker op de rand */
@keyframes termFlicker {
    0%, 98%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 24px 80px rgba(0,0,0,0.7), 0 0 60px var(--pink-glow); }
    99%            { box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 24px 80px rgba(0,0,0,0.7), 0 0 80px rgba(244,114,182,0.22); }
}

.terminal { animation: termFlicker 4s ease infinite; }

/* ============================================================
   SECTIE BASIS
============================================================ */
section { padding: 100px 0; }

.section__label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--pink);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 700;
    letter-spacing: -1.2px;
    line-height: 1.12;
    margin-bottom: 20px;
}

.section__subtitle {
    font-size: 17px;
    color: var(--white-dim);
    max-width: 560px;
    line-height: 1.75;
}

/* ============================================================
   OVER MIJ
============================================================ */
.about {
    background: var(--black-card);
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Foto placeholder / echte foto */
.about__photo {
    position: relative;
}

.about__photo-frame {
    width: 100%;
    aspect-ratio: 4/5;
    background: #161616;
    border: 1px solid var(--black-border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

/* Vervang de img src hieronder met jouw eigen foto */
.about__photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

/* Placeholder als er nog geen foto is */
.about__photo-frame .photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: #333;
}

.about__photo-frame .photo-placeholder span {
    font-size: 40px;
    opacity: 0.15;
}

/* Roze accent lijn links van de foto */
.about__photo::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -12px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--pink), transparent);
    border-radius: 2px;
}

/* Badge rechtsboven op foto */
.about__badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--black);
    border: 1px solid var(--black-border);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.5;
    color: var(--white-dim);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.about__badge strong {
    display: block;
    color: var(--pink);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 5px 12px;
    border: 1px solid var(--black-border);
    border-radius: 4px;
    color: var(--white-dim);
    background: var(--black);
    transition: border-color 0.2s, color 0.2s;
}

.tag:hover { border-color: var(--pink-border); color: var(--pink); }
.tag--active { border-color: var(--pink-border); color: var(--pink); }

/* ============================================================
   DIENSTEN
============================================================ */
.services__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 32px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--black-border);
    border: 1px solid var(--black-border);
    border-radius: 14px;
    overflow: hidden;
}

.service-card {
    background: var(--black);
    padding: 36px 30px;
    transition: background 0.2s ease;
}

.service-card:hover { background: #101010; }

.service-card__icon {
    font-size: 26px;
    margin-bottom: 20px;
    display: block;
}

.service-card__title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.service-card__desc {
    font-size: 14px;
    color: var(--white-dim);
    line-height: 1.7;
}

.service-card__list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__list li {
    font-size: 13px;
    color: #555;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card__list li::before {
    content: '→';
    color: var(--pink);
    font-size: 11px;
}

/* ============================================================
   PRODUCTEN
============================================================ */
.products {
    background: var(--black-card);
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
}

.products__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.product-card {
    background: var(--black);
    border: 1px solid var(--black-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
    border-color: var(--pink-border);
    transform: translateY(-4px);
}

.product-card__thumb {
    width: 100%;
    aspect-ratio: 4/3;
    background: #161616;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #333;
    border-bottom: 1px solid var(--black-border);
    position: relative;
    overflow: hidden;
}

.product-card__thumb .thumb-icon { font-size: 32px; opacity: 0.2; }

/* Subtiele roze diagonale lijn in thumb */
.product-card__thumb::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, transparent 40%, var(--pink-glow) 100%);
}

.product-card__body { padding: 22px; }

.product-card__badge {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pink);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-card__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pink);
    opacity: 0.5;
}

.product-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.product-card__desc {
    font-size: 13px;
    color: var(--white-dim);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-card__price {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.product-card__price .original {
    font-size: 13px;
    color: #444;
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 400;
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--pink);
    text-transform: uppercase;
    z-index: 2;
}

/* ============================================================
   CONTACT
============================================================ */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-group label {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--white-dim);
    letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius);
    padding: 13px 16px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: border-color 0.2s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--pink-glow);
}

.form-group textarea    { min-height: 130px; resize: vertical; }
.form-group select option { background: #111; }

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

.contact__avail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(244, 114, 182, 0.05);
    border: 1px solid var(--pink-border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--pink);
    font-family: var(--font-mono);
}

.contact__avail::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink);
    flex-shrink: 0;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 var(--pink-glow); }
    50%       { opacity: 0.7; transform: scale(0.9); box-shadow: 0 0 0 4px transparent; }
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact__item-icon {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--pink);
    min-width: 28px;
    margin-top: 3px;
    background: rgba(244,114,182,0.08);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.contact__item-label {
    font-size: 11px;
    font-family: var(--font-mono);
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
}

.contact__item-value {
    font-size: 15px;
    color: var(--white);
    transition: color 0.2s;
}

.contact__item-value:hover { color: var(--pink); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
    padding: 36px 0;
    border-top: 1px solid var(--black-border);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer__logo {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--white-dim);
}

.footer__logo span { color: var(--pink); }
.footer__copy { font-size: 13px; color: #333; font-family: var(--font-mono); }

.footer__socials { display: flex; gap: 20px; }

.footer__socials a {
    font-size: 13px;
    font-family: var(--font-mono);
    color: #444;
    transition: color 0.2s ease;
}

.footer__socials a:hover { color: var(--pink); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
    .hero__inner,
    .about__inner,
    .contact__inner  { grid-template-columns: 1fr; gap: 48px; }

    .services__grid  { grid-template-columns: 1fr; }
    .products__grid  { grid-template-columns: 1fr 1fr; }
    .services__header,
    .products__header { flex-direction: column; align-items: flex-start; }

    .about__photo { max-width: 340px; }
    .about__badge { bottom: -12px; right: -8px; }

    .nav__links { display: none; }
    .nav__toggle { display: flex; }

    .nav__links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--black);
        align-items: center;
        justify-content: center;
        gap: 36px;
        z-index: 99;
    }

    .nav__links.open a { font-size: 22px; color: var(--white); }
}

@media (max-width: 640px) {
    .products__grid { grid-template-columns: 1fr; }
    .footer__inner  { flex-direction: column; align-items: flex-start; gap: 16px; }
}
