/* 
   Audit Finance - Main Stylesheet
   Colors:
   - Deep turquoise (#007C91) - primary
   - Bright peach (#FF7A5A) - buttons/accents
   - Milky white (#FAFAFA) - background
   - Graphite (#1E1E1E) - text
   - Sunny yellow (#FFD600) - icons, hover
*/

/* ===== Base Styles ===== */
:root {
    --primary: #007C91;
    --secondary: #FF7A5A;
    --background: #FAFAFA;
    --text: #1E1E1E;
    --accent: #FFD600;
    --light-gray: #f1f1f1;
    --medium-gray: #ddd;
    --dark-gray: #666;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

section[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--secondary);
}

.btn-secondary {
    background-color: var(--primary);
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: rgba(30, 30, 30, 0.95);
    color: var(--white);
    padding: 15px;
    z-index: 9999;
    transition: bottom 0.5s ease;
    display: flex;
    justify-content: center;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--secondary);
    text-decoration: underline;
}

/* ===== Header & Navigation ===== */
.site-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: block;
}

.main-navigation {
    position: relative;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

.menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--secondary);
}

.btn-nav::after {
    display: none;
}

/* ===== Hero Section ===== */
.hero-section {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/0brHH.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0;
}

.hero-section .container {
    max-width: 800px;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h1 span {
    color: var(--secondary);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

/* ===== Advantages Section ===== */
.advantages-section {
    background-color: var(--light-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--background);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.testimonial-image {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 6px;
}

.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 {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 40px;
    color: var(--primary);
    opacity: 0.5;
}

.testimonial-author {
    border-top: 1px solid var(--medium-gray);
    padding-top: 15px;
}

/* ===== FAQ Section ===== */
.faq-section {
    background-color: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item input {
    display: none;
}

.faq-item label {
    display: block;
    padding: 15px 20px;
    background-color: var(--white);
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    border-radius: 8px;
}

.faq-item label:hover {
    background-color: var(--primary);
    color: var(--white);
}

.faq-item label::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    transition: var(--transition);
}

.faq-item input:checked + label {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 8px 8px 0 0;
}

.faq-item input:checked + label::after {
    content: '−';
}

.faq-content {
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0 0 8px 8px;
}

.faq-item input:checked ~ .faq-content {
    max-height: 1000px;
    padding: 15px 20px;
}

/* ===== Contact Section ===== */
.contact-section {
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-hours {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

.contact-form-container {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-container input {
    margin-top: 5px;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.company-description {
    margin-top: 20px;
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 0 30px;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 900;
    }
    
    .menu-toggle:checked ~ .nav-menu {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 25px;
    }
    
    .btn-nav {
        margin: 15px 25px;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Legal Pages ===== */
.legal-page {
    padding: 60px 0;
    background-color: var(--background);
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.legal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.legal-date {
    text-align: right;
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.legal-content h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.legal-content h2:after {
    margin: 10px 0 0;
    width: 50px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-content a {
    color: var(--secondary);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 25px;
    }
    
    .legal-page h1 {
        font-size: 1.8rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
} 