/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5490;
    --secondary-color: #0d3d6b;
    --accent-color: #f4a526;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    
}

.back-to-top:hover {
    background: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


.back-to-top.visible {
    opacity: 1;
    visibility: visible;

}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px !important;
        height: 45px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 20px !important;
    }
}

.header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 40px;
}

.logo-text {
    position: relative;
    z-index: 9999;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 35px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-cta {
    display: inline-block;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.burger-menu.burger-open span {
    background: var(--text-secondary);
}

.burger-menu.burger-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.burger-open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.burger-menu.burger-open span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-mobile-header {
    display: none;
}

.nav-mobile-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.phone-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 84, 144, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
/* Hero Section */
.hero {
    color: white;
    padding: 72px 0 70px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 url('1.jpg') no-repeat 0 center / cover;
    
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.98) 0%, 
        rgba(0, 0, 0, 0.96) 5%,
        rgba(0, 0, 0, 0.94) 10%, 
        rgba(0, 0, 0, 0.91) 15%,
        rgba(0, 0, 0, 0.87) 20%, 
        rgba(0, 0, 0, 0.82) 25%,
        rgba(0, 0, 0, 0.75) 30%,
        rgba(0, 0, 0, 0.65) 35%,
        rgba(0, 0, 0, 0.52) 40%,
        rgba(0, 0, 0, 0.38) 45%,
        rgba(0, 0, 0, 0.24) 50%,
        rgba(0, 0, 0, 0.12) 55%,
        rgba(0, 0, 0, 0.05) 60%,
        transparent 85%);
    pointer-events: none;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 48px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
}

.hero-features {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.feature-icon {
    width: 20px;
    height: 20px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

/* Section Styles */
.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 45px 40px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: scale(1.02);
}

.service-icon {
    display: none;
}

.service-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 16px;
}

.service-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.service-list li {
    padding: 0 0 0 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.gallery-item {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.comparison-before-img,
.comparison-after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-before-img img,
.comparison-after-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.comparison-divider {
    position: absolute;
    top: 0;
    height: 100%;
    width: 3px;
    background: white;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
}

.comparison-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: ew-resize;
    pointer-events: auto;
}

.comparison-arrow {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.comparison-arrow.left {
    margin-right: -2px;
}

.comparison-arrow.right {
    margin-left: -2px;
}

.comparison-label-before,
.comparison-label-after {
    position: absolute;
    top: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    z-index: 5;
}

.comparison-label-before {
    left: 15px;
}

.comparison-label-after {
    right: 15px;
}

.gallery-title {
    font-size: 20px;
    font-weight: 600;
    padding: 20px 25px 10px;
    color: var(--text-primary);
}

.gallery-description {
    padding: 0 25px 25px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-paragraph {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.about-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.director-info h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.director-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.director-info blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: white;
    min-height: 100vh;
}

.pricing-info {
    max-width: 100%;
    margin: 0 0 60px;
    padding: 45px 40px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pricing-info-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.pricing-info-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    padding: 45px 40px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.pricing-card:hover::before {
    height: 100%;
}

.pricing-card:hover {
    transform: scale(1.02);
}

.pricing-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.pricing-list {
    list-style: none;
    display: grid;
    gap: 16px;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}

.pricing-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pricing-item-name {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
}

.pricing-item-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

/* Contacts Section */
.contacts {
    padding: 100px 0;
    background: white;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.contact-card {
    background: white;
    padding: 45px 40px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.contact-card:hover::before {
    height: 100%;
}

.contact-card:hover {
    transform: scale(1.02);
}

.contact-icon {
    display: none;
}

.contact-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    display: block;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    margin-bottom: 30px;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

/* Responsive */
@media (max-width: 968px) {
    .burger-menu {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-overlay {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: auto;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        transition: top 0.4s ease;
        z-index: 999;
        border-radius: 0 0 24px 24px;
    }
    
    .nav.nav-open {
        top: 0;
    }
    
    .nav-link {
        font-size: 18px;
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-child {
        border-bottom: none;
        padding-bottom: 25px;
    }
    
    .nav-link::after {
        bottom: 0;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }
    
У    .hero::before {
        background-position: center;
    }
    
    .hero::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-features {
        gap: 24px;
    }
    
    .feature-item {
        font-size: 14px;
    }
    
    .services,
    .gallery,
    .about,
    .contacts {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .nav {
        width: 100%;
        padding-top: 80px;
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(1.03);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.service-card,
.gallery-item,
.contact-card {
    animation: fadeInUp 0.6s ease-out;
}


#myBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#myBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#myBtn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ========== ВИДЕО ШОУКЕЙС - ПРЕМИУМ ДИЗАЙН ========== */
.video-showcase {
    margin-top: 70px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.video-showcase::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(26, 84, 144, 0.3);
    border: 4px solid white;
    z-index: 2;
    background-image: url('/camera.svg'); 
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.video-showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.video-showcase-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.video-showcase-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.video-showcase-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Сетка видео */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Карточка видео */
.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    position: relative;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 84, 144, 0.15);
    border-color: var(--primary-color);
}

/* Обертка видео */
.video-wrapper {
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card:hover .video-player {
    transform: scale(1.03);
}

/* Бейдж на видео */
.video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.video-badge-icon {
    font-size: 14px;
}

/* Информация под видео */
.video-info {
    padding: 20px 20px 25px;
    background: white;
    height: 178px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

.video-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #888;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Блок с текстом о качестве */
.video-quality-note {
    background: linear-gradient(145deg, #f8faff, #ffffff);
    border-radius: 16px;
    padding: 30px 35px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid rgba(26, 84, 144, 0.15);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.video-quality-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px 0 0 4px;
}

.quality-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 5px 12px rgba(26, 84, 144, 0.25);
}

.quality-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    flex: 1;
}

.quality-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Адаптивность */
@media (max-width: 768px) {
    .video-showcase-title {
        font-size: 26px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .video-quality-note {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }
    
    .quality-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .video-showcase-title {
        font-size: 22px;
    }
    
    .video-info {
        padding: 18px;
    }
    
    .video-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Анимация появления */
.video-card {
    animation: videoCardFadeIn 0.6s ease-out forwards;
    opacity: 0;
    height: auto;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.3s; }
.video-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes videoCardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== МОДАЛЬНОЕ ОКНО ДЛЯ ВИДЕО ===== */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.video-modal.show {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideUp 0.4s ease;
}

.video-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
    z-index: 10;
}

.video-modal-close:hover {
    background: #ff4444;
    transform: rotate(90deg) scale(1.1);
}

.video-modal-player {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
    aspect-ratio: 16/9;
}

.video-modal-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-modal-info {
    margin-top: 20px;
    color: white;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.video-modal-info h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.video-modal-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Анимации */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .video-modal-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
    
    .video-modal-info h4 {
        font-size: 18px;
    }
}


.single-image {
    width: 100%;
    height: 300px; /* или другая высота по вашему желанию */
    overflow: hidden;
    border-radius: 8px;
}

.single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-image img:hover {
    transform: scale(1.05);
}



.carousel-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
}

.carousel-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
    left: 10px;
}

.carousel-arrow-right {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}


