/* Шапка сайту */
header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
    padding: var(--spacing) 30px;
    border-bottom: 2px solid var(--gold);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    width: 100%;
}

.header-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    position: relative;
    width: 100%;
}

.header-content::after {
    display: none; /* Приховано горизонтальну лінію */
    content: '';
    position: absolute;
    bottom: -15px;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

/* Логотип */
.logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--white);
    padding: 3px;
    margin: -30px 0;
    box-shadow: var(--glow);
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255,215,0,0.3);
}

/* Заголовки */
.header-section {
    margin-left: 30px;
    text-align: center;
}

.header-section h1,
.header-section h2 {
    color: var(--gold);
    font-size: 2em;
    margin: 0;
}

.header-section h1 { white-space: nowrap; }
.header-section h2 { line-height: 1.4; }

.subtitle {
    display: block;
    font-size: 0.8em;
    margin-top: 5px;
    color: var(--white);
}

/* Соціальні мережі */
.social-section {
    text-align: right;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.social-title {
    color: var(--gold);
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.social a {
    color: var(--gold);
    font-size: 28px;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.social a:hover {
    color: var(--black);
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

/* Стилі для навігаційного меню */
.main-nav {
    background-color: #000;
    padding: 15px 0;
    text-align: center;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
}

.main-nav a:hover {
    color: var(--gold);
    background-color: rgba(255, 215, 0, 0.1);
}

/* Футер */
footer {
    background-color: #000000;
    color: #fff;
    padding: 40px 0 20px;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-col h3 {
    color: var(--gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 1.4rem;
}

/* Контакти у футері */
.contacts .contact-link,
.footer-contacts .contact-link {
    color: var(--white);
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.contacts .contact-link:hover,
.footer-contacts .contact-link:hover {
    color: var(--gold);
}

.contacts .contact-link i,
.footer-contacts .contact-link i {
    color: var(--gold);
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 1.2em;
}

/* Меню у футері */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 15px;
}

.footer-nav ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
    padding: 5px 0;
}

.footer-nav ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-nav ul li a::before {
    content: "→";
    color: var(--gold);
    margin-right: 10px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    display: inline-block;
    transform: translateX(-10px);
}

.footer-nav ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.copyright {
    background-color: #000000;
    color: #888;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

/* Кнопка прокрутки вгору */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: rgba(0,0,0,0.6);
    border-color: rgba(255,215,0,0.6);
}

.scroll-to-top i {
    color: #FFD700;
    font-size: 20px;
}
