/*
Theme Name: Lanaé Rénovation
Theme URI: https://lanae-renovation.com
Description: Thème WordPress professionnel pour Lanaé Rénovation - Spécialiste isolation intérieure en Isère
Version: 1.0.0
Author: Lanaé Rénovation
Author URI: https://lanae-renovation.com
Text Domain: lanae-renovation
Domain Path: /languages
Tags: responsive, mobile-friendly, seo-optimized, business
*/

/* ========================================
   VARIABLES CSS
======================================== */
:root {
  --primary-color: #2c5f2d;
  --secondary-color: #f7941d;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --transition: all 0.3s ease;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--secondary-color);
}

/* ========================================
   CONTAINERS & LAYOUT
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

/* ========================================
   HEADER
======================================== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

.header-top a {
  color: var(--white);
  margin-right: 20px;
}

.header-top a:hover {
  color: var(--secondary-color);
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.site-logo img {
  max-height: 60px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-navigation a {
  font-weight: 500;
  padding: 10px 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--primary-color);
}

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

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
  background: linear-gradient(135deg, rgba(44,95,45,0.95), rgba(44,95,45,0.85)), 
              url('assets/images/hero-bg.jpg') center/cover;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  font-size: 60px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ========================================
   SECTION TITLES
======================================== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* ========================================
   CONTACT FORM
======================================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 40px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widget h3 {
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}

/* ========================================
   BREADCRUMBS
======================================== */
.breadcrumbs {
  padding: 20px 0;
  background: var(--bg-light);
}

.breadcrumbs ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin: 0 10px;
  color: var(--text-light);
}

/* ========================================
   BLOG/NEWS
======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-image {
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--text-light);
}

.blog-title {
  font-size: 22px;
  margin-bottom: 15px;
}

.blog-title a {
  color: var(--text-dark);
}

.blog-title a:hover {
  color: var(--primary-color);
}

.blog-excerpt {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
  .header-main {
    flex-wrap: wrap;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    display: none;
    width: 100%;
    order: 3;
  }
  
  .main-navigation.active {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-navigation li {
    border-bottom: 1px solid var(--border-color);
  }
  
  .main-navigation a {
    display: block;
    padding: 15px 0;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}
