:root {
    --primary: #0a0f1c;
    --secondary: #1a243f;
    --accent: #ff4d8d;
    --accent-glow: #ff4d8d;
    --accent-secondary: #00e0ff;
    --text: #e6f1ff;
    --text-secondary: #a8b2d1;
    --card: rgba(26, 36, 63, 0.8);
    --glass: rgba(255, 255, 255, 0.05);
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 77, 141, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 224, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Космический фон с анимацией */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 77, 141, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(0, 224, 255, 0.1) 0%, transparent 25%);
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

h1, h2, h3, h4, h5 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер в стиле необрутализм */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.logo-icon {
    font-size: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--accent-glow);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
    transition: var(--transition);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    transition: var(--transition);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

/* Герой секция с 3D эффектом */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 0 50px rgba(255, 77, 141, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 30px rgba(255, 77, 141, 0.5); }
    to { text-shadow: 0 0 60px rgba(0, 224, 255, 0.5); }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Уникальные кнопки с эффектом неона */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 
        0 0 20px rgba(255, 77, 141, 0.3),
        0 0 40px rgba(0, 224, 255, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 77, 141, 0.5),
        0 0 60px rgba(0, 224, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    margin-left: 20px;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Секции с стеклянным морфизмом */
section {
    padding: 150px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
}

.section-title h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 40px auto 0;
}

/* Абстрактная сетка для фона секций */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 24px, var(--glass) 25px, transparent 26px),
        linear-gradient(0deg, transparent 24px, var(--glass) 25px, transparent 26px);
    background-size: 50px 50px;
    opacity: 0.1;
    pointer-events: none;
}

/* О нас с асимметричной сеткой */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

.about-text {
    position: relative;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Особенности в виде шестиугольников */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature {
    background: var(--card);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.feature:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 77, 141, 0.2);
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Изображение с эффектом параллакса */
.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
    box-shadow: 
        20px 20px 60px rgba(0, 0, 0, 0.5),
        -20px -20px 60px rgba(255, 255, 255, 0.05);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

/* Услуги в виде орбитальной системы */
.services {
    background: radial-gradient(circle at center, var(--secondary) 0%, transparent 70%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
}

.service-card {
    background: var(--card);
    padding: 50px 30px;
    border-radius: 25px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent), var(--accent-secondary), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-20px) rotateX(5deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(255, 77, 141, 0.3);
}

.service-icon {
    font-size: 60px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 77, 141, 0.5));
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Галерея с эффектом калейдоскопа */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    perspective: 1000px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: var(--transition);
}

.gallery-item:nth-child(odd) {
    transform: rotate(2deg);
}

.gallery-item:nth-child(even) {
    transform: rotate(-2deg);
}

.gallery-item:hover {
    transform: rotate(0deg) scale(1.05) translateZ(20px);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(0.3);
}

.gallery-item:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 77, 141, 0.8), rgba(0, 224, 255, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    text-align: center;
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: scale(1);
}

.gallery-caption h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.gallery-caption p {
    color: var(--primary);
    font-weight: 600;
}

/* Отзывы с эффектом голограммы */
.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background: var(--card);
    padding: 50px;
    border-radius: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--glass), transparent);
    opacity: 0.1;
}

.testimonial:hover {
    transform: translateX(10px);
    box-shadow: 
        20px 20px 60px rgba(0, 0, 0, 0.3),
        -20px -20px 60px rgba(255, 255, 255, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    position: relative;
}

.author-avatar::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(from 0deg, var(--accent), var(--accent-secondary), var(--accent));
    border-radius: 50%;
    animation: rotate 2s linear infinite;
    z-index: -1;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Бронирование с интерактивным календарем */
.booking-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.booking-content p {
    margin-bottom: 50px;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.booksy-button-container {
    margin: 60px 0;
}

.booksy-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    font-size: 1.3rem;
    padding: 20px 50px;
    border-radius: 50px;
    box-shadow: 
        0 0 30px rgba(255, 107, 107, 0.4),
        0 0 60px rgba(238, 90, 36, 0.2);
}

.booksy-btn:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 
        0 0 40px rgba(255, 107, 107, 0.6),
        0 0 80px rgba(238, 90, 36, 0.3);
}

.booksy-note {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.booksy-note a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.booksy-note a:hover {
    color: var(--accent-secondary);
}

.booksy-widget {
    background: var(--card);
    padding: 60px 40px;
    border-radius: 30px;
    margin-top: 50px;
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass);
}

.booksy-widget h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.booksy-widget p {
    margin-bottom: 40px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.hours-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 30px;
    border: 1px solid var(--glass);
}

.hours-container p {
    margin-bottom: 15px;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
}

.hours-container p:last-child {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Контакты с интерактивной картой */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px;
    background: var(--card);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 
        10px 10px 30px rgba(0, 0, 0, 0.3),
        -10px -10px 30px rgba(255, 255, 255, 0.05);
}

.contact-icon {
    font-size: 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.contact-details p, .contact-details a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent);
}

.contact-booking {
    margin-top: 40px;
}

.contact-booking .btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    justify-content: center;
}

.map-container {
    border-radius: 25px;
    overflow: hidden;
    height: 500px;
    box-shadow: 
        20px 20px 60px rgba(0, 0, 0, 0.4),
        -20px -20px 60px rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.map-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.3) contrast(1.1);
}

/* Футер с градиентными волнами */
footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary), var(--accent));
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(50px); }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.footer-column h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.footer-column p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 25px;
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--card);
    border-radius: 15px;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--glass);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 25px rgba(255, 77, 141, 0.4);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass);
    border-radius: 15px;
    padding: 15px 20px;
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form .form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 77, 141, 0.3);
}

.newsletter-form .btn {
    border-radius: 15px;
}

.copyright {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid var(--glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
}


/* Адаптивность */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .section-title h2 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .map-container {
        transform: none;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-top: 1px solid var(--glass);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.8rem;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 20px;
        display: block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
    
    .booksy-widget {
        padding: 40px 25px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    * {
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    .service-card:hover,
    .gallery-item:hover,
    .feature:hover {
        transform: translateY(-5px) !important;
        transition: transform 0.3s ease !important;
    }
}
