:root {
    --primary-color: #178bf7;
    --secondary-color: #1c86e9;
    --navigato-color: #00ff15;
    --text-color: #000000;
    --white: #09bcdb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ЗАПОБІГАЄМО ГОРИЗОНТАЛЬНОМУ ПЕРЕПОВНЕННЮ */
html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: url('cheese-bg.svg') center center / cover no-repeat fixed;
}

/* FIX 2: Додаємо відступ зверху, щоб компенсувати фіксовану шапку */
main {
    padding-top: 105px; 
}

@media (max-width: 768px) {
    main {
        padding-top: 90px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header Styles */
.header-top {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-info {
    display: flex;
    gap: 5px;
    font-size: 14px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.082);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

}

.contact-info a {
    color: var(--white);
    text-decoration: none;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 3px 0;
}
.main-header {
    /* FIX 1: Змінюємо sticky на fixed для гарантованого "прилипання" */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.082);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 0px 0;
    margin: 0px 0;
}
.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    height: 60px;
    width: auto;
    display: block;
}

.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    display: flex;
    align-items: center;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.3s, color 0.2s;
    white-space: nowrap;
}
.nav-list a.active,
.nav-list a:hover {
    background: #0c84ca;
    color: #fff;
}

.nav-icon {
    display: none;
    font-size: 1.5rem;
}

.nav-text {
    display: inline;
}

@media (max-width: 768px) {
    .header-main { gap: 15px; }
    .logo { height: 50px; }
    .main-nav { width: auto; }
    .nav-list {
        flex-direction: row;
        gap: 15px;
    }
    .nav-list .nav-text { display: none; }
    .nav-list .nav-icon { display: block; }
    .nav-list a {
        padding: 10px;
        text-transform: none; 
        letter-spacing: normal;
    }
    .nav-list a {
        position: relative;
        padding-bottom: 8px; 
    }
    
    .nav-list a.active,
    .nav-list a:hover {
        background: none; 
        border-radius: 0; 
        color: var(--primary-color); 
    }
    
    .nav-list a.active::after {
        content: ''; 
        position: absolute;
        bottom: 0; 
        left: 50%; 
        transform: translateX(-50%);
        width: 60%;
        height: 3px; 
        background-color: var(--primary-color);
        border-radius: 2px; 
    }
}
@media (max-width: 1200px) { .nav-list { gap: 30px; } }
@media (max-width: 1024px) { .nav-list { gap: 25px; } }
@media (max-width: 992px) {
    .nav-list { gap: 20px; }
    .nav-list a { padding: 8px 12px; font-size: 0.9rem; }
}
@media (max-width: 900px) {
    .nav-list { gap: 15px; }
    .nav-list a { padding: 6px 10px; font-size: 0.85rem; }
}

.hero {
    background-image: linear-gradient(rgba(0, 162, 255, 0.14), rgba(241, 237, 0, 0.14)), url('hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 200px 0;
    text-align: center;
}

.hero h1 {
    opacity: 1.9;
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 5px;
    box-shadow: 0 1px 24px rgba(0,0,0,1.3);
    padding: 8px 0;
    margin: 4px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,1.3);
}

/* About Section */
.about-section {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
    padding: 80px 0;
    margin: 60px auto;
}
.about-grid {
    display: grid;
    gap: 40px;
}

.about-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-item.reverse { direction: rtl; }
.about-item.reverse .about-content { direction: ltr; }
.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 1px 24px rgba(0,0,0,0.6);
}
.about-content h2 { color: #0c84ca; margin-bottom: 20px; }

/* Partners Section */
.partners-section {
    padding: 70px 0;
    text-align: center;
    background: linear-gradient(to bottom, #f5cb72, #ffffff00);
}
.partners-section h2 { font-size: 2.8rem; margin-bottom: 50px; color: var(--text-color); }
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.partner-card {
    background: #ffffff46;
    border-radius: 10px;
    padding: 25px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.partner-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0px 24px rgb(4, 175, 255);
}
.partner-card img { max-width: 100%; max-height: 70px; object-fit: contain; }

/* Contacts Section on main page */
.contact-section {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
    padding: 80px 0;
    margin: 40px 0;
}
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-section1 {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
    padding: 80px 0;
    margin: 40px 0;
}
/* Footer */
footer {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3px 0;
    text-align: center;
}

/* --- About Page: Hero with Wheel --- */
.page-hero {
    position: relative;
    padding: 120px 0 80px 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.page-hero-item {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1200px;
}
.wheel {
    --radius: 500px;
    --image-size: 15rem;
    --rotation-speed: 70s;
    width: var(--image-size);
    height: var(--image-size);
    margin: 100px auto;
    position: relative;
    transform-style: preserve-3d;
}
.wheel-container {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform-style: preserve-3d;
    animation: rotate var(--rotation-speed) infinite linear;
}
@keyframes rotate { from { transform: rotateY(360deg); } to { transform: rotateY(0deg); } }
.wheel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 3px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.7);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
.wheel-image:nth-child(1) { transform: rotateY(0deg) translateZ(var(--radius)); }
.wheel-image:nth-child(2) { transform: rotateY(36deg) translateZ(var(--radius)); }
.wheel-image:nth-child(3) { transform: rotateY(72deg) translateZ(var(--radius)); }
.wheel-image:nth-child(4) { transform: rotateY(108deg) translateZ(var(--radius)); }
.wheel-image:nth-child(5) { transform: rotateY(144deg) translateZ(var(--radius)); }
.wheel-image:nth-child(6) { transform: rotateY(180deg) translateZ(var(--radius)); }
.wheel-image:nth-child(7) { transform: rotateY(216deg) translateZ(var(--radius)); }
.wheel-image:nth-child(8) { transform: rotateY(252deg) translateZ(var(--radius)); }
.wheel-image:nth-child(9) { transform: rotateY(288deg) translateZ(var(--radius)); }
.wheel-image:nth-child(10) { transform: rotateY(324deg) translateZ(var(--radius)); }
.wheel-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
    .page-hero { padding: 150px 0 80px 0; }
    .wheel { --image-size: 12rem; margin: 40px auto; }
    .bottom-text { margin-top: 10px; padding: 15px; }
    .bottom-text h1 { font-size: 2rem; }
    .bottom-text .subtitle { font-size: 1.8rem; }
    .contact-section { margin-top: -120px; }

}
@media (max-width: 480px) {
    .page-hero { padding: 150px 0 80px 0; }
    .wheel { --image-size: 10rem; margin: 60px auto; }
    .bottom-text h1 { font-size: 1.8rem; }
    .bottom-text .subtitle { font-size: 1.5rem; }
}
.bottom-text {
    position: relative;
    text-align: center;
    z-index: 1;
    margin-top: -70px;
    padding: 20px;
    background-color: rgba(0,0,0,0.05);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.7);
}
.bottom-text h1 { margin-bottom: 1rem; color: var(--white); text-shadow: 0 1px 1px rgba(0,0,0,10.2); }
.bottom-text .subtitle { color: #fff; text-shadow: 0 0 1px rgba(0,0,0,10.2); }
.page-hero h1 { font-size: 2.5rem; margin-bottom: 15px; padding: 8px 0; margin: 4px 0; }
.page-hero .subtitle { font-size: 2.2rem; color: #000000; }

/* --- About Page: Info Cards --- */
.info-cards { display: grid; grid-template-columns: 1fr; gap: 40px; }
.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
}
.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0px 25px rgb(4, 175, 255);
}
.card-icon  { display: block; margin: 0 auto 25px auto; color: var(--primary-color); font-size: 3.5rem; }
.info-card h2 { color: var(--text-color); margin-bottom: 20px; font-size: 1.8rem; font-weight: 600; }
.info-card p { font-size: 1.1rem; line-height: 1.7; color: var(--text-color); }
@media (max-width: 992px) {
    .info-card { padding: 30px 25px; }
    .card-icon { font-size: 3rem; }
    .info-card h2 { font-size: 1.6rem; }
    .info-card p { font-size: 1rem; }
}
@media (max-width: 768px) {
    .info-cards { gap: 30px; }
     .info-card { padding: 35px 30px; }
}

/* --- Products Page --- */
.products-section { padding: 40px 0; }
.products-layout { display: flex; gap: 30px; }
.products-sidebar {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 3px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.7);
    min-width: 220px;
    max-width: 280px;
    flex: 0 0 220px;
}
.products-content { flex: 1 1 0; min-width: 0; }
.products-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 30px; }
.product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 128, 255, 0.2);
}
.product-card img { width: 100%; height: 200px; object-fit: contain; margin-bottom: 15px; transition: transform 0.3s ease-in-out; }
.product-card:hover img { transform: scale(1.35); }
.product-title { font-size: 1rem; color: var(--text-color); margin-top: auto; padding-top: 10px; }

/* Categories */
.categories-wrapper h2 { color: #000000; margin-bottom: 20px; font-size: 1.5rem; }
.categories-list { display: flex; flex-direction: column; gap: 10px; }
.category-btn { width: 100%; padding: 5px 15px; text-align: left; background: none; border: none; border-radius: 3px; color: var(--text-color); font-size: 0.9rem; cursor: pointer; transition: all 0.3s; }
.category-btn:hover { background: rgba(6, 134, 219, 0.247); }
.category-btn.active { background: rgba(6, 134, 219, 0.384); color: #000000; }
.subcategory-list { margin-left: 20px; margin-top: 5px; display: flex; flex-direction: column; gap: 5px; }
.subcategory-btn { padding: 5px 15px; text-align: left; background: none; border: none; border-radius: 3px; color: var(--text-color); font-size: 0.9rem; cursor: pointer; transition: all 0.3s; }
.subcategory-btn:hover { background: rgba(6, 123, 219, 0.384); }
.subcategory-btn.active { background: rgba(6, 123, 219, 0.384); color: #000000; }

@media (max-width: 768px) {
    .products-layout { flex-direction: column; gap: 20px; }
    .products-sidebar { max-width: 100%; flex-basis: auto; }
    .categories-list { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .category-btn { width: auto; padding: 8px 12px; border: 1px solid #ddd; }
    .subcategory-list { width: 100%; margin-left: 0; justify-content: center; flex-direction: row; flex-wrap: wrap; border-top: 1px solid #eee; margin-top: 10px; padding-top: 10px; }
    .products-grid { grid-template-columns: repeat(1, 1fr); gap: 15px; }
    .product-card { padding: 10px; }
    .product-card:hover { transform: none; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
    .product-card img { height: 140px; margin-bottom: 8px; }
    .product-card:hover img { transform: scale(1.15); }
    .product-title { font-size: 0.85rem; line-height: 1.3; margin-top: 0; padding-top: 0; min-height: 36px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* --- Contact Form & Map (reusable) --- */
.contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.contact-item i { color: #0c84ca; font-size: 1.5rem; margin-top: 5px; }
.contact-item h3 { color: #0c84ca; margin-bottom: 1px; }
.contact-item span { color: #02070a; margin-bottom: 5px; font-size: 1.3rem; }
.contact-item .phone-entry a { color: var(--text-color); text-decoration: none; font-weight: normal; }
.contact-item .phone-entry a:hover { color: var(--primary-color); text-decoration: underline; }
.contact-item .phone-entry { margin-bottom: 8px; }
.contact-item .phone-entry:last-child { margin-bottom: 0; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s; background-color: #fff; color: var(--text-color);
}
.form-group textarea { min-height: 180px; line-height: 1.5; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--secondary-color); outline: none; }
.map-container {  margin-top: 40px; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.7); }

/* --- 3D Map Section (Contacts Page) --- */
/* ИЗМЕНЕНО: Добавлен отрицательный отступ, чтобы поднять секцию */
.full-width-map-section {
    margin-top: -105px;
}
@media (max-width: 768px) {
    .full-width-map-section {
        margin-top: -90px;
    }
}

.model-viewer-section {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    background-color: transparent;
}
#interactiveMapContainer { position: relative; }
.map-title {
    position: absolute;
    top: 15vh; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; 
    width: 100%;
    text-align: center;
    color: rgb(98, 185, 255);
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}
model-viewer#ukraineMapViewer {
    display: block;
    border: none !important;
    background-color: transparent !important;
    outline: none !important;
    cursor: grab;
}
model-viewer#ukraineMapViewer:active { cursor: grabbing; }

/* Hotspots on Map */
model-viewer button.region-label-hotspot {
    background-color: rgba(30, 30, 30, 0.74);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    opacity: 0.9;
    transition: background-color 0.2s, opacity 0.2s, transform 0.2s ease-out;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
model-viewer button.region-label-hotspot:hover {
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 1;
    transform: scale(1.305);
}
model-viewer button.region-label-hotspot.highlighted-region-label {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.5);
}
model-viewer button.region-label-hotspot.highlighted-region-label:hover { background-color: var(--secondary-color); }

/* --- ИЗМЕНЕНО: Новые стили для информационной карточки --- */
.region-info-card {
    position: absolute;
    z-index: 20;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #333;
    animation: fadeIn 0.3s ease-out;
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    width: auto;
    flex: 1 1 auto;
    display: flex;

}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.region-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}
.region-info-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
}
.close-info-btn {
    background: none;
    border: none;
    font-size: 2rem;
    font-weight: 300;
    color: #555;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.2s;
}
.close-info-btn:hover {
    color: #000;
}
.region-info-body p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}


@media (max-width: 768px) {
    .map-title { font-size: 2.8rem; top: 15vh; }
    model-viewer button.region-label-hotspot {
        font-size: 9px;
        padding: 3px 6px;
        font-weight: 400;
    }
    /* Адаптация карточки для мобильных */
    .region-info-card {
        left: 10px;
        right: 10px;
        bottom: 150px;
        max-width: none;
        width: auto;
    }
}
@media (max-width: 480px) {
    .map-title { 
        font-size: 2.5rem; 
        top: 18vh; 
    }
}

/* --- Animation & Misc --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.animate-from-left { transform: translateX(-50px); }
.animate-on-scroll.animate-from-right { transform: translateX(50px); }
.animate-on-scroll.animate-from-bottom { transform: translateY(30px); }
.animate-on-scroll.visible { opacity: 1; transform: translateX(0) translateY(0); }

/* Lightbox styles ... */
.clickable-wheel-image img { cursor: pointer; }
.lightbox-modal {
    display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    flex-direction: column; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; overflow-y: auto; 
}
.lightbox-image-container { position: relative; max-width: 90vw; max-height: calc(100% - 70px); width: 120%; display: flex; align-items: center; margin-bottom: 15px; }
.lightbox-content {
    display: block; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; 
    animation-name: lightboxZoom; animation-duration: 0.4s; transition: opacity 0.3s ease-in-out; 
}
#lightboxCaption { color: #ccc; text-align: center; font-size: 0.9rem; max-width: 80vw; width: auto; padding: 0 10px; box-sizing: border-box; }
@keyframes lightboxZoom { from {transform:scale(0.8); opacity: 0.5;} to {transform:scale(1); opacity: 1;} }
.lightbox-close { position: absolute; top: 25px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; line-height: 1; z-index: 1001; }
.lightbox-close:hover, .lightbox-close:focus { color: #bbb; text-decoration: none; }
.lightbox-prev, .lightbox-next {
    cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); padding: 16px; color: white;
    font-weight: bold; font-size: 28px; transition: 0.4s ease; user-select: none; background-color: rgba(0,0,0,0.3); z-index: 1;
}
.lightbox-next { right: 10px; border-radius: 3px 0 0 3px; }
.lightbox-prev { left: 10px; border-radius: 0 3px 3px 0; }
.lightbox-prev:hover, .lightbox-next:hover { background-color: rgba(0,0,0,0.6); }

/* Submit Button */
.submit-button {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 32px;
    font-size: 16px; font-weight: 600; color: white; text-decoration: none; border: none; border-radius: 8px; cursor: pointer;
    overflow: hidden; transition: transform 0.2s ease-out, box-shadow 0.3s ease-out; background-color: #1f8ae2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); z-index: 1;
}
.submit-button i { font-size: 1.1em; }
.submit-button::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient( circle farthest-corner at var(--x, 50%) var(--y, 50%), #e6a721 0%, #f5cb72 60%, #f09e24 120% );
    opacity: 0; transition: opacity 0.4s ease-out, transform 0.3s ease-out; z-index: -1; border-radius: inherit;
}
.submit-button span, .submit-button i { position: relative; z-index: 1; }
.submit-button:hover::before { opacity: 1; }
.submit-button:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(76, 161, 255, 0.3); }
.submit-button:active { transform: scale(0.98); }
/* Добавьте в конец style.css */

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-switcher a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.language-switcher a.active {
    background-color: var(--primary-color);
    color: #fff;
}

.language-switcher a:not(.active):hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.language-switcher span {
    color: #ccc;
}