/* Importing the fonts used in the sava.py design */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Inter:wght@300;400;600&display=swap');

/* Color Palette Variables from the screenshot */
:root {
    --bg-dark: #090a0f;       /* Deep dark background */
    --bg-card: #10121a;       /* Slightly lighter dark for cards */
    --border-color: #1e2230;  /* Subtle card borders */
    --accent-purple: #5c54ff; /* The electric purple/blue color */
    --text-bright: #ffffff;   /* Pure white for headers */
    --text-muted: #626875;    /* Gray for descriptions */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-bright);
    font-family: 'Inter', sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px 20px; /* Adjusted padding to look better with the header */
}

/* ==========================================================================
   NAVIGATION HEADER BAR STYLES (Fixed to align links horizontally)
   ========================================================================== */

.main-header {
    display: flex;
    justify-content: space-between; /* Pushes logo left, menu middle, button right */
    align-items: center;            /* Centers them perfectly from top to bottom */
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color); /* Subtle divider line underneath */
    margin-bottom: 50px;
}

/* Logo "sava.py" style */
.logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-bright);
    letter-spacing: -0.5px;
}
.meet-team {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-muted);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-purple); /* Makes 'ML' stand out in electric purple */
}

/* Forces middle menu links into a clean horizontal line */
.nav-links {
    display: flex;
    gap: 32px; /* Adds space between each link item */
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted); /* Modern gray font from screenshot */
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;    /* Removes the default browser underline */
    transition: color 0.2s ease;
}

/* Lights up white when you hover over links */
.nav-links a:hover {
    color: var(--text-bright);
}

/* Right-side purple sign_in button style */
.btn-signin {
    font-family: 'JetBrains Mono', monospace;
    background-color: var(--accent-purple);
    color: var(--text-bright) !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none; /* Removes underline from button text */
    transition: opacity 0.2s ease;
}

.btn-signin:hover {
    opacity: 0.9;
}

/* ==========================================================================
   PAGE CONTENT STYLES
   ========================================================================== */

/* Big Headline Style */
h1 {
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

/* To get that cool purple italicized look on specific words */
h1 em {
    font-style: italic;
    color: var(--accent-purple);
    font-weight: 400;
}

.subtitle {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 50px;
}

/* Responsive Grid for Team Cards */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Card design matching the stats boxes at the bottom of the screenshot */
.person {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px; /* Slightly sharper corners like the screenshot */
    padding: 30px;
    margin-bottom: 20px; /* Fallback spacer */
    transition: border-color 0.2s ease;
}

.person:hover {
    border-color: var(--accent-purple); /* Glow effect on hover */
}

/* Profile Names */
.person h2 {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    color: var(--text-bright);
    margin-top: 0;
    margin-bottom: 20px;
}

/* Making details look like clean code data */
.person p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-bright);
    margin: 12px 0;
    line-height: 1.5;
}

.person p strong {
    color: var(--text-muted);
    font-weight: normal;
}

/* Tech Skills List */
.person ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
}

.person li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    background: #171a26;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 6px;
    margin-bottom: 8px;
    color: var(--accent-purple);
    border: 1px solid var(--border-color);
}

/* The Bio box */
.bio {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-muted) !important;
    line-height: 1.6;
    border-left: 2px solid var(--accent-purple);
    padding-left: 15px;
    margin-top: 25px !important;
}

/* Highlight style specifically for Carina's card */
.person.target {
    border: 1px solid var(--accent-purple);
    box-shadow: 0 0 15px rgba(92, 84, 255, 0.1);
}

/* Container for the pill badge */
.badge-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    
    /* ADDED: Forces the badge to align to the left side */
    margin-right: auto;
    margin-left: 0;
}

.badge-wrapper {
    display: flex;
    justify-content: center; /* Centers the box on the page */
    align-items: center;
    width: 100%;
    margin-top: 24px;        /* Spacing below header */
    margin-bottom: 24px;
}

/* Centered alignment (Default for Home, Login, Signup) */
.badge-wrapper.badge-center {
    justify-content: center;
}

/* Left alignment (For Meet the Team) */
.badge-wrapper.badge-left {
    justify-content: flex-start;
}

/* The little glowing/bright dot on the left */
.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981; /* Green accent color */
    border-radius: 50%;
    flex-shrink: 0;           /* Prevents dot from squishing */
    /* Remove any position: absolute, top, or margin overrides here */
}

/* The badge text style */
.badge-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: lowercase; /* Forces everything to stay lowercase */
    letter-spacing: 0.5px;
    color: #a2a7f5; /* A softer, bright indigo-gray text color */
}