/* 
Theme Name: Roofers
Theme URL: 
Author: TemplatesJungle
Author URL: https://templatesjungle.com/
Description: Roofers  is a Free Bootstrap Website Template for Roofing by TemplatesJungle.
Version: 1.0 
*/


/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*

CSS STRUCTURE:

1. VARIABLES
2. GENERAL TYPOGRAPHY

--------------------------------------------------------------*/

/*  General Styles
/*----------------------------------------------*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
}

body {
  --heading-font: 'Roboto Condensed', sans-serif;
  --heading-font-weight: 700;
  --heading-color: #313131;
  --heading-line-height: 1.24;

  --accent-color: #D06051;
  --linear-gradient: linear-gradient(90deg, #C62813 0%, #D06051 100%);


  /* bootstrap */
  --bs-body-font-family: 'Roboto', sans-serif;
  --bs-body-font-size: 18px;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6875rem;
  --bs-body-color: #777777;
  --bs-body-color-rgb: 143, 143, 143;

  --bs-primary: #8C907E;
  --bs-secondary: #6c757d;
  --bs-black: #313131;
  --bs-light: #FFFFFF;
  --bs-dark: #212529;
  --bs-gray: #D9D9D9;
  --bs-gray-dark: #51565b;

  --bs-primary-rgb: 140, 144, 126;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-black-rgb: 17, 17, 17;
  --bs-light-rgb: 241, 241, 240;
  --bs-dark-rgb: 33, 37, 41;

  --bs-link-color: #111;
  --bs-link-color-rgb: 17, 17, 17;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #111;
  --bs-link-hover-color-rgb: 17, 17, 17;
  

}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  color: var(--heading-color);
  line-height: var(--heading-line-height);
  letter-spacing: 0.065rem;
  text-transform: uppercase;
}

h6 {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.19rem;
}

.heading-color {
  color: var(--accent-color);
}

a {
  text-decoration: none;
}


/* bootstrap button style  */

.btn {
  --bs-btn-padding-x: 1.88em;
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-font-family: var(--heading-font);
  --bs-btn-font-size: 1.1875rem;
  --bs-btn-font-weight: 700;
  border-radius: 0;
  text-transform: uppercase;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #0a58ca;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #fff;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #fff;
  --bs-btn-disabled-border-color: #fff;
}

.btn-primary {
  background-image: linear-gradient(to right, #C62813 0%, #D06051 51%, #C62813 100%);
  background-size: 200% auto;
  border: none;
  transition: 0.7s all;
  -webkit-transition: 0.7s all;
}

.btn-primary:hover {
  background-position: right center;
}


/*---- navigation section style start ----*/

.navbar {
  font-family: var(--heading-font);
  --bs-navbar-padding-x: 0;
  --bs-navbar-padding-y: 0.5rem;
  --bs-navbar-color: var(--bs-black);
  --bs-navbar-hover-color: var(--accent-color);
  --bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3);
  --bs-navbar-active-color: var(--accent-color);
  --bs-navbar-brand-padding-y: 0.3125rem;
  --bs-navbar-brand-margin-end: 1rem;
  --bs-navbar-brand-font-size: 1.25rem;
  --bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);
  --bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);
}

.nav-link {
  font-size: 1rem;
  font-weight: 700;
}

nav.navbar {
  z-index: 999999;
}


/* dropdown style  */

.dropdown-menu {
  --bs-dropdown-border-radius: 0px;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--bs-gray);
  color: var(--bs-black);
}

.dropdown-item {
  font-weight: 600;
  color: var(--bs-black);
}

@media only screen and (max-width: 1200px) {
  a.phone-no {
    display: none;
  }
}

@media only screen and (max-width: 1800px) {
  .pattern-overlay {
    display: none;
  }
}

.bg-secondary {
  --bs-bg-opacity: 1;
  background-color: var(--accent-color) !important;
}



/*---- hero section style start ----*/

#hero {
  margin-top: 90px;
}

.pattern-overlay.pattern-right {
  top: 30%;
  right: 0px;
}

form.hero-form {
  background: rgba(255, 255, 255, 0.90);
}

.form-label {
  font-size: 0.875rem;
  color: var(--bs-black);
  text-transform: uppercase;
}

.form-control {
  /* border: none; */
  border-radius: 0;
}

/*---- partner section style start ----*/

img.logo-image {
  filter: saturate(0);
  opacity: 50%;
  transition: ease-in 0.2s;
}

img.logo-image:hover {
  filter: saturate(100%);
  opacity: 1;
}



/*---- testimonial section style start ----*/

section#testimonial {
  background: linear-gradient(90deg, #C62813 0%, #D06051 100%);
}

.testimonial-pattern-overlay.pattern-right {
  top: 35%;
  right: 0px;
}

.testimonial-pattern-overlay.pattern-left {
  top: 20%;
  left: 0px;
}

.testimonial-content {
  background: #F9E9E9;
}

iconify-icon.rate {
  color: #F2B821;
}

/* swiper overide 
--------------------------------------------------------------*/

.swiper-pagination-bullet {
  background: var(--swiper-pagination-bullet-inactive-color, var(--bs-light));
}


/*---- services section style start ----*/

.services-components {
  border: 1px solid var(--accent-color);
  transition: all 0.5s ease-in;
}

iconify-icon.services-icon {
  font-size: 80px;
  color: var(--accent-color);
  transition: all 0.5s ease-in;
}

.services-heading {
  transition: all 0.5s ease-in;
}

.service-btn {
  transition: all 0.5s ease-in;

}

/* .services-components:hover {
  background: var(--accent-color);
  color: var(--bs-light);
}

.services-components:hover .services-heading,
.services-components:hover iconify-icon.services-icon {
  color: var(--bs-light);
}

.services-components:hover .service-btn {
  background: var(--bs-light);
  color: var(--bs-black);
  transition: all 0.5s ease-in;
} */


/*---- projects section style start ----*/

section#projects {
  background: var(--accent-color);
}

button.filter-button {
  font-family: var(--heading-font);
  border: 1px solid #FFF;
  background: transparent;
  color: var(--bs-light);
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.3s ease-in;
}

button.filter-button.active {
  color: var(--bs-dark);
  background: var(--bs-light);
}

button.filter-button:hover {
  color: var(--bs-dark);
  background: var(--bs-light);
}


.item .description {
  width: 90%;
  height: 90%;
  position: absolute;
  bottom: 20px;
  left: 15px;
  z-index: 5;
  opacity: 0;
  background: rgba(255, 255, 255, 0.90);
  transition: all 0.5s ease-in;
}

.item:hover .description {
  opacity: 1;
}

@media only screen and (min-width:770px) and (max-width: 1400px) {
  .item .description {
    text-align: start;
  }

  .project-date,
  .project-heading {
    display: none;
  }
}

@media only screen and (min-width:770px) and (max-width: 1200px) {
  .item .description {
    left: -5px;
    background: none;
  }
}



/*---- process section style start ----*/

.process-components {
  border-bottom: 2px dotted var(--accent-color);
  /* border-top: 2px solid var(--accent-color); */
  transition: ease-in 0.3s;
}

img.arrow {
  opacity: 0;
}

iconify-icon.process-icon {
  color: var(--accent-color);
  font-size: 110px;
}



/*---- faq section style start ----*/

/* accordian style override  */

.accordion {
  --bs-accordion-border-color: var(--accent-color);
  --bs-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
  --bs-accordion-btn-icon: url('https://api.iconify.design/ion/caret-down.svg?color=%23d06051&width=30');
  --bs-accordion-btn-active-icon: url('https://api.iconify.design/ion/caret-down.svg?color=%23d06051&width=30');
  --bs-accordion-border-radius: 0px;
}

.accordion-header {
  margin-bottom: 0;
  border-top: 1px solid var(--accent-color);
}

.accordion-button {
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  color: var(--heading-color);
  line-height: var(--heading-line-height);
  letter-spacing: 0.065rem;
  text-transform: uppercase;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--heading-color);
  background-color: var(--bs-light);
  box-shadow: none;
}


/*---- cta section style start ----*/

section#cta {
  background: var(--linear-gradient);
}

.cta-button {
  background: var(--bs-light);
  color: var(--bs-black);
}

.cta-button:hover,
.cta-button:active,
.cta-button:focus {
  background: var(--bs-light);
  color: var(--bs-black);
}

@media only screen and (max-width: 770px) {
  .cta-pattern-overlay {
    display: none;
  }
}


/*---- footer section style start ----*/

iconify-icon.contact-icon {
  color: var(--bs-black);
  font-size: 24px;
}

iconify-icon.social-link-icon {
  color: rgba(208, 96, 81, 0.60);
  font-size: 24px;
}

iconify-icon.social-link-icon.active,
iconify-icon.social-link-icon:hover {
  color: #D06051;
}


/*--------------------------------------------------------------
About page style
--------------------------------------------------------------*/

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--bs-light);
}


/*--------------------------------------------------------------
  Blog page style
  --------------------------------------------------------------*/

.active>.page-link,
.page-link.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}


.form-control:focus {
  border-color: var(--bs-black);
  box-shadow: none;
}


/*--------------------------------------------------------------
  Price page style
  --------------------------------------------------------------*/


.plan-post {
  border: 1px solid var(--accent-color);
}

span.price-tick {
  color: var(--accent-color);
}

.price-option {
  height: 320px;
}

.recommend-price {
  background: #D06051;
}

/*--------------------------------------------------------------
  Project page style
  --------------------------------------------------------------*/

button.filter-button.gallery-btn {
  letter-spacing: 0.075rem;
  border: 1px solid var(--bs-border-color);
  background: transparent;
  color: var(--bs-black);
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.3s ease-in;
}

button.filter-button.gallery-btn.active {
  color: var(--bs-light);
  background: var(--accent-color);
}

button.filter-button.gallery-btn:hover {
  color: var(--bs-light);
  background: var(--accent-color);
}



/*--------------------------------------------------------------
reviews section style start
--------------------------------------------------------------*/

.reviews-components {
    background-color: #ffffff; /* fond blanc */
    border: 2px solid #FAFAFA;
    box-shadow: 0px 12px 90px rgba(12, 12, 12, 0.06);
    border-radius: 9px;
    padding: 1.5rem; /* un peu d’espace à l’intérieur */
}
}

iconify-icon.quote {
  font-size: 60px;
  color: var(--accent-color);
}

.rate {
  color: var(--accent-color);
}

/* ==============================
   Section Hero
============================== */

#hero {
    position: relative;
    overflow: hidden;
    background: url('images/banner-img.jpg') center/cover no-repeat;
    padding-top: 160px;   /* espace sous la navbar fixe */
    padding-bottom: 80px;
}

/* container du hero */
#hero .container {
    padding-top: 40px;
}

/* titre */
#hero h2 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* texte */
#hero p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* badges */
#hero ul {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

#hero ul li {
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#hero ul li svg {
    margin-right: 10px;
}

/* formulaire */
.hero-form {
    background-color: rgba(255,255,255,0.95);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* titre formulaire */
.hero-form h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 25px;
}

/* champs */
.hero-form input {
    background-color: #e6e6e6;
    border: none;
    padding: 10px;
    border-radius: 5px;
}

/* bouton vert */
.hero-form button {
    background-color: #6f8f3f;
    border: none;
    font-weight: 700;
}

.hero-form button:hover {
    background-color: #5e7a33;
}

/* ==============================
   Formulaire
============================== */
.hero-form {
    background-color: rgba(255,255,255,0.95);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    margin-top: 3rem;
}

.hero-form h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #313131;
}

.hero-form input {
    background-color: #e6e6e6;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.hero-form button {
    background-color: #6f8f3f;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.75rem;
    color: white;
}

.hero-form button:hover {
    background-color: #5e7a33;
}
/* ==============================
   Navbar style
============================== */
.navbar .nav-link {
    font-weight: 700;         /* texte en gras */
    color: #6f8f3f !important; /* couleur verte logo */
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #4e702b !important; /* un vert un peu plus foncé au survol */
}

.navbar-brand img {
    filter: none; /* garde la couleur du logo originale */
}
/* Footer slogan style */
.footer-slogan {
    font-weight: 700;       /* gras */
    font-size: 1.5rem;      /* taille plus grande */
    margin-top: 1rem;       /* espace sous le logo */
    margin-bottom: 1rem;
    text-align: center;     /* centré */
    color: #313131;
}
/* ==============================
   Section Témoignages Clients
============================== */
section#testimonial {
    background: linear-gradient(90deg, #C62813 0%, #D06051 100%);
    padding: 5rem 0;
    position: relative;
}

section#testimonial h3 {
    color: #ffffff;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

/* Elfsight / blocs de témoignages */
.elfsight-app-bba473fd-23c4-4e35-9958-4051c64297f7 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.elfsight-app-bba473fd-23c4-4e35-9958-4051c64297f7 .reviews-components,
.elfsight-app-bba473fd-23c4-4e35-9958-4051c64297f7 iframe {
    background-color: #ffffff; /* fond blanc */
    border-radius: 0.75rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    flex: 1 1 300px; /* largeur minimum et responsive */
    max-width: 350px;
}
#testimonial .elfsight-app-bba473fd-23c4-4e35-9958-4051c64297f7 {
    background-color: #ffffff; /* fond blanc du conteneur */
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    display: flex;
    justify-content: center;
}
/* ==============================
   Hero vert pour Isolation des Combles
============================== */
#hero-combles {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #6f8f3f 0%, #8ca64b 100%);
    min-height: 60vh;
}

#hero-combles .container {
    padding-top: 12rem;
    padding-bottom: 5rem;
    text-align: center;
}

#hero-combles h2 {
    color: #ffffff;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

#hero-combles p {
    color: #ffffff;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Badges RGE, assurance etc */
#hero-combles ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

#hero-combles ul li {
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

#hero-combles ul li svg {
    margin-right: 10px;
}

/* Formulaire hero-combles */
#hero-combles .hero-form {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    margin-top: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#hero-combles .hero-form h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 10rem;
    color: #313131;
}

#hero-combles .hero-form input {
    background-color: #e6e6e6;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

#hero-combles .hero-form button {
    background-color: #6f8f3f;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.75rem;
    color: white;
}

#hero-combles .hero-form button:hover {
    background-color: #5e7a33;
}
#hero-contact {
    background: linear-gradient(135deg, #6f8f3f 0%, #8ca64b 100%);
    color: #fff;

    min-height: 70vh; /* hauteur visible */
    display: flex;
    align-items: center;

    text-align: center;
    padding: 120px 0 60px;
}

/* Avant/Après photos */
.avant-apres img {
    width: 100%;
    border-radius: 0.5rem;
}

.avant-apres p {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Zone d'intervention villes cliquables */
.zone-intervention .btn {
    text-transform: uppercase;
    margin: 0.3rem;
    font-weight: 700;
    border-radius: 0.5rem;
}
#footer {
    background: #ffffff;
    color: #333333;
    padding: 60px 20px 30px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

/* Conteneur centré */
.footer-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Logo */
.footer-logo {
    max-width: 220px;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-logo {
        max-width: 260px;
    }
}
/* Slogan */
.footer-slogan {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Icônes sociales */
.social-icons a {
    font-size: 26px;
    margin: 0 10px;
    color: #6f8f3f;
    transition: 0.3s;
}

.social-icons a:hover {
    opacity: 0.7;
}

/* Liens */
#footer a {
    color: #333333;
    text-decoration: none;
    transition: 0.3s;
}

#footer a:hover {
    color: #6f8f3f;
    text-decoration: underline;
}

/* Badge (RGE etc) */
.footer-badge {
    margin-top: 15px;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Ligne du bas */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    padding-top: 15px;
    font-size: 0.9rem;
    opacity: 0.7;
}
.phone-no {
    white-space: nowrap;
    font-weight: 700;
    color: #6f8f3f !important;
}