:root {
  --bg-color: #f4f3ef;
  --black: #121214;
  --yellow: #f4d03f;
  --red: #e74c3c;
  --blue: #2980b9;
  --white: #ffffff;
  --border-width: 4px;
}

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

body {
  background-color: var(--bg-color);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.5;
  padding: 40px 20px;
}

.bauhaus-wrapper {
  max-width: 1050px;
  margin: 0 auto;
  border: var(--border-width) solid var(--black);
  background-color: var(--white);
}

/* Header */
.header-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  border-bottom: var(--border-width) solid var(--black);
}

.brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: color 0.15s;
}

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

/* Main Layout */
.main-layout {
  display: flex;
  flex-direction: column;
}

/* Hero Block */
.hero-block {
  display: flex;
  min-height: 60vh;
  position: relative;
  border-bottom: var(--border-width) solid var(--black);
  overflow: hidden;
}

.hero-red-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-color: var(--red);
  border-left: var(--border-width) solid var(--black);
  transform: skewX(-15deg) translateX(80px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 40px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #333;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 30px;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
  border: var(--border-width) solid var(--black);
  border-radius: 0;
}

.btn-black {
  background-color: var(--black);
  color: #fff;
}

.btn-black:hover {
  background-color: var(--white);
  color: var(--black);
}

/* Sections General */
.section {
  padding: 80px 40px;
  border-bottom: var(--border-width) solid var(--black);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

/* Theory Grid */
.grid-layout-theory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: var(--border-width) solid var(--black);
}

.theory-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.theory-card:first-child {
  border-right: var(--border-width) solid var(--black);
}

.theory-card.bg-yellow { background-color: var(--yellow); }
.theory-card.bg-blue { background-color: var(--blue); color: #fff; }

.theory-card .num {
  font-weight: 700;
  font-size: 0.95rem;
}

.theory-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  letter-spacing: -1px;
}

.theory-card p {
  font-size: 0.95rem;
}

/* Work Section */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.work-card {
  border: var(--border-width) solid var(--black);
  background-color: var(--white);
  display: flex;
  flex-direction: column;
}

.img-container {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: var(--border-width) solid var(--black);
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(105%) brightness(95%);
}

.work-card .info {
  padding: 24px;
  flex-grow: 1;
}

.work-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.work-card p {
  color: #333;
  font-size: 0.95rem;
}

/* Contact Card */
.contact-section {
  padding: 0;
  border-bottom: none;
}

.contact-card {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.contact-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  letter-spacing: -1px;
}

.contact-card p {
  font-size: 1.1rem;
  max-width: 500px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px;
  background-color: var(--black);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 800px) {
  .grid-layout-theory {
    grid-template-columns: 1fr;
  }
  .theory-card:first-child {
    border-right: none;
    border-bottom: var(--border-width) solid var(--black);
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .hero-red-bg {
    display: none;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .navbar {
    flex-direction: column;
    gap: 15px;
  }
}
