/* =========================================================
   Gernot Zenz — Site Styles
   Brand: Adventure • Creativity • Growth
   Colors: Purple, Dark Gray, Teal accent
   ========================================================= */

:root {
  --purple: #7B5BA6;
  --purple-dark: #6A4A95;
  --purple-light: #9B7DC4;
  --gray-dark: #3D3D3D;
  --gray-mid: #555555;
  --gray-light: #E8E5E2;
  --teal: #3FBAC2;
  --bg: #F4F1ED;
  --white: #FFFFFF;
  --shadow: 0 8px 30px rgba(61, 61, 61, 0.12);
  --radius: 6px;
  --header-h: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--gray-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Russo One', 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--gray-dark);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

a { color: var(--purple); text-decoration: none; transition: color .2s; }
a:hover { color: var(--purple-dark); }

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(61, 61, 61, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
}

.nav-logo img,
.nav-logo svg {
  height: 44px;
  width: auto;
  display: block;
}

.footer-brand .nav-logo img,
.footer-brand .nav-logo svg {
  height: 54px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-menu a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--purple-light);
  transition: width .3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-menu a.active { color: var(--purple-light); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: var(--white) !important;
  padding: 11px 22px;
  border: 2px solid var(--purple);
  border-radius: var(--radius);
  font-family: 'Russo One', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all .25s;
}

.nav-cta:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 91, 166, 0.4);
}

.nav-cta::after { display: none; }
.nav-cta .arrow { transition: transform .25s; }
.nav-cta:hover .arrow { transform: translateX(4px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: .3s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--purple);
  color: var(--white);
  font-family: 'Russo One', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid var(--purple);
  cursor: pointer;
  transition: all .25s;
}

.btn:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(123, 91, 166, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
}

.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 40px) 6% 60px;
  background:
    linear-gradient(135deg, rgba(61,61,61,0.85) 0%, rgba(61,61,61,0.65) 50%, rgba(123,91,166,0.4) 100%),
    url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Russo One', sans-serif;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: var(--purple-light);
  margin-bottom: 24px;
  padding-left: 60px;
  position: relative;
}
.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 44px; height: 2px;
  background: var(--purple-light);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
  max-width: 950px;
}
.hero h1 .accent { color: var(--purple-light); }

.hero-sub {
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  gap: 18px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-tags span {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding-left: 18px;
}
.hero-tags span::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ---------- Sections ---------- */
section {
  padding: 100px 6%;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header { margin-bottom: 60px; text-align: center; }
.section-header .eyebrow {
  display: inline-block;
  font-family: 'Russo One', sans-serif;
  color: var(--purple);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--gray-mid);
  font-size: 1.05rem;
}

/* ---------- About ---------- */
.about {
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 { margin-bottom: 24px; }
.about-text p {
  margin-bottom: 18px;
  color: var(--gray-mid);
  font-size: 1.05rem;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.stat {
  border-left: 3px solid var(--purple);
  padding: 8px 0 8px 18px;
}
.stat-num {
  font-family: 'Russo One', sans-serif;
  font-size: 2.2rem;
  color: var(--purple);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
  display: block;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: url('https://images.unsplash.com/photo-1551632811-561732d1e306?w=900&q=80') center/cover;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(123,91,166,0.5) 100%);
}

/* ---------- Brand Attributes (Wave/Mountain) ---------- */
.brand {
  background: var(--gray-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(123,91,166,0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(63,186,194,0.15), transparent 50%);
  pointer-events: none;
}
.brand .section-header h2,
.brand .section-header .eyebrow,
.brand .section-header p {
  color: var(--white);
}
.brand .section-header .eyebrow { color: var(--purple-light); }
.brand .section-header p { color: rgba(255,255,255,0.7); }

.attribute-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
}
.attribute {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 48px 36px;
  transition: all .3s;
}
.attribute:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
  border-color: rgba(123,91,166,0.4);
}
.attribute-icon {
  width: 72px; height: 72px;
  margin-bottom: 24px;
  color: var(--purple-light);
}
.attribute-icon svg { width: 100%; height: 100%; }
.attribute h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.attribute h3 .accent { color: var(--teal); }
.attribute ul {
  list-style: none;
}
.attribute li {
  padding: 10px 0;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.98rem;
}
.attribute li:last-child { border-bottom: none; }
.attribute li strong {
  color: var(--teal);
  font-weight: 600;
}

/* ---------- Brand Statement Banner ---------- */
.brand-statement {
  background: var(--purple);
  color: var(--white);
  padding: 100px 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.brand-statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486500260362-2bb02a6c3c39?w=1920&q=80') center/cover;
  opacity: 0.12;
  filter: grayscale(100%);
}
.brand-statement-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.brand-statement blockquote {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.brand-statement blockquote::before { content: '" '; opacity: 0.4; }
.brand-statement blockquote::after { content: ' "'; opacity: 0.4; }
.brand-statement cite {
  display: inline-block;
  font-style: normal;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  padding-top: 18px;
  border-top: 2px solid rgba(255,255,255,0.3);
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(61,61,61,0.18);
}
.project-image {
  aspect-ratio: 16/10;
  background: var(--gray-dark);
  position: relative;
  overflow: hidden;
}
.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123,91,166,0.4), rgba(63,186,194,0.2));
}
.project-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.project-card:hover .project-image img { transform: scale(1.05); }
.project-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--purple);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 1;
}
.project-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--gray-dark);
}
.project-body p {
  color: var(--gray-mid);
  margin-bottom: 18px;
  font-size: 0.95rem;
  flex: 1;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--gray-light);
}
.project-meta .year {
  font-family: 'Russo One', sans-serif;
  color: var(--purple);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.project-meta .tag {
  font-size: 0.78rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- CTA Block ---------- */
.cta-block {
  background: var(--gray-dark);
  color: var(--white);
  padding: 80px 6%;
  text-align: center;
}
.cta-block h2 { color: var(--white); margin-bottom: 18px; }
.cta-block p {
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

/* ---------- Contact ---------- */
.contact-page {
  padding-top: calc(var(--header-h) + 80px);
  min-height: 100vh;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info h1 { margin-bottom: 20px; }
.contact-info .lead {
  color: var(--gray-mid);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-light);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-content .label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 4px;
}
.contact-item-content .value {
  font-family: 'Russo One', sans-serif;
  font-size: 1.05rem;
  color: var(--gray-dark);
}

.contact-form {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form h2 { margin-bottom: 28px; font-size: 1.6rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 8px;
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--bg);
  transition: border-color .2s, background .2s;
  color: var(--gray-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(63, 186, 194, 0.12);
  color: #1d7a82;
  border: 1px solid rgba(63, 186, 194, 0.3);
}
.form-status.error {
  display: block;
  background: rgba(220, 53, 69, 0.1);
  color: #b02a37;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gray-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}
.social-link:hover {
  background: var(--purple);
  transform: translateY(-2px);
  color: var(--white);
}
.social-link svg { width: 18px; height: 18px; }

/* ---------- Page Header (for sub-pages) ---------- */
.page-header {
  padding: calc(var(--header-h) + 80px) 6% 80px;
  background: var(--gray-dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1483728642387-6c3bdd6c93e5?w=1920&q=80') center/cover;
  opacity: 0.2;
}
.page-header-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.page-header .eyebrow {
  color: var(--purple-light);
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  font-family: 'Russo One', sans-serif;
  margin-bottom: 16px;
  display: inline-block;
}
.page-header h1 { color: var(--white); margin-bottom: 20px; }
.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
footer {
  background: #2A2A2A;
  color: rgba(255,255,255,0.7);
  padding: 60px 6% 30px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { color: var(--white); }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 360px;
  line-height: 1.7;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--purple-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .tags {
  display: flex;
  gap: 18px;
}
.footer-bottom .tags span { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--gray-dark);
    flex-direction: column;
    padding: 30px;
    gap: 22px;
    transform: translateY(-150%);
    transition: transform .35s;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-toggle { display: flex; }

  .about-grid,
  .attribute-grid,
  .contact-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 30px; }
  section { padding: 70px 6%; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp .8s ease-out backwards; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .25s; }
.hero-content > *:nth-child(3) { animation-delay: .4s; }
.hero-content > *:nth-child(4) { animation-delay: .55s; }
.hero-content > *:nth-child(5) { animation-delay: .7s; }
