



/* ===== ОСНОВА ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;

    background: linear-gradient(120deg, #0f172a, #1e3a8a, #0ea5e9);
    color: #ffffff;

    overflow: hidden;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 30px;
    z-index: 1000;

    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
}

/* ===== ЛОГО (УВЕЛИЧЕНО) ===== */
.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 180px;  /* 👈 УВЕЛИЧЕНО */
    height: auto;
    object-fit: contain;
    transition: 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* анимация логотипа */
.animate-logo {
    opacity: 0;
    transform: translateY(-10px);
    animation: logoFade 0.9s ease forwards;
}

@keyframes logoFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NAV ===== */
nav a {
    margin-left: 18px;
    text-decoration: none;
    color: #e2e8f0;
    font-size: 16px;
    transition: 0.3s;
}

nav a:hover {
    color: #38bdf8;
}

/* ===== СЛАЙДЕР ===== */
.slider {
    display: flex;
    height: 100vh;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slide {
    min-width: 100vw;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    scroll-snap-align: center;

    padding: 80px 30px;
}

/* ===== КОНТЕНТ ===== */
.content {
    max-width: 900px;
    text-align: center;
}

h2 {
    font-size: 64px;
    margin-bottom: 20px;
}

p {
    font-size: 22px;
    line-height: 1.8;
}

/* выделение */
.highlight {
    color: #6b7280;   /* светло-серый текст */
    font-weight: 700;

    background: none; /* без прямоугольника */
    padding: 0;
    border-radius: 0;
}

/* кнопки */
.links a {
    display: inline-block;
    margin: 10px;
    padding: 14px 26px;

    background: #38bdf8;
    color: #0f172a;

    font-weight: 600;
    border-radius: 30px;

    text-decoration: none;
    transition: 0.3s;
}

.links a:hover {
    background: #0ea5e9;
    color: white;
}

/* ===== КОНТАКТНАЯ ИНФОРМАЦИЯ ===== */
.contact-info {
    margin-top: 10px;
}

.contact-info p {
    margin-bottom: 18px;
}

.contact-info strong {
    color: #38bdf8;
    font-weight: 600;
}

.contact-info a {
    color: #d1d5db;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-info a:hover {
    color: #38bdf8;
}

/* ===== КНОПКИ СОЦСЕТЕЙ ===== */
.contact-info .links {
    margin-top: 20px;
}

/* ===== MOBILE ===== */
/* ===== MOBILE ===== */
@media (max-width: 768px) {

    h2 {
        font-size: 36px;
    }

    p {
        font-size: 16px;
    }

    nav a {
        font-size: 12px;
        margin-left: 10px;
    }

    .logo-img {
        width: 110px;
    }

    /* уменьшение картинок на телефоне */
    .content::before {
        height: 130px;
        margin-bottom: 15px;
    }

    /* контакты на телефоне */
    .contact-info p {
        margin-bottom: 12px;
    }

    .contact-info .links a {
        margin: 6px;
        padding: 11px 20px;
    }
}

/* ===== АККУРАТНЫЕ КАРТИНКИ (НЕ НА ВЕСЬ ФОН) ===== */
.content {
    position: relative;
    z-index: 1;
}

/* контейнер для изображения */
.content::before {
    content: "";
    display: block;

    width: 100%;
    height: 180px;

    border-radius: 16px;
    margin-bottom: 20px;

    background-size: cover;
    background-position: center;

    opacity: 0.85;

    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* ===== ТВОИ КАРТИНКИ ===== */
#home .content::before {
    background-image: url("home.jpeg");
}

#about .content::before {
    background-image: url("about.jpeg");
}

#tax .content::before {
    background-image: url("tax.jpeg");
}

#contracts .content::before {
    background-image: url("contracts.jpeg");
}

#contact .content::before {
    background-image: url("contact.jpeg");
}