/* Style principal pour le site ClimatTech */

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* En-tête */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.logo h1 {
    color: #0077b6;
    font-size: 1.8rem;
    font-weight: 700;
}
.top-nav{
    display: flex;
    align-items: anchor-center;
    column-gap: 30px;
}
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: #0077b6;
}

nav ul li a.active::after,
nav ul li a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0077b6;
}

/* Styles pour la navigation mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.nav-toggle.active, .nav-toggle.active * {
    cursor: none !important;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #0077b6;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Sections principales */
main {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #0077b6;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0077b6;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../Images/Equipe.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    min-height: 80vh; /* Pour s'assurer que la section prend une bonne hauteur */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-section {
    background-color: #0077b6;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-orange {
    background-color: #FF8C00;
    color: white;
    border: none;
}

.btn-orange:hover {
    background-color: #FF6B00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #0077b6;
    color: #fff;
}

.btn-primary:hover {
    background-color: #005f92;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #0077b6;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #0077b6;
    margin-bottom: 1rem;
}

/* Services Preview */

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
    padding-top: 3rem;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 450px;
    width: 100%;
    height: 420px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,123,182,0.15);
}

.service-card img {
    width: 100%;
    max-width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.2rem;
}

.service-card h3 {
    color: #0077b6;
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
    text-align: center;
}

.service-card p {
    color: #444;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.service-card .btn {
    background: #0077b6;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.service-card .btn:hover {
    background: #023e8a;
}

.services-preview {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-preview-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-preview-card:hover {
    transform: translateY(-10px);
}

.service-preview-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-preview-card h3 {
    color: #0077b6;
    padding: 1.5rem 1.5rem 0.5rem;
}

.service-preview-card p {
    padding: 0 1.5rem 1.5rem;
}

.service-preview-card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* Services Details */
.service-details {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 0 15px;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-description h3 {
    color: #0077b6;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.service-list {
    margin-top: 2rem;
}

.service-list li {
    margin-bottom: 1.5rem;
    list-style: none;
}

.service-list h4 {
    color: #0077b6;
    margin-bottom: 0.5rem;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.benefits-section h3 {
    text-align: center;
    color: #0077b6;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: #0077b6;
    margin-bottom: 1rem;
}

/* Installation Process */
.installation-process {
    padding: 4rem 0;
}

.installation-process h3 {
    text-align: center;
    color: #0077b6;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #0077b6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.process-step h4 {
    color: #0077b6;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author h4 {
    color: #0077b6;
    margin-bottom: 0.3rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 119, 182, 0.9), rgba(0, 119, 182, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    margin: 0 15px;
}

.cta-section {
    background: linear-gradient(135deg, #0077b6 0%, #023e8a 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.2);
    margin: 0 15px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #0077b6;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
    background: orangered;
}

.cta .btn {
    background-color: #fff;
    color: #0077b6;
}

.cta .btn:hover {
    background-color: #f0f0f0;
}

/* About Page Styles */
.about-story {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    color: #0077b6;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 1rem;
}

.mission-vision {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card, .vision-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission-card h3, .vision-card h3 {
    color: #0077b6;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.values {
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    color: #0077b6;
    margin-bottom: 1rem;
}

.team {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h4 {
    color: #0077b6;
    margin: 1.5rem 0 0.5rem;
}

.team-member p {
    margin-bottom: 1.5rem;
    color: #666;
}

.certifications {
    padding: 4rem 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.certification img {
    height: 100px;
    margin-bottom: 1rem;
}

.certification h4 {
    color: #0077b6;
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-container {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3, .contact-form h3 {
    color: #0077b6;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #0077b6;
}

.info-content h4 {
    margin-bottom: 0.5rem;
    color: #0077b6;
}

.social-media {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    text-decoration: none;
    color: #0077b6;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #005f92;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.map-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.map-section h3 {
    text-align: center;
    color: #0077b6;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.map-overlay h3 {
    color: #0077b6;
    margin-bottom: 0.5rem;
}

.map-overlay p {
    color: #555;
    margin: 0;
}
.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f5f5f5;
    margin: 20px 0;
    border-radius: 8px;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.map-placeholder img {
    width: 100%;
    display: block;
}

.faq-section {
    padding: 4rem 0;
}

.faq-section h3 {
    text-align: center;
    color: #0077b6;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: #f8f9fa;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.faq-answer {
    padding: 1.5rem;
    border-top: 1px solid #ddd;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-section h3 {
    color: #0077b6;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    text-decoration: none;
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0077b6;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid #444;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #0077b6;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: #005f92;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.rotate {
    transform: rotate(-360deg);
}

/* Pulse animation when button appears */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.scroll-top.show {
    animation: pulse 0.5s ease;
}

.whatsapp-header-btn {
    display: inline-block;
    margin-left: 15px;
    padding: 8px 16px;
    background: #25D366;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    vertical-align: middle;
    transition: background 0.2s;
}
.whatsapp-header-btn:hover {
    background: #1ebe5d;
    color: #fff;
}
.whatsapp-header-btn .fab {
    margin-right: 8px;
}
.whatsapp-footer-btn {
    margin-top: 15px;
    display: inline-block;
    padding: 8px 16px;
    background: #25D366;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    vertical-align: middle;
    transition: background 0.2s;
}
.whatsapp-footer-btn:hover {
    background: #1ebe5d;
    color: #fff;
}
.whatsapp-footer-btn .fab {
    margin-right: 8px;
}

