/* 
  Main Styles for domain - Financial Audit Company
  Colors:
  - Main: #1C1C2E (night indigo)
  - Accent: #F7C04A (bright gold)
  - Background: #FAF6F2 (warm beige)
  - Text: #2B2B2B (graphite)
  - Additional: #E75858 (cherry accent)
*/

/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2B2B2B;
    background-color: #FAF6F2;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #1C1C2E;
    transition: color 0.3s ease;
}

a:hover {
    color: #F7C04A;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.section-title {
    text-align: center;
    margin-bottom: 10px;
    color: #1C1C2E;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
}

.section-header {
    margin-bottom: 50px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn--primary {
    background-color: #1C1C2E;
    color: #fff;
}

.btn--primary:hover {
    background-color: #F7C04A;
    color: #1C1C2E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn--accent {
    background-color: #F7C04A;
    color: #1C1C2E;
}

.btn--accent:hover {
    background-color: #1C1C2E;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid #1C1C2E;
    color: #1C1C2E;
}

.btn--outline:hover {
    background-color: #1C1C2E;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 246, 242, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1C1C2E;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo:hover {
    color: #F7C04A;
}

.nav__list {
    display: flex;
}

.nav__item {
    margin-left: 30px;
}

.nav__link {
    font-weight: 500;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #F7C04A;
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1C1C2E;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.menu-icon span:last-child {
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background-color: rgba(28, 28, 46, 0.8);
    padding: 40px;
    border-radius: 10px;
    border: 2px solid #F7C04A;
    backdrop-filter: blur(5px);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) contrast(1.1) saturate(1.2);
}

.hero__title {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease forwards;
}

.hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero__cta {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about__inner {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about__img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about__img:hover {
    transform: translateY(-10px);
}

.about__content {
    flex: 1;
}

.about__stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background-color: #FAF6F2;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #F7C04A;
}

.stat__text {
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #FAF6F2;
}

.services__inner {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card__icon {
    margin-bottom: 20px;
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
}

.service-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__title {
    margin-bottom: 15px;
    color: #1C1C2E;
}

.service-card__desc {
    margin-bottom: 20px;
}

.service-card__list {
    margin-bottom: 25px;
    padding-left: 20px;
}

.service-card__list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 15px;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #F7C04A;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #1C1C2E;
    color: #fff;
}

.features .section-title,
.features .section-subtitle {
    color: #fff;
}

.features__inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.feature__icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature__title {
    margin-bottom: 15px;
    color: #F7C04A;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: #fff;
}

.testimonials__inner {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: #FAF6F2;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-10px);
}

.testimonial__content {
    position: relative;
    margin-bottom: 20px;
}

.testimonial__content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: #F7C04A;
    opacity: 0.3;
}

.testimonial__author {
    display: flex;
    flex-direction: column;
}

.testimonial__name {
    font-weight: 600;
    color: #1C1C2E;
}

.testimonial__position {
    font-size: 0.9rem;
    color: #666;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: #FAF6F2;
}

.faq__inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #1C1C2E;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question {
    background-color: #1C1C2E;
    color: #fff;
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Contact Form Section */
.contact-form {
    padding: 100px 0;
    background-color: #fff;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form {
    background-color: #FAF6F2;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form__row {
    display: block;
    margin-bottom: 20px;
}

.form__group {
    flex: 1;
    margin-bottom: 20px;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    border-color: #F7C04A;
    outline: none;
}

.form__group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form__checkbox {
    margin-top: 5px;
}

.form__checkbox-label {
    font-size: 0.9rem;
}

.form__checkbox-label a {
    color: #E75858;
    text-decoration: underline;
}

.form__submit {
    margin-top: 30px;
}

/* Footer */
.footer {
    padding: 80px 0 0;
    background-color: #1C1C2E;
    color: #fff;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__info {
    flex: 2;
    min-width: 300px;
}

.footer__contacts,
.footer__links {
    flex: 1;
    min-width: 200px;
}

.footer__title {
    margin-bottom: 20px;
    color: #F7C04A;
    font-weight: 700;
    text-transform: uppercase;
}

.footer__desc {
    margin-bottom: 20px;
}

.footer h3 {
    color: #F7C04A;
    margin-bottom: 20px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer__icon {
    margin-top: 2px;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: #F7C04A;
}

.footer__bottom {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1C1C2E;
    color: #fff;
    padding: 15px 20px;
    display: none;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.cookie-popup.active {
    display: block;
    animation: slideUp 0.5s ease forwards;
}

.cookie-popup__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-popup p {
    flex: 1;
}

/* Thank You Page */
.thank-you {
    padding: 150px 0 100px;
    text-align: center;
}

.thank-you__inner {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.thank-you__icon {
    font-size: 4rem;
    color: #F7C04A;
    background-color: #1C1C2E;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thank-you__title {
    margin-bottom: 20px;
}

.thank-you__text {
    margin-bottom: 30px;
}

/* Legal Pages */
.legal-page {
    padding: 150px 0 100px;
}

.legal-page__inner {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.legal-page__title {
    margin-bottom: 30px;
    text-align: center;
}

.legal-page__content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1C1C2E;
}

.legal-page__content p, 
.legal-page__content ul {
    margin-bottom: 20px;
}

.legal-page__content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.legal-page__content li {
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .about__inner {
        flex-direction: column;
    }

    .about__img, 
    .about__content {
        max-width: 100%;
    }

    .testimonials__inner {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }

    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero__inner {
        padding: 25px;
    }

    .menu-icon {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100%;
        background-color: #1C1C2E;
        padding: 100px 20px 30px;
        z-index: 1050;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .menu-toggle:checked ~ .nav {
        transform: translateX(0);
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav__list {
        flex-direction: column;
        gap: 20px;
    }

    .nav__item {
        margin-left: 0;
    }

    .nav__link {
        color: #fff;
        display: block;
        padding: 10px 0;
    }

    .service-card {
        min-width: 100%;
    }

    .features__inner {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__inner {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }

    .about__stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .legal-page__inner,
    .thank-you__inner {
        padding: 30px;
    }
}
