/* 
* ExpertCompta - Accounting Services Website
* Color Palette:
* - Deep Emerald: #0F4C5C (Background)
* - Bright Coral: #FF6B6B (Accents)
* - Light Salmon: #FFADAD (Block backgrounds)
* - Graphite: #333333 (Text)
* - Mint White: #F4FFFD (Background elements)
*/

/* ------- Base Styles ------- */
:root {
    --deep-emerald: #0F4C5C;
    --bright-coral: #FF6B6B;
    --light-salmon: #FFADAD;
    --graphite: #333333;
    --mint-white: #F4FFFD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--graphite);
    background-color: var(--mint-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--deep-emerald);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bright-coral);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--deep-emerald);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--bright-coral);
}

h3 {
    font-size: 1.5rem;
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

ul {
    list-style: none;
}

/* ------- Header & Navigation ------- */
.main-header {
    background-color: var(--deep-emerald);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--mint-white);
}

.logo-container {
    display: flex;
    align-items: center;
    background-color: rgba(15, 76, 92, 0.8);
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 0;
    letter-spacing: 0.5px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: var(--mint-white);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
}

.main-nav a:hover {
    color: var(--light-salmon);
}

.nav-cta {
    background-color: var(--bright-coral);
    color: var(--mint-white) !important;
}

.nav-cta:hover {
    background-color: var(--light-salmon);
    color: var(--deep-emerald) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--mint-white);
    margin: 2px 0;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.mobile-nav, .mobile-nav-open {
    display: none;
}

/* ------- Hero Section ------- */
.hero {
    background-color: var(--deep-emerald);
    color: var(--mint-white);
    padding: 150px 0 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero h1 {
    color: var(--mint-white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
}

.cta-button {
    display: inline-block;
    background-color: var(--bright-coral);
    color: var(--mint-white);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--bright-coral);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--bright-coral);
}

/* ------- About Section ------- */
.about {
    background-color: var(--mint-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.benefits {
    margin-top: 20px;
}

.benefits li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bright-coral);
}

.benefits span {
    color: var(--deep-emerald);
    font-weight: bold;
}

/* ------- Services Section ------- */
.services {
    background-color: var(--light-salmon);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--mint-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--bright-coral);
    font-weight: bold;
    position: relative;
}

.service-link::after {
    content: " →";
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* ------- Why Choose Us Section ------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--mint-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 20px;
}

/* ------- Contact Section ------- */
.contact {
    background-color: var(--deep-emerald);
    color: var(--mint-white);
}

.contact h2 {
    color: var(--mint-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3, .form-container h3 {
    color: var(--mint-white);
}

.contact-details {
    margin-top: 20px;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-details svg {
    margin-right: 10px;
}

.contact-image {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.form-container {
    background-color: var(--mint-white);
    padding: 30px;
    border-radius: 10px;
    color: var(--graphite);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--deep-emerald);
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--deep-emerald);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--mint-white);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--bright-coral);
    outline: none;
}

.form-check {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.form-check input {
    margin-right: 10px;
}

.form-check label {
    font-size: 0.9rem;
}

.submit-button {
    background-color: var(--bright-coral);
    color: var(--mint-white);
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

.submit-button:hover {
    background-color: var(--deep-emerald);
}

/* ------- Testimonials Section ------- */
.testimonials {
    background-color: var(--mint-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--light-salmon);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--mint-white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial p {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
}

/* ------- Blog Section ------- */
.blog {
    background-color: var(--light-salmon);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-post {
    background-color: var(--mint-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .blog-image img {
    transform: scale(1.1);
}

.blog-post h3, .blog-post p {
    padding: 0 20px;
}

.blog-post h3 {
    margin-top: 20px;
}

.blog-link {
    display: inline-block;
    margin: 20px;
    color: var(--bright-coral);
    font-weight: bold;
    position: relative;
}

.blog-link::after {
    content: " →";
    transition: transform 0.3s ease;
    display: inline-block;
}

.blog-link:hover::after {
    transform: translateX(5px);
}

/* ------- Footer ------- */
.main-footer {
    background-color: var(--deep-emerald);
    color: var(--mint-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-grid h3 {
    color: var(--mint-white);
    border-bottom: 2px solid var(--bright-coral);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-grid ul li {
    margin-bottom: 10px;
}

.footer-grid a {
    color: var(--mint-white);
}

.footer-grid a:hover {
    color: var(--light-salmon);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
}

.footer-contact svg {
    margin-right: 10px;
}

.footer-hours span {
    color: var(--bright-coral);
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(244, 255, 253, 0.1);
}

/* ------- Cookie Popup ------- */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--deep-emerald);
    color: var(--mint-white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: var(--bright-coral);
}

#accept-cookies {
    background-color: var(--bright-coral);
    color: var(--mint-white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

#accept-cookies:hover {
    background-color: var(--light-salmon);
    color: var(--deep-emerald);
}

/* ------- Thank You Page ------- */
.thank-you {
    padding: 150px 0 80px;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--mint-white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-icon {
    margin-bottom: 20px;
}

/* ------- Policy Pages ------- */
.policy-page {
    padding: 150px 0 80px;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--mint-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 30px;
}

.policy-icon {
    text-align: center;
    margin-bottom: 20px;
}

.policy-date {
    text-align: center;
    font-style: italic;
    color: var(--graphite);
    margin-bottom: 40px;
}

.policy-content h2 {
    color: var(--deep-emerald);
    border-bottom: 2px solid var(--bright-coral);
    padding-bottom: 10px;
    margin: 40px 0 20px;
}

.policy-content h3 {
    color: var(--deep-emerald);
    margin: 30px 0 15px;
}

.policy-content p, .policy-content ul, .policy-content address {
    margin-bottom: 20px;
}

.policy-content ul {
    list-style: disc;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

.back-button {
    display: inline-block;
    background-color: var(--bright-coral);
    color: var(--mint-white);
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: var(--deep-emerald);
    color: var(--mint-white);
}

/* ------- Mobile Navigation (PHP-based) ------- */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--deep-emerald);
    z-index: 999;
    padding: 40px 20px;
    transition: left 0.3s ease;
}

.mobile-nav-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-color: var(--deep-emerald);
    z-index: 999;
    padding: 40px 20px;
    transition: left 0.3s ease;
}

.mobile-nav ul, .mobile-nav-open ul {
    margin-bottom: 40px;
}

.mobile-nav li, .mobile-nav-open li {
    margin-bottom: 15px;
}

.mobile-nav a, .mobile-nav-open a {
    color: var(--mint-white);
    font-size: 1.2rem;
    display: block;
    padding: 10px 0;
}

.close-menu {
    color: var(--mint-white);
    font-size: 1.5rem;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* ------- Responsive Styles ------- */
@media (max-width: 1440px) {
    .container {
        max-width: 1100px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 900px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content, .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 700px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 40px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .services-grid, .features-grid, .testimonials-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
} 