body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(120deg, #23272e 0%, #181a1f 100%);
}


/************************************ NAVBAR ************************************/
.glass-navbar {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Texte et icônes auto-inversés */
.glass-navbar .nav-link,
.glass-navbar .navbar-brand,
.glass-navbar img {
    mix-blend-mode: difference;
}

/* Icônes SVG */
.nav-icon {
    width: 22px;
    height: 22px;
    filter: invert(1);
}

/* Liens */
.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-dark .nav-link:hover {
  color: #fff;
}

.nav-icon {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.navbar .nav-link.active {
  color: #C6AE4B !important;
  mix-blend-mode: normal;
}


/************************************ HERO ************************************/
.hero {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
              url(../asset/photo/background.png);
  background-size: cover;
  background-position: center;
  height: 100vh;
}

/* Bouton CTA avec icône */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #000;
  background-color: #C6AE4B;
  border: 1px solid #b8a146;
  font-size: 1rem;
}

/* Active + Focus + Click */
.btn-cta:active,
.btn-cta:focus,
.btn-cta:active:focus {
  background-color: #b8a146 !important;
  border-color: #b8a146 !important;
  box-shadow: none !important;
}

/* Icône chevron */
.btn-cta img {
  width: 12px;
  height: 12px;
}

.btn-cta:hover {
  background-color: #b8a146;
  border-color: #b8a146;
  color: #fff;
}

.btn-cta:hover img {
  filter: invert(1);
}

/* Hero logo responsive */
/* .hero img {
  max-width: 100%;
  height: auto;
  width: 500px;
} */

@media (max-width: 768px) {
  .hero img {
    width: 350px;
  }

  .btn-cta img {
    width: 10px; /* Adjusted for smaller screens */
    height: 10px; /* Adjusted for smaller screens */
  }
}

@media (max-width: 480px) {
  .hero img {
    width: 200px;
  }

  .btn-cta img {
    width: 8px; /* Further adjustment for mobile */
    height: 8px; /* Further adjustment for mobile */
  }
}


/************************************ ABOUT ************************************/
/* Section */
.gallery-section {
  padding: 6rem 4rem;
}

.gallery-section h2 {
    color: #C6AE4B;
}

/* Main container */
.gallery-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Grid images */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  gap: 1.2rem;
}

/* Image style */
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Bigger images like screenshot */
.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(5) {
  grid-column: span 1;
  grid-row: span 1;
}

/* Text content */
.gallery-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 1.2rem;
}

/* Button */
.btn-plus {
  margin-top: 1.5rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 1rem;
  color: #000;
  background: #C6AE4B;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-plus:hover {
  background: #b8a146;
  color: #fff;
}

.btn-plus:hover img {
  filter: invert(1);
}

.btn-plus img {
  width: 10px;
  height: 10px;
}




/************************************ TEAM ************************************/
.team-section h2 {
  font-size: 2rem;
  color: #C6AE4B;
}

.team-section p {
  font-size: 0.95rem;
}

.text-muted {
  color: #fff !important;
}

/* Card */
.team-card {
  background: #141619;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.207);
  transition: all 0.3s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

/* Image */
.team-card img {
  width: 30%;
  height: 200px;
  object-fit: cover;
}

/* Body */
.team-body {
  padding: 14px 10px 16px;
}

.team-body h6 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: #fff !important;
}

.team-body span {
  font-size: 12px;
  color: #fff;
}

/************************************ NEWS ************************************/
.container h2 {
  color: #C6AE4B;
}

/* Card */
.custom-card {
  background: #141619;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

/* Image */
.custom-card img {
  height: 170px;
  object-fit: cover;
}

/* Body */
.custom-card .card-body {
  padding: 14px 16px 16px;
}

/* Title */
.custom-card .card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Text */
.custom-card .card-text {
  font-size: 13px;
  color: #d4d4d4;
  line-height: 1.4;
}

.card-body h5 {
  color: #fff;
}

/* Footer */
.card-footer-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #d5d5d5;
}

/* Icons */
.card-footer-custom img {
  width: 12px;
  height: 12px;
  filter: invert(1);
}

/* Date block */
.footer-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-date img {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Bouton Learn more */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
  background: #C6AE4B;
  color: #000;
}

.btn-more:hover {
  background-color: #b8a146;
  color: #fff;
}

.btn-more:hover img {
  filter: invert(1);
}

.btn-more img {
  width: 10px;
  height: 10px;
}

/* Responsive adjustments for chevron */
@media (max-width: 768px) {
  .btn-more img {
    width: 8px; /* Adjusted for smaller screens */
    height: 8px; /* Adjusted for smaller screens */
  }

  .custom-card img {
    height: auto; /* Allow images to be responsive */
  }

  .custom-card .card-body {
    padding: 12px 14px; /* Adjust padding for smaller screens */
  }

  .custom-card .card-title {
    font-size: 14px; /* Adjust title size */
  }

  .custom-card .card-text {
    font-size: 12px; /* Adjust text size */
  }

  .card-footer-custom {
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align items to the start */
  }

  .footer-date {
    margin-bottom: 0.5rem; /* Add space between date and chevron */
  }
}

@media (max-width: 480px) {
  .btn-more img {
    width: 6px; /* Further adjustment for mobile */
    height: 6px; /* Further adjustment for mobile */
  }

  .custom-card {
    margin-bottom: 1.5rem; /* Add margin for spacing */
  }
}


/************************************ DOWNLOAD ************************************/
.hero-section {
  height: 80vh;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../asset/photo/background.png") center / cover no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-logo {
  max-width: 680px;
  width: 100%;
}

.btn-hero {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s ease;
  font-size: 1rem;
  color: #000;
  background-color: #C6AE4B;
  border: 1px solid #b8a146;
}

.btn-hero img {
  width: 10px;
  height: 10px;
}

.btn-hero:hover {
  background-color: #b8a146;
  border-color: #b8a146;
  color: #fff;
}

.btn-hero:hover img {
  filter: invert(1);
}

.btn-hero:active,
.btn-hero:focus,
.btn-hero:active:focus {
  background-color: #b8a146 !important;
  border-color: #b8a146 !important;
  box-shadow: none !important;
}




/************************************ FOOTER ************************************/
.footer-section {
  background-color: #2b2b2b;
  color: #fff;
}

.footer-section small,
.footer-section strong,
.footer-section li {
  color: #fff;
}

.footer-section ul li {
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-section ul li:hover {
  opacity: 1;
}

.footer-section img {
  max-width: 140px;
}

.social-icons img {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.social-icons .github,
.social-icons .tiktok {
  filter: invert(1);
}

.social-icons img:hover {
  opacity: 0.7;
}

.footer-section .col-md-4 strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #C6AE4B;
  margin-bottom: 0.8rem;
}

.footer-section .col-md-4 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section .col-md-4 ul li {
  margin-bottom: 0.5rem;
}

.footer-section .col-md-4 ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
  position: relative;
}

.footer-section .col-md-4 ul li a:hover {
  color: #C6AE4B;
  padding-left: 5px;
}




/************************************ RESPONSIVE ************************************/

/* Tablets (768px et moins) */
@media (max-width: 768px) {
  .gallery-section {
    padding: 4rem 2rem;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 1rem;
  }

  .gallery-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .gallery-content p {
    font-size: 0.9rem;
  }

  .btn-plus {
    margin-top: 1rem;
  }

  .hero-section {
    height: 70vh;
  }

  .hero-logo {
    max-width: 280px;
  }

  .btn-hero,
  .btn-cta {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .team-section h2 {
    font-size: 1.5rem;
  }

  .custom-card img {
    height: 140px;
  }

  .custom-card .card-body {
    padding: 12px 14px;
  }

  .custom-card .card-title {
    font-size: 14px;
  }

  .custom-card .card-text {
    font-size: 12px;
  }

  .footer-section .col-md-4 {
    margin-bottom: 2rem;
  }

  .footer-section img {
    max-width: 100px;
  }

  .social-icons img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }
}

/* Mobile (480px et moins) */
@media (max-width: 480px) {
  .gallery-section {
    padding: 3rem 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 120px;
    gap: 0.8rem;
  }

  .gallery-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .gallery-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .btn-plus {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .btn-plus img {
    width: 8px;
    height: 8px;
  }

  .hero {
    height: 80vh;
  }

  .hero-section {
    height: 60vh;
  }

  .hero-logo {
    max-width: 200px;
  }

  .btn-hero,
  .btn-cta {
    font-size: 0.85rem;
    padding: 0.35rem 0.7rem;
    gap: 0.3rem;
  }

  .btn-hero img,
  .btn-cta img {
    width: 8px;
    height: 8px;
  }

  .team-section h2 {
    font-size: 1.25rem;
  }

  .team-card img {
    width: 50%;
    height: 150px;
  }

  .team-body h6 {
    font-size: 12px;
  }

  .team-body span {
    font-size: 10px;
  }

  .container h2 {
    font-size: 1.25rem;
  }

  .custom-card img {
    height: 120px;
  }

  .custom-card .card-body {
    padding: 10px 12px;
  }

  .custom-card .card-title {
    font-size: 13px;
  }

  .custom-card .card-text {
    font-size: 11px;
  }

  .card-footer-custom {
    font-size: 10px;
  }

  .btn-more {
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
  }

  .btn-more img {
    width: 8px;
    height: 8px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section .col-md-4 {
    margin-bottom: 1.5rem;
  }

  .footer-section .col-md-4 strong {
    font-size: 1rem;
  }

  .footer-section img {
    max-width: 80px;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icons img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
  }

  .footer-section .col-md-4 ul li a {
    display: block;
    padding: 0;
  }

  .footer-section .col-md-4 ul li a:hover {
    padding-left: 0;
  }
}

