/* Base Styles */
:root {
  /* Colors */
  --color-gold: #D4AF37;
  --color-gold-light: #E9D58A;
  --color-gold-dark: #9A7D20;
  --color-beige: #F5F5DC;
  --color-beige-light: #FFFFF0;
  --color-beige-dark: #E8E8C8;
  --color-white: #FFFFFF;
  --color-black: #333333;
  --color-gray: #666666;
  --color-light-gray: #F5F5F5;
  
  /* Font families */
  --font-primary: 'Montserrat', sans-serif;
  --font-display: 'Playfair Display', serif;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 3rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-black);
  line-height: 1.6;
  background-color: var(--color-beige-light);
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmZmZmIj48L3JlY3Q+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiNmNWY1ZWIiPjwvcmVjdD4KPC9zdmc+');
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin-bottom: 0.5em;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn-gold {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-gold:hover {
  background-color: var(--color-gold-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-align: center;
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-light {
  display: inline-block;
  background-color: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-align: center;
}

.btn-outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-12 {
  margin-top: 3rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.section-padding {
  padding: 4rem 0;
}

.bg-light {
  background-color: var(--color-light-gray);
}

.bg-beige {
  background-color: var(--color-beige);
}

.highlight {
  color: var(--color-gold);
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  text-align: center;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 4rem;
  height: 0.25rem;
  background-color: var(--color-gold-light);
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-sm);
}

.section-subtitle {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
  color: var(--color-gray);
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all var(--transition-normal);
  padding: 1rem 0;
}

.navbar a  {
  color: var(--color-white);
  font-weight: bold;
  transition: color var(--transition-normal);
}

.home-navbar .nav-links a {
  color: var(--color-white); /* Texte blanc */
  transition: color var(--transition-normal), font-weight var(--transition-normal);
}

.navbar.scrolled {
  background-color: white;
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

/* Navbar au scroll (fond blanc) pour index.html */
.home-navbar.scrolled .nav-links a {
  color: var(--color-black); /* Texte noir */
  font-weight: normal; /* Texte fin */
}

.home-nav-links {
  color: var(--black);
  font-weight: normal;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration-color: white;
}

.logo img {
  height: 60px;
  width: 60px;
  background-color: white;
  transition: height var(--transition-normal);
}

.navbar.scrolled .logo img {
  height: 3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-black);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
  color: var(--color-gold);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  margin: 5px 0;
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 40%;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
  z-index: -1;
}

.hero-content {
  max-width: 48rem;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.product-image {
  height: 24rem;
  overflow: hidden;
}

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

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-details {
  padding: 1.5rem;
}

.product-details h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-gold);
  font-weight: 500;
  margin-top: 1rem;
}

.product-link svg {
  margin-left: 0.25rem;
  transition: transform var(--transition-fast);
}

.product-link:hover svg {
  transform: translateX(3px);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--color-light-gray);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.service-icon {
  background-color: var(--color-gold);
  color: var(--color-white);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  margin-bottom: 1rem;
}

.star {
  color: var(--color-gold);
  margin-right: 0.25rem;
}

.star.empty {
  color: #ccc;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.author-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-event {
  font-size: 0.9rem;
  color: var(--color-gray);
}

/* CTA Section */
.cta-section {
  position: relative;
  color: var(--color-white);
  padding: 4rem 0;
  margin-top: 2rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.1);
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-description,
.footer-heading,
.footer-links a,
.footer-links li,
.contact-info li,
.contact-info span {
  color: var(--color-white);
}

.footer-column:first-child {
  width: 100%;
}

.footer-columns-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  height: 5rem;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.9rem;
}

.footer-legal-link {
  color: #777;
}

.footer-heading {
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: white;
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #aaa;
}

.contact-info svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-divider {
  border-color: #444;
  margin: 2rem 0;
}

.copyright {
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

/* Products Detail Page */
.product-detail-item {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 5rem;
}

.product-title {
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.features-list {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

.features-list li {
  margin-bottom: 0.5rem;
}

.page-cta {
  text-align: center;
}

.page-cta h2 {
  margin-bottom: 1rem;
}

.page-cta p {
  max-width: 48rem;
  margin: 0 auto 2rem;
}

/* Contact Form */
.contact-form {
  max-width: 36rem;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

textarea.form-control {
  min-height: 8rem;
  resize: vertical;
}

/* Map Section */
.map-container {
  height: 30rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Responsive Styles */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .product-detail-item {
    flex-direction: row;
    align-items: center;
  }
  
  .product-detail-item.reverse {
    flex-direction: row-reverse;
  }
  
  .product-detail-item .product-image,
  .product-detail-item .product-info {
    flex: 1;
  }
  
  .product-image img {
    border-radius: var(--radius-lg);
  }

  .footer-columns-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-column {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Navbar transparente (par défaut) pour index.html en mobile */
  .home-navbar .nav-links a {
    color: var(--color-black); /* Texte blanc */
    font-weight: bold; /* Texte gras */
    transition: color var(--transition-normal), font-weight var(--transition-normal);
  }

  /* Navbar au scroll (fond blanc) pour index.html en mobile */
  .home-navbar.scrolled .nav-links a {
    color: var(--color-black); /* Texte noir */
    font-weight: normal; /* Texte fin */
  }

  /* Ajustements pour le menu mobile */
  .home-navbar .nav-links {
    background-color: var(--color-white); /* Fond blanc pour le menu mobile */
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }

  .home-navbar.scrolled .nav-links {
    background-color: var(--color-white); /* Fond blanc au scroll */
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons a {
    width: 100%;
    max-width: 18rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-info li {
    justify-content: center;
  }

  .footer-column {
    text-align: center;
  }
  
  .contact-info li {
    justify-content: center;
  }
}

/* Services Page Styles */
.hero-small {
  background-color: var(--color-beige);
  padding: 120px 0 50px;
  text-align: center;
}

.hero-small .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-small h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.hero-small p {
  font-size: 1.25rem;
  color: var(--color-gray);
}

.services-detailed {
  padding: 60px 0;
}

.service-detailed-item {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 30px;
}

.service-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-badge svg {
  color: white;
}

.bg-blue-500 {
  background-color: #3b82f6;
}

.bg-green-500 {
  background-color: #10b981;
}

.bg-purple-500 {
  background-color: #8b5cf6;
}

.service-title {
  font-family: 'Playfair Display', serif;
  color: var(--color-gold);
  font-size: 1.75rem;
  margin-bottom: 15px;
}

.service-description {
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 15px;
}

.service-details {
  color: var(--color-gray);
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-image {
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.additional-services {
  background-color: var(--color-beige);
  padding: 60px 0;
}

.additional-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.additional-service-card {
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.additional-service-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--color-gold);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.complementary-services-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.complementary-services-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.cta-simple {
  padding: 60px 0;
}

.cta-simple h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-simple p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.125rem;
  color: var(--color-gray);
}

/* Media Queries for Services Page */
@media (min-width: 768px) {
  .service-detailed-item {
    flex-direction: row;
    align-items: center;
    padding: 40px;
  }
  
  .service-detailed-item.reverse {
    flex-direction: row-reverse;
  }
  
  .service-info {
    flex: 1;
  }
  
  .service-image {
    flex: 1;
    height: 350px;
  }
  
  .additional-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-small h1 {
    font-size: 2.25rem;
  }
  
  .service-title {
    font-size: 1.5rem;
  }
}
