/* Main CSS Stylesheet for FinAudit SA */

/* Variables */
:root {
    --primary-bg: #1B1F3B;
    --accent: #F9A825;
    --secondary-bg: #E1F5FE;
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --gradient-start: #1B1F3B;
    --gradient-end: #212121;
    --section-padding: 80px 0;
    --border-radius: 8px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

section {
    padding: var(--section-padding);
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

/* Header Styles */
header {
    background-color: rgba(27, 31, 59, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    width: 40px;
    height: 40px;
    fill: var(--accent);
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 600;
    padding: 5px 10px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    margin-right: 50px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: #212121;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 168, 37, 0.3);
}

.cta-button:hover {
    background-color: #ffb74d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 168, 37, 0.4);
    text-decoration: none;
}

/* Services Section */
.services-section {
    background-color: var(--primary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-icon {
    background-color: rgba(249, 168, 37, 0.15);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--accent);
    stroke-width: 2;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    font-weight: 600;
    position: relative;
}

.service-link:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover:after {
    transform: translateX(5px);
}

/* About Section */
.about-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    max-width: 600px;
    margin-right: 50px;
}

.about-image {
    flex: 1;
    max-width: 450px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-features {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
    margin-right: 20px;
    margin-bottom: 20px;
}

.feature-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.feature-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: scale(1.05);
}

.advantage-icon {
    background-color: rgba(249, 168, 37, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent);
    stroke-width: 2;
}

.advantage-item h3 {
    margin-bottom: 15px;
}

.advantage-item p {
    color: var(--text-secondary);
}

/* Facts Section */
.facts-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.fact-item {
    padding: 20px;
}

.fact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.fact-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.2;
}

.quote-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent);
    fill: var(--accent);
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    color: var(--accent);
    font-weight: 600;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--primary-bg);
}

.form-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.form-content {
    flex: 1;
    min-width: 300px;
    margin-right: 50px;
}

.form-image {
    flex: 1;
    max-width: 450px;
}

.consultation-form {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 1rem;
}

/* Fix for dropdown text visibility */
.form-group select option {
    background-color: var(--primary-bg); 
    color: var(--text-primary);
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(249, 168, 37, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-button {
    background-color: var(--accent);
    color: #212121;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background-color: #ffb74d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 168, 37, 0.4);
}

/* Contact Info Section */
.contact-info-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.contact-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-details {
    flex: 1;
    max-width: 500px;
    margin-right: 50px;
}

.contact-map {
    flex: 1;
    max-width: 550px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    background-color: rgba(249, 168, 37, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent);
    stroke-width: 2;
}

.contact-text h3 {
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: rgba(27, 31, 59, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    z-index: 1001;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.cookie-popup.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

.cookie-accept {
    background-color: var(--accent);
    color: #212121;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background-color: #ffb74d;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(249, 168, 37, 0.3);
}

.cookie-more {
    background-color: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-more:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent);
    color: #212121;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(249, 168, 37, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}

.fixed-cta svg {
    width: 28px;
    height: 28px;
    stroke: #212121;
    stroke-width: 2;
}

.fixed-cta:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(249, 168, 37, 0.5);
}

/* Policy Pages */
.policy-section {
    max-width: 900px;
    margin: 150px auto 80px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.policy-section h1 {
    text-align: center;
    margin-bottom: 40px;
}

.policy-content h2 {
    text-align: left;
    margin-top: 40px;
    font-size: 1.8rem;
}

.policy-content h2:after {
    left: 0;
    transform: none;
}

.policy-content ul, .policy-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

.back-to-home {
    display: inline-block;
    margin-top: 30px;
    color: var(--accent);
}

/* Thank You Page */
.thanks-section {
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    fill: var(--accent);
    margin-bottom: 30px;
}

.thanks-section h1 {
    margin-bottom: 20px;
}

.thanks-section p {
    max-width: 600px;
    margin-bottom: 30px;
}

.back-home {
    margin-top: 20px;
}

/* Accessibility */
:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .form-image {
        display: none;
    }
    
    .form-content {
        margin-right: 0;
        width: 100%;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        margin-right: 0;
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-section .container,
    .about-section .container {
        flex-direction: column;
    }
    
    .about-content {
        margin-right: 0;
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .contact-details {
        margin-right: 0;
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .contact-map {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-bg);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 10px 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .fact-number {
        font-size: 2.5rem;
    }
    
    .policy-section {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-accept {
        margin-bottom: 10px;
    }
} 