/* Основные стили для domain.com */

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: -600px;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: bottom 0.3s ease;
}

.cookie-popup.active {
    bottom: 0;
}

.cookie-popup p {
    margin-right: 20px;
    flex: 1;
}

.cookie-popup .btn {
    padding: 8px 20px;
    white-space: nowrap;
}

/* Секции */
section {
    padding: 110px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--accent-yellow);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-red);
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(13,27,42,0.8), rgba(27,38,59,0.8)), url('./img/6b2Zap.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 1.2s ease-in-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-lighter);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-light);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* О компании */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Преимущества */
.advantages {
    background-color: rgba(13, 27, 42, 0.5);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.8), rgba(13, 27, 42, 0.8));
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.advantage-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-lighter);
}

/* Услуги */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.7), rgba(13, 27, 42, 0.7));
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-yellow);
}

.service-description {
    margin-bottom: 20px;
}

/* Отзывы */
.testimonials {
    background-color: rgba(13, 27, 42, 0.5);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.7), rgba(13, 27, 42, 0.7));
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.testimonial-text:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent-red);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    margin-bottom: 5px;
    color: var(--text-lighter);
}

.testimonial-author-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ аккордеон */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    margin-bottom: 20px;
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.accordion-header {
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.9), rgba(13, 27, 42, 0.9));
    padding: 20px;
    position: relative;
    cursor: pointer;
}

.accordion-header h3 {
    margin: 0;
    padding-right: 30px;
    color: var(--text-lighter);
}

.accordion-header:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-yellow);
    transition: transform 0.3s ease;
}

.accordion-item input {
    display: none;
}

.accordion-content {
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.6), rgba(13, 27, 42, 0.6));
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content-inner {
    padding: 0 20px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

.accordion-item input:checked ~ .accordion-content {
    max-height: 500px;
}

.accordion-item input:checked ~ .accordion-content .accordion-content-inner {
    padding: 20px;
    opacity: 1;
    transform: translateY(0);
}

.accordion-item input:checked ~ .accordion-header:after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

/* Форма заказа */
.order-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.7), rgba(13, 27, 42, 0.7));
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: rgba(13, 27, 42, 0.7);
    border: 2px solid rgba(224, 225, 221, 0.3);
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(255, 217, 61, 0.3);
}

.form-control option {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.checkbox-group a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-group a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.form-button {
    margin-top: 20px;
    width: 100%;
}

/* Контактный блок */
.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 15px;
    color: var(--accent-red);
    font-size: 1.2rem;
    min-width: 20px;
    text-align: center;
}

.contact-map {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 400px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    padding: 70px 0 0;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-info h3 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-info p {
    line-height: 1.7;
}

.footer-contact h4, .footer-links h4 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a, .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover, .footer-links a:hover {
    color: var(--accent-red);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(224, 225, 221, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 90px 0;
    }
    .testimonials-container{
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-popup p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
} 