/* Theme Name: Museum 625
Description: Тема сайта школьного музея «Боевое братство» школы №625.
Version: 1.0.0 */
/* Custom Styles for Museum Website */
:root {
    --color-primary: #7f1d1d; /* red-900 */
    --color-secondary: #b45309; /* amber-700 */
    --color-accent: #eab308; /* yellow-500 */
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
}

/* Custom Animations */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Navigation blur effect */
.nav-blur {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Image hover zoom */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container img {
    transition: transform 0.5s ease;
}

.img-zoom-container:hover img {
    transform: scale(1.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #7f1d1d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #991b1b;
}

/* Form focus styles */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(127, 29, 29, 0.2);
}

/* Mobile menu animation */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 500px;
    opacity: 1;
}

/* Document card hover */
.doc-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.doc-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #7f1d1d;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.doc-card:hover::before {
    transform: scaleY(1);
}

/* Hero gradient text */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #eab308 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #7f1d1d, transparent);
    margin: 3rem 0;
}

/* Button pulse animation for CTA */
@keyframes pulse-subtle {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(127, 29, 29, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(127, 29, 29, 0);
    }
}

.btn-pulse {
    animation: pulse-subtle 2s infinite;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 90%;
        opacity: 0.7;
    }
}
/* Official source section: restrained school-portal style, integrated with the museum theme. */
.official-museum-archive{background:#f4f7fb;color:#243447;padding:5.5rem 1rem;border-top:1px solid #d9e2ec}
.official-inner{max-width:1180px;margin:0 auto}.official-heading{text-align:center;max-width:780px;margin:0 auto 2.5rem}.official-heading h2,.official-guides h2,.official-project h2,.official-documents h2{font-family:Merriweather,serif;color:#173b63;font-size:clamp(1.8rem,4vw,2.8rem);margin:.2rem 0 1rem}.official-kicker{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#2672a8;margin:0 0 .6rem}.official-grid{display:grid;gap:1.25rem}.official-intro-grid{grid-template-columns:1.25fr 1fr;margin-bottom:1.25rem}.official-topics{grid-template-columns:repeat(3,1fr);margin-bottom:1.5rem}.official-card{background:#fff;border:1px solid #dbe5ef;border-radius:8px;padding:1.5rem;box-shadow:0 4px 16px rgba(30,65,95,.06)}.official-card h3{font-family:Merriweather,serif;color:#1d527e;font-size:1.2rem;margin:0 0 .7rem}.official-card p{line-height:1.65}.official-profile{display:flex;gap:1.25rem;align-items:flex-start}.official-profile img{width:140px;height:140px;object-fit:cover;border-radius:6px}.official-name{font-weight:700;color:#173b63}.official-card a{color:#1f679b}.official-button{display:inline-block;background:#2672a8;color:#fff!important;padding:.65rem 1rem;border-radius:4px;text-decoration:none;font-weight:600;margin-top:.7rem}.official-button.secondary{background:#dfeaf3;color:#1d527e!important}.official-guides{display:grid;grid-template-columns:1fr 1fr;gap:2rem;background:#e8f0f7;border-left:4px solid #2672a8;padding:2rem;margin:1.5rem 0}.official-actions{display:flex;gap:.7rem;flex-wrap:wrap}.official-guide-images{display:flex;justify-content:center;align-items:center;gap:1rem}.official-guide-images img{max-height:220px;max-width:48%;width:auto;object-fit:contain;background:#fff;padding:.35rem;border:1px solid #ccd9e5}.official-project{display:grid;grid-template-columns:220px 1fr;gap:2rem;align-items:center;background:#fff;border:1px solid #dbe5ef;padding:1.5rem;margin:1.5rem 0}.official-project img{width:100%;max-height:300px;object-fit:cover;object-position:top}.official-documents{display:grid;grid-template-columns:1fr 1.5fr;gap:2rem;align-items:start;background:#fff;border-top:4px solid #173b63;padding:2rem}.official-doc-list{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.official-doc-list a{display:block;border-bottom:1px solid #dbe5ef;padding:.55rem;text-decoration:none;color:#1f679b}.official-doc-list a:before{content:'↗ ';color:#2672a8}@media(max-width:800px){.official-intro-grid,.official-topics,.official-guides,.official-project,.official-documents{grid-template-columns:1fr}.official-profile{flex-direction:column}.official-guide-images{justify-content:flex-start}.official-doc-list{grid-template-columns:1fr}}
.vk-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:2rem 0}.vk-gallery figure{margin:0;background:#fff;border:1px solid #dbe5ef;padding:.5rem;box-shadow:0 4px 12px rgba(30,65,95,.08)}.vk-gallery img{width:100%;height:240px;object-fit:cover;display:block}.vk-gallery figcaption{font-size:.85rem;line-height:1.35;color:#31536d;padding:.65rem .35rem .25rem}.vk-source{font-size:.9rem;color:#5c7080}@media(max-width:800px){.vk-gallery{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.vk-gallery{grid-template-columns:1fr}.vk-gallery img{height:auto;max-height:420px}}
.vk-curated-page{max-width:1180px;margin:0 auto;padding:2rem 1rem 5rem;color:#243447}.vk-page-header{background:#e8f0f7;border-left:5px solid #2672a8;padding:2rem;margin-bottom:1.5rem}.vk-page-header h1,.vk-section h2{font-family:Merriweather,serif;color:#173b63}.vk-page-header h1{font-size:clamp(1.8rem,4vw,3rem);margin:.2rem 0 1rem}.vk-page-header>p:not(.vk-kicker){max-width:760px;line-height:1.7}.vk-section{background:#fff;border:1px solid #dbe5ef;padding:1.7rem;margin:1.5rem 0;box-shadow:0 4px 16px rgba(30,65,95,.06)}.vk-section h2{font-size:clamp(1.35rem,3vw,2rem);margin:.25rem 0 1rem}.vk-section p{line-height:1.7}.vk-kicker{font-size:.75rem!important;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#2672a8;margin:0 0 .5rem!important}.vk-section .vk-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.25rem 0 0}.vk-section .vk-gallery figure{margin:0;border:1px solid #dbe5ef;background:#f8fafc;padding:.5rem}.vk-section .vk-gallery img{display:block;width:100%;height:210px;object-fit:cover}.vk-section .vk-gallery figcaption{font-size:.82rem;line-height:1.35;color:#31536d;padding:.55rem .25rem .15rem}.vk-page-footer{border-top:1px solid #dbe5ef;padding-top:1rem;font-size:.9rem;color:#5c7080}@media(max-width:800px){.vk-section .vk-gallery{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.vk-section .vk-gallery{grid-template-columns:1fr}.vk-section .vk-gallery img{height:auto;max-height:420px}}
