/* Общие настройки */
body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  background: linear-gradient(180deg, #EBB582 0%, #EB8A3E 100%);
  color: #333;
  scroll-behavior: smooth;
}

/* Header */
header {
  background: linear-gradient(90deg, #D24136 0%, #EB8A3E 100%);
  color: white;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

header h1 {
  margin: 0 0 10px 0;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0;
  margin: 10px 0;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

header nav a:hover {
  color: #EBB582;
}

header select {
  margin-left: 20px;
  padding: 5px 10px;
  border-radius: 8px;
  border: none;
}

/* About */
.section-about {
  padding: 60px 20px;
  background-color: rgba(255,255,255,0.9);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: auto;
  flex-wrap: wrap;
}

.about-container img {
  border-radius: 50%;
  width: 180px;
  border: 4px solid #785A46;
}

.about-text h2 {
  color: #785A46;
}

.about-text p {
  margin: 10px 0;
  line-height: 1.6;
}

/* Portfolio */
.section-portfolio {
  padding: 60px 20px;
  background-color: rgba(255,255,255,0.95);
  text-align: center;
}

.project-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.card {
  background-color: #D24136;
  color: #fff;
  width: 260px;
  padding: 25px;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.card h3 { margin-top: 0; }

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
  background: #EB8A3E;
}

/* Contact */
.section-contact {
  padding: 60px 20px;
  background-color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: auto;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.section-contact h2 {
  text-align: center;
  color: #785A46;
}

form input, form textarea, button {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: 'Poppins', Arial, sans-serif;
}

button {
  background-color: #D24136;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

button:hover {
  background-color: #EB8A3E;
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #785A46;
  color: white;
}

/* Адаптив */
@media (max-width: 768px) {
  .about-container { flex-direction: column; align-items: center; }
  .project-cards { flex-direction: column; align-items: center; }
  header nav ul { flex-direction: column; gap: 12px; }
}