/* 
 * Main Stylesheet for Accountant Website
 * Color Palette:
 * - Deep Purple: #4B0082
 * - Neon Green: #39FF14
 * - Light Gray: #F4F4F4
 * - Coal Black: #1C1C1C
 * - Pastel Coral: #FF6B6B
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1C1C1C;
    background-color: #F4F4F4;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #4B0082;
    transition: all 0.3s ease;
}

a:hover {
    color: #39FF14;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #4B0082;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4B0082;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #39FF14;
    color: #1C1C1C;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #4B0082;
    color: #4B0082;
}

.btn-secondary:hover {
    background-color: #4B0082;
    color: white;
}

/* Logo */
#logo {
    display: block;
    margin: 0;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-link {
    display: block;
}

/* Main Navigation */
.main-menu {
    display: flex;
    list-style: none;
}

.main-menu li {
    margin-left: 30px;
}

.main-menu a {
    font-weight: 600;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #39FF14;
    transition: width 0.3s ease;
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #4B0082;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    display: block;
    padding: 10px 0;
    font-weight: 600;
}

/* Main Content */
main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4B0082 0%, #6A0DAD 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(57, 255, 20, 0.2);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in 0.2s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeIn 1s ease-in 0.4s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #39FF14;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    margin-bottom: 20px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    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.15);
}

.service-icon {
    background-color: #4B0082;
    color: white;
    font-size: 2.5rem;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-price {
    font-weight: bold;
    color: #4B0082;
    margin: 15px 0;
    font-size: 1.2rem;
}

/* Why Choose Us Section */
.why-us {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon {
    background-color: rgba(75, 0, 130, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #4B0082;
    font-size: 1.5rem;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #E0E0E0;
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    background-color: #4B0082;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #4B0082 0%, #6A0DAD 100%);
    color: white;
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    color: #1C1C1C;
    position: relative;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
}

.testimonial-rating {
    color: #FF6B6B;
    margin-top: 10px;
}

/* Contact Form */
.contact-form-section {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    align-items: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-check {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: #1C1C1C;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #39FF14;
}

.footer-section p {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
}

.footer-section ul li a:hover {
    color: #39FF14;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(28, 28, 28, 0.95);
    color: white;
    padding: 20px 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content h3 {
    color: white;
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
}

.cookie-content button {
    padding: 10px 25px;
    background-color: #39FF14;
    color: #1C1C1C;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-content button:hover {
    background-color: #2AE305;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .main-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step {
        margin-bottom: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Добавление стилей для новой галереи */
#gallery {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    #gallery .container > div {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #gallery .container > div {
        grid-template-columns: repeat(2, 1fr) !important;
    }
} 