/* ShotSCOPE Project Specific Styles */
:root {
    --teal-primary: rgb(82, 180, 191);
    --teal-light: rgba(82, 180, 191, 0.8);
    --teal-dark: rgb(62, 140, 150);
    --white-primary: rgb(255, 255, 255);
    --dark-primary: rgb(35, 34, 52);
    --dark-secondary: rgb(50, 49, 70);
}

/* Preloader */
.blue-bar {
    width: 100px;
    height: 4px;
    background-color: var(--teal-primary);
    position: relative;
    overflow: hidden;
}

.blue-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--white-primary);
    animation: preloader 1.5s infinite;
}

/* Header */
.header {
    background-color: var(--dark-primary);
    border-bottom: none;
}

.logo-text {
    color: var(--white-primary);
}

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

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

.nav-link::after {
    background-color: var(--teal-primary);
}

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

/* Hero Project */
.hero-project {
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 100%);
    height: auto;
    padding: 120px 0 80px;
    position: relative;
}

.hero-project .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    margin-top: 40px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    box-shadow: none;
}

.hero-title {
    color: var(--white-primary);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: var(--teal-primary);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
}

.btn-teal {
    background-color: #2F80ED;
    color: var(--white-primary);
    border: 2px solid #2F80ED;
}

.btn-teal:hover {
    background-color: #1a6ed8;
    border-color: #1a6ed8;
}

.btn-outline {
    background-color: transparent;
    color: var(--white-primary);
    border: 2px solid var(--white-primary);
}

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

.back-link {
    color: var(--white-primary);
    margin-right: 15px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* About Project */
.about-project {
    background-color: var(--white-primary);
    color: var(--dark-primary);
}

.section-title {
    color: var(--teal-primary);
}

.section-title::after {
    background-color: var(--teal-primary);
}

.about-text {
    color: var(--dark-primary);
    margin-bottom: 40px;
}

.project-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    margin: 15px;
    padding: 20px;
    background-color: var(--dark-primary);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 150px;
    color: var(--white-primary);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-primary);
    margin-bottom: 10px;
}

.stat-text {
    color: var(--white-primary);
    font-size: 1rem;
}

/* Features */
.features {
    background-color: var(--dark-primary);
    color: var(--white-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--dark-secondary);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(82, 180, 191, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--teal-primary);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--teal-primary);
    margin-bottom: 20px;
}

.feature-title {
    color: var(--white-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Technology */
.tech-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.tech-stack,
.tech-architecture {
    flex: 1;
    min-width: 300px;
}

.tech-subtitle {
    color: var(--teal-primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white-primary);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.tech-name {
    color: var(--dark-primary);
    font-weight: 500;
}

.architecture-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--dark-primary);
    color: var(--white-primary);
}

.footer-logo .logo-text {
    color: var(--white-primary);
}

.footer-links a {
    color: var(--white-primary);
}

.footer-links a:hover {
    color: var(--teal-primary);
}

.footer-social a {
    color: var(--white-primary);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--teal-primary);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.feature-card.animated {
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--animation-delay);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .tech-content {
        flex-direction: column;
    }

    .tech-stack,
    .tech-architecture {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stat-item {
        min-width: 100%;
    }
}

/* Стили для раздела скриншотов */
.screenshots {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.screenshot-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
    display: block;
}

.screenshot-caption {
    padding: 20px;
    text-align: center;
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

/* Стили для раздела команды */
.team {
    padding: 80px 0;
    background-color: #fff;
}

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

.team-member {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid #e1f5fe;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 22px;
    margin-bottom: 5px;
    color: #333;
}

.member-role {
    color: #3498DB;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

.member-bio {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Дополнительные стили для улучшенного отображения */
@media (max-width: 768px) {
    .screenshots-grid, .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .screenshot-item, .team-member {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .team-member {
        padding: 25px;
    }
}

/* Анимации для плавного появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screenshot-item, .team-member {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

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

.team-member:nth-child(1) { animation-delay: 0.2s; }
.team-member:nth-child(2) { animation-delay: 0.3s; }
.team-member:nth-child(3) { animation-delay: 0.4s; }

/* Стили для раздела лицензии */
.license-section {
    padding: 60px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

.license-content {
    max-width: 800px;
    margin: 30px auto 0;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.license-link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #3498DB;
    color: white;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.license-link:hover {
    background-color: #005f92;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
}

.license-link i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Адаптивность */
@media (max-width: 768px) {
    .license-content {
        padding: 20px;
    }
    
    .license-link {
        padding: 10px 20px;
    }
}

.legal-link {
    display: inline-flex;
    align-items: center;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    margin-bottom: 10px;
}

.legal-link:hover {
    color: #3498DB;
}

.legal-link i {
    margin-right: 8px;
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin: 20px 0;
    }
    
    .footer-legal {
        margin-top: 30px;
    }
}

.project-badges {
    top: 30px;
    right: 30px;
    display: flex;
    gap: 12px;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    background: #da4453;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    line-height: 1;
}

.project-badge i {
    margin-right: 6px;
    font-size: 12px;
}

/* Цвета бейджей */
.badge-type-closed { background: #da4453; }
.badge-type-opensource { background: #8cc152; }
.badge-status-development { background: #3498DB; }
.badge-status-released { background: #8cc152; }
.badge-status-planned { background: #f6bb42; }

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .project-badges {
        top: 20px;
        right: 20px;
        flex-direction: column;
    }
    
    .project-badge {
        padding: 5px 10px;
        font-size: 11px;
    }
}

