@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");

body {
  background: #0e0e0e;
  color: white;

  font-family: "Montserrat", sans-serif;
  margin: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: linear-gradient(90deg, #1a1a1a, #0e0e0e);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  gap: 15px;
  color: white;
  text-decoration: none;
}
header .logo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid lightgreen;
}

header nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}
header nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
header nav a:hover {
  color: lightgreen;
}

header .mini-photos {
  display: flex;
  gap: 12px;
  align-items: center;
}
header .mini-photos img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid #333;
}
header .mini-photos img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px lightgreen;
  border-color: lightgreen;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  align-items: flex-end;
  gap: 30px;
  min-height: 75vh;
  overflow: hidden;
}
.hero-text {
  flex: 1;
  min-width: 280px;
  z-index: 1;
}
.hero-text p:first-child {
  color: gray;
  font-weight: bold;
  letter-spacing: 2px;
}
.hero-text h1 {
  font-size: 42px;
  margin: 10px 0;
}
.hero-text p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #ccc;
}

.work-btn,
.portfolio-btn {
  padding: 12px 25px;
  margin-right: 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}
.work-btn {
  background: lightgreen;
  color: #0e0e0e;
}
.work-btn:hover {
  background: #76c776;
}
.portfolio-btn {
  background: #333;
  color: white;
}
.portfolio-btn:hover {
  background: #555;
}

.hero-img {
  position: relative;
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.hero-img img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.badge {
  background: lightgreen;
  padding: 6px 12px;
  border-radius: 12px;
  position: absolute;
  top: 15px;
  left: 15px;
  font-weight: bold;
  color: black;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.portfolio-section {
  padding: 50px 40px;
  text-align: center;
}
.portfolio-section h2 {
  font-size: 40px;
  margin: 10px 0 5px 0;
}
.portfolio-section p {
  color: gray;
  margin-bottom: 30px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.portfolio-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.portfolio-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px lightgreen;
}

.brands-section {
  padding: 60px 40px;
  text-align: center;
}
.brands-section h2 {
  font-size: 36px;
  margin: 10px 0;
}
.brands-section p {
  color: gray;
  margin-bottom: 30px;
}
.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.brands-list div {
  border: 1px solid #333;
  padding: 20px 40px;
  border-radius: 15px;
  width: 22%;
  transition: 0.3s;
}
.brands-list div:hover {
  border-color: lightgreen;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.contact-section {
  padding: 60px 40px;
  text-align: center;
  background: #1a1a1a;
}
.contact-section h2 {
  font-size: 36px;
  margin: 10px 0;
}
.contact-section p {
  color: gray;
  margin-bottom: 30px;
}

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}
#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards ease-in-out;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }
  .hero-img img {
    width: 100%;
    max-height: 50vh;
  }
  .hero-text {
    margin-bottom: 20px;
  }

  .work-btn,
  .portfolio-btn {
    width: 90%;
    margin-bottom: 10px;
    margin-right: 0;
  }
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  header {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 15px;
  }
  header nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  header .mini-photos {
    margin-top: 10px;
    justify-content: center;
  }
  .brands-list div {
    width: 45%;
  }
}
