/* 
* Finanzexperten GmbH - Main Stylesheet
* Color palette:
* - Primary: #CFFF04 (Neon Lime)
* - Secondary: #4B0082 (Indigo)
* - Accent: #00CED1 (Turquoise)
* - Dark BG: #1E1E1E (Coal Gray)
* - Light BG: #F8F8F8 (Smoky White)
* - Font: 'Inter', sans-serif
*/

/* ====== Reset & Base Styles ====== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F8F8F8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #4B0082;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00CED1;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 8rem 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 4rem;
    height: 0.25rem;
    background-color: #CFFF04;
    margin: 1rem auto 0;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

button, .cta-button {
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

/* ====== Header Styles ====== */
.site-header {
    background-color: #1E1E1E;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.policy-content h2{
    text-align: left;
}
.policy-content h2::after{
    margin-left: 0;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: #CFFF04;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo svg {
    width: 120px;
    height: auto;
    margin-right: 0.5rem;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    color: #F8F8F8;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #CFFF04;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.cta-nav {
    background-color: #CFFF04;
    color: #1E1E1E !important;
    padding: 0.5rem 1rem !important;
    border-radius: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(207, 255, 4, 0.3);
}

.menu-toggle,
.menu-button {
    display: none;
}

/* ====== Hero Section ====== */
.hero-section {
    background: linear-gradient(rgba(30, 30, 30, 0.8), rgba(30, 30, 30, 0.8)), url('../img/Ica6az.jpg');
    background-size: cover;
    background-position: center;
    color: #F8F8F8;
    text-align: center;
    padding: 10rem 0 7rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-slogan {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #CFFF04;
}

.cta-button {
    display: inline-block;
    background-color: #CFFF04;
    color: #1E1E1E;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 3rem;
    box-shadow: 0 4px 15px rgba(207, 255, 4, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(207, 255, 4, 0.4);
    color: #1E1E1E;
}

/* ====== About Section ====== */
.about-section {
    background-color: #F8F8F8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    order: 1;
}

.about-image {
    order: 2;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.1);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(207, 255, 4, 0.2), rgba(0, 206, 209, 0.2));
    z-index: 1;
}

/* ====== Services Section ====== */
.services-section {
    background-color: #1E1E1E;
    color: #F8F8F8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #2A2A2A;
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-image {
    height: 180px;
    margin: -2.5rem -2rem 1.5rem;
    overflow: hidden;
    position: relative;
}

.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-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(42, 42, 42, 1), rgba(42, 42, 42, 0));
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: 0;
    left: 0;
    background-color: #CFFF04;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: #CFFF04;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.service-link:hover {
    transform: translateX(5px);
}

/* ====== Advantages Section ====== */
.advantages-section {
    background-color: #F8F8F8;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background-color: rgba(207, 255, 4, 0.1);
    border-radius: 50%;
}

/* ====== Process Section ====== */
.process-section {
    background-color: #4B0082;
    color: #F8F8F8;
}

.process-flow {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background-color: #5C1695;
    border-radius: 0.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #CFFF04;
    color: #1E1E1E;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-connector {
    width: 2px;
    height: 40px;
    background-color: #CFFF04;
    margin: 0 auto;
}

/* ====== Testimonials Section ====== */
.testimonials-section {
    background-color: #F8F8F8;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 3rem 2rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: rgba(207, 255, 4, 0.5);
    line-height: 0;
}

.testimonial-content::before {
    position: absolute;
    top: 0;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #666;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background-color: #CFFF04;
    transform: scale(1.3);
}

/* CSS-only carousel animation */
@keyframes carousel {
    0%, 33.33% {
        transform: translateX(0);
    }
    33.34%, 66.66% {
        transform: translateX(-100%);
    }
    66.67%, 100% {
        transform: translateX(-200%);
    }
}

.testimonial-track {
    animation: carousel 30s infinite;
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
}

.testimonial-carousel:hover .testimonial-track {
    animation-play-state: paused;
}

/* ====== Contact Section ====== */
.contact-section {
    background: linear-gradient(rgba(30, 30, 30, 0.9), rgba(30, 30, 30, 0.9)), url('../img/HQZPEH.jpg');
    background-size: cover;
    background-position: center;
    color: #F8F8F8;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    color: #CFFF04;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-form {
    background-color: #2A2A2A;
    padding: 3rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: rgba(207, 255, 4, 0.1);
    border-radius: 50%;
    top: -75px;
    right: -75px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #F8F8F8;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #3D3D3D;
    background-color: #3D3D3D;
    color: #F8F8F8;
    border-radius: 0.25rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #CFFF04;
    box-shadow: 0 0 0 3px rgba(207, 255, 4, 0.2);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F8F8F8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #3D3D3D;
    background-color: #3D3D3D;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #CFFF04;
    border-color: #CFFF04;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border-right: 2px solid #1E1E1E;
    border-bottom: 2px solid #1E1E1E;
    transform: rotate(45deg);
    left: 6px;
    top: 2px;
}

.checkbox-group label {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.checkbox-group a {
    color: #CFFF04;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #CFFF04;
    color: #1E1E1E;
    font-weight: 600;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 2rem;
}

.submit-button:hover {
    background-color: #D8FF35;
    transform: translateY(-3px);
}

/* ====== Footer Section ====== */
.footer-section {
    background-color: #1E1E1E;
    color: #F8F8F8;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo svg {
    margin-bottom: 1rem;
}

.footer-logo p {
    font-weight: 700;
    font-size: 1.5rem;
    color: #CFFF04;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.link-group h4 {
    color: #CFFF04;
    margin-bottom: 1.5rem;
}

.link-group ul li {
    margin-bottom: 0.75rem;
}

.link-group ul li a {
    color: #F8F8F8;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.link-group ul li a:hover {
    color: #CFFF04;
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(248, 248, 248, 0.1);
    font-size: 0.9rem;
}

/* ====== Cookie Consent ====== */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #1E1E1E;
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-consent.active {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-content h3 {
    color: #CFFF04;
    margin-bottom: 0.5rem;
    flex-basis: 100%;
}

.cookie-content p {
    color: #F8F8F8;
    margin-bottom: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept {
    background-color: #CFFF04;
    color: #1E1E1E;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cookie-accept:hover {
    background-color: #D8FF35;
}

.cookie-more {
    color: #F8F8F8;
    text-decoration: underline;
    padding: 0.75rem 0;
}

/* ====== Responsive Styles ====== */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-text {
        order: 2;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
        scroll-padding-top: 4rem;
    }
    
    .hero-section {
        padding: 8rem 0 5rem;
    }
    
    .menu-button {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 110;
    }
    
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #CFFF04;
        transition: all 0.3s ease;
    }
    
    .menu-toggle {
        position: absolute;
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-button .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle:checked + .menu-button .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-button .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #1E1E1E;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    .menu-toggle:checked ~ .nav-list {
        right: 0;
    }
    
    .nav-list li {
        margin: 1rem 0;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .service-card,
    .advantage-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    .services-grid{
        grid-template-columns: 1fr;
    }
    h2 {
        font-size: 1.5rem !important;
    }
    
    .hero-slogan {
        font-size: 1.25rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .hero-section {
        /* Add extra padding to account for fixed header on mobile */
        padding-top: 8rem;
    }
}

/* ====== Special Animations ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

[class*="fade-in-"] {
    opacity: 0;
}

.fade-in-1 { animation: fadeIn 1s ease 0.1s forwards; }
.fade-in-2 { animation: fadeIn 1s ease 0.2s forwards; }
.fade-in-3 { animation: fadeIn 1s ease 0.3s forwards; }

/* ====== Contact Form Errors ====== */
.form-errors {
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff0000;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 0.25rem;
}

.error-message {
    color: #ff0000;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.error-message:last-child {
    margin-bottom: 0;
}

/* Поле с ошибкой */
.form-group input.error,
.form-group select.error {
    border-color: #ff0000;
}

/* ====== Print Styles ====== */
@media print {
    .site-header,
    .cookie-consent,
    .cta-button,
    .contact-form button {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
} 