/* --- Global Variables --- */
:root {
    --bg-main: #FFFFFF;
    --bg-alt: #F8F9FA;
    --text-dark: #111827;
    --text-light: #6B7280;
    --primary-blue: #0284C7; 
    --primary-dark: #0369A1;
    --border-color: #E5E7EB;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 100px 0; }
.bg-main { background-color: var(--bg-main); }
.bg-alt { background-color: var(--bg-alt); }

/* Utility & Protection */
.noselect { user-select: none; -webkit-user-select: none; }
img { pointer-events: none; } /* Stops image dragging */

/* --- Disclaimer Banner --- */
.josef-preview-banner {
    background: #0F172A;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    position: relative;
    z-index: 2000;
}

/* --- Header --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.logo span { color: var(--primary-blue); font-weight: 400; }
.desktop-nav a { text-decoration: none; color: var(--text-dark); font-weight: 500; margin: 0 1rem; }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.link-back { color: var(--text-light); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.link-back:hover { color: var(--text-dark); }
.btn-primary { background: var(--primary-blue); color: white; padding: 0.75rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; }

/* --- Hero Section & Watermark --- */
.hero { position: relative; padding: 100px 0; background: var(--bg-alt); overflow: hidden; }

/* THE WATERMARK */
.hero-watermark {
    position: absolute;
    inset: 0;
    opacity: 0.03; /* Extremely faint, clean overlay */
    background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, #000 40px, #000 80px);
    /* In a real scenario, you can replace the above line with an SVG of the word "Josef.dev" */
    pointer-events: none;
    z-index: 1;
}

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.badge { display: inline-block; background: rgba(2, 132, 199, 0.1); color: var(--primary-blue); padding: 0.5rem 1rem; border-radius: 50px; font-weight: 600; margin-bottom: 1.5rem; }
.hero-text h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.1; font-weight: 800; margin-bottom: 1.5rem; }
.hero-text p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; }
.hero-image img { width: 100%; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

/* --- Shared Titles --- */
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-title p { color: var(--text-light); }

/* --- Services --- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: var(--bg-main); border: 1px solid var(--border-color); padding: 2.5rem; border-radius: 12px; }
.service-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { margin-bottom: 1rem; }

/* --- Team --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.team-member { text-align: center; }
.member-img { height: 300px; background-size: cover; background-position: center; border-radius: 12px; margin-bottom: 1.5rem; }
.team-member p { color: var(--text-light); }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 1.5rem 0; }
.faq-item h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.faq-item p { color: var(--text-light); }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.contact-details p { margin-bottom: 0.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: white; padding: 2.5rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 1rem; border: 1px solid var(--border-color); border-radius: 8px; font-family: inherit; }

/* --- Footer --- */
footer { background: #0F172A; color: white; padding: 60px 0; text-align: center; }
.text-footer p { margin-bottom: 0.5rem; color: #E2E8F0; }
.text-footer .legal-text { color: #64748B; font-size: 0.85rem; margin-top: 2rem; }

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .hero-grid, .contact-grid { grid-template-columns: 1fr; }
    .desktop-nav { display: none; }
    .header-actions { flex-direction: column; align-items: flex-end; gap: 0.5rem; }
}