/* THEME CSS - COUVREUR VILLERS-SUR-MER 
   Couleurs: #000000, #e72727, #555555
*/ :root {
  --primary-color: #e72727;
  --secondary-color: #000000;
  --text-color: #555555;
  --white: #ffffff;
  --light-bg: #f8f8f8;
  --transition: all 0.3s ease;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}
/* Typography */
h1, h2, h3, h4 {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 20px;
}
a {
  text-decoration: none;
  transition: var(--transition);
}
ul {
  list-style: none;
}
/* Header & Navigation */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-top {
  background: var(--secondary-color);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo h1 {
  margin: 0;
  font-size: 24px;
  color: var(--primary-color);
}
.nav-menu ul {
  display: flex;
}
.nav-menu li {
  margin-left: 25px;
}
.nav-menu a {
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}
.nav-menu a:hover {
  color: var(--primary-color);
}
.phone-btn-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 700;
}
/* Mobile Styling (Constraint 5) */
.mobile-call-action {
  display: none;
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .header-flex {
    flex-direction: column;
    text-align: center;
  }
  .mobile-call-action {
    display: block;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
  }
}
/* Hero Section */
.hero-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('reparation toiture_10.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}
.hero-section h2 {
  color: var(--white);
  font-size: 48px;
}
/* Sections General */
.section-padding {
  padding: 80px 0;
}
.bg-light {
  background: var(--light-bg);
}
/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
}
.service-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}
/* Facade Section (Constraint 0.1) */
.facade-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.facade-content, .facade-image {
  flex: 1;
  min-width: 300px;
}
.facade-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 20px 20px 0 var(--primary-color);
}
/* Footer */
footer {
  background: var(--secondary-color);
  color: #bbb;
  padding: 60px 0 20px;
}
footer a {
    color: white;
    text-decoration: none
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}
/* Buttons */
.btn-main {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 35px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
}
.btn-main:hover {
  background: var(--secondary-color);
}