/* ========================================
   RESET & BASE
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background: #f4f7fb;
  color: #222;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: auto;
}

@media (max-width: 480px) {
  .container {
    width: 92%;
  }
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

@media (max-width: 768px) {
  .navbar-content {
    padding: 12px 0;
  }
}

.logo-img {
  width: 95px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links a {
  color: #1B3A6B;
  font-weight: 700;
  position: relative;
  transition: .3s;
}

.nav-links a:hover {
  color: #d59b2d;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #d59b2d;
  transition: .3s;
}

.nav-links a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ========================================
   HERO
======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  background: linear-gradient(rgba(7, 16, 30, .86), rgba(7, 16, 30, .86)),
    url("../images/menuisier-vaucluse.jpg") center/cover no-repeat;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 80px;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(213, 155, 45, .18), transparent 40%);
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 950px;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero h1 {
  font-size: 68px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 28px;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
}

.hero p {
  font-size: 22px;
  color: rgba(255, 255, 255, .90);
  margin-bottom: 42px;
}

@media (max-width: 768px) {
  .hero p {
    font-size: 18px;
  }
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: .3s;
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
  }
}

.btn-primary {
  background: #d59b2d;
  color: #fff;
  box-shadow: 0 12px 28px rgba(213, 155, 45, .35);
}

.btn-primary:hover {
  transform: translateY(-4px);
  background: #bb861f;
}

.btn-secondary {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #1B3A6B;
}

/* ========================================
   GLOBAL SECTION
======================================== */
section {
  padding: 110px 0;
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 65px;
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 40px;
  }
}

.section-title span {
  display: inline-block;
  margin-bottom: 16px;
  color: #d59b2d;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-title h2 {
  font-size: 48px;
  color: #1B3A6B;
  margin-bottom: 18px;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 36px;
  }
}

.section-title p {
  max-width: 850px;
  margin: auto;
  color: #666;
  font-size: 18px;
}

/* ========================================
   ABOUT
======================================== */
.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 80px;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(213, 155, 45, .10);
  border: 1px solid rgba(213, 155, 45, .20);
}

.section-badge span {
  color: #d59b2d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-text h2 {
  font-size: 46px;
  color: #1B3A6B;
  margin-bottom: 28px;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
  .about-text h2 {
    font-size: 36px;
  }
}

.about-text p {
  margin-bottom: 22px;
  color: #555;
  font-size: 18px;
}

.about-image img {
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
}

@media (max-width: 992px) {
  .about-image {
    order: -1;
  }
}

/* ========================================
   SERVICES
======================================== */
.services {
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 45px 35px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .04);
  transition: .35s;
}

@media (max-width: 480px) {
  .service-card {
    padding: 30px 20px;
  }
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #1B3A6B, #d59b2d);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

.service-icon {
  font-size: 42px;
  margin-bottom: 22px;
}

.service-card h3 {
  color: #1B3A6B;
  font-size: 25px;
  margin-bottom: 18px;
}

.service-card p {
  color: #666;
}

/* ========================================
   SEO SECTION
======================================== */
.seo-section {
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(18, 34, 58, .93), rgba(18, 34, 58, .93)),
    url("../images/atelier-menuiserie.jpg") center/cover no-repeat;
  padding: 110px 0;
}

@media (max-width: 768px) {
  .seo-section {
    padding: 80px 0;
  }
}

.seo-section h2 {
  font-size: 48px;
  margin-bottom: 28px;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
  .seo-section h2 {
    font-size: 32px;
  }
}

.seo-section p {
  max-width: 950px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, .90);
  font-size: 18px;
}

/* ========================================
   GALLERY
======================================== */
.gallery {
  background: #fff;
}

.gallery-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 35px;
}

@media (max-width: 768px) {
  .gallery-items {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
  transition: .4s ease;
  display: block;
  color: inherit;
}

.gallery-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, .14);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .6s ease;
}

@media (max-width: 768px) {
  .gallery-item img {
    height: 240px;
  }
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: relative;
  padding: 32px;
  background: #fff;
}

@media (max-width: 768px) {
  .gallery-overlay {
    padding: 26px;
  }
}

.gallery-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 70px;
  height: 4px;
  background: #d59b2d;
  border-radius: 999px;
}

.gallery-overlay h3 {
  color: #1B3A6B;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
  transition: .3s;
}

@media (max-width: 768px) {
  .gallery-overlay h3 {
    font-size: 24px;
  }
}

.gallery-item:hover h3 {
  color: #d59b2d;
}

.gallery-overlay p {
  color: #666;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d59b2d;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .5px;
  transition: .3s;
}

.gallery-item:hover .gallery-link {
  gap: 16px;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .04));
  opacity: 0;
  transition: .4s;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials {
  position: relative;
  overflow: hidden;
  background: #0f1724;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(213, 155, 45, .08), transparent 35%);
}

.testimonials .section-title h2 {
  color: #fff;
}

.testimonials .section-title p {
  color: rgba(255, 255, 255, .72);
}

.reviews-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.reviews-wrapper::-webkit-scrollbar {
  display: none;
}

.reviews-track {
  display: flex;
  gap: 30px;
  width: max-content;
  padding-bottom: 10px;
}

.review-card {
  width: 380px;
  flex-shrink: 0;
  padding: 35px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
  transition: .35s ease;
}

@media (max-width: 768px) {
  .review-card {
    width: 300px;
    padding: 28px;
  }
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: #d59b2d;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d59b2d, #f1c66a);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.review-info h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.review-meta {
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
}

.stars {
  color: #f4c542;
  font-size: 22px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(244, 197, 66, .35);
  flex-shrink: 0;
}

.review-card p {
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
  line-height: 1.9;
}

/* ========================================
   CONTACT
======================================== */
.contact {
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(10, 18, 30, .94), rgba(10, 18, 30, .94)),
    url("../images/contact-menuiserie.jpg") center/cover no-repeat;
  padding: 110px 0;
}

@media (max-width: 768px) {
  .contact {
    padding: 80px 0;
  }
}

.contact h2 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
  .contact h2 {
    font-size: 32px;
  }
}

.contact p {
  max-width: 850px;
  margin: auto;
  color: rgba(255, 255, 255, .88);
}

.contact-grid {
  margin-top: 65px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  padding: 38px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(10px);
  transition: .3s;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: #d59b2d;
}

.contact-card h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.contact-card a,
.contact-card p {
  color: #fff;
  font-weight: 700;
}

/* ========================================
   FLOATING BUTTONS
======================================== */
.floating-contact {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .20);
  transition: .3s;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.phone {
  background: #1B3A6B;
}

.whatsapp {
  background: #25d366;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: #0b111b;
  color: #fff;
  padding-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer h3,
.footer h4 {
  margin-bottom: 22px;
}

.footer p,
.footer li {
  color: rgba(255, 255, 255, .72);
  margin-bottom: 12px;
}

.footer a {
  color: rgba(255, 255, 255, .72);
  transition: .3s;
}

.footer a:hover {
  color: #d59b2d;
}

.footer-bottom {
  margin-top: 70px;
  padding: 28px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-links a {
  margin: 0 10px;
}