/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  background: #ffdfdfc7;
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-center {
  display: flex;
  gap: 18px;
}

.navbar a {
  color: #000;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}

/* underline hover */
.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #000;
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

/* ===== HAMBURGER ===== */
.hamburger {
  position: absolute;
  right: 18px;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  background: none;
  border: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: #fff;
  padding: 70px 25px;

  display: flex;
  flex-direction: column;
  gap: 18px;

  transform: translateX(110%); /* 🔴 TAM DIŞARI */
  transition: transform 0.35s ease;
  z-index: 1002;
}
.mobile-menu.active ~ .navbar .hamburger {
  display: none;
}

.mobile-menu.active {
  transform: translateX(0); /* ✅ TAM OTURUR */
}
.close-menu {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

.close-menu:hover {
  opacity: 0.6;
}


.mobile-menu a {
  color: #000;
  text-decoration: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1rem;
  font-family: Arial,;
  background: rgba(0,0,0,0.04);
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1001;
}
.mobile-menu a:hover {
  background: rgba(0,0,0,0.1);
}
.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== MOBILE ONLY ===== */
@media (max-width: 768px) {
  .nav-center {
    display: none;
  }

  .hamburger {
    display: block;
    color: #000;
  }

  .navbar {
    justify-content: center;
  }
}



@media (max-width: 992px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  justify-content: center;
  margin-top: 60px;
}

/* ===== ART CARD ===== */
.art-card {
  width: 100%;
  max-width: 360px;
  background: #fff9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  overflow: hidden;
  text-align: center;
}

.art-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
}

/* ===== DETAILS ===== */
.art-details {
  background: #ffdfdfa8;
  padding: 14px;
  text-align: left;
  font-size: 0.65rem;
}

.art-details h3 {
  margin: 0 0 8px;
  text-align: center;
}
@media (max-width: 768px) {
  .art-details h3 {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 768px) {
  .art-details p {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* ===== EXTRA IMAGES ===== */
.imgstylenow {
  display: grid;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.imgstylenow img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* ===== COPYRIGHT ===== */
.copyright {
  text-align: center;
  background: rgb(197, 39, 39);
  color: white;
  padding: 14px;
  margin-top: 80px;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ===== MOBILE ONLY ===== */
@media (max-width: 768px) {
  .nav-center {
    display: none;
  }

  .hamburger {
    display: block;
    color: #000;
    border: none;
    background: none;
    cursor: pointer;
  }

  .navbar {
    justify-content: space-between;
  }

  .art-card {
    max-width: calc(100% - 100px);
    margin: 0 auto;
  }

  .art-card img {
    width: 100%;
  }

  .imgstylenow img {
    max-width: calc(100% - 100px);
    margin: 0 auto;
    display: block;
  }
}

.copyright {
        text-align: center;
        background: rgb(197, 39, 39);
        color: white;
        padding: 2px;
        margin-top: 30%;
      }