/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-bottom: 2px solid var(--light-gray);
}

header.scrolled {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; 
    padding: 1.2rem 0;
    box-sizing: border-box; 
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    color: var(--accent);
    font-weight: 800;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 1.05rem;
}

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

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

nav a:hover:after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    z-index: 1001;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 10px solid var(--accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-logo span {
    color: var(--accent);
    font-weight: 800;
}

.footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.85;
    line-height: 1.7;
}

.requisites {
    margin-top: 1.5rem;
}

.requisites p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.85;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.05rem;
    display: block;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    opacity: 0.9;
}

.footer-contact i {
    margin-right: 12px;
    color: var(--accent);
    min-width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
    opacity: 0.7;
}

.developer-credit {
    background-color: #1a365d;
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
}

.developer-credit a {
    color: #63b3ed;
    text-decoration: none;
    transition: color 0.3s;
}

.developer-credit a:hover {
    color: #90cdf4;
    text-decoration: underline;
}
