/*
Theme Name: Tiago Sá
Theme URI: http://tiagosa.pt
Author: tiagosa
Author URI: http://tiagosa.pt
Description: Tema desenvolvido para uso exclusivo de Tiago Sá
Version: V1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: tiagosa
Text Domain: tiagosa
*/

@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');


:root {
  --primary-white: #fff;
  --primary-black: #000;
  --primary-red: #891a20;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Lexend Deca", sans-serif;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.container {
  max-width: 1850px;
  margin: 0 auto;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.text-white {
  color: var(--primary-white);
}

.text-dark {
  color: var(--primary-black);
}

.text-red {
  color: var(--primary-red);
}

h1 {
  font-size: 100px;
  font-weight: normal;
  color: var(--primary-white);
  font-weight: 700;
  line-height: 125%;
}


h2 {
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

/* BUTTONS */

.primary-dark-button {
  background-color: var(--primary-black);
  color: var(--primary-white);
  padding: 20px 40px;
  font-size: 20px;
}

/* HEADER */

header {
  position: absolute;
  z-index: 1;
  padding: 20px 0;
  width: 100%;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-logo-link {
  max-width: 300px;
  display: block;
}

.custom-logo-link svg {
  width: 100%;
  height: fit-content;
}

.menu-top a {
  color: var(--primary-white);
  font-size: 18px;
  text-transform: uppercase;
}

.menu-top {
  display: flex;
  gap: 40px;
  align-items: center;
}

/* HERO */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.hero video {
  position: fixed;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero h1 {
  text-transform: uppercase;
}

.hero .container {
  height: 100%;
  margin: 100px auto;
}

.hero-content .wrapper {
  max-width: 1300px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}

.hero-service-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hero .service-item {
  background-color: transparent;
  padding: 10px 20px;
  border: 1px solid var(--primary-white);
  color: var(--primary-white);
  font-size: 18px;
  font-weight: 400;
}

/* ABOUT */

.about {
  padding: 100px 0;
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
}

.about p {
  font-size: 75px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}


/* PORTFOLIO */

.portfolio {
  padding: 100px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.portfolio-item {
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.portfolio-item figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.portfolio-item figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.portfolio-item h3 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover */
.portfolio-item:hover figure img {
  opacity: 0.4;
}

.portfolio-item:hover h3 {
  opacity: 1;
}


/* CONTACT */
.contact-section {
  background-color: var(--primary-white);
  padding: 100px 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.form-flex {
  display: flex;
  gap: 20px;
}

.form-flex .custom-input,
.custom-input input,
textarea {
  width: 100%;
}

textarea {
  resize: none;
  height: 400px;
}

.contact-form .custom-input:nth-of-type(3) {
  grid-area: 2 / 1 / 3 / 3;
}

.contact-form .custom-input:nth-of-type(4) {
  grid-area: 3 / 1 / 4 / 3;
}

.contact-form>input[type="submit"] {
  grid-area: 4 / 1 / 5 / 3;
}