:root {
    --primary-color: #2a2a72;
    --secondary-color: #009ffd;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --card-bg: #ffffff;
    --parallax-x: 0px;
    --parallax-y: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: transparent;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 0;
    background: transparent !important;
    background-color: var(--site-bg-fallback-color, #222) !important;
    z-index: 1;
}

/* Фон — один слой в ::before (избегаем «двоения» с background на body) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--site-bg-image, url('/images/vr_00.jpg'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Убрано background-attachment: fixed для улучшения производительности в Chrome */
    z-index: -1;
    transform: translate3d(calc(var(--parallax-x, 0) * 0.1), calc(var(--parallax-y, 0) * 0.1), 0) scale(1.05);
    /* Убрано transition - анимация управляется через JS */
    opacity: 0.8;
    /* will-change добавляется динамически только когда нужно */
}
/* Дополнительный градиент для затемнения */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(20,20,20,0.3) 0%, rgba(20,20,20,0.0) 30%, rgba(20,20,20,0.0) 70%, rgba(20,20,20,0.3) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(30, 30, 40, 0.58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
}

.logo img {
    height: 25px;
    width: auto;
    object-fit: contain;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.logo a {
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: white;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: opacity 0.3s ease;
    font-size: 0.85rem;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Discount Styles */
.discount {
    color: var(--accent-color);
    font-weight: bold;
    margin-left: 0.5rem;
}

.original-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 0.5rem;
}

.final-price {
    color: #4CAF50;
    font-weight: bold;
    margin-left: 0.5rem;
}

/* Night Hours */
.night-hours {
    font-style: italic;
    color: var(--accent-color);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Contact Info */
.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info i {
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.8;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding-top: 120px;
    padding: 2rem;
}

.parallax-bg {
    display: none;
}

.slideshow {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    padding: 0 20px;
}

.slide {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 30px;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 200px);
    object-fit: contain;
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

/* Remove old hero styles */
#hero h1,
#hero p {
    display: none;
}

/* Update hero background */
#hero {
    background: none;
}

/* Remove duplicate styles and ensure border radius is applied */
#hero img,
.slide img,
.slideshow img {
    border-radius: 30px !important;
    overflow: hidden;
    display: block;
}

/* Gaming Sections */
#vr {
    margin-top: 120px;
}

.gaming-section, .wholesale-section, .map-section {
    background: none;
    margin: 2rem auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    border-radius: 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.section-image {
    max-width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    background-color: rgba(51, 51, 51, 0.3);
    padding: 1rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.85;
}

.section-image:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(51, 51, 51, 0.5);
}

.pc-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pc-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.pc-images img:hover {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Pricing Cards */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card, .wholesale-card, .map-info {
    background: rgba(30, 30, 40, 0.55);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
}

/* Wholesale Section */
.wholesale-section h2 {
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: white;
    font-weight: normal;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 4px;
}

.wholesale-section h2 i {
    font-size: 0.85rem;
    color: #ff6b6b;
}

.wholesale-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.wholesale-card {
    background: rgba(30, 30, 40, 0.55);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.wholesale-card:hover {
    transform: translateY(-5px);
}

.wholesale-card h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.3rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.wholesale-card ul {
    list-style: none;
}

.wholesale-card li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: white;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: rgba(30, 30, 40, 0.55);
    backdrop-filter: blur(5px);
    color: white;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info, .working-hours {
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-info h3, .working-hours h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-info p, .working-hours p {
    color: white;
    margin-bottom: 0.8rem;
}

.contact-info i, .working-hours i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Map Section */
.map-container {
    background: rgba(30, 30, 40, 0.55);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.map-details, .map-instructions {
    background: rgba(51, 51, 51, 0.3);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.map-details h3, .map-instructions h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.map-details p, .map-instructions li {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.map-details i, .map-instructions i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.map-instructions ul {
    list-style: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    #hero {
        padding-top: 60px;
    }
    
    .slideshow {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-image {
        height: 300px;
    }
    
    .map-info {
        grid-template-columns: 1fr;
    }
    
    #map {
        height: 300px;
    }
    
    .map-container {
        padding: 0.5rem;
    }
    
    .logo {
        padding: 0.5rem;
        margin-left: 0.5rem;
    }
    
    .logo img {
        height: 25px;
    }
}

@media (max-width: 480px) {
    .section-image {
        height: 250px;
    }
    
    .logo img {
        height: 40px;
    }
    
    #hero {
        padding-top: 50px;
    }
    
    .slideshow {
        padding: 0 10px;
    }
    
    #map {
        height: 300px;
    }
    
    .map-details, .map-instructions {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gaming-section, .wholesale-section, footer {
    animation: fadeIn 0.8s ease-out;
}

/* Update section transitions */
.gaming-section,
.wholesale-section,
footer,
header,
.pricing-card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

/* Remove hover effects for sections without background */
.gaming-section:hover,
.wholesale-section:hover {
    transform: none;
    box-shadow: none;
}

main {
    position: relative;
    z-index: 1;
}

.section-description {
    color: white;
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Pricing Page Styles */
.pricing-page {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-page h1 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.price-section {
    background: rgba(51, 51, 51, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.price-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.price-section h2 i {
    margin-right: 1rem;
    color: var(--accent-color);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price-card {
    background: rgba(51, 51, 51, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(51, 51, 51, 0.3);
    border-radius: 8px;
    color: white;
    transition: background-color 0.3s ease;
}

.price-item:hover {
    background: rgba(51, 51, 51, 0.4);
}

.price-item .time {
    font-weight: 500;
}

.price-item .price {
    font-weight: 600;
}

.wholesale .price-item {
    background: rgba(255, 255, 255, 0.15);
}

.wholesale .price-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .pricing-page {
        padding: 1rem;
    }

    .price-section {
        padding: 1.5rem;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact Pricing Page Styles */
.pricing-page.compact {
    padding: 5px 10px;
    margin-top: 0;
}

.pricing-page.compact h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

.price-section.compact {
    background: rgba(51, 51, 51, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 0.85rem;
    margin-bottom: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.price-section.compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: rgba(51, 51, 51, 0.5);
}

.price-section.compact .price-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.price-section.compact .price-section-head h2 {
    flex: 1;
    min-width: 0;
    font-size: 0.92rem;
    margin-bottom: 0;
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    line-height: 1.25;
}

.price-section.compact .price-section-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    flex-shrink: 0;
}

.price-section.compact .price-section-icon-badge i {
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1;
}

.price-section.compact h2 {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 700;
}

.price-section.compact h2 i {
    font-size: 0.82rem;
    color: #ffffff;
}

.price-section.compact .price-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.price-section.compact .price-item {
    padding: 0.55rem 0.65rem;
    font-size: 0.86rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-section.compact .price-item .time {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.price-section.compact .price-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(3px);
}

.price-section.compact .price-item.active-tariff {
    background: rgba(25, 118, 210, 0.4);
    border: 2px solid rgba(25, 118, 210, 0.8);
    box-shadow: 0 0 10px rgba(25, 118, 210, 0.5);
    font-weight: 600;
}

.price-section.compact .price-item.active-tariff:hover {
    background: rgba(25, 118, 210, 0.5);
    transform: translateX(3px);
}

.price-section.compact.wholesale .price-item {
    background: rgba(255, 255, 255, 0.2);
}

.price-section.compact.wholesale .price-item:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .pricing-page.compact {
        padding-top: 5px;
    }

    .compact-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0 5px;
    }

    .price-section.compact {
        padding: 0.6rem;
    }

    .price-section.compact h2 {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }

    .price-section.compact h2 i {
        font-size: 0.8rem;
    }

    .price-section.compact .price-item {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
}

/* Gaming Section Styles */
.gaming-section {
    padding: 2rem;
    margin: 2rem 0;
    background: none;
    border-radius: 10px;
}

.gaming-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gaming-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gaming-card {
    background: rgba(51, 51, 51, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.gaming-card:hover {
    transform: translateY(-5px);
}

.gaming-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.gaming-card p {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.gaming-card .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.gaming-card .btn:hover {
    background: var(--accent-color-dark);
}

/* Wholesale Section Styles */
.wholesale-section {
    padding: 2rem;
    margin: 2rem 0;
    background: none;
    border-radius: 10px;
}

.wholesale-section h2 {
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: white;
    font-weight: normal;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 4px;
}

.wholesale-section h2 i {
    font-size: 0.85rem;
    color: #ff6b6b;
}

.wholesale-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.wholesale-card {
    background: rgba(30, 30, 40, 0.55);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.wholesale-card:hover {
    transform: translateY(-5px);
}

.wholesale-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.wholesale-card p {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.wholesale-card .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.wholesale-card .btn:hover {
    background: var(--accent-color-dark);
}

/* Map Section Styles */
.map-section {
    padding: 2rem;
    margin: 2rem 0;
    background: none;
    border-radius: 10px;
}

.map-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
}

.mobile-menu {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 1rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.95);
    padding: 1rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.mobile-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    color: #00ff00;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-right: 1rem;
    }

    .mobile-menu.active .mobile-nav {
        display: block;
    }
}

.social-links {
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.social-links h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.social-links p {
    color: white;
    margin-bottom: 0.8rem;
}

.social-links i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.address-section {
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.address-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.address-card {
    background: rgba(30, 30, 40, 0.55);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: rgba(51, 51, 51, 0.4);
}

.address-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.address-card h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.address-card p {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.address-card p i {
    margin-right: 0.5rem;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .address-section {
        padding: 1rem;
    }

    .address-cards {
        grid-template-columns: 1fr;
    }

    .address-card {
        padding: 1.5rem;
    }

    .address-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .address-card p {
        font-size: 1rem;
    }
}

.icon-group {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.5rem;
}

.icon-group i {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.icon-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: lowercase;
    font-weight: normal;
}

.price-section.compact h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.icons-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icons-wrapper i {
    font-size: 1.2rem;
    margin: 0 0.3rem;
    color: var(--accent-color);
}

.icon-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: lowercase;
    font-weight: normal;
    margin-top: 0.3rem;
    letter-spacing: 0.02em;
}

.price-section.compact h2 .icons-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-section.compact h2 .icons-wrapper i:last-of-type {
    margin-left: 0.6rem;
}

/* Стили для фотогалереи */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    justify-items: center;
}

.photo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.photo-item:hover {
    transform: scale(1.02);
}

.photo-item img,
.photo-item video {
    width: 100%;
    max-width: 100%;
    height: 340px;
    max-height: 340px;
    object-fit: cover;
    display: block;
}

.photo-item .photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.photo-item .photo-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.photo-item .photo-description {
    font-size: 0.9em;
    opacity: 0.9;
}

@media (max-width: 600px) {
  .photo-item img,
  .photo-item video {
    height: 180px;
    max-height: 180px;
  }
}

/* Модальное окно для просмотра фото */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.97);
    z-index: 1000;
    padding: 20px;
}

.photo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.photo-modal-content img,
.photo-modal-content video {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
}

.photo-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
}

.photo-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.photo-modal-nav button {
    background: rgba(30,30,40,0.85);
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
    font-size: 2rem;
}

.photo-modal-nav button:hover {
    background: rgba(30,30,40,1);
}

/* --- Стили из style.css (photos-container и фотогалерея) --- */
.photos-container {
  position: relative;
  z-index: 2;
  margin: 84px auto;
  max-width: 1600px;
  padding: 2rem 0.5rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(30, 30, 40, 0.55);
  border-radius: 2rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(2px);
  overflow: hidden;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 0;
  background: none;
  width: 100%;
}

.photo-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 16px;
  overflow: hidden;
}

.photo-card .photo-info {
    background: rgba(30, 30, 40, 0.55);
    color: #fff;
    border-radius: 0 0 8px 8px;
    padding: 10px 15px;
}

@media (max-width: 900px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

.photo-modal-info {
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
    background: rgba(30, 30, 40, 0.85);
    padding: 16px 18px 12px 18px;
    border-radius: 0 0 12px 12px;
    text-align: center;
}

.photo-modal-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #fff;
}

.photo-modal-description {
    font-size: 1rem;
    color: #e0e0e0;
    opacity: 0.95;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 10px 20px;
    background: #f8f9fa;
    margin-bottom: 20px;
}

.breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.breadcrumbs li {
    display: inline;
    font-size: 14px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0 8px;
    color: #6c757d;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.materials-block {
    position: relative;
    z-index: 2;
    margin: 84px auto 0 auto;
    max-width: 1200px;
    padding: 2rem 2rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(30, 30, 40, 0.35);
    border-radius: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(2px);
}

.materials-block h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.materials-block .vr-materials-desc {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 1.5em;
    text-align: center;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.13);
}

.materials-block h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.13);
}

.materials-block ul {
    padding-left: 1.2em;
    margin-bottom: 0.7em;
}

.materials-block li {
    color: #eaeaea;
    font-size: 1.08rem;
    margin-bottom: 0.3em;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.materials-block .vr-materials-pricing,
.materials-block .vr-materials-note {
    color: #ccc;
    font-size: 1rem;
    margin-top: 1.2em;
    text-align: center;
    opacity: 0.92;
}

.materials-block {
    color: #eaeaea;
    font-size: 1.08rem;
}

.materials-block * {
    box-sizing: border-box;
}

.materials-image-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}
.materials-image {
    max-width: 600px;
    max-height: 360px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    background-color: rgba(51, 51, 51, 0.3);
    padding: 0.2rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.85;
    display: block;
}
.materials-image:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(51, 51, 51, 0.5);
}
@media (max-width: 768px) {
    .materials-image {
        height: 300px;
    }
    .materials-block h2 {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .materials-image {
        height: 250px;
    }
}

@media (max-width: 900px) {
  .vr-materials-flex {
    flex-direction: column !important;
    gap: 1.5em !important;
    align-items: center !important;
  }
  .materials-image-section,
  .vr-materials-equip {
    min-width: 0 !important;
    width: 100% !important;
    text-align: center !important;
  }
}

.vr-materials-flex {
  max-width: 100%;
  width: 100%;
}

.materials-image-section, .vr-materials-equip {
  max-width: 50%;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .materials-image-section, .vr-materials-equip {
    max-width: 100%;
  }
}

.vr-materials-equip ul {
  padding-left: 1.5em;
  margin-left: 0;
  text-align: left;
  list-style-position: inside;
}
.vr-materials-equip li {
  text-align: left;
}

.materials-tariffs-list .active-tariff {
  color: #1976d2;
  font-weight: bold;
  background: rgba(25, 118, 210, 0.08);
  border-radius: 6px;
}

.grid-tariffs {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 0.2em 1em;
  align-items: center;
  margin: 0.5em 0;
  padding: 0;
  list-style: none;
}
.grid-tariffs li {
  display: contents;
}
.grid-tariffs .tariff-title {
  font-weight: bold;
  font-size: 1.15em;
}
.grid-tariffs .tariff-time {
  color: #bcd;
  font-size: 1.08em;
}
.grid-tariffs .tariff-price {
  white-space: nowrap;
  font-size: 1.15em;
}
.grid-tariffs .active-tariff .tariff-title,
.grid-tariffs .active-tariff .tariff-time,
.grid-tariffs .active-tariff .tariff-price {
  color: #1976d2;
  background: rgba(25, 118, 210, 0.08);
  border-radius: 6px;
  font-weight: bold;
  padding: 0.1em 0.4em;
}
@media (max-width: 700px) {
  .grid-tariffs {
    grid-template-columns: 1fr;
  }
  .grid-tariffs .tariff-title,
  .grid-tariffs .tariff-time,
  .grid-tariffs .tariff-price {
    display: block;
    text-align: center;
    font-size: 1.08em;
    padding: 0.1em 0;
  }
}

.materials-discounts-list {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 0.2em 1em;
  align-items: center;
  margin: 0.5em 0;
  padding: 0;
  list-style: none;
}
.materials-discounts-list li {
  display: contents;
}
.materials-discounts-list .discount-title {
  font-weight: bold;
  font-size: 1.08em;
}
.materials-discounts-list .discount-condition {
  color: #bcd;
  font-size: 1em;
}
.materials-discounts-list .discount-value {
  color: #1976d2;
  font-weight: bold;
  font-size: 1.08em;
}
@media (max-width: 700px) {
  .materials-discounts-list {
    grid-template-columns: 1fr;
  }
  .materials-discounts-list .discount-title,
  .materials-discounts-list .discount-condition,
  .materials-discounts-list .discount-value {
    display: block;
    text-align: center;
    font-size: 1em;
    padding: 0.1em 0;
  }
}

/* Фиксированный фон и тёмный fallback */
html, body {
    height: 100%;
    min-height: 100%;
    background: #222;
}

/* Убираем белый фон у контейнеров, если есть */
.container, .main, .content, .footer {
    background: transparent !important;
}

/* --- Мобильное меню (гамбургер) --- */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    z-index: 1102;
    line-height: 1;
    flex-shrink: 0;
}

.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-icon {
    position: relative;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.mobile-menu-icon::before {
    top: -6px;
}

.mobile-menu-icon::after {
    top: 6px;
}

nav.main-nav {
    position: relative;
    min-height: 56px;
}

@media (max-width: 1100px) {
    nav.main-nav .mobile-menu-btn {
        display: flex;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (min-width: 1101px) {
    nav.main-nav .mobile-menu-btn {
        display: none !important;
    }
}

/* --- Навигация и корзина --- */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  background: transparent;
  box-shadow: none;
}
.nav-links {
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.nav-links a {
  font-size: 0.76rem;
  white-space: nowrap;
}
.cart-nav {
  margin-left: 30px;
  position: relative;
  display: none !important; /* временно скрыта */
}
#cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
#cart-icon:hover {
  background: rgba(255,255,255,0.08);
}
.cart-icon-wrapper {
  position: relative;
  display: inline-block;
}
#cart-icon i.fas.fa-shopping-cart {
  font-size: 22px;
}
#cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #f44336;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: opacity 0.2s;
}
#cart-count[style*='display: none'] {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .main-nav {
    flex-wrap: wrap;
    padding: 0 10px;
    height: auto;
  }
  .cart-nav {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1102;
  }
}

@media (max-width: 600px) {
  .main-nav {
    padding: 0 2px;
  }
  .logo img {
    height: 22px;
  }
}

@media (min-width: 1101px) {
  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    width: auto;
  }
}

@media (max-width: 1100px) {
  header {
    overflow: visible;
  }

  nav.main-nav {
    overflow: visible;
  }

  nav.main-nav .nav-links {
    display: none !important;
    flex: none !important;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    background: rgba(28, 28, 32, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
    position: fixed;
    top: var(--vr60-site-header-offset, 60px);
    left: 0;
    right: 0;
    z-index: 10050;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    border-radius: 0 0 12px 12px;
    padding: 6px 10px 10px !important;
    gap: 0 !important;
    margin: 0 !important;
  }

  nav.main-nav .nav-links a {
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 10px 14px !important;
    border-radius: 8px;
    font-size: 14px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    white-space: nowrap;
  }

  nav.main-nav .nav-links a:hover,
  nav.main-nav .nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  nav.main-nav .nav-links.show {
    display: flex !important;
  }

  body.vr60-mobile-nav-open > header {
    z-index: 10050;
  }

  body.vr60-mobile-nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
  }
}
@media (min-width: 1101px) {
  nav.main-nav .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    width: auto;
  }
} 