/* ===== ОБЩИ НАСТРОЙКИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: #f4f6f9;
    color: #1A3A5C;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ХЕДЪР ===== */
.header {
    background: #1A3A5C;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}
.logo:hover { color: #E31E24; }

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    color: #E31E24;
    border-bottom-color: #E31E24;
}

/* ===== ГЛАВЕН БАНЕР ===== */
.hero {
    background: linear-gradient(135deg, #1A3A5C 0%, #2A5A8C 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== БУТОНИ ===== */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #E31E24;
    color: #fff;
}
.btn-primary:hover {
    background: #c4171c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1A3A5C;
    border: 2px solid #1A3A5C;
}
.btn-secondary:hover {
    background: #1A3A5C;
    color: #fff;
}

/* ===== СЕКЦИЯ "ЗАЩО НИЕ" ===== */
.about-brief {
    padding: 60px 0 80px 0;
}

.about-brief h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1A3A5C;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-item h3 {
    color: #1A3A5C;
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-item p {
    color: #555;
    font-size: 15px;
}

/* ===== ГАЛЕРИЯ ===== */
.gallery {
    padding: 60px 0 80px 0;
    background: #fff;
}

.gallery h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1A3A5C;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    background: #e9edf2;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
    color: #1A3A5C;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px dashed #b0c0d0;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.gallery .btn {
    display: inline-block;
    margin: 0 auto;
}

.gallery .btn-container {
    text-align: center;
}

/* ===== СЕКЦИЯ CTA ===== */
.cta {
    background: #E31E24;
    color: #fff;
    text-align: center;
    padding: 70px 0;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta .btn-primary {
    background: #fff;
    color: #E31E24;
}
.cta .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ===== ФУТЪР ===== */
.footer {
    background: #1A3A5C;
    color: #aaa;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* ===== РЕАКЦИЯ ПРИ ТАБЛЕТ И ТЕЛЕФОН ===== */
@media (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .nav a {
        font-size: 14px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .hero p {
        font-size: 17px;
    }
    .hero {
        padding: 60px 0;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-item {
        height: 150px;
        font-size: 14px;
    }
    .cta h2 {
        font-size: 28px;
    }
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item {
        height: 120px;
    }
}