/* ===========================
   ESC Homelab - Professional Styling
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --neutral-dark: #1f2937;
    --neutral-light: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: url('../images/thepasture.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
nav-menu a.active {
    color: #ffffff;
    border-bottom-color: var(--primary-color);
}

/* ===========================
   Hero Section
   =========================== */

.site-header {
    background: rgba(0, 0, 0, 0.45);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand a {
    color: white;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
}

.page-select {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 0.95rem;
}

.page-select label {
    white-space: nowrap;
}

.page-select select {
    min-width: 240px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: #d2b48c;
    color: #1f2937;
    padding: 0.85rem 1rem;
    outline: none;
    transition: var(--transition);
}

.page-select select:hover,
.page-select select:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background: #c0a07d;
}

.hero {
    color: white;
    padding: 220px 20px 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.subdomain-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 2rem;
}

.subdomain-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background-color: #7c3aed;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.2);
    border: 2px solid rgba(124, 58, 237, 0.8);
    min-width: 200px;
}

.subdomain-btn:hover {
    background-color: #5b21b6;
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(124, 58, 237, 0.25);
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Buttons
   =color: white;
    padding: 200px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}



/* ===========================
   Page Header
   =========================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ===========================
   Content Section
   =========================== */

.content {
    padding: 60px 20px;
    min-height: 500px;
}

/* ===========================
   Projects Grid
   =========================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.project-header h3 {
    font-size: 1.3rem;
    flex: 1;
}

.project-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

.project-description {
    color: var(--text-secondary);
    margin: 1rem 0;
}

.project-date {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* ===========================
   Status Section
   =========================== */

.status-overview {
    margin-bottom: 3rem;
}

.status-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
}

.featured-projects,
.content {
    padding: 40px 20px;
}

.btn {
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* ===========================
   Arcane Theatre Page
   =========================== */

.page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(62, 98, 72, 0.95), transparent 25%), radial-gradient(circle at 50% 30%, rgba(138, 196, 130, 0.16), transparent 22%), #09170f;
}

.page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(190, 255, 182, 0.08), transparent 18%);
    pointer-events: none;
}

.spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 15%, rgba(183, 248, 186, 0.14), transparent 16%), radial-gradient(circle at 50% 55%, rgba(132, 204, 22, 0.08), transparent 22%);
    pointer-events: none;
}

.floor-glow {
    position: absolute;
    inset: auto 0 5rem;
    height: 35vh;
    background: radial-gradient(circle at 50% 0%, rgba(121, 255, 183, 0.22), transparent 35%);
    filter: blur(1rem);
    pointer-events: none;
    z-index: 0;
}

.hero-card {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 3rem 2.5rem;
    border-radius: 28px;
    border: 1px solid rgba(107, 176, 112, 0.22);
    background: rgba(13, 25, 17, 0.94);
    box-shadow: 0 30px 80px rgba(11, 22, 14, 0.45);
    text-align: center;
    backdrop-filter: blur(16px);
}

.hero-card .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(165, 243, 163, 0.16);
    color: #d9ffe5;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-card h1 {
    font-size: clamp(2.75rem, 4vw, 4.5rem);
    margin: 1rem 0;
    color: #e7ffea;
    text-shadow: 0 0 20px rgba(122, 190, 129, 0.4);
}

.hero-card p {
    margin: 0 auto;
    max-width: 28rem;
    color: rgba(205, 241, 208, 0.92);
    font-size: 1.05rem;
    line-height: 1.75;
}

.center-button {
    display: inline-flex;
    margin: 2rem auto 0;
    padding: 1rem 2.25rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #9ce99a, #2a6c3e);
    color: #07100a;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 20px 40px rgba(46, 97, 57, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.center-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 46px rgba(46, 97, 57, 0.46);
    filter: brightness(1.05);
}
/* ===========================
   Information Page
   =========================== */

.info-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.info-page::before {
    content: none;
}

.info-notepad {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    min-height: 520px;
    padding: 2.5rem;
    border-radius: 28px;
    background: rgba(12, 28, 58, 0.96);
    border: 1px solid rgba(116, 156, 230, 0.22);
    box-shadow: 0 30px 80px rgba(7, 19, 49, 0.55);
}

.info-notepad::before {
    content: '';
    position: absolute;
    inset: 1.5rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.info-notepad h2 {
    margin: 0 0 1rem;
    color: #cfe5ff;
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
}

.info-notepad .placeholder-text {
    margin-top: 1.5rem;
    color: rgba(223, 236, 255, 0.48);
    font-size: 1rem;
    line-height: 1.8;
}
