/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-link:hover {
    opacity: 0.9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo-image {
    max-height: 75px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-image {
        max-height: 40px;
    }
}
/* Навигация */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

.logo-accent {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e10600;
}

.nav {
    display: flex;
    gap: 40px;
}

/* Стили для страницы проектов */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.project-link {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-logo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-title {
    display: inline-block;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    max-width: 100%;
    word-wrap: break-word;
}

.project-title:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .project-logo {
        height: 150px;
    }
    
    .project-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}


.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: #e10600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e10600;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.contact-item i {
    color: #e10600;
    width: 16px;
}

.contact-item a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #e10600;
}

/* Страницы */
.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 60px;
}

.page-dark {
    background-color: #000;
    color: #fff;
}

.page-light {
    background-color: #fff;
    color: #000;
}

.page-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
	object-fit: cover;
    opacity: 0.7;
    z-index: 1;
}

.page-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 2.5rem;
    max-width: 1200px;
    margin: 0 auto 50px;
    font-weight: 300;
}
.page-subtitle2 {
    font-size: 2.5rem;
    max-width: 1200px;
    margin: 0 auto 50px;
    font-weight: 300;
	margin-top: -50px;
}

.main-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.info-block {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
}

.info-block:hover {
    transform: translateY(-5px);
}

.info-block h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #e10600;
}

.info-block p {
    font-size: 1rem;
    line-height: 1.6;
}

.scroll-down {
    margin-top: 60px;
}

.scroll-down a {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Страница 2: Оборудование */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 20px auto 0;
    color: #666;
	text-align: center;
	margin-bottom: -45px;
}
.page-description2 {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 20px auto 0;
    color: #666;
	text-align: center;
	margin-bottom: 15px;
	/* border-bottom: 2px solid rgba(0, 0, 0, 0.1); */
}


.studio-zones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(267px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.zone {
    padding: 30px;
    border-radius: 10px;
    background-color: #f5f5f5;
    transition: transform 0.3s;
	text-align: center;
}
.zone2 {
    
	
}

.zone:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.zone h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #e10600;
    text-align: center;
    position: relative;
    padding-left: 70px; /* Место для иконки */
}

.zone h3 i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}

.zone p {
    color: #666;
    line-height: 1.6;
	text-align: center;
}
.zone3 {
    padding: 30px;
    border-radius: 10px;
    background-color: #f5f5f5;
    transition: transform 0.3s;
	text-align: center;
}


.zone3:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.zone3 h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #e10600;
    text-align: center;
    position: relative;
    padding-left: 40px; /* Место для иконки */
}

.zone3 h3 i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}

.zone3 p {
    color: #666;
    line-height: 1.6;
	text-align: center;
}

/* Галерея 8 фото */
.photo-gallery {
    margin-top: 80px;
}

.gallery-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 40px;
    color: #000;
	font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.photo-placeholder {
    aspect-ratio: 4/3;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
    transition: all 0.3s;
}

.photo-placeholder:hover {
    background-color: #e0e0e0;
    border-color: #e10600;
}

.photo-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #999;
}

.gallery-note {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

/* Страница 3: Гарантии */
.guarantees {
    max-width: 800px;
    margin: 0 auto 60px;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guarantee-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.guarantee-item i {
    color: #e10600;
    font-size: 1.2rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.guarantee-item p {
    font-size: 1.4rem;
    line-height: 1.6;
}

.comfort-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comfort-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #fff;
	color: #666;
}

.comfort-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    max-width: 1600px;
    margin: 0 auto;
}

.comfort-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s;
}

.comfort-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.comfort-item i {
    font-size: 2.5rem;
    color: #e10600;
    margin-bottom: 20px;
}

.comfort-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Страница 4: Партнеры */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.partner-logo {
    display: block;
    text-decoration: none;
}
.partner-logo-img {
  /*  width: 10%; */
    height: 200px;
/*object-fit: contain; */
 /*   padding: 20px; */
  /*  transition: transform 0.3s ease; */
}

.logo-placeholder {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 10px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.partner-logo:hover .logo-placeholder {
    background-color: #e10600;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(225, 6, 0, 0.2);
}

.partners-note {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 0.9rem;
}

/* Страница 5: Контакты */
.contacts {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.contact-item-large {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.contact-item-large:hover {
    transform: translateX(10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-item-large i {
    font-size: 1.8rem;
    color: #e10600;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-item-large h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
	color: #000;
}

.contact-item-large p {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item-large a {
    color: #fff;
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-large a:hover {
    color: #e10600;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    color: #e10600 !important;
    font-weight: 600;
}

.hours {
    font-size: 0.9rem !important;
    color: #999;
    font-style: italic;
}

.back-to-top {
    text-align: center;
    margin-top: 60px;
}

.back-to-top a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 30px;
    background-color: rgba(255, 0, 255, 0.1);
    border-radius: 30px;
    transition: all 0.3s;
}

.back-to-top a:hover {
    background-color: #e10600;
    transform: translateY(-3px);
}

/* Адаптивность */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
    }
	.page-subtitle2 {
        font-size: 1.2rem;
    }
    
    .main-info {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .studio-zones {
        grid-template-columns: 1fr;
    }
    
    .comfort-items {
        grid-template-columns: 1fr;
    }
    
    .contact-item-large {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .header-contacts {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
	/* Стили для логотипов партнеров */
.partner-logo-img {
    width: 10%;
    height: 10%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

.partner-logo:hover .partner-logo-img {
    transform: scale(1.05);
}

/* Для консистентности можно обновить стили .logo-placeholder */
.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #333;
    padding: 20px;
    text-align: center;
}

/* Обновим стили для партнерской сетки */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background-color: #f5f5f5;
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.partner-logo:hover {
    background-color: #e10600;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(225, 6, 0, 0.2);
}

.partner-logo:hover .logo-placeholder {
    color: #fff;
}

/* Для изображений при наведении убираем красный фон */
.partner-logo:hover .partner-logo-img {
    background-color: transparent;
}
}