/* ===== ОСНОВНЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: none;
    background-image: url('../images/orig.jpg'); /* ЗАМЕНИТЕ на имя вашего файла */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #0b1c2c;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.container {
    position: relative;
    z-index: 1;
}

/* ===== ШАПКА ===== */
.header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, #1a2f3f 0%, #0b1c2c 100%);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0,20,50,0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M20 20 L80 20 L80 80 L20 80 Z" stroke="white" fill="none" stroke-width="2"/><path d="M30 30 L70 30 L70 70 L30 70 Z" stroke="white" fill="none" stroke-width="2"/><circle cx="50" cy="50" r="5" fill="white"/><path d="M50 20 L50 30 M50 70 L50 80 M20 50 L30 50 M70 50 L80 50" stroke="white" stroke-width="2"/></svg>') repeat;
    background-size: 60px;
}

.logo {
    position: relative;
    z-index: 1;
}

.company-name {
    font-size: 4em;
    font-weight: 800;
    letter-spacing: 8px;
    color: white;
    text-shadow: 0 0 20px rgba(0,160,255,0.5);
    margin-bottom: 10px;
}

.company-type {
    font-size: 1.3em;
    color: #8bb9fe;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.4em;
    color: #e0f0ff;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
.section-title {
    text-align: center;
    font-size: 2.2em;
    color: #0b1c2c;
    margin: 60px 0 40px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #0066ff, #00ccff);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.advantage-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.advantage-title {
    font-weight: 700;
    color: #0b1c2c;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.advantage-text {
    color: #718096;
    font-size: 0.95em;
}

/* ===== СЕТКА УСЛУГ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,30,60,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid #0066ff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,60,120,0.25);
}

.service-icon {
    background: linear-gradient(135deg, #0066ff, #00ccff);
    padding: 30px;
    text-align: center;
    font-size: 3.5em;
    color: white;
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 1.5em;
    color: #0b1c2c;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-description {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #2d3748;
}

.service-features li::before {
    content: '✓';
    color: #0066ff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ===== СЕТКА ПРОЕКТОВ ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0,102,255,0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2b5a8c, #1a3f60);
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '📡';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    opacity: 0.8;
}

.project-image.optics::before {
    content: '🔌';
}

.project-image.tower::before {
    content: '📶';
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #0b1c2c;
    margin-bottom: 8px;
}

.project-client {
    color: #0066ff;
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.project-desc {
    color: #4a5568;
    font-size: 0.95em;
}

/* ===== СЕКЦИЯ КОНТАКТОВ ===== */
.contacts {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-top: 60px;
    box-shadow: 0 15px 35px rgba(0,30,60,0.15);
    border: 1px solid rgba(0,102,255,0.1);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: #f8fcff;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    border-color: #0066ff;
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5em;
    color: #0066ff;
    margin-bottom: 15px;
}

.contact-label {
    font-size: 1.2em;
    font-weight: 700;
    color: #0b1c2c;
    margin-bottom: 10px;
}

.contact-value {
    color: #0066ff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.contact-value:hover {
    text-decoration: underline;
}

.work-hours {
    color: #28a745;
    font-weight: 600;
    margin-top: 5px;
}

/* ===== ФОРМА ЗАЯВКИ ===== */
.request-form {
    max-width: 600px;
    margin: 50px auto 0;
    background: #f8fcff;
    padding: 40px;
    border-radius: 20px;
}

.form-title {
    text-align: center;
    font-size: 1.5em;
    color: #0b1c2c;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e9f0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    background: linear-gradient(135deg, #0066ff, #00ccff);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,102,255,0.4);
}

/* ===== ПОДВАЛ ===== */
.footer {
    text-align: center;
    padding: 40px 0 20px;
    color: #718096;
    border-top: 1px solid rgba(0,102,255,0.1);
    margin-top: 60px;
}

.social-links {
    margin-bottom: 20px;
}

.social-link {
    display: inline-block;
    margin: 0 15px;
    color: #0066ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00ccff;
}

/* ===== АДАПТИВНОСТЬ (для мобильных устройств) ===== */
@media (max-width: 768px) {
    .company-name {
        font-size: 2.5em;
        letter-spacing: 4px;
    }
    
    .header {
        padding: 30px 15px;
    }
    
    .contacts {
        padding: 30px 20px;
    }
    
    .request-form {
        padding: 25px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .advantages {
        grid-template-columns: 1fr;
    }
    
    .company-name {
        font-size: 2em;
    }
    
    .company-type {
        font-size: 1em;
    }
}
