body{ 
    margin:0;
    font-family: Arial, sans-serif;
    /* затемняющий градиент поверх фото — без него белый текст может теряться на светлом фоне */
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url("img/ITserviceback.png");
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}
/* ===== HEADER ===== */
header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    position:sticky;
    top:0;
    z-index:1000;
    background-color:#1D63A1;
}

.logo {
    width:100px;
    height:100px;
    border-radius:50%;
    background:white;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    flex-shrink:0;
}
.logo img{
    width:90%;
    height:90%;
    object-fit:contain;
}

nav{
    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    padding:8px 12px;
    cursor:pointer;
    border-radius:12px;
}

nav a:hover{
    color:#1D63A1;
    background:white;
    transform:translateY(-5px);
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
    transition:0.2s;
}

/* ===== SECTIONS ===== */
section{
    padding:70px 20px;
    text-align:center;
}

h1{
    color:white;
}

#about h1{
    background-color: #1D63A1;
    width: 250px;
    border-radius: 25px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    padding: 6px 0;
    margin: 0 auto 20px;
}

/* ===== HERO ===== */
.hero{
    display:flex;
    justify-content:center;
    align-items:stretch;
    gap:40px;
    flex-wrap:wrap;
}

.hero-block{
    background:#1D63A1;
    padding:20px;
    border-radius:12px;
    width:280px;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.hero h1{
    color:white;
    font-size:42px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero p{
    color:white;
    font-size:18px;
}

.btn{
    margin-top:25px;
    padding:12px 25px;
    background:white;
    border:none;
    border-radius:6px;
    color:#1D63A1;
    font-size:16px;
    cursor:pointer;
    transition:0.2s;
    text-decoration: none;
    display:inline-block;
}

.btn:hover{
    color:white;
    background:#1D63A1;
    transform:translateY(-5px);
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
    border-radius:12px;
}

/* ===== ПРАЙС (вынесен отдельным блоком, больше не вложен в .hero) ===== */
#price{
    max-width:500px;
    margin:60px auto 0;
    background:#1D63A1;
    border-radius:12px;
    padding:30px 20px;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
}

#service{
    max-width:500px;
    margin:60px auto 0;
    background:#1D63A1;
    border-radius:12px;
    padding:30px 20px;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
}
#price h1{
    color:white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

#price-list{
    text-align:left;
    max-width:320px;
    margin:15px auto;
    color:white;
}

.btnn{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}

.btnn a {
    color: #1D63A1;
    background-color: white;
    margin: 10px;
    padding: 12px 25px;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
    border: none;
    font-size: 16px;
    border-radius: 6px;
}

.btnn a:hover{
    color: white;
    background-color: #1D63A1;
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ===== CARDS ===== */
.cards{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
    margin-top:40px;
}

.card{
    background:#1D63A1;
    padding:20px;
    border-radius:10px;
    width:260px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ===== CONTACT ===== */
#contacts h1{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

#contacts h1 img{
    width:70px;
}

.contact-box{
    max-width:600px;
    margin:auto;
    background:#1D63A1;
    padding:25px;
    border-radius:10px;
}

.contact-box:hover{
    border-radius:12px;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
    transform:translateY(-5px);
    transition:0.3s;
}

.contact-box p{
    display:flex;
    align-items:center;
    gap:8px;
    margin: 12px 0;
    flex-wrap:wrap;
    justify-content:center;
}

.contact-box p img{
    width:40px;
    flex-shrink:0;
}

.contact-box a{
    color:#1D63A1;
    background:white;
    border-radius:6px;
    box-shadow:0 2px 6px rgba(0,0,0,0.25);
    padding:4px 8px;
    text-decoration:none;
}

/* ===== FOOTER ===== */
footer{
    text-align:center;
    padding:20px;
    background:#1D63A1;
    color:white;
}

/* ===== ADAPTIVE ===== */
@media (max-width:768px){

    header{
        flex-direction:column;
        align-items:center;
        padding:10px;
    }

    nav{
        flex-direction:column;
        gap:10px;
        margin-top:10px;
    }

    .logo{
        width:70px;
        height:70px;
    }

    .hero h1{
        font-size:28px;
    }

    .hero p{
        font-size:16px;
    }

    .cards{
        flex-direction:column;
        align-items:center;
    }

    .card{
        width:90%;
    }

    #price{
        width:90%;
    }

    .contact-box{
        width:90%;
        padding:15px;
    }

    .contact-box p{
        flex-direction:column;
        align-items:flex-start;
    }

    .contact-box p img{
        width:40px;
    }
}