body {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #2d2d2d;
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 20px 0 20px;
}

#artist-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 300;
  font-size: 2.2rem;
  letter-spacing: 2px;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

nav {
  position: relative;
}

.hamburger {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
  z-index: 1100;
}

.nav-list {
  display: flex;
  gap: 22px;
  background: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.2s;
  padding: 2px 10px;
}

.nav-list li a:hover {
  background: #333;
}

@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 12px 0 12px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    align-items: center;
    padding: 18px 8px 0 8px;
    justify-content: space-between;
  }
  .nav-list {
    position: fixed;
    top: 62px;
    right: 0;
    flex-direction: column;
    background: rgba(24,24,24,0.96);
    width: 100px;
    transition: right 0.3s;
    z-index: 10;
    display: none;
  }
    nav ul.active {
    display: flex;
  }
  .hamburger {
    display: block;
    position: absolute;
    top: 18px;
    right: 16px;
  }
}

#home {
  width: 100vw;
  min-height: 55vh;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.home-bg {
  width: 100vw;
  min-height: 55vh;
  height: 55vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) blur(0.5px);
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 1.5s;
  z-index: 1;
  animation: moveBackground 18s linear infinite;
}

.home-img.loaded {
  opacity: 1;
}

@keyframes moveBackground {
  0% { object-position: center top; }
  100% { object-position: center bottom; }
}

.home-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.typewriter-text {
  display: inline-block;
  border-right: 2px solid white;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 5s steps(60, end), blink-caret 0.5s step-end infinite;
  font-size: 1.45rem;
  font-weight: 300;
  background: none;
  padding: 18px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  color: #fff;
  max-width: 90vw;
  text-align: center;
  pointer-events: auto;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: white; }
}

.recent-exhibition-button {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 10;
  padding: 12px 32px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 16px rgba(0,255,255,0.16);
  backdrop-filter: blur(10px);
  transition: background 0.35s, color 0.35s, opacity 0.8s;
  opacity: 0;
  animation: fadeGlass 2.5s 0.6s forwards;
  font-size: 1.08rem;
}

@keyframes fadeGlass {
  from { opacity: 0; }
  to { opacity: 1; }
}

.recent-exhibition-button:hover {
  background: rgba(255,255,255,0.45);
  color: #222;
}

.info-boxes {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 15px 30px 15px;
}

.glass-box {
  background: rgba(50,50,50,0.23);
  border: none;
  border-radius: 15px;
  padding: 24px 18px 30px 18px;
  margin: 20px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  color: white;
  max-width: 350px;
  text-align: center;
  flex: 1 1 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 250px;
}

.carousel-container {
  position: relative;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  min-width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  text-align: center;
  font-size: 1.15rem;
  color: #0ff;
  opacity: 0.5;
  transition: opacity 0.3s;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.carousel-item.active {
  opacity: 1;
}

aside.glass-box {
  justify-content: center;
  align-items: center;
  min-height: 180px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  align-items: stretch;
  margin-top: 16px;
}

#message-text {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #888;
  padding: 12px;
  font-size: 1rem;
  min-height: 80px;
  background: #fff;
  color: #222;
  resize: vertical;
  margin-bottom: 2px;
  box-sizing: border-box;
}

.send-btn {
  margin-top: 0;
  padding: 10px 0;
  background: #0ff;
  color: #222;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  box-shadow: 0 0 15px rgba(0,255,255,0.15);
}

.send-btn:hover {
  background: #00bfff;
  color: #fff;
}

footer {
  background-color: #111;
  text-align: center;
  padding: 14px 0 12px 0;
  font-size: 0.98rem;
  margin-top: 40px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
}

@media (max-width: 991px) {
  .info-boxes {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding: 25px 0 10px 0;
  }
  .glass-box {
    max-width: 95vw;
    min-width: unset;
    margin: 18px 0;
  }
  .carousel-container {
    max-width: 95vw;
  }
}

@media (max-width: 600px) {
  #home, .home-bg {
    min-height: 38vh;
    height: 38vh;
  }
  .typewriter-text {
    font-size: 1.1rem;
    padding: 12px 10px;
  }
  .recent-exhibition-button {
    font-size: 1rem;
    padding: 10px 18px;
    bottom: 18px;
  }
  .info-boxes {
    padding: 10px 0 6px 0;
  }
  .glass-box {
    padding: 18px 8px 22px 8px;
  }
}.bio-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* QENDRON çdo element, foto dhe tekst */
  gap: 38px;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.bio-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* Mund të shtosh edhe: */
  margin-top: 0;
  margin-bottom: 8px;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  background: #2d2d2d;
  color: #fff;
}
header {
  background: #222;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 {
  margin: 0;
  font-size: 2.5rem;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: transparent;
  border: none;
}
nav ul li a:hover,
nav ul li a:active {
  text-decoration: underline;
}
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  margin-right: auto;
}
.gallery-sections {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}
.gallery-sections button {
  padding: 10px 20px;
  background-color: #1f1f1f;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}
.gallery-sections button:hover {
  background-color: #727272;
}
.gallery-container {
  width: 100vw;
  padding: 0;
}
.gallery-section-grid {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 32px; /* HAPSIRA MIDIS FOTOVE */
  margin-bottom: 32px;
}
.gallery-item {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.gallery-item img {
  display: block;
  width: 100vw;
  max-width: 100vw;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}
.details-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}
.details-button {
  pointer-events: auto;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.32);
  color: #222;
  padding: 18px 42px;
  border-radius: 32px;
  font-size: 1.17rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s, color 0.2s, opacity 0.8s;
  opacity: 0;
  animation: fade-in-btn 1.5s forwards 0.6s;
}
.details-button:hover {
  background: rgba(0,255,255,0.23);
  color: #fff;
  border-color: #0ff;
}
@keyframes fade-in-btn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
footer {
  background-color: #111;
  text-align: center;
  padding: 10px 0;
}
@media (max-width: 900px) {
  header h1 {
    font-size: 2rem;
  }
  .details-button {
    padding: 10px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 700px) {
  .gallery-item,
  .gallery-item img,
  .gallery-section-grid {
    width: 100vw;
    max-width: 100vw;
  }
  .details-button {
    padding: 12px 18vw;
    font-size: 1.05rem;
  }
  nav ul {
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 62px;
    right: 0;
    width: 100vw;
    z-index: 10;
    display: none;
  }
  nav ul.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}