/* 
* Main Styles for Accounting Services Website
* Color Palette:
* - Main Background: Turquoise (#1ABC9C)
* - Secondary Background: Graphite Gray (#2C3E50)
* - Accents: Coral (#FF6B6B) and Lime (#C7F464)
* - Text: White and Coal Black (#1A1A1A)
*/

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Для якорных ссылок, чтобы учитывать фиксированную шапку */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: #FFFFFF;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: #1ABC9C;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2C3E50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #1ABC9C;
    transition: width 0.3s ease;
}

section:hover h2::after {
    width: 120px;
}

.about h2, .advantages h2, .services h2, .contact h2, .testimonials h2 {
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
    scroll-margin-top: 100px; /* Отступ при скролле к якорям */
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-right: 20px;
    margin-bottom: 0;
    flex: 1;
}

.cookie-button {
    background-color: #1ABC9C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cookie-button:hover {
    background-color: #FF6B6B;
}

/* ===== NEW HEADER STYLES ===== */
.site-header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2C3E50;
}

.logo:hover {
    color: #1ABC9C;
}

.domain-logo {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1ABC9C;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: lowercase;
    background: linear-gradient(135deg, #1ABC9C, #C7F464);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    gap: 10px;
}

.nav-item {
    position: relative;
}

.nav-item a {
    display: block;
    padding: 10px 15px;
    color: #2C3E50;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #1ABC9C;
    transition: width 0.3s ease;
}

.nav-item a:hover,
.nav-item.active a {
    color: #1ABC9C;
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #2C3E50;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #1ABC9C;
}

.header-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1ABC9C;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.header-button:hover {
    background-color: #FF6B6B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.mobile-menu-toggle {
    display: none;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #2C3E50;
    transition: all 0.3s ease;
}

/* ===== NEW WELCOME SECTION ===== */
.welcome {
    position: relative;
    padding: 0;
    color: white;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.welcome-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.9), rgba(44, 62, 80, 0.9)), url('img/0JK5un.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.welcome .container {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.hero-content {
    max-width: 650px;
    margin: 0 auto 50px;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.hero-feature svg {
    flex-shrink: 0;
}

.hero-feature span {
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FF6B6B;
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    background-color: #C7F464;
    color: #2C3E50;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(199, 244, 100, 0.4);
}

.cta-link {
    display: inline-flex;
    align-items: center;
    color: white;
    padding: 15px 5px;
    font-weight: 600;
    position: relative;
}

.cta-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 10px;
    left: 0;
    background-color: white;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.cta-link:hover {
    color: #C7F464;
}

.cta-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    background-color: #C7F464;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 20px;
    animation: fadeIn 1.5s ease;
}

.stat-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 20px 30px;
    border-radius: 10px;
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #C7F464;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: #f9f9f9;
}

.about h2 {
    text-align: center;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

/* ===== ADVANTAGES SECTION ===== */
.advantages {
    background-color: #2C3E50;
    color: white;
}

.advantages h2 {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.advantages h2::after {
    background-color: #FF6B6B;
}

.advantages-image {
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.advantages-bg-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: transform 0.8s ease;
}

.advantages-image:hover .advantages-bg-image {
    transform: scale(1.05);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 15px;
}

.advantage-card h3 {
    color: #C7F464;
    margin-bottom: 15px;
}

/* ===== SERVICES SECTION ===== */
.services h2 {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: white;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3, .service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
    color: #2C3E50;
}

.service-price {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.service-price span {
    font-size: 0.9rem;
    color: #666;
}

.service-price h4 {
    font-size: 1.8rem;
    color: #1ABC9C;
    margin: 0;
}

.service-button {
    display: block;
    padding: 15px 0;
    background-color: #1ABC9C;
    color: white;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-button:hover {
    background-color: #FF6B6B;
    color: white;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: #f9f9f9;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E50;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: #1ABC9C;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input {
    width: auto;
}

.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px 0;
    background-color: #1ABC9C;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #FF6B6B;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: #2C3E50;
    color: white;
}

.testimonials h2 {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.testimonials h2::after {
    background-color: #C7F464;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1ABC9C;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.testimonial-author h4 {
    color: #C7F464;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #1A2533;
    color: white;
    padding: 60px 0 20px;
    box-shadow: inset 0 15px 20px -15px rgba(0, 0, 0, 0.3);
    border-top: 5px solid #1ABC9C;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #1ABC9C;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #1ABC9C;
    opacity: 1;
    padding-left: 5px;
}

.footer-address p {
    margin-bottom: 10px;
}

.footer-address a {
    color: #1ABC9C;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    color: white;
    opacity: 0.7;
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== LEGAL PAGES ===== */
.legal-section {
    padding: 60px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-date {
    margin-bottom: 30px;
    color: #666;
    font-style: italic;
}

.legal-text h2 {
    margin-top: 40px;
    text-align: left;
}

.legal-text h2::after {
    left: 0;
    transform: none;
    width: 80px;
}

.legal-text h2:hover::after {
    width: 120px;
}

.legal-text h3 {
    margin-top: 25px;
    font-size: 1.3rem;
}

/* ===== THANK YOU PAGE ===== */
.thanks-section {
    padding: 120px 0;
    text-align: center;
    background-color: #f9f9f9;
    background-image: linear-gradient(135deg, rgba(26, 188, 156, 0.1), rgba(44, 62, 80, 0.1));
}

.thanks-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    margin: 0 auto 30px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 188, 156, 0.1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.thanks-message {
    margin: 30px 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2C3E50;
}

.thanks-message p {
    margin-bottom: 15px;
}

.thanks-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.return-button {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 40px;
    background-color: #1ABC9C;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.3);
}

.return-button:hover {
    background-color: #FF6B6B;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 188, 156, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(26, 188, 156, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 188, 156, 0);
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        justify-content: center;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        display: none;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .welcome-content h1 {
        font-size: 2.2rem;
    }
    
    .welcome-content p {
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .copyright {
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .welcome {
        padding: 60px 0;
    }
    
    .legal-content {
        padding: 20px;
    }
}

/* Retina display support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Higher resolution images and styles for retina displays */
    .logo svg {
        transform: scale(0.8);
    }
}

/* Адаптивные стили для новой шапки */
@media (max-width: 992px) {
    .header-wrapper {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .logo-container {
        margin-bottom: 10px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header-cta {
        margin-top: 10px;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 25px;
        right: 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .header-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
} 