/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - Яркая цветовая палитра */
:root {
    --lime-green: #B5FF00;
    --charcoal-black: #1A1A1A;
    --warm-gray: #D9D9D6;
    --sunny-yellow: #FFCE00;
    --gradient-lime-yellow: linear-gradient(135deg, #B5FF00 0%, #FFCE00 100%);
    --gradient-charcoal-lime: linear-gradient(135deg, #1A1A1A 0%, #B5FF00 100%);
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-light: #F5F5F5;
    --shadow-lime: 0 4px 20px rgba(181, 255, 0, 0.3);
    --shadow-yellow: 0 4px 20px rgba(255, 206, 0, 0.3);
    --shadow-charcoal: 0 4px 20px rgba(26, 26, 26, 0.3);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--charcoal-black);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h3 {
    font-size: 2rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Header Styles */
.main-header {
    background: var(--gradient-charcoal-lime);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-charcoal);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
}

.header-left .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lime-green);
}

.logo-sub {
    font-size: 0.9rem;
    color: var(--warm-gray);
    font-weight: 400;
}



.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-lime-yellow);
    color: var(--charcoal-black);
}

.nav-contact {
    background: var(--gradient-lime-yellow);
    color: var(--charcoal-black) !important;
    font-weight: 600;
    box-shadow: var(--shadow-lime);
}

/* Mobile Menu - CSS Only */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--lime-green);
    border-radius: 2px;
}

.mobile-menu-toggle:checked + .mobile-menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle:checked + .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle:checked + .mobile-menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: none;
    background: var(--charcoal-black);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 1px solid var(--lime-green);
    max-height: 0;
    overflow: hidden;
}

.mobile-menu-toggle:checked ~ .mobile-menu {
    display: block;
    max-height: 300px;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
}

.mobile-menu li {
    margin: 0;
}

.mobile-menu a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 1rem 2rem;
    border-left: 3px solid transparent;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--lime-green);
    color: var(--charcoal-black);
    border-left-color: var(--sunny-yellow);
}

/* Main Content Offset */
.main-content {
    padding-top: 100px; /* Компенсация высоты фиксированной шапки */
}

/* Section Offset for Anchors */
.section-offset {
    scroll-margin-top: 120px; /* Отступ для якорных ссылок */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-lime-yellow);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: var(--gradient-charcoal-lime);
    color: var(--text-light);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* SVG pattern removed - using real background image instead */

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--lime-green);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--warm-gray);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-lime-yellow);
    color: var(--charcoal-black);
    box-shadow: var(--shadow-lime);
}

.btn-primary:hover {
    background: var(--sunny-yellow);
}

.btn-secondary {
    background: transparent;
    color: var(--lime-green);
    border: 2px solid var(--lime-green);
}

.btn-secondary:hover {
    background: var(--lime-green);
    color: var(--charcoal-black);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-charcoal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-lime-yellow);
}

.card-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card h3 {
    color: var(--charcoal-black);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lime-green);
    margin-bottom: 1rem;
}

/* Forms */
.form-container {
    background: var(--gradient-charcoal-lime);
    padding: 3rem 2rem;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--warm-gray);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lime-green);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Comment Nous Travaillons - How We Work Section */
.how-we-work {
    background: var(--warm-gray);
    padding: 4rem 0;
}

.work-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lime);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-lime-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--charcoal-black);
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-yellow);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--charcoal-black);
}

.process-step p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.process-arrow {
    display: none;
}

/* For larger screens, show as horizontal layout with arrows */
@media (min-width: 1024px) {
    .work-process {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        gap: 1rem;
    }
    
    .process-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: var(--lime-green);
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .process-step {
        min-height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Medium screens adaptation */
@media (max-width: 1023px) and (min-width: 768px) {
    .work-process {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .process-step {
        min-height: 260px;
    }
}

/* Small screens adaptation */
@media (max-width: 767px) {
    .work-process {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    background: var(--charcoal-black);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--lime-green);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--warm-gray);
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--lime-green);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    border-bottom-color: var(--lime-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--warm-gray);
    color: var(--warm-gray);
}

/* Animations removed - CSS only website */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-charcoal-lime);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    color: var(--text-light);
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons .btn {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Active Navigation */
.nav-link.active {
    background: var(--gradient-lime-yellow);
    color: var(--charcoal-black);
}

.nav-link.active::before {
    left: 0;
}

/* Footer Contact Links */
.footer-contact a {
    color: var(--lime-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--sunny-yellow);
}

/* Form Error and Success Messages */
.error-message {
    background-color: #ff4444;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
}

.success-message {
    background-color: var(--lime-green);
    color: var(--charcoal-black);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
}

.info-message {
    background-color: var(--sunny-yellow);
    color: var(--charcoal-black);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        grid-template-columns: auto auto;
        gap: 1rem;
    }
    
    .header-right .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        grid-template-columns: 1fr auto;
        padding: 0 1rem;
    }
    
    .logo-text .logo-sub {
        display: none;
    }
    
    .header-right .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 80px;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    

}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .form-container {
        padding: 2rem 1rem;
    }
} 