:root {
  --header-height: 136px;
}

@font-face { font-family: PPFraktionMono; src: url(../webfonts/PPFraktionMono_Medium.woff2); }
@font-face { font-family: Shapiro; src: url(../webfonts/Shapiro-35FeatherText.woff2); }
@font-face { font-family: MarathonShapiro; src: url(../webfonts/MarathonShapiro-Wide65.woff2); }

body {
  font-family: PPFraktionMono;
  display: flex;
  min-height: 100vh;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: #000;
  transition: all 0.15s ease-out;
}

a:hover {
  color: #4E5FFF !important;
   transition: all 0.15s ease-in;
}


img {
  width: 100%;
  height: auto;
}

.wrapper {
  width: 100%;
  max-width: calc(1140px + 32px + 32px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 32px;
  box-sizing: border-box;
  padding-top: var(--header-height);
}

/*HEADER*/

@keyframes shadow {
  to { box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.1);}
}

header {
  margin-bottom: 32px;
  position: fixed;
  background-color: #fff;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  animation: shadow linear;
  animation-timeline: scroll(); 
  animation-range: 0px 50px; 
  animation-fill-mode: both;
}

.header-home {
  background-color: transparent;
}


.header-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.navbar {
  box-sizing: border-box;
  display: inline-flex;
  width: 100%;
  padding-top:64px;
  padding-bottom:8px;
  align-items: center;
}

.navbar .logo {
  font-size: 20px;
  padding:8px 0;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left:auto;
  font-size: 20px;
}

.nav-links a {
    margin-left:32px;
}

.nav-links li {
  display: inline-block;
  padding:8px 0;
   transition: transform 0.2s ease-out;
}

.nav-links li:hover {
   transform: translateY(-4px);
}


/*FOOTER*/

footer {
  margin-top:auto;
}

.footer-content {
  display: inline-flex;
  width: 100%;
  padding-top:16px;
  padding-bottom:32px;
/*  border-top: 1px solid #575757;*/
  margin-top: 32px;
}

.copyright {
  color: #575757;
  font-size: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left:auto;
  font-size: 20px;
}


/*HOME*/

.main-slide {
  flex: 1;  
  display: flex;
  align-items: center;
  width: 100%;
}

.main-slide-content {
  width: 100%;
}

.main-slide-content div {
  margin-bottom: 16px;
}

.main-slide-intro {
  font-size: 64px;
  font-family: MarathonShapiro;
  letter-spacing: 2%;
}

.main-slide-name {
  font-size: 64px;
  /*color: #4E5FFF;*/
  color: #fff;
  font-family: MarathonShapiro;
  letter-spacing: 2%;
}

.main-slide-title {
  font-size: 32px;
  /* color: #575757;*/
  color: #fff;
  font-family: MarathonShapiro;
  letter-spacing: 2%;
}

.main-slide-buttons {
  margin: 32px 0;
  display: inline-flex;
   padding-inline-start: 0;
}

.main-slide-button {
  font-size: 32px;
  padding:6px 32px 10px 32px;
  color: #fff;
  background-color: #4E5FFF;
  margin-right: 32px;
  transition: transform 0.2s ease-out;
}

.main-slide-buttons li:hover {
   transform: translateY(-4px);
}


.video-background {
  position: fixed;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background-color: #333 ;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.home, .home a, .home .copyright {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/*PAGES*/

section {
  flex: 1;  
  display: flex;
  flex-direction: column;
  margin: 32px 0;
}

h1 {
  font-size: 64px;
  font-family: PPFraktionMono;
  font-family: MarathonShapiro;
  font-weight: normal;
  color: #4E5FFF;
  margin: 0;
  margin-bottom: 64px;
  line-height: 160%;
  letter-spacing: 10%;
}

h2 {
  font-size: 32px;
  font-family: PPFraktionMono;
  font-weight: normal;
  color: #4E5FFF;
  margin: 0;
  margin-bottom: 32px;
  line-height: 160%;
}

h3 {
  font-size: 16px;
  font-family: PPFraktionMono;
  font-weight: normal;
  color: #4E5FFF;
  margin: 0;
  margin-bottom: 16px;
  line-height: 160%;
}

ul {
  list-style: none;
}

.text-body {
  font-family: Shapiro;
  font-size: 16px;
  padding:0 16px;
  line-height: 160%;
}

.text-body p {
  margin: 16px 0;
}

.text-body p:first-child {
  margin-top:0;
}

.text-section {
  margin-bottom: 16px;
}

.columns {
  display: inline-flex;
/*  flex-wrap: wrap;*/
  gap:32px;
}

.col-60 {
  width: 60%;
}

.col-40 {
  width: 40%;
}

.padding {
  padding:16px
}

.about-image {
  overflow: hidden; 
  display: flex; 
  align-items: center;
}


/* EXTRAS */

.badge {
  font-family: PPFraktionMono;
  padding: 0px 8px;
  background-color: #4E5FFF;
  color: #fff;
  display: inline-flex;
  margin-right: 16px;
  margin-bottom: 8px;
}


/* PORTFOLIO */

.portfolio-section {
  width: 100%;
  margin-bottom: 96px;
}

.portfolio-section .col-40 {
    display: flex;
    align-items: flex-end;
}

.portfolio-section-tag {
  font-family: PPFraktionMono;
  color: #575757;
  font-size: 12px;
}

.gallery {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  width: 100%;
}

.gallery-group {
  display: inline-flex;
  overflow: hidden;
  width: 100%;
}

.gallery-single {
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 509 / 360;
  text-align: center;
}

.gallery-nav {
  position: absolute;
  display: inline-flex;
  width: 100%;
/*  background: linear-gradient(to top, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0));*/
}

.gallery-nav i{
  color: #4E5FFF;
  padding: 16px;
  font-size: 24px;
  cursor: pointer;
}

.gallery-indicator {
  display: inline-flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  padding: 16px;
  overflow: hidden;
}

.gallery-indicator span {
  width: 12px;
  height: 100%;
  padding: 0 8px;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
}

.gallery-indicator span::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: rgb(87 87 87 / 50%);
   mix-blend-mode: multiply;
}

.gallery-indicator .active::after{
 background-color: #4E5FFF !important;
  mix-blend-mode: normal;
}

.gallery-single img {
  aspect-ratio: 509 / 360;
  object-fit: contain;
  vertical-align: bottom;
}

.gallery-single video {
  width: 100%;
  aspect-ratio: 509 / 360;
  vertical-align: bottom;
}


.video-container {
  position: relative;
}

.video-overlay {
  position: absolute; 
  inset: 0; 
  display: flex;
  align-items: center; 
  justify-content: center; 
  cursor: pointer;
}

.play-btn {
  font-size: 32px;
  width: 72px; 
  height: 72px; 
  border-radius: 50%;
  background: #4E5FFF ; 
  color: #fff;
  border: none; 
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
}


/* CONTACT */

.contact {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  font-size: 18px;
}

.contact-row {
  margin: 8px 0;
  display: flex;
  align-items: center;
  text-align: left;
}

.contact i {
  padding: 8px;
  font-size: 24px;
  color:  #4E5FFF ;
  margin-right: 16px; 
}


/* HAMBURGER */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left:auto;
  padding: 8px 0;
  transition: all 0.15s ease-out;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #000; /* match your text color */
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger:hover span{
  transition: all 0.25s ease-in;
  background: #4E5FFF;;
}

.dropdown-menu {
    max-height: 0;
    font-size: 24px;
    transition: max-height .5s ease-out;
    overflow: hidden;
    background: #fff;
    z-index: 1000;
}


.dropdown-menu.open { 
    max-height: 100vh;
    transition: max-height .5s ease-in;
}

.dropdown-menu a {
  display: block;
  padding: 32px 32px;
  text-decoration: none;
}

.dropdown-menu a:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.dropdown-menu-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.dropdown-menu-links li {
   transition: transform 0.2s ease-out;
}

.dropdown-menu-links a:hover li{
   transform: translateY(-4px);
}

.home .hamburger span {
  background: #fff;
}

.home .dropdown-menu {
  background: transparent;
}

.dropdown-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  position: fixed;
  backdrop-filter: blur(0px);
  visibility: hidden;
  transition: background-color 0.3s, visibility 0.3s, backdrop-filter 0.3s;
  z-index: 1;

}

.dropdown-overlay.show {
  background-color: rgba(0, 0, 0, .25);
  backdrop-filter: blur(5px);
  visibility: visible;
  transition: background-color 0.3s, visibility 0.3s, backdrop-filter 0.3s;
}



/* Hamburger → X animation */
.hamburger.open span:nth-child(1) { transform: translateY(7.7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.7px) rotate(-45deg); }


/* MEDIA */

@media (max-width:768px) {

  header { margin-bottom: 16px; }

  section { margin-top: 16px; }

  .wrapper { padding-left: 16px; padding-right: 16px; } 

  .header-wrapper { padding-left: 16px; padding-right: 16px; }

  h1 { padding:0 16px; margin-bottom: 32px; font-size: 40px; letter-spacing: 5%;}

  h2 { margin-bottom:16px; font-size: 24px;}

  .text-body { padding:0 16px; font-size:16px; }

  .nav-links { display: none; }

  .hamburger { display: flex; }

  .navbar {padding-top: 32px; padding-left: 16px; padding-right: 16px;}

  .portfolio-section {margin-bottom: 16px;}

  .portfolio-section .columns { flex-direction: column-reverse;}

  .portfolio-section .text-body { margin-top: 16px;}

  .columns {display: flex; flex-wrap: wrap;}

  .col-40,.col-60 { width: 100%; }

  .badge { margin-right:4px; margin-left:4px; }

  .main-slide-buttons { flex-direction:column; }

  .main-slide-button { font-size: 20px; margin: 12px 12px; padding: 8px 32px 10px 32px;}

  .main-slide { text-align:center; }

  .main-slide-intro { font-size: 38px; }

  .main-slide-name { font-size: 38px; }

  .main-slide-title { font-size: 20px; }

  .about-image { aspect-ratio: 1/1.25; }

}

@media (min-width:769px) {

  .dropdown-menu.open { display: none; }

  .dropdown-overlay { display:none; }

}

