/* Variables & Design System */
:root {
  --primary-color: #ffc800;
  --primary-hover: #e6b400;
  --text-color: #393939;
  --text-light: #8a8a8a;
  --bg-color: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-overlay: rgba(0, 0, 0, 0.45);
  --font-main: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-top: 0;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  display: block;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: padding 0.3s;
}

.logo {
  height: 50px;
  width: auto;
  margin-right: 1rem;
  border-radius: 4px;
}

.logo2 {
  background: var(--primary-color);
  color: #000;
  font-weight: 800;
  font-size: 1.4rem;
  padding: 0.4em 0.8em;
  border-radius: var(--radius-sm);
  margin-right: 1rem;
  letter-spacing: -0.5px;
}

.site-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-right: auto;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
  padding: 0.5em 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
  }

  .nav-links a::after {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero-auto {
  height: auto;
  min-height: 80vh;
  overflow: visible;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  animation: fadeUp 1s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-intro h2,
.approche h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-intro p,
.approche p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Prestations Cards */
.prestations-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
}

.prestation-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.prestation-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.prestation-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}

.prestation-card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prestation-card h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.prestation-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.prestation-card ul {
  padding-left: 1.2rem;
  margin-bottom: 2rem;
  color: #666;
  font-size: 0.95rem;
}

.prestation-card li {
  margin-bottom: 0.5rem;
}

.prestation-price {
  margin-top: auto;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-color);
  text-align: right;
}

/* Gallery */
.prestation-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.prestation-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.prestation-gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form button {
  background: var(--primary-color);
  color: #000;
  font-weight: 700;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
  width: 100%;
  transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.lightbox-arrow {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-arrow.left {
  left: 20px;
}

.lightbox-arrow.right {
  right: 20px;
}

.lightbox-arrow:hover {
  background: var(--primary-color);
  color: #000;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Social Media Links */
.social-links-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.social-icon {
  font-size: 2.5rem;
  color: var(--text-color);
  transition: transform 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f5f5f5;
  box-shadow: var(--shadow-sm);
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.social-icon.instagram:hover {
  color: #E1306C;
  background: #fff;
}

.social-icon.facebook:hover {
  color: #1877F2;
  background: #fff;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.9rem;
}

.footer-content p {
  margin: 0.5rem 0;
  color: #ccc;
}

.footer-content a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s;
}

.footer-content a:hover {
  border-color: #fff;
}

.social-icon.instagram:hover {
  color: #E1306C;
  background: #fff;
}

.social-icon.facebook:hover {
  color: #1877F2;
  background: #fff;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.9rem;
}

.footer-content p {
  margin: 0.5rem 0;
  color: #ccc;
}

.footer-content a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s;
}

.footer-content a:hover {
  border-color: #fff;
}