﻿/* Загальні стилі та фон */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #e0eafc, #cfdef3); /* градієнтний фон */
}

/* Шапка */
header {
  background: rgba(44, 62, 80, 0.9);
  color: white;
  text-align: center;
  padding: 60px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

header h1 {
  margin: 0;
  font-size: 3em;
  letter-spacing: 1px;
}

header p {
  font-size: 1.3em;
  margin-top: 12px;
  font-weight: 300;
}

/* Секції */
section {
  padding: 50px 20px;
  max-width: 900px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

section h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 3px solid #2980b9;
  display: inline-block;
  padding-bottom: 5px;
}

/* Про мене */
.about-container {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2980b9;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.about-text {
  flex: 1;
}

/* Послуги та списки */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: #ecf0f1;
  margin: 10px 0;
  padding: 15px 20px;
  border-left: 5px solid #2980b9;
  border-radius: 5px;
  transition: transform 0.2s, background 0.2s;
}

ul li:hover {
  background: #dce6f1;
  transform: translateX(5px);
}

/* Кнопка */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #2980b9;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: #1f6391;
  transform: translateY(-2px);
}

/* Контакти */
#contact a {
  color: #2980b9;
  text-decoration: none;
  font-weight: 500;
}

#contact a:hover {
  text-decoration: underline;
}

/* Футер */
footer {
  background: rgba(44, 62, 80, 0.9);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.95em;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Адаптивність для мобільних */
@media (max-width: 600px) {
  .avatar {
    width: 120px;
    height: 120px;
  }
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-text {
    margin-top: 15px;
  }
}

