/* ========================================
   Global Reset & Base Styles
======================================== */
:root {
  --oversize: 5vw;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
h1.logo {
    font-size: 1em;
}
::selection{
  background-color: var(--accent-color);
  color:var(--primary-color);
}

html, body {
  height: 100%;
  background: var(--primary-color);
  color: var(--secondary-color);
  font-family: Manrope, sans-serif;
  scroll-behavior: smooth;
  max-width: 100%
}

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

/* ========================================
   Header / Navigation
======================================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  z-index: 1000;
}

.logo {
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.burger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--secondary-color);
  cursor: pointer;
}
@media (min-width: 1024px) {
a.langs {
    border-left: 1px solid var(--accent-color);
    padding-left: 1em;
}
}
/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary-color);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.mobile-nav.show {
  display: flex;
}

.mobile-nav a {
  font-size: 2rem;
  margin: 1rem 0;
}

/* ========================================
   Section Layout
======================================== */
section {
  min-height: 100vh;
  padding: 5vw;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  text-align: left;
  opacity: 0;
  transform: translateY(50px);
  gap:5vw;
  overflow-x: hidden;
  margin-top:3em;
}
img{
  max-width: 40vw;
}

.services-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
}

.service_item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    font-size: 16px;
    font-weight: 300;
    
   }

.service_item img {
    max-width: 200px;
}
.service-title {
    font-size: clamp(1.5rem, 1vw + 0.5rem, 4rem);
    font-weight: 400;
    margin: 0 auto;
    line-height: 1.3;
    transition: all 0.3s ease-out;

}
.service_item:hover .service-title{
  color:var(--accent-color);
}
.mobile-nav a{
  border-bottom: 1px solid var(--accent-color);
}

#about .subtitle{
  margin-bottom: 2rem;
}

#hero .section-title{
  font-size:var(--oversize);
}
/* ========================================
   Typography
======================================== */
.section-title {
  font-size: clamp(2.5rem, 4vw + 1.5rem, 4rem);
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.subtitle {
  font-size: clamp(1.5rem, 1vw + 0.5rem, 4rem);
  font-weight: 300;
  margin: 0 auto;
}

.accent-txt, h2.quote-oversize span.quote-word:nth-child(8){
    font-family: serif;
    font-weight: 600!important;
    font-style: italic;
    font-size: 1.2em;
}

.accent-color {
  color: var(--accent-color);
}


.quote-oversize {
  text-align: center ;
  justify-content: center;
  font-size:var(--oversize);
}

.highlight {
    background-color: var(--accent-color);
    border-radius: 2vw;
    padding: max(5vw, 30px);
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 2vw;
    align-items: center;
}

.highlight a{
  background-color: var(--accent-color)!important;
  color: var(--primary-color)!important;
  border-color: var(--primary-color);
}
#quote{
  min-height:15vh;
}
/* ========================================
   Footer
======================================== */
.footer-section {
  position: relative;
  padding: 5vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  align-items: flex-start;
  margin-top:2em;
}

.footer-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.9rem;
  text-transform:center;
}

.footer-links {
  list-style: none;
  padding: 0;
}


.footer-name-oversize{
  width: 100%;
  z-index: 10;
  font-size: var(--oversize);
  opacity: 0;
}

.full-width {
  white-space: nowrap;
  display: inline-block;
  line-height: 1em;
  letter-spacing: -2px;
}

/* ========================================
   Decorative Elements
======================================== */
.decor {
  pointer-events: none;
}
/* ========================================
   Buttons - Elements
======================================== */
.south-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border: 1px solid var(--secondary-color);
    border-radius: 800px;
    display: block;
    width: max-content;
    margin-top: 2em;
    transform: scale(1);
    transition: transform 0.3s ease-out;
}

.south-button.empty{
  color: var(--secondary-color);
    background: var(--primary-color);
}
.button-group {
    display: flex;
    gap: 1em;
}
.south-button:hover {
    transform: scale(0.95);
}

/* ========================================
   Responsive Styles
======================================== */
@media (max-width: 1024px) {
  section {
    height: auto;
    min-height: 90vh;
    padding: 10vw 5vw;
    flex-direction: column-reverse;
  }
.services-list {
    grid-template-columns: 1fr;
}
.footer-section{
  min-height: 50vh;
}
#hero{
  flex-direction: column;
  justify-content: flex-end;
  }
  .nav-links {
    display: none;
  }
img{
  max-width: 100vw;
}
  .burger {
    display: block;
  }

  .section-title, #hero .section-title {
    font-size: 10vw;
  }

  .subtitle {
    font-size: 4vw;
  }

  .services-list {
    font-size: 4vw;
    line-height: 5vw;
  }

  .footer-links a {
    font-size: 1rem;
  }
}
@media (max-width: 767px) {
    .button-group {
    gap: 0;
    flex-direction: column;
}
.south-button {
    margin-top: 0.8em;
}

.footer-content {
    flex-direction: column;
    gap: 2em;
}
}
.visually-hidden {  
  position: absolute !important;  
  width: 1px;  
  height: 1px;  
  padding: 0;  
  margin: -1px;  
  overflow: hidden;  
  clip: rect(0, 0, 0, 0);  
  white-space: nowrap;  
  border: 0;  
}
