:root { --brand-gold: #C5A059; }

body, html {
    margin: 0; padding: 0; height: 100%;
    overflow: hidden; background-color: #000; color: #fff;
}

.main-wrapper {
    display: flex; flex-direction: column; height: 100vh;
}

.brand-name {
    font-weight: 700; 
    color: #fff;
    letter-spacing: 0.3em;
}

.brand-descriptor {
    font-weight: 300;
    color: #b0b0b0;
    opacity: 1;
}

.hero-section {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #000;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    transition: opacity 1.5s ease-in-out;
}

.bg-gradient-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 30%, rgba(0,0,0,0) 70%);
    z-index: 2;
}

.bg-home { 
    background-image: url('./imgs/image.webp'); 
    z-index: 1;
}
.bg-about { 
    background-image: url('./imgs/t1.webp'); 
    opacity: 0; /* Скрыт по умолчанию */
    z-index: 1;
}

.is-about-active .bg-home { opacity: 0; }
.is-about-active .bg-about { opacity: 1; }

h1 { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.15em; line-height: 1.1; }
.description { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #d1d1d1; }
.tagline { font-family: 'Montserrat', sans-serif; letter-spacing: 0.4em; }

.content-fade { position: relative; z-index: 10; transition: opacity 0.8s ease, transform 0.8s ease; }
.content-hidden { opacity: 0; transform: translateX(-20px); }

@media (max-width: 1024px) {
    body, html { overflow-y: auto; }
    .main-wrapper { height: auto; min-height: 100vh; }
    .hero-section { min-height: 80vh; padding: 40px 20px; }
    
    .bg-layer { background-size: cover; background-position: center; }
    .bg-home { background-image: url('./imgs/image_v.webp'); }
    .bg-about { background-image: url('./imgs/image_v.webp'); }

    .bg-gradient-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.9) 100%);
    }
}

.nda-text { font-family: 'Cormorant Garamond', serif; line-height: 1.6; }
.nda-item { margin-bottom: 1.5rem; border-left: 1px solid #C5A059; padding-left: 1.5rem; }
.agree-btn {
    background: transparent;
    border: 1px solid #C5A059;
    color: #C5A059;
    padding: 15px 40px;
    letter-spacing: 0.3em;
    transition: all 0.4s ease;
}
.agree-btn:hover {
    background: #C5A059;
    color: #000;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.preview-item { cursor: zoom-in; overflow: hidden; border: 1px solid rgba(197, 160, 89, 0.2); transition: border 0.3s ease; }
        .preview-item:hover { border-color: #C5A059; }
        .preview-item img { width: 100%; height: auto; transition: transform 0.6s ease; display: block; }
        .preview-item:hover img { transform: scale(1.05); }
        .preview-label { font-family: 'Montserrat', sans-serif; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #C5A059; margin-top: 1rem; text-align: center; }
        
        .partner-section { font-family: 'Cormorant Garamond', serif; width: 100%; border-top: 1px solid #1a1a1a; padding: 80px 0; }
        .category-title { font-size: 2rem; color: #C5A059; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 10px; font-style: italic; }
        .category-desc { font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #ffffff; margin-bottom: 15px; font-weight: 400; }
        .category-needs { font-size: 1.15rem; color: #a1a1a1; line-height: 1.8; font-weight: 300; }
        .needs-label { color: #C5A059; font-style: italic; margin-right: 5px; border-bottom: 1px solid rgba(197, 160, 89, 0.3); }

        #modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 100; justify-content: center; align-items: center; cursor: zoom-out; }
        #modal img { max-width: 90%; max-height: 90%; object-fit: contain; }