/*
Theme Name: AlloJobo
Theme URI: https://allojobo.com
Author: AlloJobo Team
Description: Un thème moderne pour la plateforme AlloJobo de services à domicile
Version: 1.0
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background: white;
    line-height: 1.6;
    overflow-x: hidden;
    
     /* Space for fixed header */
}


.main-header {
    
    border-radius: 30px;
    margin-top: 10px;
    padding: 5px 20px;
    position:absolute;
    top: 0px;
    right: 13%;
    left: auto;
    width: auto;
    z-index: 1000;

}
.main-header_second {
    background-color: #4A7BC6;
    padding-top: 10px;
    padding: 5px 20px;
    position:relative;
    top: 0px;
    right: 0px;
    left: 0px;
    width: auto;
    z-index: 1000;

}




.navbar {
    display: flex;
    justify-content:space-between;
    align-items: start;
}

.nav-left .logo {
    display: flex;
    align-items: start;
}

.nav-left .logo img {
     height: auto; /* ajuste la taille du logo ici */
  width: 150px; /* garde les proportions */
  object-fit: contain; /* évite toute découpe */
  max-width: 100%; 
}

.nav-right {
    background: linear-gradient(135deg, #4A7BC6, #90b4e1,#4A7BC6);
    border-radius: 14px;
    padding: 4px 7px;

    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    width:max-content;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.2);
    border-radius: 12px;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}



/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #4A7BC6;
    color: white;
}

.btn-primary:hover {
    background-color: #3A6BB6;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #F9A747;
    color: white;
}

.btn-secondary:hover {
    background-color: #E89737;
}

/* Hero Section */
.hero-section {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    color: #4A7BC6;
    margin-bottom: 10px;
}

.tagline {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.hero-cta h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.hero-cta p {
    font-size: 17px;
    color: #666;
    margin-top: 50px;
    margin-bottom: 25px;
}

.hero-image {
    flex: 1;
    text-align:center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features-section {
    padding: 5px 0;
    background-color: #FEEAB9;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #F9A747;
    margin-bottom: 20px;
    margin-top: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start;
}

.feature-card {
    
    
    padding: 40px 30px;
    text-align: center;
    color: #424242;
    position: relative;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}



.feature-icon {
    margin-bottom: 10px;
}

.feature-icon img {
    width: 160px;
    height: 140px;
}

.badge {
    background-color: white;
    color: #FF8C42;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 24px;
    display: inline-block;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
}

/* App Promo Section */
.app-promo-section {
    margin: 30px 80px;
    background: linear-gradient(135deg, #4A7BC6 0%, #3A6BB6 100%);
    border-radius: 30px;
    padding: 30px 0;
   
}

.app-promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.app-info {
    flex: 1;
}

.app-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.app-info p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.app-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.app-btn {
    display: inline-block;
}

.app-btn img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-btn:hover img {
    transform: scale(1.05);
}

.app-logo {
    flex: 0 0 200px;
    background:none;
}

.app-logo img {
    width: 100%;
    height: auto;
    padding: 20px;
    border-radius: 30px;
    background:none;
}


/* Services Section */
.services-section {
    padding: 10px 0;
    background-color: #F9F9F9;
    
}
.service-container{
    padding: 0px 30px;
}

.services-grid {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    
    
}

/* Scrollbar styling */
.services-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.service-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 350px;
    width: 380px;
    flex-shrink: 0;
    cursor: pointer;
}


.service-card img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 30px;
    color: white;
}

.service-overlay p {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
    padding-top: 70px;
}
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #4A7BC6;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .app-promo-content {
        flex-direction: column;
        text-align: center;
    }
    
    .app-buttons {
        justify-content: center;

    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Decorative Elements */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: #4A7BC6;
    opacity: 0.1;
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: #F9A747;
    opacity: 0.1;
    border-radius: 50%;
}


/* ===== PAGE À PROPOS ===== */

/* About Hero Section */
.about-hero {
    padding: 5px 0 30px;
    background: white;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 25px;
}

.about-hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h1 {
    color: #4A7BC6;
    font-size: 42px;
    margin-bottom: 20px;
}

.about-text h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Mission Statement */
.mission-statement {
    padding: 40px 0;
    background-color: #FFF;
}

.mission-text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 auto;
    line-height: 1.6;
}

/* Vision Section */
.vision-section {
    padding: 20px 0;
    background: white;
    margin-left: 20px;
    margin-right: 20px;
    
}

.vision-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.vision-image {
    flex: 1;
}

.vision-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.vision-text {
    flex: 1;
}

.vision-text h2 {
    color: #4A7BC6;
    font-size: 32px;
    margin-bottom: 5px;
}

.vision-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}



/* Strengths Section */
.strengths-section {
    padding: 20px 0;
    background: white;
    margin-left: 20px;
    margin-right: 20px;
}

.strengths-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.strengths-text {
    flex: 1;
}

.strengths-text h2 {
    color: #4A7BC6;
    font-size: 32px;
    margin-bottom: 3px;
}

.strengths-list {
    list-style: none;
    padding: 0;
}

.strengths-list li {
    font-size: 16px;
    line-height: 1.4;
    color: #666;
    padding: 6px 0;
    padding-left: 30px;
    position: relative;
}

.strengths-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #F9A747;
    font-weight: bold;
    font-size: 20px;
}

.strengths-image {
    flex: 1;
    text-align: center;
}

.strengths-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Responsive pour page À propos */
@media (max-width: 768px) {
    .about-hero-content,
    .vision-content,
    .strengths-content {
        flex-direction: column;
    }
    
    .about-text h1 {
        font-size: 32px;
    }
    
    .vision-text h2,
    .strengths-text h2 {
        font-size: 26px;
    }
    
    .mission-text,
    .quote-text {
        font-size: 18px;
    }
}


.contact-container {
  position: fixed; /* fixe par rapport à la fenêtre */
  top: 0;          /* commence en haut */
  left: 0;         /* commence à gauche */
  width: 100vw;    /* prend toute la largeur de la fenêtre */
  height: 100vh;   /* prend toute la hauteur de la fenêtre */
  display: flex;
  overflow: hidden; /* empêche le scroll */
}

/* ----- Section image ----- */
.image-section {
  flex: 1;
  position: relative;
  background-color: #E1CEB0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo {
  position: absolute;
  top: 20px;
  left: 30px;
}

.logo img {
  height: auto; /* ajuste la taille du logo ici */
  width: 150px; /* garde les proportions */
  object-fit: contain; /* évite toute découpe */
  max-width: 100%; /* ne dépasse pas le conteneur */
}

/* ----- Section formulaire ----- */
.form-section {
  flex: 1;
  background-color: #4A7BC6;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.menu {
  position: absolute;
  top: 20px;
  right: 30px;
}

.menu a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  margin-left: 20px;
  font-weight: 500;
}

.menu a.active {
  color: white;
  border-bottom: 2px solid white;
}

h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.contact-form {
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 15px;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 16px;
  resize: none;
}

.contact-form button {
  background-color: white;
  color: #4A7BC6;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #eaeaea;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
  .image-section, .form-section {
    flex: none;
    height: 50vh;
  }

}
