/* Базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Навигационные точки */
.nav-dots {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.dot.active {
    background: #d4af37;
    transform: scale(1.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.dot:hover {
    background: rgba(212, 175, 55, 0.7);
    transform: scale(1.2);
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo h2 {
    font-weight: 700;
    background: linear-gradient(45deg, #d4af37, #6ba8e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #d4af37;
}

/* НОВЫЙ ГЛАВНЫЙ ЭКРАН */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.car-background {
    position: absolute;
    top: 0;
    right: -10%;
    width: 70%;
    height: 100%;
    background-image: url('https://dunb17ur4ymx4.cloudfront.net/wysiwyg/1088297/d24d3464b4a8f58c69ebdf3a81b420246bf43134.png');
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.7) contrast(1.2);
    transform: skewX(-8deg);
    transform-origin: top right;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.8) 40%,
        rgba(10, 10, 10, 0.4) 70%,
        transparent 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    margin-left: 3%;
    padding: 2rem;
    opacity: 0;
    transform: translateX(-50px);
    animation: contentReveal 1s ease 0.5s forwards;
}

@keyframes contentReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.brand-line {
    display: block;
    background: linear-gradient(45deg, #ffffff, #e0e0e0, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.brand-line:nth-child(1) {
    animation: lineReveal 0.8s ease 0.8s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.brand-line:nth-child(2) {
    animation: lineReveal 0.8s ease 1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes lineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.2s forwards;
}

.hero-tagline {
    font-size: 1.6rem;
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 3rem;
    font-weight: 300;
    position: relative;
    padding-left: 2rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.4s forwards;
}

.hero-tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #d4af37, transparent);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.6s forwards;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(8px);
}

/* Плавающие элементы */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-element {
    position: absolute;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
}

.floating-element:nth-child(1) {
    top: 20%;
    right: 25%;
    width: 120px;
    height: 120px;
    animation: float 12s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    bottom: 30%;
    right: 15%;
    width: 80px;
    height: 80px;
    animation: float 8s ease-in-out infinite reverse;
}

.floating-element:nth-child(3) {
    top: 50%;
    right: 35%;
    width: 100px;
    height: 100px;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
    }
    33% { 
        transform: translateY(-30px) rotate(120deg) scale(1.1);
    }
    66% { 
        transform: translateY(15px) rotate(240deg) scale(0.9);
    }
}

/* Общие стили для секций */
.section {
    padding: 100px 0;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #d4af37, #6ba8e9);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    font-weight: 300;
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Heritage Hall */
.heritage-section {
    background-color: #111;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideUp 0.8s ease forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.card:hover .card-image::before {
    opacity: 1;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.card-content h3 {
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.4rem;
    color: #fff;
}

.card-content p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.card-price {
    color: #d4af37;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.section-note {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 3rem;
    font-style: italic;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Velocity Showroom */
.velocity-section {
    background-color: #0a0a0a;
}

.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 80vh;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.brand-side {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Übermacht Side */
.ubermacht-side {
    background: 
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9)),
        url('https://dunb17ur4ymx4.cloudfront.net/wysiwyg/1088297/816f52fa7f8c940e6b38eb5bec9749c14d857852.png') 
        center center/cover;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Benefactor Side */
.benefactor-side {
    background: 
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9)),
        url('https://files.gta5mod.net/mods/2024/08/Benefactor-GT.webp') 
        center center/cover;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 168, 233, 0.1) 0%,
        transparent 50%,
        rgba(107, 168, 233, 0.05) 100%
    );
    transition: all 0.5s ease;
    opacity: 0.3;
}

.benefactor-side .brand-overlay {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.1) 0%,
        transparent 50%,
        rgba(212, 175, 55, 0.05) 100%
    );
}

.brand-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    transition: all 0.5s ease;
}

.brand-logo {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: #ffffff;
    transition: all 0.5s ease;
}

.brand-tagline {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.5s ease;
}

.featured-models {
    margin-bottom: 3rem;
}

.model {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.model:last-child {
    border-bottom: none;
}

.model-name {
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.model-price {
    color: #b0b0b0;
    font-weight: 400;
    transition: all 0.3s ease;
}

.catalog-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    width: fit-content;
}

.catalog-btn svg {
    transition: transform 0.3s ease;
}

/* Hover Effects */
.brand-side:hover {
    flex: 1.2;
}

.brand-side:hover .brand-content {
    transform: translateY(-10px);
}

.brand-side:hover .brand-logo {
    color: #ffffff;
    text-shadow: 0 0 20px currentColor;
}

.brand-side:hover .brand-tagline {
    color: #ffffff;
}

.brand-side:hover .model-name {
    color: #ffffff;
    transform: translateX(5px);
}

.brand-side:hover .model-price {
    color: #d4af37;
}

.brand-side:hover .catalog-btn {
    border-color: currentColor;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.brand-side:hover .catalog-btn svg {
    transform: translateX(5px);
}

/* Specific brand hover colors */
.ubermacht-side:hover .brand-logo {
    color: #6ba8e9;
}

.ubermacht-side:hover .catalog-btn {
    color: #6ba8e9;
    border-color: #6ba8e9;
}

.benefactor-side:hover .brand-logo {
    color: #d4af37;
}

.benefactor-side:hover .catalog-btn {
    color: #d4af37;
    border-color: #d4af37;
}

/* Inactive side dimming */
.split-screen:hover .brand-side:not(:hover) {
    filter: brightness(0.7);
}

.split-screen:hover .brand-side:not(:hover) .brand-content {
    opacity: 0.7;
    transform: scale(0.95);
}

/* Union Square */
.union-section {
    background-color: #111;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #1a1a1a;
    border-radius: 8px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #d4af37;
    font-weight: 500;
}

.service-item p {
    color: #aaa;
    line-height: 1.6;
}

/* Футер */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 25px;
}

.footer-brand h2 {
    font-size: 2em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.footer-tagline {
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.5;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 600;
}

.footer-section p {
    margin: 8px 0;
    color: #aaa;
    font-size: 0.9em;
    line-height: 1.4;
}

.footer-legal {
    position: absolute;
    bottom: 5px;
    right: 15px;
    text-align: right;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 0.7em;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #d4af37;
}

.separator {
    color: #444;
    font-size: 0.6em;
    margin: 0 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-note {
    color: #666;
    font-size: 0.75em;
    margin: 0;
    line-height: 1.4;
}

.footer-copyright {
    color: #666;
    font-size: 0.7em;
    margin-top: 8px;
}

/* Анимации при скролле */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .brand-content {
        padding: 3rem;
    }
    
    .brand-logo {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-dots {
        right: 15px;
        gap: 15px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }

    .nav-menu {
        flex-direction: column;
        position: fixed;
        top: 70px;
        right: -100%;
        background: rgba(10, 10, 10, 0.95);
        width: 250px;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .hero-content {
        margin-left: 4%;
        padding: 1rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .brand-line {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .hero-tagline {
        font-size: 1.2rem;
        padding-left: 0;
        padding-top: 1rem;
        margin-bottom: 2rem;
    }

    .hero-tagline::before {
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 50px;
        height: 2px;
    }

    .car-background {
        width: 100%;
        right: -30%;
        transform: skewX(-5deg);
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .floating-element {
        display: none;
    }

    .split-screen {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .brand-side {
        height: 50vh;
        min-height: 400px;
    }
    
    .brand-content {
        padding: 2rem;
    }
    
    .brand-logo {
        font-size: 2rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-legal {
        position: static;
        text-align: center;
        margin-top: 20px;
    }
    
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .brand-line {
        font-size: 1.8rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .brand-content {
        padding: 1.5rem;
    }
    
    .service-item {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        gap: 20px;
    }
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
}

/* Основные стили для Ü&B CENTER */
.ub-container {
    max-width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 25px;
    margin: 20px;
}

.ub-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.ub-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.ub-subtitle {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.ub-section {
    margin-bottom: 20px;
}

.ub-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ecf0f1;
}

.ub-contact-item, .ub-address {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 14px;
    color: #34495e;
}

.ub-contact-icon {
    margin-right: 10px;
    color: #3498db;
    min-width: 16px;
}

.ub-managers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ub-manager {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

.ub-manager-role {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 3px;
}

.ub-manager-name {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

.ub-manager-brand {
    font-size: 12px;
    color: #3498db;
    font-style: italic;
}

/* Стили для выпадающего меню */
.ub-dropdown {
    position: relative;
    margin-top: 15px;
}

.ub-dropdown-toggle {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.ub-dropdown-toggle:hover {
    background: #2980b9;
}

.ub-dropdown-toggle::after {
    content: "▼";
    font-size: 10px;
    transition: transform 0.3s;
}

.ub-dropdown.active .ub-dropdown-toggle::after {
    transform: rotate(180deg);
}

.ub-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px 0;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid #e0e0e0;
}

.ub-dropdown.active .ub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ub-dropdown-item {
    padding: 8px 15px;
    color: #2c3e50 !important;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.2s;
    background: white;
}

.ub-dropdown-item:hover {
    background: #f8f9fa !important;
    color: #3498db !important;
}

/* Адаптивность */
@media (max-width: 480px) {
    .ub-container {
        margin: 10px;
        padding: 20px;
    }
}

/* === FLOATING MENU BUTTON === */

.floating-menu {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 9999;
}

.floating-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0,0,0,0.75);
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    font-size: 26px;
    cursor: pointer;
    transition: 0.25s;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.floating-btn:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.15);
}

.floating-options {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-options button {
    background: rgba(0,0,0,0.85);
    border: none;
    border-left: 3px solid #6ba8e9;
    padding: 10px 16px;
    color: white;
    border-radius: 14px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: 0.25s;
}

.floating-options button:hover {
    background: rgba(255,255,255,0.18);
    transform: translateX(-4px);
}

/* Wiggle */
.floating-menu.scroll-wiggle {
    transform: translateY(-6px);
}

/* === FORM MODAL === */
.floating-form-backdrop {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(5px);
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.floating-form {
    background: rgba(0,0,0,0.85);
    padding: 24px;
    border-radius: 18px;
    width: 340px;
    color: white;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    border-left: 3px solid #6ba8e9;
}

.floating-form input,
.floating-form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0 16px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
}

.floating-form textarea {
    height: 70px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #6ba8e9;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: black;
    font-weight: bold;
    margin-bottom: 12px;
}

.cancel-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
}
