/* ============================================================
   COMPONENTS - Hero, Cards, Sections
   ============================================================ */

/* ==================== HERO SECTION ==================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
   /* min-height: 580px;*/
    background: var(--bg-card);
    gap: 0;
    margin-top: 25px;
	margin-bottom: 25px;
    padding: 0;
    overflow: hidden;
	
}

.hero-visual {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    min-height: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(0,0,0,0.08), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
   /* width: min(80%, 480px);
    height: auto;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.25));*/
    animation: logoFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.owner-photo {
    position: absolute;
    z-index: 10;
    right: 20px;
    bottom: 20px;
    width: 68px;
    height: 68px;
    padding: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.owner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 56px 48px 40px;
    background: var(--bg-card);
    height: 100%;
    min-height: 100%;
}

.hero-badge {
    display: inline-block;
    width: fit-content;
    padding: 5px 16px;
    margin-bottom: 18px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--text);
    max-width: 520px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 em {
    color: var(--primary);
    font-style: italic;
}

.hero-description {
    max-width: 420px;
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons .btn-light {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.hero-buttons .btn-light:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    color: var(--primary);
}

/* ==================== QUICK LINKS ==================== */
.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.quick-link-item {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s;
    border: 1px solid #eee;
}

.quick-link-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.quick-link-icon {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

.quick-link-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.quick-link-item p {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.quick-link-btn {
    font-size: 13px;
    color: #667eea;
    font-weight: 500;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .quick-links {
        grid-template-columns: 1fr;
    }
}
/* ==================== FEATURED POSTS ==================== */
.featured {
    padding: 12px 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}


/* ==================== NEWS SECTION ==================== */
.section-news {
    padding: 12px 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.news-card {
    background: var(--bg-card);
    padding: 18px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.news-date {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.news-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.card-link {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.card-link:hover {
    text-decoration: underline;
}

/* ==================== MATERIALS SECTION ==================== */
.section-materials {
    padding: 12px 16px 24px;
    background: var(--bg);
    max-width: 1280px;
    margin: 0 auto;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.material-card {
    background: var(--bg-card);
    padding: 20px 16px;
    text-align: center;
    border-radius: var(--radius);
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    border-bottom-width: 3px;
}

.material-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.material-icon {
    font-size: 28px;
    margin-bottom: 6px;
    display: block;
}

.material-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.material-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.material-count {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg);
    padding: 2px 12px;
    border-radius: var(--radius-full);
}

/* ==================== GALLERY SECTION ==================== */
.section-photos {
    padding: 12px 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
}



.photo-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.photo-placeholder:hover {
    transform: scale(1.04);
}

/* ==================== VIDEOS SECTION ==================== */
.section-videos {
    padding: 12px 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* ===== КАРТОЧКА ВИДЕО ===== */
.video-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);

    display: flex;
    flex-direction: column;
    position: relative;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);

}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-button {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text);
    transition: var(--transition);
    z-index: 1;
}

.video-thumbnail:hover .play-button {
    transform: scale(1.1);
    background: var(--primary);
    color: #fff;
}

.video-card h3 {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px 2px;
}

.video-card p {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 0 14px 4px;
}

.video-duration {
    display: inline-block;
    font-size: 11px;
    color: var(--text-muted);
    padding: 0 14px 12px;
}

/* ==================== CONTACT SECTION ==================== */
.section-contact {
    padding: 12px 16px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-icon {
    font-size: 20px;
    min-width: 32px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.social-link {
    padding: 4px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    font-size: 12px;
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text-secondary);
}

.social-link:hover {
    background: ;
    color: ;
    border-color: ;
}

.contact-message {
    background: var(--bg-card);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-message h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-message p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 14px;
}

/* Form Styles */
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border-input);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font);
    background: var(--bg-input);
    color: var(--text);
    transition: var(--transition);
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.1);
}

#contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==================== FOOTER ==================== */
.site-footer {
    padding: 28px 16px 16px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    max-width: 1280px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 16px;
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--primary);
}

.footer-email {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 2px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 2px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 3px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 12px;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-bottom div {
    display: flex;
    gap: 16px;
}

.footer-bottom a {
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary);
}