/* 
 * Main Stylesheet for AuditFinance
 * Colors:
 * - Main color: #2C3E50 (Dark blue)
 * - Accent color: #FF7F50 (Orange)
 * - Background: #F1F1F1 (Light gray)
 * - Text: #333333 (Dark gray)
 * - Secondary text: #BDC3C7 (Light gray)
 */

/* Base Styles */
:root {
    --main-color: #2C3E50;
    --accent-color: #FF7F50;
    --bg-color: #F1F1F1;
    --text-color: #333333;
    --secondary-text: #BDC3C7;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--main-color), var(--accent-color));
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--main-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--main-color);
}

section {
    padding: 5rem 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #243444, #FF6A3E);
    transform: translateY(-3px);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--main-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #243444;
    transform: translateY(-3px);
    color: var(--white);
}

/* Forms */
form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Error and Success Messages */
.error-message, .success-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.error-message {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

.success-message {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid #2ecc71;
    color: #27ae60;
}

.error-message p, .success-message p {
    margin-bottom: 0.5rem;
}

.error-message p:last-child, .success-message p:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--main-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--secondary-text);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

/* Option styling */
option {
    background-color: var(--white);
    color: var(--text-color);
    padding: 0.8rem;
}

option:hover, option:focus {
    background-color: var(--accent-color);
    color: var(--white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 127, 80, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    max-height: 45px;
}

.main-nav .nav-list {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--main-color);
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.header-contact {
    display: flex;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item svg {
    flex-shrink: 0;
}

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--main-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    padding: 8rem 0;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Services Section */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 1.5rem;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.benefits-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Order Form Section */
.order-form {
    background-color: var(--main-color);
    color: var(--white);
}

.order-form h2 {
    color: var(--white);
}

.order-form label {
    color: var(--white);
}

.order-form a {
    color: var(--accent-color);
    text-decoration: underline;
}

.order-form a:hover {
    color: var(--white);
}

/* Testimonials Section */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.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.2rem;
}

.author-info p {
    margin-bottom: 0;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-map {
    flex: 2;
    min-width: 300px;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-container iframe {
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.map-info {
    text-align: center;
    margin-top: 1rem;
    color: var(--main-color);
    font-weight: 600;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

/* Legal Information Section */
.legal {
    text-align: center;
    padding: 3rem 0;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
.main-footer {
    background-color: var(--main-color);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info, .footer-contact, .footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-info p {
    color: var(--secondary-text);
    margin-top: 1rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-contact .contact-item {
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--secondary-text);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    border-top: 1px solid rgba(189, 195, 199, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--secondary-text);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.active {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
    }
    
    .header-contact {
        display: none;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .menu-toggle:checked ~ .main-nav {
        display: block;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav .nav-list li {
        border-top: 1px solid var(--secondary-text);
    }
    
    .main-nav .nav-list a {
        display: block;
        padding: 1rem 0;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .service-card, .testimonial-card, .faq-item {
        min-width: 100%;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
} 