/* =============================================
   GERMÁN KASER — PORTFOLIO
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700&family=DM+Sans:wght@400&family=Inter:wght@300;400;500;600&display=swap');

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #888888;
  --gray-dark: #333333;
  --accent-blue: #0057FF;
  --font: 'Inter', sans-serif;
  --max-width: 1200px;
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* =============================================
   NAVIGATION
   ============================================= */

nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-dark);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--black);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  transition: opacity 0.2s;
}

.nav-social a:hover {
  opacity: 0.75;
}

.nav-social svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  width: 100%;
  padding: 0 16px 16px 16px;
  background: var(--white);
  z-index: 1;
}

.hero-frame {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  line-height: 0;
}

.hero-frame video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 92vh;
  object-fit: cover;
}

/* =============================================
   SECTION SHARED
   ============================================= */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.section-label-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0057FF;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: white;
  letter-spacing: 0;
}

/* =============================================
   ABOUT INTRO
   ============================================= */

.about-intro {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 40px 80px;
}

.about-intro h2 {
  font-family: 'Syne', sans-serif;
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.about-intro h2 em {
  font-style: normal;
  color: var(--accent-blue);
}

.about-intro p {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* =============================================
   PROCESS
   ============================================= */

.process {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 0;
}

.process-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.process-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* =============================================
   PROJECTS
   ============================================= */

.projects {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px 120px;
}

.projects-intro {
  margin-bottom: 48px;
}

.projects-intro p {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--gray-mid);
  line-height: 1.5;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.project-item {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 2px;
}

.project-thumb {
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  position: relative;
  background: #111;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-item:hover .project-thumb img {
  transform: scale(1.03);
}

.project-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  font-size: 32px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  font-style: italic;
}

.project-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0 0;
}

.project-meta-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.project-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
}

.project-tags {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-mid);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.project-year {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 400;
}

/* =============================================
   FOOTER
   ============================================= */

footer {
  border-top: 0.5px solid rgba(0,0,0,0.1);
  padding: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p {
  font-size: 13px;
  color: var(--gray-mid);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding: 0 20px 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-tagline {
    text-align: left;
    font-size: 24px;
  }

  .hero-client-logo {
    font-size: 36px;
  }

  .about-intro {
    padding: 80px 20px 60px;
  }

  .process {
    padding: 60px 20px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .projects {
    padding: 60px 20px 80px;
  }

  .project-meta {
    flex-direction: column;
    gap: 4px;
  }

  footer {
    padding: 32px 20px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* =============================================
   NAV DROPDOWN
   ============================================= */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(-135deg) translateY(-2px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -1000px;
  right: -1000px;
  width: auto;
  margin: 0;
  padding: 16px 0;
  background: var(--white);
  border: none;
  border-radius: 0;
  box-shadow: none;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 8px 0 8px 1000px;
  border-radius: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-dark);
  text-align: left;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav-dropdown-menu li a:hover {
  color: var(--accent-blue);
}

/* invisible bridge to keep hover active over the gap */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  height: 16px;
}

/* =============================================
   NAV CONTACT BUTTON
   ============================================= */

.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 16px;
  padding: 8px 20px;
  background: var(--accent-blue);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-contact-btn:hover {
  opacity: 0.85;
}

/* =============================================
   NAV RIGHT — contact + social juntos
   ============================================= */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-contact-btn {
  margin-left: 0;
}

/* Contact button inside nav-links (li context) */
.nav-links .nav-contact-btn {
  display: inline-flex;
  margin-left: 4px;
  padding: 6px 16px;
}

/* Force white text on contact button (override nav-links a color) */
.nav-links a.nav-contact-btn {
  color: var(--white) !important;
}
