*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: white;
  padding-top: clamp(40px, 8vh, 100px);
  user-select: none;
  -webkit-user-select: none;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0) 60%, rgba(0,0,0,0.8) 100%),
    repeating-linear-gradient(to right, rgba(255,255,255,0.15) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.15) 0 1px, transparent 1px 40px),
    #000;
  background-attachment: fixed;
}

html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;            
}

.header {
  position: fixed;
  top: clamp(0.5rem, 2vh, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - clamp(2rem, 8vw, 4rem));
  max-width: 900px;
  padding: clamp(0.5rem, 1.5vw, 1.2rem) clamp(0.75rem, 2vw, 1.5rem);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.logo {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: bold;
  flex-shrink: 0;
}

.right-wrapper {
  display: flex;
  gap: 5px;
}

.dropdown {
  position: relative;
  width: clamp(120px, 30vw, 160px);
}

.dropdown-btn {
  background-color: #4da3ff;
  border: none;
  color: white;
  width: 100%;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-btn .label {
  text-align: center;
  flex: 1;
}

.dropdown-list {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background-color: #4da3ff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}

.dropdown-list.open {
  max-height: 300px;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-list li {
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: background-color 0.2s ease;
}

.dropdown-list li:hover,
.dropdown-list li:focus {
  background-color: #3a8ee6;
  outline: none; 
}

.dropdown-list li:last-child {
  border-bottom: none;
}

.shop {
  color: white;
  text-decoration: none;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid white;
  border-radius: 8px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;   /* Vertikal */
  justify-content: center; /* Horizontal */
}

.shop:hover {
  background-color: white;
  color: #4da3ff;
}

.projects-section {
  position: relative;
  top: clamp(10px, 3vh, 30px);
  max-width: 900px;
  width: calc(100% - clamp(2rem, 8vw, 4rem));
  margin: 0 auto;
  overflow: auto;
}

.section-title {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: lighter;
  text-align: center;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #fff;
  margin: 0 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 16px);
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 8px rgba(0,0,0,0.35);
  transition: transform 0.3s ease;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  background: rgba(0,0,0,0.8);
  color: white;
  font-size: 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .caption {
  opacity: 1;
  transform: translateY(0);
}

.contact-wrapper {
  position: fixed;
  bottom: max(20px, 5%);
  right: max(20px, 5%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-button {
  background: #4da3ff;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: clamp(18px, 4vw, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  transition: background-color 0.3s ease;
  padding: 0;
}

.contact-button:hover {
  background: #357abd;
}

.contact-icons {
  position: absolute;
  bottom: 120%;
  right: 50%;
  transform: translate(50%, 10px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vh, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-wrapper.active .contact-icons {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.contact-icons a {
  background: rgba(0,0,0,0.8);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: clamp(18px, 4vw, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
}

.contact-icons a:hover {
  background-color: white;
  color: #000;
}