* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Слайдер */
.slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.next {
    right: 0;
}

/* Обо мне */
.about {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.about h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-text p {
    font-size: 1.1em;
    text-align: justify;
}

.about-skills h3 {
    margin-bottom: 15px;
    color: #2196F3;
}

.about-skills ul {
    list-style-type: none;
}

.about-skills li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* Галерея */
.gallery {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .slide img {
        height: 300px;
    }
}

/* Индикаторы слайдера */
.indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: white;
}
