/* Force navbar to fixed position, reasonable height, and moderate z-index */
#navbar, .navbar, .main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  z-index: 1000;
}

@media (max-width: 600px) {
  #navbar, .navbar, .main-navbar {
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
  }
}

/* Hide overlays by default */
#mobile-menu-overlay, .mobile-menu-overlay {
  display: none !important;
}
.desktop-search, .desktop-login-btn { display: flex; }
.mobile-search { display: none; }
@import url('https://fonts.googleapis.com/css2?family=Lavishly+Yours&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');


@font-face {
    font-family: 'Samarkan';
    src: url('../assets/fonts/Samarkan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


:root {
  font-size: 12px;
  --color-text: #292828;
  --color-bg: #ddd;
  --color-link: #000;
  --color-link-hover: #000;
  --page-padding: 1rem;
  --angle: -15deg;
}

body {
  margin: 0;
  
  
  font-family: new-science-mono, sans-serif;
  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  height: 100%;
}
html {

  min-height: 100vh;
  height: 100%;
  margin: 0;
  padding: 0;
}


.noscroll {
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  position: fixed;
  top: 0;
}

/* Tricolor gradient text for Kalayatra */
.tricolor-text {
  display: inline-block;
  background: linear-gradient(90deg, orange 0%, #fff 45%, #fff 55%, green 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}


/* Traditional Art Section Styles */
.traditional-art-section {
    background: #e3e0d8;
    color: #111;
}
.traditional-art-section h2,
.traditional-art-section p {
    color: #111 !important;
}
.wavy-letter {
  display: inline-block;
  will-change: transform, opacity;
}
.wavy-space {
  display: inline-block;
  width: 0.5em;
}
#hero-text-after-zoom-p {
  overflow: hidden;
  display: inline-block;
}
#nav-links li a {
  display: inline-block;
  position: relative;
  will-change: transform, opacity;
}


#main-navbar {
    box-sizing: border-box;
padding: 0 32px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
z-index: 1000;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
font-size: 1.08rem;
font-family: 'Poppins', 'Lato', Arial, sans-serif;
backdrop-filter: blur(10px);
background: rgba(0, 0, 0, 0.95);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 64px;
}

#main-navbar #logo {
    text-transform: uppercase;
    font-family: "PP Monument Extended";
    font-weight: 900;
    display: flex;
    align-items: center;
}

#main-navbar button {
    border: none;
    outline: none;
    font-weight: 500;
    color: black;
    padding: 0.75em 1em;
    border-radius: 0.25em;
}

#logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.04em;
}

#logo-img {
    height: 60px;
    object-fit: contain;
    margin-right: 0;

}

#logo-text {
    font-family: 'Poppins', 'Lato', Arial, sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

#navbar-items {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 24px;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 18px;
}

#nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Lato', Arial, sans-serif;
}

#nav-links li {
    display: inline;
    margin-right: 60px;
    margin-left: 15px;
}

#nav-links li:last-child {
  
    margin-right: 00px;
}

#nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight:600;
    font-size: 1.3rem;
    position: relative;
    padding: 0.2em 0.2em;
    transition: color 0.18s, border-bottom 0.18s;
    font-family: 'Poppins', 'Lato', Arial, sans-serif;
}


#nav-links a:hover {
    color: tan;
}




.search-container {
    position: absolute;
    right: 233px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
   
    min-width: 38px;
    z-index: 20;
    /* Absolutely positioned at the right edge of navbar-items */
}

.searchbar-morph {
    display: flex;
    align-items: center;
    background: #fafbfc;
    border: 1.2px solid #e0e0e0;
    border-radius: 18px;
    transition: width 0.18s;
    width: 38px;
    min-width: 38px;
    max-width: 180px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.searchbar-morph.expanded {
    width: 180px;
    min-width: 120px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.searchbar-icon {
    color: #888;
    font-size: 1.1rem;
    margin-left: 10px;
    margin-right: 8px;
    transition: color 0.18s;
}
.searchbar-morph.expanded .searchbar-icon {
    color: #007bff;
}
#search-bar {
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    font-family: 'Poppins', 'Lato', Arial, sans-serif;
    width: 0;
    min-width: 0;
    max-width: 140px;
    padding: 7px 0 7px 0;
    opacity: 0;
    color: #222;
}
.searchbar-morph.expanded #search-bar {
    width: 120px;
    
    padding: 7px 14px 7px 0;
    opacity: 1;
}





#login-btn {
    color: black;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600 !important;
    font-family: 'Poppins', 'Lato', Arial, sans-serif;
    letter-spacing: 0.04em;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 48px;
    margin-left: 0;
    margin-right: 0;
    transition: color 0.18s, box-shadow 0.18s;
    background-color: tan;
}
#login-btn span {
    display: block;
    position: relative;
    z-index: 10;
    transition: color 0.18s;
    color: #fff;
    overflow: hidden;
}
#login-btn .login-btn-text {
    display: block;
    position: relative;
    color: #000000;
    transition: color 0.18s;
}
#login-btn:hover .login-btn-text {
    color: #fff;
    animation: MoveScaleUpInitial 0.3s forwards, MoveScaleUpEnd 0.3s forwards 0.3s;
}
@keyframes MoveScaleUpInitial {
    to {
        transform: translate3d(0,-105%,0) scale3d(1,2,1);
        opacity: 0;
    }
}
@keyframes MoveScaleUpEnd {
    from {
        transform: translate3d(0,100%,0) scale3d(1,2,1);
        opacity: 0;
    }
    to {
        transform: translate3d(0,0,0);
        opacity: 1;
    }
}
#login-btn::before {
    content: '';
    background: #000;
    color: white;
    width: 120%;
    height: 0;
    padding-bottom: 120%;
    top: -110%;
    left: -10%;
    border-radius: 50%;
    position: absolute;
    transform: translate3d(0,68%,0) scale3d(0,0,0);
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}
#login-btn:hover::before {
    transform: translate3d(0,0,0) scale3d(1,1,1);
    transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}
#login-btn::after {
    content: '';
    background: #000;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(0,-100%,0);
    transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
    z-index: 2;
}
#login-btn:hover::after {
    transform: translate3d(0,0,0);
    transition-duration: 0.05s;
    transition-delay: 0.4s;
    transition-timing-function: linear;
}
  /* Tan color for active nav link */

 #nav-links .active,
      #mobile-bottom-navbar .active a {
        color: #d2b48c !important;
      }
      #nav-links .active i,
      #mobile-bottom-navbar .active i {
        color: #d2b48c !important;
      }

/* --- Mobile Bottom Navbar Styles --- */
#mobile-bottom-navbar {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 1200;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.35s cubic-bezier(0.4,0,0.2,1);
}
#mobile-bottom-navbar.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

#mobile-bottom-navbar ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0 0 0 0;
    list-style: none;
    height: 56px;
    background-color: rgb(0, 0, 0);
    box-shadow: 0 -2px 12px rgba(243, 232, 232, 0.07);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 1200;

}
#mobile-bottom-navbar ul li {
    flex: 1 1 0;
    text-align: center;
}
#mobile-bottom-navbar ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.2em 0 0.1em 0;
    transition: color 0.18s;
    height: 100%;
}
#mobile-bottom-navbar ul li.active a,
#mobile-bottom-navbar ul li a:active {
    color: #988c6c;
}
#mobile-bottom-navbar ul li a i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}
#mobile-bottom-navbar ul li a span {
    font-size: 0.82rem;
    margin-top: 1px;
    font-weight: 500;
}

@media (max-width: 600px) {
    #main-navbar {
        height: 48px;
        padding: 0 2vw;
        width: 100vw;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background-color: rgb(0, 0, 0);
    }
    #logo {
        margin: 0;
        justify-content: flex-start;
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
    }
    #logo-img {
        height: 40px;
    }
    #logo-text {
        font-size: 2rem !important;
    }
    #navbar-items, #nav-links, .desktop-search, .desktop-login-btn {
        display: none !important;
    }
    .mobile-search {
        display: flex !important;
    }
    #login-btn {
        display: none !important;
    }
    #main-navbar {
        justify-content: space-between;
    }
    #mobile-bottom-navbar {
        display: block;
    }
    .mobile-search {
        width: 100vw;
        justify-content: center;
        align-items: center;
        padding: 8px 0;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        position: fixed;
        top: 48px;
        left: 0;
        z-index: 1100;
    }
    .mobile-search .morphsearch-input {
        width: 80vw;
        max-width: 400px;
        font-size: 1.1rem;
        padding: 8px 12px;
    }
    .mobile-search .morphsearch-submit {
        font-size: 1.1rem;
        padding: 8px 16px;
    }
}

