/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ec7357;
    --secondary-color: #3f51b5;
    --text-color: #2c2c2c;
    --accent-color: #c6ff00;
    --light-color: #fdf0d5;
    --white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.3);
    --gradient-primary: radial-gradient(circle at center, #ec7357 0%, #d65a3c 100%);
    --gradient-secondary: radial-gradient(circle at center, #3f51b5 0%, #2d3a8c 100%);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

/* Button Styles */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-align: center;
    border-radius: 30px;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.cta-button.primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.cta-button.secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.cta-button.secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    box-shadow: 0 -4px 20px var(--shadow-medium);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-accept {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-accept:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.cookie-policy {
    color: var(--white);
    text-decoration: underline;
}

.cookie-policy:hover {
    color: var(--accent-color);
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo svg {
    transition: var(--transition);
}

.logo:hover svg {
    transform: rotate(5deg);
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-button span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle:checked + .mobile-menu-button span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle:checked + .mobile-menu-button span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle:checked + .mobile-menu-button span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.header-cta {
    display: flex;
    align-items: center;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/KurNx3.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--light-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.services-intro img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.services-intro-text h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.services-intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
    border-color: var(--primary-color);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-price {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.price-label {
    color: var(--text-color);
    font-size: 0.9rem;
}

.price-amount {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Advantages Section */
.advantages-section {
    padding: 80px 0;
    background: var(--light-color);
}

.advantages-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.advantages-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.advantages-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.testimonial-content {
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-color);
}

.testimonial-author {
    margin-top: auto;
}

.testimonial-author strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

.contact-section .section-header h2,
.contact-section .section-header .section-subtitle {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-heavy);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(236, 115, 87, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    position: relative;
    top: 2px;
}

.submit-button {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.submit-button:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-heavy);
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-heavy);
    color: var(--text-color);
}

.contact-info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--light-color);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.contact-details h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-details p {
    margin-bottom: 0;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.main-footer {
    background: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    color: #ffffff;
}

.footer-section p {
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-nav,
.footer-legal {
    list-style: none;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-nav a,
.footer-legal a {
    color: #ffffff;
    opacity: 1;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.contact-info p {
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-info a {
    color: var(--accent-color);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom-content p {
    opacity: 0.9;
    margin-bottom: 5px;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 5px 20px var(--shadow-medium);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-menu-toggle:checked ~ .main-nav {
        max-height: 300px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid var(--light-color);
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
    }
    
    .header-cta {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-intro {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }
    
    .advantages-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    

    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .about-section,
    .services-section,
    .advantages-section,
    .testimonials-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form,
    .contact-info-card {
        padding: 30px 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    

    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Smooth scrolling for browsers that don't support CSS scroll-behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: rgba(0, 0, 0, 0.5);
        --shadow-medium: rgba(0, 0, 0, 0.7);
        --shadow-heavy: rgba(0, 0, 0, 0.9);
    }
}

/* Print styles */
@media print {
    .main-header,
    .cookie-banner,
    .cta-button,
    .hero-buttons,
    .contact-form {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
} 