/* 
   KlarAudit GmbH Stylesheet
   Основные цвета:
   - Основной: #3D348B (Глубокий сине-фиолетовый)
   - Акцент: #FF6B35 (Персиково-оранжевый)
   - Фон: #FDF0D5 (Кремовый)
   - Дополнительный: #A9BCD0 (Серо-голубой)
   - Шрифты: Poppins, Roboto
*/

/* Base Styles */
:root {
    --primary: #3D348B;
    --accent: #FF6B35;
    --background: #FDF0D5;
    --secondary: #A9BCD0;
    --text-dark: #333;
    --text-light: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .heading {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: var(--accent);
    color: var(--text-light);
    transform: translateY(-3px);
}

.section {
    padding: 7rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Header Styles */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    max-width: 180px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    font-weight: 500;
    position: relative;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(61, 52, 139, 0.8), rgba(61, 52, 139, 0.9)), url('img/6K1OkE.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 8rem 0 5rem;
    margin-top: 0;
}

#hero h1 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

#hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    background-color: var(--primary);
    color: var(--text-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.process-step {
    position: relative;
    padding: 2rem 1rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.step-number {
    background-color: var(--accent);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    right: -30px;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}
.testimonial-item {
    flex: 0 0 100%;
   
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-right: 1rem;
}

.testimonial-content {
    position: relative;
    padding: 1.5rem;
    background-color: var(--secondary);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--secondary);
    transform: rotate(45deg);
}

.client-info {
    display: flex;
    align-items: center;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

/* Contact Section & Form */
.form-section {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--secondary);
    border-radius: var(--border-radius);
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D348B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.15);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.15);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.alert ul {
    list-style: disc;
    margin-left: 20px;
}

/* Footer Styles */
.footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer h3, .footer h4 {
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    z-index: 9999;
}

.cookie-popup-content {
    max-width: 600px;
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.cookie-popup-content h3 {
    margin-bottom: 1rem;
}

.cookie-popup-content p {
    margin-bottom: 1.5rem;
}

#accept-cookies {
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .services-grid,
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    h3{
        font-size: 1.2rem !important;
    }
    #hero h1{
        font-size: 1.3rem !important;
    }
    .header-content {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .main-nav ul {
        display: none;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav ul li {
        margin: 0.5rem;
    }
    
    .about-content,
    .services-grid,
    .process-steps,
    .benefits-grid,
    .form-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .process-step:not(:last-child):after {
        display: none;
    }
    
    #hero {
        padding-top: 10rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 3rem 0;
    }
    
    .form-section {
        padding: 1.5rem;
    }
} 