:root {
  --artwise-t5-bg: #f0f0f0;
  --artwise-t5-overlay-bg: #d1d1d1;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }

/* Main Header */
.artwise-t5-header {
  background: var(--artwise-t5-bg);
  padding: 15px 40px;
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
}

.artwise-t5-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.artwise-t5-logo img { height: 50px; }
.artwise-t5-logo-manu-img{
  filter: grayscale(100%);
}
.artwise-t5-menu-btn {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 1px;
}

/* Fullscreen Overlay */
.artwise-t5-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--artwise-t5-overlay-bg);
  z-index: 1000;
  display: none; /* Hidden by default */
  flex-direction: column;
}

.artwise-t5-overlay-header {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  align-items: center;
}

.artwise-t5-mini-logo img { height: 50px; }

.artwise-t5-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.artwise-t5-overlay-content {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-around;
  padding: 0 10%;
}

.artwise-t5-big-logo-bg img {
  width: 350px;
  /* opacity: 0.8; */
}

.artwise-t5-nav-links {
  list-style: none;
  text-align: left;
}


.artwise-t5-nav-links li a {
    text-decoration: none;
    color: #ffffff; /* Default text color */
    font-size: 2rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    margin: 15px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}


.artwise-t5-nav-links li.artwise-t5-active {
  color: #000;
  font-weight: bold;
}

.artwise-t5-nav-links li.artwise-t5-active::before {
  content: "●";
  margin-right: 15px;
}
/* Hover Animation: Minimalist Bottom Line */
.artwise-t5-nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000000; /* Line color on hover */
    transition: width 0.3s ease;
}

.artwise-t5-nav-links li a:hover::after {
    width: 100%; /* Hover karne par line poori spread hogi */
}

.artwise-t5-nav-links li a:hover {
    color: #000000; /* Text color changes on hover */
}
/* RESPONSIVE BREAKPOINTS */

@media (max-width: 786px) {
  .artwise-t5-big-logo-bg { display: none; } /* Hide big logo to save space */
  .artwise-t5-overlay-content { justify-content: flex-start; padding-left: 50px; }
  .artwise-t5-nav-links li { font-size: 1.5rem; }
}

@media (max-width: 425px) {
  .artwise-t5-header { padding: 10px 20px; }
  .artwise-t5-logo img { height: 40px; }
  .artwise-t5-menu-btn { font-size: 18px; }
  .artwise-t5-nav-links li { font-size: 1.2rem; margin: 10px 0; }
}
/* Pehle wale CSS mein ye changes karein */

.artwise-t5-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--artwise-t5-overlay-bg);
  z-index: 1000;
  
  /* Smooth Animation Properties */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex; /* Flex hamesha rahega par dikhega nahi */
  flex-direction: column;
}

/* Jab menu open hoga tab ye class add hogi */
.artwise-t5-menu-overlay.artwise-t5-is-open {
  opacity: 1;
  visibility: visible;
}

/* Nav links mein halka sa slide-up effect */
.artwise-t5-nav-links li {
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin: 15px 0;
  cursor: pointer;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease;
  transition-delay: 0.2s; /* Menu khulne ke thodi der baad links dikhenge */
}

.artwise-t5-menu-overlay.artwise-t5-is-open .artwise-t5-nav-links li {
  transform: translateY(0);
  opacity: 1;
}

/* Logo animation */
.artwise-t5-big-logo-bg {
  transform: scale(0.9);
  transition: all 0.6s ease;
  opacity: 0;
}

.artwise-t5-menu-overlay.artwise-t5-is-open .artwise-t5-big-logo-bg {
  transform: scale(1);
  opacity: 0.8;
}