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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
}

.header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 26px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0));
}

.header-socials {
  display: flex;
  gap: 12px;
}

.social {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.social img {
  width: 18px;
  height: 18px;
}

.social:hover {
  background: rgba(255,255,255,0.2);
}

nav a {
  color: #fff;
  margin-left: 28px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
  transition: 0.2s;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 40px;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: right 20% top 25%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.6) 40%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero-content {
  position: relative;
  max-width: 620px;
  z-index: 2;
  margin-top: 120px;
}

h1 {
  font-size: 68px;
  line-height: 1;
  margin: 18px 0 22px;
  letter-spacing: -2px;
}

h2 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 22px;
}

p {
  color: #d8d8d8;
  font-size: 17px;
}

.hero-text {
  color: #e5e5e5;
  margin-bottom: 28px;
  font-size: 18px;
  max-width: 560px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: #9a9a9a;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  background: rgba(255,255,255,0.9);
  color: #000;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  background: #050505;
}

.split-content {
  padding: 110px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #111, #050505);
}

.split-content p {
  max-width: 580px;
  margin-bottom: 18px;
}

.split-image {
  min-height: 720px;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

.about-image {
  background-image: url('images/about.png');
}

.passion-image {
  background-image: url('images/passion.png');
}

.reverse .split-content {
  background: linear-gradient(135deg, #050505, #151515);
}

.portfolio-section {
  padding: 110px 40px;
  background: radial-gradient(circle at top, #111 0%, #000 55%);
}

.center {
  text-align: center;
}

.center-title {
  text-align: center;
  margin-bottom: 50px;
}

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

.portfolio-card {
  position: relative;
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #111;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.05));
  z-index: 2;
  pointer-events: none;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.slide.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 34px;
  line-height: 34px;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.slider-btn.prev {
  left: 14px;
}

.slider-btn.next {
  right: 14px;
}

.portfolio-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
}

.portfolio-label h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.portfolio-label p {
  font-size: 14px;
  color: #ccc;
}

.gallery-section {
  padding: 110px 40px;
  background: #050505;
}

.gallery-intro {
  max-width: 760px;
  margin-bottom: 50px;
}

.gallery-intro p {
  max-width: 680px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 22px;
}

.gallery-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.08);
  filter: grayscale(100%);
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.08));
}

.gallery-item span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  font-size: 20px;
  font-weight: 700;
}

.section {
  padding: 110px 40px;
  max-width: 1100px;
}

.contact-form {
  margin-top: 30px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}

.contact-form button {
  width: fit-content;
  padding: 14px 28px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

.contact-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.form-result {
  margin-top: 4px;
  font-size: 15px;
  color: #ccc;
}

.form-result.success {
  color: #9cffb1;
}

.form-result.error {
  color: #ff9c9c;
}

.hidden-botcheck {
  display: none;
}

.footer {
  padding: 45px 40px;
  text-align: center;
  font-size: 14px;
  color: #888;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer p {
  margin-bottom: 10px;
  font-size: 14px;
  color: #888;
}

.footer a {
  color: #888;
  margin: 0 10px;
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #000;
  text-decoration: none;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: 0.2s;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: #fff;
}

.legal-page {
  max-width: 900px;
  margin: 120px auto;
  padding: 0 20px;
  text-align: center;
}

.legal-page h1 {
  font-size: 52px;
  margin-bottom: 40px;
}

.legal-image {
  width: 100%;
  max-width: 760px;
  border-radius: 18px;
  margin-bottom: 40px;
  border: 1px solid rgba(255,255,255,0.08);
}

.legal-text {
  text-align: left;
  color: #ccc;
  line-height: 1.7;
  font-size: 14px;
  max-width: 760px;
  margin: 0 auto 40px;
}

.legal-text h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 16px;
}

.legal-text p {
  font-size: 14px;
  margin-bottom: 14px;
}

.legal-text ul {
  margin: 14px 0 18px 22px;
  color: #ccc;
}

.legal-text li {
  margin-bottom: 6px;
}

.legal-back {
  margin-top: 20px;
}

@media (max-width: 768px) {

  .header {
    padding: 20px;
    align-items: flex-start;
  }

  .header-socials {
    gap: 8px;
  }

  .social {
    width: 34px;
    height: 34px;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
  }

  nav a {
    margin-left: 0;
    font-size: 13px;
  }

  .hero {
    padding: 0 20px;
    align-items: flex-end;
    padding-bottom: 90px;
    background-position: center top;
  }

  .hero-content {
    margin-top: 0;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .split-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split-section.reverse .split-content {
    order: 2;
  }

  .split-section.reverse .split-image {
    order: 1;
  }

  .split-content {
    padding: 70px 24px;
  }

  .split-image {
    min-height: 520px;
  }

  .portfolio-section {
    padding: 80px 20px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    min-height: 480px;
  }

  .gallery-section {
    padding: 80px 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-item,
  .gallery-item.large {
    min-height: 420px;
    grid-row: auto;
  }

  .section {
    padding: 80px 20px;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .legal-page {
    margin: 80px auto;
  }

  .legal-page h1 {
    font-size: 36px;
  }
}