/* <FILE>home/first.css</FILE> */

/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #FBBF24;
    --primary-gold-dark: #F59E0B;
    --black: #111111;
    --text-white: #ffffff;
    --text-gray-dark: #9CA3AF;
    --green: #10B981;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #111111;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000000;
    padding: 4rem 0 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-video-wrapper {
    width: 100%;
    max-width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000000;
}

.hero-placeholder {
    width: 100%;
    background: #000000;
}

.hero-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 4rem 0 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 6rem 5rem 2rem;
    }
    
    .hero-content {
        max-width: 1400px;
    }
    
    .hero-video-wrapper {
        border-radius: 1rem;
    }
}

@media (min-width: 1280px) {
    .hero-section {
        padding: 7rem 6rem 2rem;
    }
}

/* Sections Base */
.section-dark {
    background: #111111;
    padding: 5rem 0;
    position: relative;
}

.section-light {
    background: #1a1a1a;
    padding: 5rem 0;
}

@media (max-width: 767px) {
    .section-dark {
        padding: 2rem 0 5rem;
    }
    
    .section-light {
        padding: 2rem 0 5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 2rem;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title-dark {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.title-underline-dark {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-subtitle-dark {
    font-size: 1.25rem;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Responsive Typography */
@media (max-width: 767px) {
    .section-title,
    .section-title-dark {
        font-size: 1.75rem;
    }
    
    .section-subtitle,
    .section-subtitle-dark {
        font-size: 1rem;
    }
}

/* Headings Base */
.heading-primary {
    font-size: 1.75rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

/* Font Awesome Base - для корректного отображения до загрузки основного CSS */
.fas, .fa {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* About Section - Critical Styles */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.content-text {
    display: flex;
    flex-direction: column;
}

.content-paragraph {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-image {
    text-align: center;
}

.rounded-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
    transition: var(--transition);
}

.rounded-image:hover {
    transform: scale(1.02);
}

/* Transparent background images - use drop-shadow instead of box-shadow */
.rounded-image-transparent {
    box-shadow: none;
    filter: drop-shadow(0 10px 30px rgba(251, 191, 36, 0.2));
}

.image-caption {
    margin-top: 1rem;
    color: var(--text-gray-dark);
    font-size: 0.9rem;
    font-style: italic;
}

.feature-list {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item-about {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0;
    padding: 1.5rem;
    background: rgba(251, 191, 36, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(251, 191, 36, 0.1);
    transition: var(--transition);
}

.feature-item-about:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateX(5px);
}

.feature-icon-about {
    color: var(--primary-gold);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item-about h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item-about p {
    color: var(--text-gray-dark);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}