/* Grundinställningar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-white: #ffffff;
    --bg-light: #f5f5f7;
    --text-main: #333333;       /* Uppdaterad till grafitgrå */
    --text-muted: #86868b;
    --primary-green: #76B900;   /* Nvidia-grön */
    --brand-dark: #333333; /* Samma grafitgrå som din logotyp */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    background: var(--bg-white);
    line-height: 1.5;
}

/* Header & Nav */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #d2d2d7;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-connect {
    background: var(--primary-green); /* Uppdaterad till grön */
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Hero med bild i full bredd */
.hero {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px;
}

.hero-text {
    margin-bottom: 30px;

    text-align: center; /* Detta centrerar rubrik, p-tagg och knappen */

}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-main);
}

/* OakSeed i rubriken blir grön */
h1 span {
    color: var(--primary-green);
}

.hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Explorer Lab Notes knapp */
.btn-explore {
    background: var(--primary-green);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    font-weight: 600;
}

/* Grid */
.section-title {
    padding: 40px 40px 10px 40px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 40px 40px 40px;
}

.card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #d2d2d7;
}

h2 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #d2d2d7;
    color: #86868b;
    font-size: 0.8rem;
}

.oakseed-brand {
    color: var(--primary-green);
}

/* --- Hero Section - Styling för logotyp --- */
.hero-logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* Footer - Avslut och balans */
footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #d2d2d7;
    background: var(--brand-dark); /* En mörk grå ton som markerar slutet */
    color: var(--text-muted);    /* Lite dämpad text för att inte ta fokus */
    font-size: 0.8rem;
    margin-top: 40px;            /* Skapar avstånd från innehållet ovanför */
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.social-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}











/* --- Lab Notes / Blog Layout Styles --- */

.lab-notes-main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.back-nav {
    margin-bottom: 20px;
}

.btn-back {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #000;
}

.page-header-section {
    margin-bottom: 40px;
    text-align: left;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.5;
}

.notes-feed {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.note-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #eaeaea;
}

.note-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.note-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 15px;
}

.note-text {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.note-image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.note-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}


.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #eaeaea;
    background: #fff;
}
