/* Базовые сбросы */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background: #1e293b;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.logo a span {
    color: #38bdf8;
}

.nav a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}

.nav a:hover {
    color: #38bdf8;
}

/* Hero сектор */
.hero {
    background: #0f172a;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    background: #0284c7;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    background: #0369a1;
}

/* Услуги */
.services {
    padding: 60px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}

/* Контакты и подвал */
.contact {
    background: #e2e8f0;
    padding: 50px 0;
    text-align: center;
}

.contact-info {
    margin-top: 20px;
    font-size: 18px;
}

.contact-info a {
    color: #0284c7;
    text-decoration: none;
}

.footer {
    background: #0f172a;
    color: #64748b;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* Стили для галереи */
.gallery-section {
    padding: 60px 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-header h1 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 10px;
}

.gallery-header p {
    color: #64748b;
    font-size: 16px;
}

/* Сетка для картинок (автоматически подстраивается под экран) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.gallery-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.back-link {
    text-align: center;
    margin-top: 30px;
}

