* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ==== UNIVERSAL UTILITY CLASSES ==== */
/* Consolidated repeated styles across all sections */

/* Universal Button Style */
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.4);
  background: #eab308;
}

/* Universal Card Styles */
.card-rounded {
  border-radius: 15px;
}

.card-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-shadow-strong {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-shadow-light {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-shadow-medium {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Universal Hover Effects */
.hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-lift:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Custom Link Styles */
a {
  color: #777;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Keep navigation links white */
.top-nav a {
  color: white;
}

.top-nav a:hover {
  color: #f0f0f0;
  text-decoration: none;
}

/* Keep CTA buttons white */
.cta-button {
  color: white;
}

.cta-button:hover {
  color: white;
  background: #eab308 !important;
  box-shadow: 0 8px 25px rgba(234, 179, 8, 0.4) !important;
}

.footer-content a {
  color: #f1ee1a;
}

/* Top Navigation */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo-img:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links li a:hover {
  color: #f0f0f0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 0.5rem;
}

.burger-line {
  width: 25px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
  }

  .burger-menu {
    display: flex;
  }

  .burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

.top-nav.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

/* Adjust hero section to account for fixed nav */
.hero {
  min-height: 100vh;
  width: 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Account for fixed nav */
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero img {
  max-width: 300px;
  margin-bottom: 2rem;
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.french-flag {
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
  border-radius: 4px;
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
  padding: 5rem 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

section.hero {
  padding: 2rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.4rem;
  color: #333;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: justify;
}

/* About Section Layout */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.about-container p {
  margin-bottom: 1rem;
}

.about-image {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-bottom: 1.5rem;
}

.about-image p {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: #fafbfc;
}

/* Features CTA Section */
.features-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem 0;
}

.feature-icon {
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-icon img {
  width: 100px;
  height: 100px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card:hover .feature-icon img {
  filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.3));
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #444;
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: #666;
  filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.3));
}

.feature-card p {
  transition: color 0.3s ease;
}

.feature-card:hover p {
  color: #2d3748;
}

/* Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.gallery img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

/* Gallery Catalogue Image */
.gallery-catalogue {
  max-width: 100%;
  height: auto;
  width: 100%;
  margin: 2rem auto 0;
  display: block;
}

/* Video Section */
.video-container {
  text-align: center;
  margin-top: 2rem;
}

.video-container video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-8px);
  background: #fafbfc;
}

.contact-icon {
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.contact-icon svg {
  width: 48px;
  height: 48px;
  color: #666;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-card:hover .contact-icon svg {
  color: #333;
  filter: drop-shadow(0 4px 12px rgba(51, 51, 51, 0.3));
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #666;
  transition: color 0.3s ease;
}

.contact-card:hover h3 {
  color: #333;
}

.contact-card a {
  color: #666;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
  display: block;
  margin: 0.5rem 0;
}

.contact-card:hover a {
  color: #333;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Professional Section */
.professional-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.professional-content {
  text-align: left;
  order: 2;
}

.professional-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: #555;
}

.professional-image {
  display: flex;
  justify-content: center;
  align-items: center;
  order: 1;
}

.professional-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.professional-cta {
  margin-top: 2rem;
}

/* Footer */
footer {
  background: #111;
  color: white;
  font-size: 10px;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .french-flag {
    width: 36px;
    height: 24px;
  }
  .hero-title {
    gap: 0.75rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  h2 {
    font-size: 2rem;
  }
  section {
    padding: 3rem 1rem;
  }
  /* About Section Mobile */
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image {
    order: -1;
  }
  .about-image img {
    max-width: 100%;
    width: 100%;
  }
  /* Professional Section Mobile */
  .professional-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .professional-content {
    text-align: center;
  }
  .professional-image {
    order: -1;
  }
  .professional-image img {
    max-width: 100%;
    width: 100%;
  }
}
/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Fade Up Animation */
.fade-up {
  transform: translateY(40px);
}

.fade-up.animate-in {
  transform: translateY(0);
}

/* Slide Up Animation */
.slide-up {
  transform: translateY(50px);
}

.slide-up.animate-in {
  transform: translateY(0);
}

/* Slide Left Animation */
.slide-left {
  transform: translateX(30px);
}

.slide-left.animate-in {
  transform: translateX(0);
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
}

.fade-in.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Animation timing variations */
.animate-on-scroll {
  animation-fill-mode: both;
}

.top-nav.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.scroll-to-top:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top.near-footer {
  background: #eab308;
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.4);
}

.scroll-to-top.near-footer:hover {
  background: #facc15;
  box-shadow: 0 6px 25px rgba(234, 179, 8, 0.6);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
}

/* Mobile adjustments for scroll to top button */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .scroll-to-top svg {
    width: 18px;
    height: 18px;
  }
}
