/* /css/navigation.css */

/* ============================================================
   ХЕДЕР
   ============================================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(4, 161, 236, 0.1);
    animation: slideDown 0.6s ease;
    border-bottom: 1px solid rgba(4, 161, 236, 0.05);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
}

.logo img {
    height: 86px;
    width: auto;
    display: block;
}

.logo span {
    display: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-accent {
    color: var(--primary);
    font-weight: 700;
}

.cta-button {
    background: linear-gradient(135deg, #00689e 0%, #04a1ec 100%);
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(4, 161, 236, 0.25);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 161, 236, 0.35);
}

/* ============================================================
   ФУТЕР (footer.php)
   ============================================================ */
.site-footer {
    background: #0a3a56;
    color: rgba(255,255,255,0.7);
    border-top: 2px solid rgba(255,255,255,0.07);
}

.site-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.2fr;
    gap: 4rem;
    align-items: start;
    text-align: left;
    box-sizing: border-box;
}

/* — Колонка бренда — */
.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

.site-footer__logo {
    display: block;
    line-height: 0;
}

.site-footer__logo img {
    display: block;
    height: 112px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.site-footer__tagline {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

.site-footer__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.88rem;
}

.site-footer__contacts li {
    color: rgba(255,255,255,0.7);
}

.site-footer__contacts a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__contacts a:hover {
    color: var(--primary);
}

/* — Колонка услуг — */
.site-footer__nav {
    display: block;
    padding: 0;
    margin: 0;
    max-width: none;
}

.site-footer__heading {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
    margin: 0 0 1.2rem 0;
    padding: 0;
}

.site-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.site-footer__nav li {
    margin: 0;
    padding: 0;
}

.site-footer__nav a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.2s;
    display: inline;
    white-space: nowrap;
}

.site-footer__nav a:hover {
    color: var(--primary);
}

/* — Колонка адресов — */
.site-footer__address {
    display: block;
}

.site-footer__address .site-footer__contacts {
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.site-footer__address p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.65);
    margin: 0 0 1rem 0;
    padding: 0;
}

/* — Нижняя строка — */
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    text-align: center;
    padding: 1.2rem 2rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}

.site-footer__bottom p {
    margin: 0;
}

/* — Адаптив — */
@media (max-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 860px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 500px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem 2rem;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }
}
