/* 
NovaCompta Solutions Stylesheet
Color Palette:
- Main background: warm lavender #BFA2DB
- Accents: lemon lime #F9F871
- Text: coal gray #2E2E2E
- Buttons: deep turquoise #00A9A5
- Gradients between sections: from lavender to white
*/

/* ===== Reset and Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2E2E2E;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2E2E2E;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #00A9A5;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #00A9A5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2E2E2E;
}

ul {
    list-style-type: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(46, 46, 46, 0.95);
    color: white;
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    padding: 10px 0;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cookie-button.accept {
    background-color: #00A9A5;
    color: white;
}

.cookie-button.more {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.cookie-button:hover {
    transform: scale(1.05);
}

/* ===== Header and Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav {
    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: #2E2E2E;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu li a {
    color: #2E2E2E;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #00A9A5;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: #00A9A5;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #008b88;
    transform: translateY(-3px);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(rgba(191, 162, 219, 0.8), rgba(255, 255, 255, 0.9)), url("./img/X17mhZ.jpg");
    background-size: cover;
    background-position: center;
    padding: 190px 0 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeIn 1.5s ease;
}

.cta-button {
    display: inline-block;
    background-color: #00A9A5;
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 2s ease;
}

.cta-button:hover {
    background-color: #008b88;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 169, 165, 0.2);
    color: white;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature {
    background-color: #f9f9f9;
    border-left: 4px solid #00A9A5;
    padding: 20px;
    border-radius: 0 6px 6px 0;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: #00A9A5;
    margin-bottom: 10px;
}

.feature h3 {
    margin-bottom: 10px;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, #FFFFFF, #F0EAF8);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
}

.service-card ul {
    padding: 0 20px 20px;
}

.service-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00A9A5;
}

.service-link {
    display: inline-block;
    margin: 0 20px 20px;
    font-weight: 600;
    color: #00A9A5;
    position: relative;
}

.service-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* ===== Why Us Section ===== */
.why-us {
    padding: 100px 0;
    background-color: #F0EAF8;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-us-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.why-us-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-us-icon {
    font-size: 2.5rem;
    color: #00A9A5;
    margin-bottom: 15px;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(to bottom, #F0EAF8, #FFFFFF);
}

.testimonials-slider {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-family: serif;
    color: rgba(191, 162, 219, 0.2);
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    margin-bottom: 5px;
}

.client-info p {
    margin: 0;
    font-style: normal;
    color: #666;
    font-size: 0.9rem;
}

/* ===== Order Form Section ===== */
.order-form {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #BFA2DB;
    outline: none;
    box-shadow: 0 0 0 3px rgba(191, 162, 219, 0.3);
}

.form-checkboxes {
    grid-column: span 2;
    margin-bottom: 20px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

.submit-button {
    grid-column: span 2;
    background-color: #00A9A5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #008b88;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 169, 165, 0.2);
}

.form-errors {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    color: #c0392b;
}

.form-errors ul {
    list-style-type: disc;
    margin-left: 20px;
}

.form-errors li {
    margin-bottom: 5px;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: linear-gradient(to bottom, #FFFFFF, #F0EAF8);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f9f9f9;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background-color: #F0EAF8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.8rem;
    color: #00A9A5;
    margin-right: 15px;
}

.contact-text h3 {
    margin-bottom: 5px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 300px;
}

/* ===== Footer ===== */
.site-footer {
    background-color: #2E2E2E;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info p {
    margin-top: 20px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #F9F871;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-links h3,
.footer-legal h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: #F9F871;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    .hero h1{
        font-size: 2rem;
    }
    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    .contact-form{
        display: flex;
        flex-direction: column;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .menu-toggle:checked ~ .nav-menu {
        max-height: 500px;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f1f1f1;
    }
    
    .nav-menu li a::after {
        display: none;
    }
    
    .nav-cta {
        border-radius: 0;
        text-align: center;
        margin-top: 10px;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .submit-button {
        grid-column: span 1;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .service-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        margin-top: 15px;
        width: 100%;
        justify-content: space-between;
    }
} 