/* 
 * FinAudita Styles
 * Version: 1.0.0
 * Color Palette:
 * - Background: #101820 (deep coal blue)
 * - Main accent: #FF6978 (watermelon pink)
 * - Secondary accent: #6EF3D6 (neon mint)
 * - Headings: #FFFFFF
 * - Subheadings: #D2E1DD
 * - Gradient buttons: from #FF6978 to #6EF3D6
 */

/* ===== GLOBAL STYLES ===== */
:root {
    --bg-color: #101820;
    --primary-color: #FF6978;
    --secondary-color: #6EF3D6;
    --text-light: #FFFFFF;
    --text-medium: #D2E1DD;
    --text-dark: #101820;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fira Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-medium);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Urbanist', sans-serif;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius);
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: var(--text-dark);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-nav {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--text-dark);
    border-radius: var(--radius);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: rgba(16, 24, 32, 0.95);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(110, 243, 214, 0.3);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-content button {
    align-self: flex-end;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(16, 24, 32, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    max-height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
}

.main-nav a:not(.btn-nav):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.main-nav a:not(.btn-nav):hover:after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: rgba(255, 255, 255, 0.03);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text {
    font-size: 1.1rem;
}

.about-image {
    margin: 2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    max-width: 350px;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.value {
    padding: 1.5rem;
    background-color: rgba(16, 24, 32, 0.5);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.value:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* ===== SERVICES SECTION ===== */
.services-image {
    margin-bottom: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.services-featured-image {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.services-image:hover .services-featured-image {
    transform: scale(1.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background-color: rgba(255, 255, 255, 0.05);
}

.service-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* ===== PRICING SECTION ===== */
.pricing {
    background-color: rgba(255, 255, 255, 0.03);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: rgba(16, 24, 32, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.pricing-header {
    background-color: rgba(255, 105, 120, 0.1);
    padding: 2rem;
    text-align: center;
}

.featured .pricing-header {
    background: linear-gradient(135deg, rgba(255, 105, 120, 0.2), rgba(110, 243, 214, 0.2));
    position: relative;
}

.featured {
    border: 1px solid var(--primary-color);
    transform: scale(1.03);
}

.featured:hover {
    transform: scale(1.03) translateY(-10px);
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-features {
    padding: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(210, 225, 221, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    margin: 1rem 2rem 2rem;
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.advantage:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background-color: rgba(255, 255, 255, 0.05);
}

.advantage-icon {
    margin: 0 auto 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* ===== PROCESS SECTION ===== */
.process {
    background-color: rgba(255, 255, 255, 0.03);
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    height: calc(100% + 1rem);
    width: 2px;
    background: linear-gradient(var(--primary-color), var(--secondary-color));
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    z-index: 2;
}

.step-content {
    padding: 1rem 1.5rem;
    background-color: rgba(16, 24, 32, 0.5);
    border-radius: var(--radius);
    transition: var(--transition);
}

.process-step:hover .step-content {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background-color: rgba(255, 255, 255, 0.05);
}

.testimonial-content {
    padding: 2rem 2rem 1rem;
    position: relative;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    font-family: serif;
    color: rgba(110, 243, 214, 0.1);
    line-height: 1;
}

.testimonial-author {
    padding: 1rem 2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.form-error-message {
    background-color: rgba(255, 105, 120, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--text-light);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(110, 243, 214, 0.3);
    background-color: rgba(16, 24, 32, 0.5);
    color: var(--text-light);
    border-radius: var(--radius);
    font-family: 'Fira Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(110, 243, 214, 0.2);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox input {
    width: auto;
    margin-top: 6px;
}

.checkbox label {
    font-size: 0.9rem;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 4rem 0 2rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info p {
    margin-top: 1rem;
    opacity: 0.9;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-contact h4,
.footer-links h4 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    padding: 8rem 0 5rem;
}

.legal-text {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.legal-text h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h2:after {
    left: 0;
    transform: none;
    width: 60px;
}

.legal-text h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.legal-text ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
}

.legal-back {
    text-align: center;
    margin-top: 3rem;
}

.legal-header {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    text-align: center;
}

.legal-header h1 {
    margin-bottom: 0.5rem;
}

.legal-header p {
    color: var(--text-medium);
    font-style: italic;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    color: var(--text-medium);
}

.cookies-table th, .cookies-table td {
    padding: 0.8rem;
    text-align: left;
    border: 1px solid rgba(110, 243, 214, 0.2);
}

.cookies-table th {
    background-color: rgba(16, 24, 32, 0.8);
    color: var(--text-light);
}

.cookies-table tr:nth-child(even) {
    background-color: rgba(16, 24, 32, 0.3);
}

.cookies-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* ===== THANK YOU PAGE ===== */
.thankyou {
    padding: 10rem 0;
    text-align: center;
}

.thankyou-content {
    max-width: 600px;
    margin: 0 auto;
}

.thankyou-icon {
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.thankyou h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.thankyou p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.thankyou .btn {
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-image {
        order: 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding: 1rem 0;
    }
    
    .main-nav {
        display: none;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Mobile Menu Toggle (for future implementation) */
.menu-toggle {
    display: none;
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--text-light);
        background: none;
        border: none;
        cursor: pointer;
    }
    
    /* Mobile menu styles would go here */
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .hero-image {
    animation: fadeIn 1s ease-out;
} 