
@font-face {
  font-family: 'Coolvetica';
  src: url('../fonts/Coolvetica-HeavyComp.woff2') format('woff2'),
       url('../fonts/Coolvetica-HeavyComp.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: #121212;
  color: #fff;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 100;
  background-color: #121212;
  padding: 1rem 2rem;
}

.navbar-container .logo {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-family: 'Coolvetica', sans-serif;
  white-space: nowrap;
  color: #fff !important; /* Force white color */
  text-decoration: none; /* Remove any underline */
  position: relative;
  transition: text-shadow 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.navbar-container a.logo:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  transition: text-shadow 0.3s ease;
}

.navbar-container a.logo:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  animation: afterGlow 2s ease forwards;
}

@keyframes afterGlow {
  0% {
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  }
  50% {
      text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  }
  100% {
      text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  }
}


.logo {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-family: 'Coolvetica', sans-serif;
  white-space: nowrap;
  color: #fff !important; /* Force white color */
  text-decoration: none; /* Remove any underline */
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.nav-links a {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
  text-align: center;
  overflow: hidden;
}


.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 101;
    position: absolute;
    right: 0;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-links a:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  right: 100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
  );
  transition: left 0.4s ease-in-out, right 0.4s ease-in-out;
}

.nav-links a:hover::before {
  left: 100%;
  right: -100%;
}
/* Animations */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Styles */
@media (max-width: 968px) {
    .logo {
        font-size: 3rem;
    }
}

@media (max-width: 860px) {
    .navbar-container {
        justify-content: flex-start;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background-color: #121212;
        flex-direction: column;
        padding-top: 80px;
        transition: 0.3s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links a {
      width: 200px;
      height: 50px;
      font-size: 1.4rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .logo {
        font-size: 2.5rem;
    }
}

/* Contact Styles */
.contact-info {
  text-align: right;
  white-space: nowrap; /* Empêche l'adresse et le numéro de téléphone de se superposer */
  flex-shrink: 0; /* Empêche la réduction de la section contact */
  
}

.main-content {
  padding-top: 6rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.brand-name {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 32vw;
  font-weight: bold;
  padding-right: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: row-reverse;
  font-family: coolvetica;
  width: 100%;
  align-items: flex-end;
}

.description {
  max-width: 400px;
  padding: 2rem;
  font-size: 1.2rem;
  line-height: 1.4;
}

.about-container {
  padding: calc(80px + 2rem) 2rem 2rem; /* Ajuste l'espacement sous la navbar */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
  
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}
  
.about-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s ease infinite;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}
  
.about-text p:hover {
    color: #fff;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

@media (max-width: 1200px) {
    
  .nav-links a {
      padding: 10px 20px;
      min-width: 100px;
      font-size: 1rem;
  }
}
  
footer {
  text-align: center;
  padding: 2rem;
  background-color: rgba(18, 18, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  bottom: 0;
  width: 100%;
}



@media (max-width: 768px) {
  .about-content {
      flex-direction: column;
      text-align: center;
  }

  .about-text {
      text-align: center;
  }
}