/*
Theme Name: Filipe Martins Theme
Author: Vânia Rodrigues
Description: Tema minimalista para Filipe Martins
Version: 1.0
*/

/* VARIABLES */

:root {
  --color-bg: #000;
  --color-text: #fff;
  --color-line: rgba(255,255,255,.12);
   --color-line-soft: rgba(255,255,255,.05);

  --opacity-muted: .65;
  --opacity-soft: .55;
  --opacity-faint: .45;
  --opacity-very-faint: .35;
  --opacity-body: .82;
  --opacity-secondary-body: .78;
  --opacity-extra: .86;

  --font-main: "Space Mono", monospace; 
	
 /*	--font-main: "Geist Mono", monospace; */
/*	--font-main: "Atkinson Hyperlegible", monospace; */
/*	--font-main: "Source Sans 3", monospace; */

  --site-padding-x: 48px;
  --header-height: 68px;
  --footer-height: 44px;

  --content-width: 1080px;
  --single-width: 1180px;
  --text-width: 680px;
  --extra-width: 760px;

  --transition-soft: .35s ease;
}

/* BASE */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 15px;
  overflow: hidden;
}



a {
  color: var(--color-text);
  text-decoration: none;
}


/* HOMEPAGE */

.home .site-header {
  display: none;
}

.home .site-main {
  top: 0;
  bottom: var(--footer-height);
  padding: 0;
  overflow: hidden;
}

.home-intro {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-intro-inner {
  transform: translateY(-22px);
}

.home-title {
  margin: 0 0 42px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.home-menu ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.home-menu a {
  font-size: 15px;
  letter-spacing: .8px;
}

/* HEADER / MENU */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: var(--color-bg);

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--site-padding-x);
}

.site-title {
  font-size: 20px;
  letter-spacing: 2px;
}

.site-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .8px;
  padding-bottom: 8px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
}

.site-nav .current-menu-item > a::after,
.site-nav .current-menu-parent > a::after,
.site-nav .current_page_item > a::after,
.site-nav .current_page_parent > a::after {
  width: 100%;
}

/* MAIN */

.site-main {
  position: fixed;
  top: 38px;
  bottom: var(--footer-height);
  left: 0;
  right: 0;
  overflow-y: auto;
  padding: 56px var(--site-padding-x);
  scrollbar-width: none;
}

.site-main::-webkit-scrollbar {
  display: none;
}

.page-title {
  font-size: 42px;
  letter-spacing: 8px;
  font-weight: normal;
  margin: 0 0 56px;
}

/* FOOTER */

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-height);
  z-index: 100;
  background: var(--color-bg);

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 var(--site-padding-x);
  font-size: 12px;
  opacity: .7;
}

.footer-right {
  display: flex;
  align-items: center;
}

/* LIGHTBOX GLOBAL */

.lightbox-image {
  cursor: zoom-in;
}

.site-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 48px;

  background: rgba(0, 0, 0, .96);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .25s ease,
    visibility .25s ease;
}

.site-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-lightbox-image {
  display: block;
  max-width: min(1200px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-lightbox-caption {
  display:none;	 
  max-width: 900px;
  margin: 20px 0 0;

  font-size: 12px;
  line-height: 1.6;
  text-align: center;

  color: rgba(255, 255, 255, .65);
}

.site-lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;

  width: 44px;
  height: 44px;

  border: 0;
  background: transparent;
  color: #fff;

  font-family: inherit;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
  opacity: .65;
}

.site-lightbox-close:hover,
.site-lightbox-close:focus-visible {
  opacity: 1;
}

body.lightbox-open {
  overflow: hidden;
}


/* SOBRE */

.about-page {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.about-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 620px);
  gap: 120px;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 0;
  align-self: start;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  filter:grayscale(100%);
	
}

.about-content {
  max-width: 620px;
}

.about-bio {
  font-size: 14px;
  line-height: 1.9;
  opacity: .82;
}

.about-bio p {
  margin: 0 0 22px;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 36px;
}

.about-cv-wrapper {
  margin-top: 24px;
}


.about-cv,
.about-toggle {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 1px;
}

.about-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  opacity: .7;
}

.about-cv {
  opacity: .7;
}

.about-toggle:hover,
.about-cv:hover {
  opacity: 1;
}

.about-bio-long {
  margin-top: 48px;
}

.about-extra {
  max-width: 760px;
  margin-top: 100px;
  font-size: 14px;
  line-height: 1.85;
}

.about-extra img {
  max-width: 100%;
  height: auto;
}


/* CONTACTO */

.contact-page {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
}

.contact-content {
  max-width: 820px;
}

.contact-list {
  width: 100%;
}

.contact-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;

  padding: 12px 0;

  border-bottom: 1px solid var(--color-line-soft);

  font-size: 13px;
  line-height: 1.7;
}



.contact-row:first-child {
    border-top: none;
}

.contact-label {
  color: rgba(255, 255, 255, .52);
}

.contact-row a {
  color: rgba(255, 255, 255, .82);
  overflow-wrap: anywhere;
  transition: color .25s ease;
}

.contact-row a:hover {
  color: var(--color-text);
}
