@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&family=Manrope:wght@500;700;800&display=swap');
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url('/Images/background.png'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    
    
    background-color: #fdfbff; 

    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    color: #1d1d1f; 
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.4); 
    z-index: -1;
}

.main-header-image{
    width: 150px;
    height: auto;
}

/* Главный заголовок */
.main-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 56px 30px 56px;
}

.main-header-right{
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: #4A5157;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.main-header-right button {
    background-color: #4b118b;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px; 
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.main-header-right button:hover {
    background-color: #3a0d6d;
}

.main-header-right button:active {
    transform: translateY(0);
}

.nav-link {
    text-decoration: none;
    color: #4A5157;
    position: relative;
    padding-bottom: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}


.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4b118b;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-out;
}


.nav-link:hover {
    color: #4b118b;
}

.nav-link:hover::after {
    transform: scaleX(1);
}


.project-detail {
    width: 100%;
    box-sizing: border-box;
}

/* Галерея */
.project-gallery {
    padding: 60px 56px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Картинки в две колонки */
    gap: 30px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 30px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

.project-description-footer {
    padding: 0 56px 60px 56px; /* Отступы 56px по бокам для симметрии */
    max-width: 100%;
    box-sizing: border-box;
}

.project-description-footer h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 42px;
    margin: 0 0 10px 0;
    color: #1d1d1f;
}

.project-description-footer p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #000000;
    margin: 0;
    opacity: 0.8;
}

.video-container {
    width: 100%;
    max-width: 1200px; /* или по ширине вашего контента */
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

/* Настройка цветов плеера под бренд Dream Makers */
:root {
    --plyr-color-main: #4b118b; /* Ваш фиолетовый цвет */
}

/* --- Контакты снизу --- */
.main-footer {
    padding: 60px 0 0 0; 
    background: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05); 
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    position: relative;
}


.footer-content {
    max-width: 100%;
    padding: 0 56px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.2); 
}

/* Логотип */
.footer-logo img {
    width: 220px;
    height: auto;
    display: block;
    margin-bottom: 0; 
}
/* Блок контактов */
.footer-contacts {
    display: flex;
    flex-direction: column; 
    gap: 25px;
    text-align: left;
}


.footer-logo img {
    width: 200px;
    height: auto;
    display: block;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.contact-item .label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4b118b;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-item .label {
    margin-bottom: 2px; 
}

.contact-item p {
    margin-top: 0;      
    margin-bottom: 0;   
}

.contact-item p, .contact-item a {
    font-size: 16px;
    color: #4A5157;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #4b118b;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
    color: #aaa;
    font-size: 13px;
}



/* --- Адаптив --- */

.burger-menu {
    display: none; 
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2000;
}

.burger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #4b118b;
    transition: 0.3s;
}
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .main-header-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%; 
        height: 100vh;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
        z-index: 1500;
    }

    
    .main-header-right.active {
        right: 0;
    }


    .burger-menu.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .burger-menu.open span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


@media (max-width: 650px) {
    .hero-section {
        padding: 0 20px; 
    }
    
    .video-container {
        height: 30vh; 
        border-radius: 30px; 
    }
}


/* --- Адаптив для проектов и футера --- */
@media (max-width: 768px) {
    .projects-section {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-contacts {
        flex-direction: column;
        gap: 30px;
    }
    
    .project-video-wrapper {
        height: 250px;
        border-radius: 30px;
    }
}

@media (max-width: 768px) {
    .hero-video-section, .project-gallery {
        padding: 20px;
    }
    .video-container {
        height: 40vh;
    }
    .gallery-grid {
        grid-template-columns: 1fr; /* Одна колонка на телефонах */
    }
}


