/* 
   Main Stylesheet
   Project: FinAudit
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary: #00BFFF; /* Deep Sky Blue */
    --accent: #F4C430; /* Saffron Yellow */
    --text: #222831; /* Charcoal Black */
    --block-bg: #D6CCFF; /* Soft Lilac */
    --button: #FF6B6B; /* Bright Coral */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --border: #E0E0E0;
    
    /* Typography */
    --font-main: 'Arial', sans-serif;
    --font-heading: 'Georgia', serif;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

/* Buttons */
.cta-button, .submit-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--button);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover, .submit-button:hover {
    background-color: var(--accent);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--block-bg);
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

.cookie-btn {
    padding: 8px 16px;
    background-color: var(--button);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* Header */
header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--text);
    font-weight: bold;
    font-size: 1.5rem;
}

.logo h1 {
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--button);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-cta:hover {
    background-color: var(--accent);
    color: var(--text);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0077B6 100%);
    color: var(--white);
    padding: 100px 0;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Scroll Padding for Header (fixes anchor link issues) */
html {
    scroll-padding-top: 100px; /* This ensures anchor links don't hide content under the fixed header */
    scroll-behavior: smooth;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--block-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px 20px;
}

/* Featured Information Section */
.featured-info {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--block-bg) 0%, var(--light-gray) 100%);
}

.featured-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.featured-text {
    flex: 1;
    min-width: 300px;
}

.featured-text h2 {
    text-align: left;
    color: var(--text);
}

.featured-list {
    margin: 20px 0 30px 20px;
}

.featured-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.featured-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.featured-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.02);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    background-color: var(--block-bg);
    border-top: 4px solid var(--accent);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0;
    color: var(--primary);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-bottom: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-image {
    height: 200px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
}

.testimonial-content {
    padding: 30px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 60px;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
    z-index: 0;
}

.testimonial-author {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 0;
}

/* Order Form Section */
.order-form {
    padding: 80px 0;
    background-color: var(--block-bg);
}

.order-form form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.submit-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Legal Pages */
.legal-page {
    padding: 80px 0;
}

.legal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 40px;
    text-align: left;
}

.legal-content h3 {
    color: var(--text);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

.thanks {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.thanks .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.thanks-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.thanks-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.thanks-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: var(--text);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--white);
}

.footer-col a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .featured-text {
        margin-bottom: 30px;
    }
    
    .featured-image {
        order: -1;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-content p {
        margin-bottom: 10px;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .cta-button, .submit-button {
        padding: 10px 20px;
    }

    .order-form form {
        padding: 20px;
    }
} 