/* ============================================
   Fatec Taquaritinga - Terminal Style Landing
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-page: #e9e3d8;
    --bg-window: #f7f4ee;
    --bg-badge: #efe9dd;
    --bg-card: #eee7dc;
    --text-dark: #2b2622;
    --text-body: #4a453f;
    --text-muted: #8a8378;
    --accent-red: #c1503f;
    --accent-red-dark: #ac4636;
    --accent-gold: #d99a3d;
    --accent-green: #6f9b5e;
    --border-soft: #e0d8c8;
    --border-softer: #ece5d7;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: var(--bg-page);
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 1800px;
    display: flex;
    justify-content: center;
}

.center-content {
    width: 100%;
    background: var(--bg-window);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(43, 38, 34, 0.08);
    overflow: hidden;
    border: 1px solid var(--border-soft);
}

/* ============ HEADER ============ */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 40px;
    border-bottom: 1px solid var(--border-softer);
    position: relative;
}

/* traffic light dots, via ::before on header */
.header .dots::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0685a;
    box-shadow: 20px 0 0 #e3ab4f, 40px 0 0 #7fb571;
}

.header img {
    width: 0;
    height: 0;
}

.headle-title {
    margin: 0 auto;
    background: var(--bg-badge);
    border: 1px solid var(--border-soft);
    padding: 10px 24px;
    border-radius: 8px;
}

.headle-title label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.header-right-content {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    white-space: nowrap;
}

.header-right-content img {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    display: inline-block;
}

.header-right-content p {
    margin: 0;
}

/* ============ MAIN LAYOUT ============ */

.main {
    display: flex;
    align-items: stretch;
    padding: 60px;
    gap: 60px;
}

.principal {
    width: 100%;
    display: flex;
    align-items: stretch;
}

.main-left {
    flex: 1.15;
    display: flex;
    flex-direction: column;
}

.main-right {
    flex: 0.85;
    display: flex;
    align-items: center;
    border-left: 1px solid var(--border-softer);
    padding-left: 60px;
}

/* ============ TERMINAL TITLE BADGE ============ */

.terminal-title {
    margin-top: 10px;
}

.terminal-title label {
    display: block;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    color: var(--text-dark);
    align-items: start;
}

.terminal-title .user {
    color: var(--accent-gold);
    font-weight: 600;
}

.terminal-title .link {
    color: var(--accent-red);
    font-weight: 600;
}

.terminal-title label::before {
    content: "";
}

.main-left hr {
    border: none;
    height: 3px;
    background: var(--accent-red);
    width: 160px;
    margin: 10px 0 40px 0;
}

/* second hr, thinner segmented look under Bem-vindo */
.main-left hr+.welcome+hr {
    height: 3px;
    width: 180px;
    background: linear-gradient(to right, var(--accent-red) 0%, var(--accent-red) 65%, var(--accent-gold) 65%, var(--accent-gold) 85%, transparent 85%);
    margin: 24px 0 32px 0;
}

/* ============ WELCOME HEADING ============ */

.welcome {
    margin-top: -8px;
}

.welcome label {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 68px;
    line-height: 1.05;
    color: var(--text-dark);
}

/* ============ INFORMATION TEXT ============ */

.information {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
    max-width: 620px;
}

.information p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
}

/* ============ BUTTONS ============ */

.buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}

.buttons button {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    background: var(--accent-red);
    border: none;
    padding: 16px 28px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.buttons button:hover {
    background: var(--accent-red-dark);
    transform: translateY(-1px);
}

.buttons label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-body);
    background: transparent;
    border: 1px solid var(--border-soft);
    padding: 16px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.buttons label:hover {
    border-color: var(--accent-red);
    background: var(--bg-badge);
}

/* ============ FINAL PROMPT LINE ============ */

.text-final {
    margin-top: auto;
}

.text-final label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    color: var(--text-dark);
}

.text-final .user {
    color: var(--accent-gold);
    font-weight: 600;
}

.text-final .link,
.cmd {
    color: var(--accent-red);
    font-weight: 600;
}

.text-final label::after {
    content: "";
}

/* ============ RIGHT CARD ============ */

.main-right {
    width: 100%;
}

.right-center {
    width: 100%;
    background: var(--bg-card);
    border-radius: 18px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    text-align: center;
}

.top-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-content object {
    width: 100%;
    max-width: 380px;
    pointer-events: none;
}

/* Fallback text logo styling if object fails to load */
.top-content::after {
    content: "Fatec";
    display: none;
}

.bottom-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
}

.bottom-content p {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.bottom-content p:first-child {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}


.main-bottom {
  padding: 0 60px 60px 60px;
}

.projects-title {
  margin-bottom: 24px;
}

.projects-title label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(43, 38, 34, 0.1);
  border-color: var(--accent-red);
}

.card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
}

.status-dot.status-dev {
  background: var(--accent-gold);
}

.card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body);
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-badge);
  border: 1px solid var(--border-soft);
  padding: 4px 10px;
  border-radius: 6px;
}

.card-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-red);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: var(--accent-red-dark);
}

@media (max-width: 600px) {
  .main-bottom {
    padding: 0 24px 40px 24px;
  }
}


/* ============ RESPONSIVE ============ */

@media (max-width: 1100px) {
    .main {
        flex-direction: column;
        padding: 40px 30px;
    }

    .main-right {
        border-left: none;
        border-top: 1px solid var(--border-softer);
        padding-left: 0;
        padding-top: 40px;
        width: 100%;
    }

    .welcome label {
        font-size: 52px;
    }

    .header {
        padding: 18px 24px;
    }

    .header::before {
        left: 20px;
    }
}

@media (max-width: 600px) {
    .welcome label {
        font-size: 40px;
    }

    .dots {
        display: none;
    }

    .header-right-content {
        display: none;
    }

    .headle-title {
        margin: 0;
    }
}
