/* 
 * NJerrari Gestion - Landing Page Styles
 * A professional and clean design for an administrative assistant service
 */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --primary-dark: #569a4d;       /* Darker blue for hover states */
    --primary-color: #0e8bbc;      /* Light blue */  
    --secondary-color: #F5F2EB;    /* Beige */
    --accent-color: #6C757D;       /* Soft gray */
    --text-color: #333333;         /* Dark gray for text */
    --light-text: #FFFFFF;         /* White text */
    --light-gray: #F8F9FA;         /* Light gray for backgrounds */
    --border-color: #E9ECEF;       /* Border color */
    --success-color: #28A745;      /* Green for success messages */
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-spacing: 5rem;
    --element-spacing: 1.5rem;
    
    /* Border Radius */
    --border-radius: 5px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FFFFFF;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

/* ===== SECTION STYLES ===== */
section, header, footer {
    padding: var(--section-spacing) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--accent-color);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--heading-font);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}



.bouton-cta {
    background-color: var(--primary-color);
    color: var(--light-text) !important;
    border: 2px solid var(--primary-color);
}

.bouton-cta:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #333333;
}



.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--light-text);
}

.btn-outline {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid transparent;
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: var(--light-text);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}




.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 1.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* ===== HERO SECTION ===== */
.hero {
    background-color: var(--secondary-color);
    padding: 10rem 0 5rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero h2 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: #FFFFFF;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-item {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-item h5 {
    margin-bottom: 0.5rem;
}

/* ===== PROBLEMS SECTION ===== */
.problems {
    background-color: var(--light-gray);
}

.problems-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.problem-text {
    flex: 1;
    min-width: 300px;
}

.problem-image {
    flex: 1;
    min-width: 300px;
}

.illustration-image {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: #FFFFFF;
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.services-note {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    color: var(--accent-color);
}

/* ===== TARGETS SECTION ===== */
.targets {
    background-color: var(--secondary-color);
}

.targets-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.target-item {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.target-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.target-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background-color: #FFFFFF;
}

.benefits-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* ===== PRICING SECTION ===== */
.pricing {
    background-color: var(--light-gray);
}

.pricing-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.pricing-item {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: var(--transition);
}

.pricing-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-item.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.pricing-item.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 2rem;
    text-align: center;
}

.pricing-item.featured .pricing-header {
    background-color: var(--primary-dark);
}

.pricing-header h3 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-body {
    padding: 2rem;
}

.pricing-body ul {
    list-style-type: none;
    margin-top: 1.5rem;
}

.pricing-body ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.pricing-body ul li i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.pricing-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

/* ===== CTA SECTION ===== */
.cta {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--light-text);
}

.cta p {
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background-color: var(--light-text);
    color: var(--primary-color);
    border-color: transparent;
}

.cta .btn-primary:hover {
    background-color:var(--primary-dark);
    color: var(--light-text);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: #FFFFFF;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.calendly {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.calendly h3 {
    margin-bottom: 1rem;
}

.calendly p {
    margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-color);
    color: var(--light-text);
    padding-top: 4rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links-column {
    min-width: 150px;
}

.footer-links-column h4 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.footer-links-column ul {
    list-style-type: none;
}

.footer-links-column ul li {
    margin-bottom: 0.75rem;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-column ul li a:hover {
    color: var(--light-text);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #FFFFFF;
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 800px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.modal-body {
    margin-top: 1.5rem;
}

.modal-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .pricing-item.featured {
        transform: scale(1);
    }
    
    .pricing-item.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 0.5rem 0;
        padding: 0.5rem 1.5rem;
        display: block;
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .about-content,
    .problems-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image,
    .problem-image {
        order: -1;
        text-align: center;
    }
    
    .profile-image,
    .illustration-image {
        max-width: 100%;
    }
    
    .services-content,
    .targets-content,
    .benefits-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section, header, footer {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .pricing-content {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-item {
        max-width: 100%;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}