/* Fonts */
:root {
  --default-font: "Figtree",  system-ui;
  --heading-font: "Figtree",  sans-serif;
  --nav-font: "Figtree",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #45505b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #c9c9c9; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #708293;  /* The default color of the main navmenu links */
  --nav-hover-color: #1e1e1e; /* Applied to main navmenu links when they are hovered over or active */
  --nav-active-color: #000000; /* Black color when the item is clicked */
  --nav-dropdown-color: #b0b0b0;  /* Lighter grey for dropdown items */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #708293; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1f1f1f; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
  --nav-dropdown-active-color: #000000; /* Black color when dropdown item is clicked */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: 'Figtree', sans-serif;
  overflow-y: scroll; /* Always show vertical scrollbar */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}
body.publications-page {
  padding-top: 0px !important; /* Adjust the top margin as needed */
  margin-bottom: 0; /* Optional: Adjust other margins */
}
body.publications-page .isotope-container {
  margin-top: 3rem;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  position: relative;
  min-height: 500px;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #edcfff transparent;
}
/* Responsive: 2 columns below 1200px */

@media (max-width: 1199px) {
  body.publications-page .isotope-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* 2 columns for iPhone and small tablets (≤ 767px) */
@media (max-width: 767px) {
  /* Reduce top spacing for E- pages (exhibitions) on mobile */
  body.index-page .page-title {
    margin-top: 80px !important;
  }
  
  body.publications-page .isotope-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}



  



.artist-statement {
  text-align: justify;
  font-family: inherit; 
  font-size: 14px; 
  margin: 20px 0;    
  font-weight: inherit; 
  line-height: 1.6; 
  color: #6e6e6e; 
  margin-bottom: 100px;
}

.text-top {
  text-align: justify;
  font-family: inherit;
  font-size: 14px;
  font-weight: lighter;
  line-height: 2rem; /* Increases spacing between lines */
  color: #6e6e6e; 
  margin-top: 0px;
  margin-bottom: 20px;
}
a {
  color: #202020; 
  font-family: inherit; /* Use the same font as the surrounding text */
  text-decoration: none; /* Optional: underline to indicate it's a link */
  transition: 0.3s;
}

a:hover {
  color: #7a7979;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: 'Figtree', sans-serif;
}
h1 {
  font-size: 1.5rem; /* Example size, adjust as needed */
}

h2 {
  font-size: 1rem; /* Example size, adjust as needed */
}

h3 {
  font-size: 1.75rem; /* Example size, adjust as needed */
}

h4 {
  font-size: 1.5rem; /* Example size, adjust as needed */
}

h5 {
  font-size: 1.25rem; /* Example size, adjust as needed */
}

h6 {
  font-size: 1rem; /* Example size, adjust as needed */
}

p {
font-size: 1.5rem; /* You can also adjust the paragraph font size if needed */
font-family: 'Figtree', sans-serif;
line-height: 1.2rem;
}

.small-h4 {
  font-size: 1rem; /* Adjust this size as needed */
  margin: 0;
}

#news h4 {
  font-family: 'Figtree', sans-serif;
  font-size: 1.2rem; /* Match this to your portfolio items */
  font-weight: 400; /* Adjust if needed */
  color: var(--heading-color);
}

#news p {
  font-family: 'Figtree', sans-serif;
  font-size: .8rem; /* Match this to your portfolio items */
  font-weight: 100; /* Adjust if needed */
  color: var(--heading-color);
}

.mailing-list-input::placeholder {
  font-size: 0.9rem;
  color: rgba(20, 20, 20, 0.32); /* 50% transparent placeholder text */
}

.mailing-list-input {
  color: rgba(255, 255, 255, 0.5); /* 50% transparent white text */
}


.sort-by-dropdown {
  display: flex;
  align-items: center; /* Align the label and dropdown vertically */
  gap: 10px; /* Add space between label and dropdown */
}

.sort-label {
  font-size: 1.2rem; /* Match your text size */
  font-family: 'Figtree', sans-serif;
  color: var(--nav-color); /* Use your defined color */
}

.sort-options {
  font-size: 1rem;
  font-family: 'Figtree', sans-serif;
  padding: 5px 10px; /* Add padding for a consistent look */
  border: 1px solid #ccc;
  border-radius: 5px; /* Rounded corners */
  cursor: pointer;
  background-color: #fff; /* Dropdown background */
  color: var(--nav-color); /* Dropdown text color */
}

.sort-options:focus {
  outline: none;
  border-color: #555; /* Highlight on focus */
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  position: relative;
  top: 5px;
  left: 0;
  bottom: 0;
  padding: 0 10px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  min-width: 200px;
}

@media (max-width: 1199px) {
  .header {
    background-color: var(--background-color);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    width: 300px;
    left: -100%;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .header~main {
    margin-left: 0px;
  }
  .header~main .hero {
    margin-left: 0px;
    width: 100vw;
  }
}

.header.header-show {
  left: 0;
}

/* Logo container adjustments */
.logo-container {
  display: flex;
  align-items: center;
  height: 100%;
  margin-top: 0px;
  margin-left: 20px;
}

.logo {
  font-weight: normal;
  font-family: Figtree, sans-serif;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: clamp(6px, 0.5vw, 8px);
  color: black;
  transition: all 0.3s ease;
}

.logo-short {
  display: inline;
  z-index: 1000;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Container for logo and toggle button */
.container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3000;
  padding: 0 5px;
  overflow-x: hidden;
}

/* Navbar styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  position: relative;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15 0;
  font-family: Figtree, sans-serif;
  background: linear-gradient(
    to bottom, 
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.75) 25%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 100;
  overflow-x: hidden;
  flex-wrap: nowrap;
  gap: clamp(5px, 2vw, 60px);
}

/* Navigation menu styling */
.navbar-nav {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  list-style: none;
  gap: clamp(10px, 2vw, 50px);
  transition: gap 0.3s ease;
  scrollbar-width: none;
  overflow-x: hidden;
  flex-wrap: nowrap;
}

.navbar-nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  position: relative;
  align-items: baseline;
  flex-shrink: 1;
  text-align: center;
}

.nav2-link,
.btn-cart, .nav-link  {
  font-size: clamp(14px, 3vw + 1rem, 16px);
  line-height: 1.2;
  padding: 10px 10px 8px 10px;
  text-align: left;
  font-family: Figtree, sans-serif;
  color: var(--nav-color);
  transition: color 0.3s ease, font-size 0.3s ease, padding 0.3s ease;
}


.nav2-link.active,
.nav2-link:hover,
.btn-cart {
  color: black;
}

/*--------------------------------------------------------------
# Combined Responsive Styles for Header & Navigation
--------------------------------------------------------------*/
@media (max-width: 1024px) {
  .container-fluid {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
  }
  .logo-container {
    width: 100%;
    justify-content: center !important;
    align-items: center !important;
    margin: 10px 0 0 0 !important;
    text-align: center;
    display: flex;
  }
  .logo {
    margin-left: 0 !important;
    font-size: 18px !important;
    letter-spacing: 5px !important;
  }
  .navbar {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
    padding: 0;
    overflow-x: visible;
  }
  .navbar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: clamp(24px, 5vw, 60px); /* Spread nav items further apart */
    margin-top: 0;
    margin-bottom: 10px;
    overflow-x: visible;
  }
  .nav-link,
  .nav2-link,
  .btn-cart {
    font-size: (14px, 2vw + 0.5rem, 16px);
    padding: 12px 10px 12px 10px !important;
  }
}

@media (max-width: 750px) {
  .container-fluid {
      position: relative; /* Ensure the toggle button is positioned relative to this */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10px;
    width: 100%;
    min-height: 60px;
  }
  .logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    text-align: center;
    width: auto;
  }
.navbar-toggler {
    display: block !important;
    position: absolute !important;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    z-index: 3;
    margin: 0 !important;
}
    .navbar {
    flex-direction: column;
    align-items: stretch;
    width: 50vw;      /* Make the menu slimmer */
    
    padding: 0;
    gap: 0;
  }
  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .nav-link,
  .nav2-link,
  .btn-cart {
    display: block !important;
    width: 100%;
    text-align: left;
    padding: 12px 16px ;
    font-size: (10px, 2vw + 0.5rem, 16px);
  }
}

/* Extra small screens: shrink logo */
@media (max-width: 400px) {
  .logo {
    font-size: 14px !important;
    letter-spacing: 4px !important;
  }
}

/* Adjust font scaling for smaller screens */
@media (max-width: 1024px) {
  .floating-text-content {
    font-size: calc(14px + 0.2vw);
  }
}
@media (max-width: 768px) {
  .floating-text-content {
    font-size: calc(14px + 0.2vw);
  }

}
@media (max-width: 480px) {
  .floating-text-content {
    font-size: 14px;
  }
}



.pubt1-link {
  font-size: clamp(16px, 2vw + 0.5rem, 20px); /* Font size scales between 14px and 16px */
  display: block;
  padding: 0px 10px;
  text-align: left !important;
  font-family: Figtree, sans-serif;
  color: black; /* Lighter grey by default */
  }

.pubt-link {
  font-size: clamp(14px, 2vw + 0.5rem, 16px); /* Font size scales between 14px and 16px */
  display: block;
  padding: 6px 10px;
  text-align: left !important;
  font-family: Figtree, sans-serif;
  color: var(--nav-color); /* Lighter grey by default */
  }
  .pub-link-indented {
    display: inline-block;
    text-indent: 20px; /* Indent only these specific links */
  }

  .pubt3-link {
  font-size: clamp(16px, 2vw + 0.5rem, 16px); /* Font size scales between 14px and 16px */
  display: block;
  padding: 0px 10px;
  text-align: left !important;
  font-family: Figtree, sans-serif;
  color: black; /* Lighter grey by default */
  }
  /* Class to reduce line height for specified paragraphs */
.smaller-line-height {
  line-height: .9; /* Adjust as needed for desired spacing */
}

.pubt3-link.active,
.pub-link-indented.active {
  color: #888 !important; /* Gray color for active link */
  font-weight: bold;      /* Optional: make it bold */
}


/* CATEGORIES AND SORTING OPTION SUBMENU  */
/* Ensure parent is positioned relative */
.image-container {
  position: relative;
  width: 100%;
  height: 100%;  /* Make sure the container takes up full space */
}


.floating-text {
  position: absolute;
  top: 10%;  /* Keep it 10% from the top */
  left: 20%;
  background: none;
  padding: 0px;
  text-align: center;
  max-width: 60%;
  color: #d5d3f7;
  display: block;
  height: auto;
}

/* Apply font scaling specifically to the text */
.floating-text-content {
  font-size: calc(14px + 0.3vw); /* Scales dynamically */
  line-height: 1.4em;
  text-align: justify;
}




.categories-link {
  position: absolute; /* Fixed positioning relative to the viewport */
  top: 80px !important; /* Align it to the top of the viewport */
  left: 20px; /* Align it to the left edge of the viewport */
  padding: 1rem; /* Optional: Add some padding to style it */
  z-index: 1; /* Ensure it stays above other elements */
    color: rgba(93, 93, 93, 0.8); /* Soft grey with 80% opacity */
  font-size: clamp(14px, 2vw + 0.5rem, 16px); /* Optional: Adjust font size */  
}

#publications-submenu {
  position: absolute;
  top: 125px;
  left: 15px;
  padding-top: 40px;
  text-align: left;
  display: none;
  z-index: 1000; /* Base z-index for the main submenu */
  background-color: rgba(255, 255, 255, 0.85); /* Soft purple (Lavender) with 40% transparency */
  width: 220px;
  padding: 10px 0;
  list-style: none;
  padding-left: 0;
  margin: 10px;
  line-height: 0.6;
  overflow-y: auto; /* Enable vertical scrolling */
  overflow-x: hidden; /* <--- add this if not present */
  word-wrap: break-word; /* <--- add this for long words */
  white-space: normal;   /* <--- add this for line wrapping */
  max-height: 80vh; /* Limit the height to prevent overflow */
  max-width: 100%;  /* Prevent overflow */
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

#publications-submenu::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Edge */
}

/* Ensure the submenu appears when the 'show' class is added */
#publications-submenu.show {
  display: block;
}


.submenu {
  position: absolute; 
  top: 50%;
  left: 20px;  
  display: none;
  text-align: left;
  background: transparent; /* White to transparent gradient */
  list-style: disc; /* Adds bullet points */
  margin: 0;
  padding: 20px;
  width: 300px;  /* Adjust width as needed */
  z-index: 1002; /* Ensure it stays above other content */
  max-height: 80vh; /* Prevents overflowing the viewport */
}

/* Show the submenu when the parent has 'show' class */
.nav-item.show .submenu {
  display: block;
}

/* Nested submenus with increased indentation */
.submenu .submenu {
  left: 300px;  /* Adjust this value to indent submenus */
  line-height: 1;
  top: 0; /* Place below the current submenu item */
  display: none; /* Hidden by default */
  z-index: 1002;
}

/* Show the active submenu */
.submenu.show {
  display: block;
}

#submenu li {
  display: block;
  text-align: left;
  list-style: none;
  left: 100%;
  padding: 0;
  margin: 0;
  width: 300px; /* Ensure the submenu items stretch across the available space */

}

#submenu li a {
  display: block;
  margin-bottom: 6px;
  line-height: 1.2; /* res no extra space between lines in the links */
}


/* Consistent submenu styles for all publication submenus */
#books-submenu,
#poetry-submenu,
#criticism-submenu,
#chapters-submenu,
#presentations-submenu,
#readings-submenu {
  position: relative;
  left: 0px;
  border-radius: 5px;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal;
  overflow-x: hidden;
  z-index: 1200;
  padding-bottom: 6px;
}

/* Consistent line height for all submenu links */
#books-submenu a,
#poetry-submenu a,
#criticism-submenu a,
#chapters-submenu a,
#presentations-submenu a,
#readings-submenu a {
  line-height: 1.2;
}

/* Consistent spacing between submenu items */
#books-submenu li,
#poetry-submenu li,
#criticism-submenu li,
#chapters-submenu li,
#presentations-submenu li,
#readings-submenu li {
  margin-bottom: 2px;
}

/* Consistent spacing and block display for submenu links */
#books-submenu li a,
#poetry-submenu li a,
#criticism-submenu li a,
#chapters-submenu li a,
#presentations-submenu li a,
#readings-submenu li a {
  display: block;
  padding: 0;
  margin-bottom: 6px;
}


/* Prevent overlapping of submenus */
#books-submenu
#chapters-submenu,
#presentations-submenu,
#readings-submenu {
  z-index: 1100; /* Ensure all submenus are on the same layer */
  position: relative;
}

/* Apply purple scrollbar to all scrollable elements */
#poetry-submenu,
#books-submenu,
#criticism-submenu,
#chapters-submenu,
#presentations-submenu,
#readings-submenu {
  scrollbar-width: thin; /* For Firefox: Makes the scrollbar thinner */
  scrollbar-color: #edcfff transparent; /* Purple scrollbar with a light purple track */
}

/* For WebKit-based browsers (Chrome, Safari, Edge) */
#poetry-submenu::-webkit-scrollbar,
#books-submenu::-webkit-scrollbar,
#criticism-submenu::-webkit-scrollbar,
#chapters-submenu::-webkit-scrollbar,
#presentations-submenu::-webkit-scrollbar,
#readings-submenu::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

#poetry-submenu::-webkit-scrollbar-thumb,
#books-submenu::-webkit-scrollbar-thumb,
#criticism-submenu::-webkit-scrollbar-thumb,
#chapters-submenu::-webkit-scrollbar-thumb,
#presentations-submenu::-webkit-scrollbar-thumb,
#readings-submenu::-webkit-scrollbar-thumb {
  background-color: #edcfff; /* Purple color for the scrollbar thumb */
  border-radius: 10px; /* Rounded corners for the scrollbar thumb */
}

#poetry-submenu::-webkit-scrollbar-track,
#books-submenu::-webkit-scrollbar-track,
#criticism-submenu::-webkit-scrollbar-track,
#chapters-submenu::-webkit-scrollbar-track,
#presentations-submenu::-webkit-scrollbar-track,
#readings-submenu::-webkit-scrollbar-track {
  background-color: transparent; /* Transparent track */
}

#books-submenu,
#poetry-submenu,
#chapters-submenu,
#criticism-submenu,
#presentations-submenu,
#readings-submenu {
  position: relative;
  left: 0px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 5px;
  word-wrap: break-word;   /* Ensures long words break */
  white-space: normal;     /* Allows text to wrap to next line */
  max-width: 100%;         /* Prevents overflow */
}

@media (min-width: 1024px) {
  /* Add 10px more top spacing for E- pages (exhibitions) on iPad - but exclude book pages */
  body.index-page:not(.book-page) .page-title {
    margin-top: 0px !important;
  }
  
  /* Reset margin for book/publication pages on iPad */
  body:not(.index-page) .page-title,
  body.book-page .page-title {
    margin-top: 0px !important;
  }
}
  
  #books-submenu a,
  #poetry-submenu a,
  #criticism-submenu a,
  #chapters-submenu a,
  #presentations-submenu a,
  #readings-submenu a {
    line-height: 1.2 !important;
    padding: 4px 10px !important;
    border-bottom: none !important;
  }
  #books-submenu li a,
  #poetry-submenu li a,
  #criticism-submenu li a,
  #chapters-submenu li a,
  #presentations-submenu li a,
  #readings-submenu li a {
     line-height: 1.2 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
  }
  #books-submenu li,
  #poetry-submenu li,
  #criticism-submenu li,
  #chapters-submenu li,
  #presentations-submenu li,
  #readings-submenu li {
     line-height: 1.2 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
  }


#close-submenu-btn {
  position: absolute;
  top: 10px; /* Align with the top of the submenu */
  right: 10px; /* Align with the right edge of the submenu */
  background: none; /* Transparent background */
  border: none;
  font-size: 24px; /* Adjust size as needed */
  cursor: pointer;
  color: #abaaaa; /* Adjust color */
  z-index: 1100; /* Ensure it's above other elements */
}


#close-submenu-btn.show {
  display: block; /* Show the button when the submenu is open */
}

#close-submenu-btn:hover {
  color: #515050;
}

/* Remove the focus/active outline around the MENU button */
.navbar-toggler:focus, .navbar-toggler:active {
  outline: none; /* Remove the focus outline */
  box-shadow: none; /* Remove any box shadow that might create the circle */
}

  /* Initially hide the horizontal submenu */
  #horizontal-submenu {
    display: none; /* Hide by default */
    flex-direction: column; /* Stack vertically */
    position: absolute;
    top: 100%; /* Position directly under the Publications item */
    left: 0;
    width: 100%; /* Make it span the full width */
    background-color: rgba(255, 255, 255, 0.75); /* 75% transparency for background */
    border-radius: 5px;
    padding: 10px 0;
  }

  /* When the Publications link is clicked, show the submenu */
  .navbar-nav .nav-item.show #horizontal-submenu {
    display: block; /* Show the submenu when triggered */
  }



/* Updated styles for News section */
#news {
  padding: 120px 0; /* Adjust as needed for spacing */
  background-color: transparent; /* Example background color */
  margin-bottom: 30px;
  margin-top: 0px;
}

#news .project-card {
 
  border: 1px solid #ddd;
  background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white background for readability */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow to highlight project cards */
  border-radius: 8px; /* Optional: rounded corners for the project cards */
  padding: 20px; /* Add padding for spacing inside cards */
  margin-bottom: 20px;
  text-align: center;
}

.project-header {
  color: #0fff5b !important;
  letter-spacing: 8px; /* Maintain the letter spacing you wanted */
}




/*--------------------------------------------------------------
# SUBSCRIPTION BUTTON 
--------------------------------------------------------------*/
/* Ensures the input field adjusts based on padding */
.mailing-list-input {
  height: auto;
  font-size: 0.9rem;
  box-sizing: border-box; /* Ensure consistent sizing */
  margin-bottom: 10px; /* Adds space between the input field and button */
}

/* Styles the button */
.btn-visit {
  font-size: 0.9rem;
  border-radius: 0;
  padding: 10px 0; /* Vertical padding for the button */
  display: block; /* Ensures button takes full width */
  width: 100%; /* Make button full-width */
  box-sizing: border-box; /* Ensure consistent sizing */
}
/*--------------------------------------------------------------
# General Button styles

--------------------------------------------------------------*/

.btn-primary {
  font-size: 1rem; /* Match font size */
  border-radius: 0; /* Remove border radius */
  padding: 10px 0; /* Match vertical padding */
  display: inline-block;     /* Align w
  width: 100%; /* Make the button full-width */
  box-sizing: border-box; /* Maintain consistent box sizing */
 /* Update with the desired background color */
  color: #fff; /* Button text color */
  text-align: center; /* Center the button text */
  border: none; /* Remove any borders */
}

.btn-primary:hover {
  background-color: #393939; /* Darker shade on hover */
  color: #fff; /* Ensure text remains readable */
}


.btn-cart {
  font-size: clamp(12px, 2vw + 0.5rem, 15px);
  border-radius: 0;
  padding: 8px 15px;         /* Match nav link vertical padding */
  display: inline-block;     /* Align with other nav links */
  width: auto;               /* Do not stretch full width */
  box-sizing: border-box;
  background-color: transparent;
  color: var(--nav-color);
  text-align: center;
  border: none;
  outline: none;
  box-shadow: none;
  vertical-align: middle;  
}

.btn-cart:hover {
  background-color: transparent;
  color: #222;
  box-shadow: none;
}

.ref-button {
  background-color: #000; /* Blue background */
  color: white; /* White text */
  border: none; /* Optional: remove border */
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
/* Ensure the body and html elements take up the full height */
html, body {
  height: 100%; /* Ensure the body and html fill the viewport */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensure the body takes up the full viewport height */
  -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

main {
  flex: 1; /* Allow the main content to grow and push the footer down */

}

footer {
    padding: 0px 0px;
  margin-top: 100px;
  text-align: center;
  background-color: transparent;
  min-height: 80px;
  display: block;
}

#footer {
  min-height: 80px; /* Adjust as needed for your footer's height */
  display: block;
}
#footer.footer {
  position: relative;
  min-height: 100%;
}

/* Default for desktop/tablet */
#footer.footer::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 355px;
  background: linear-gradient(
    to bottom, 
    transparent 0%,
    rgba(255, 255, 255, 0.8) 80%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Mobile version */
@media (max-width: 767px) {
  #footer.footer::before {
    margin-top: 0px;
    height: 380px; /* Smaller gradient for mobile */
    top: -20px;    /* Adjust as needed */
  }
}
/* Ensure footer content appears above the gradient */
#footer .container {
  position: relative;
  z-index: 2;
    padding-bottom: 0px !important; /* Remove any bottom padding */
  margin-bottom: 0px !important; /* Remove any bottom margin */
}
.footer .copyright {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}
.input-group {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.input-group .form-control {
  border-radius: 0; /* Optional: Remove border radius for flat design */
}

.input-group .btn-visit {
  border-radius: 0; /* Optional: Remove border radius for flat design */
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0;
}

.footer p {
  font-size: 15px; /* Added missing px */
  font-style: italic;
  padding: 0;
  margin: 0 0 10px 0;
}

.footer .social-links {
  font-size: .5rem; /* Adjust icon size */
  display: flex;
  justify-content: center; /* Center the entire social links container */
  gap: 10px; /* Add spacing between social icons */
}

.footer .social-links a {
  font-size: .5rem; /* Icon size */
  display: flex;
  align-items: center; /* Vertically center the icon */
  justify-content: center; /* Horizontally center the icon */
  background: var(--accent-color); /* Circle background color */
  color: var(--contrast-color); /* Icon color */
  line-height: 1; /* Reset line height */
  margin: 0; /* Fixed margin value */
  border-radius: 50%; /* Makes it a perfect circle */
  width: 36px; /* Circle width */
  height: 36px; /* Circle height */
  transition: 0.3s; /* Smooth transition for hover effects */
  text-align: center;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 10px;
  padding-bottom: 0px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

.copyright {
  font-family: Figtree, sans-serif; /* You can specify the font here if needed */
  font-size: 14px; /* Adjust as necessary */
  letter-spacing: 1px; /* Small letter spacing for "Copyright" */
}

.copyright-text {
  letter-spacing: 1px; /* Increased letter spacing */
}

.author {
  letter-spacing: 6px; /* Increased letter spacing */
}

.footer-email {
  color: #3d024f;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email:hover {
  color: #7f7e80;
  text-decoration: underline;
}

/* Align mailing list input and button in the footer */
#footer .mailing-list-input,
#footer .btn-visit {
  height: 40px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 40px !important;
  margin-bottom: 0 !important;
  vertical-align: middle;
  box-sizing: border-box;
}

#footer .mailing-list-input {
  /* Remove Bootstrap's default vertical padding */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  /* Optional: adjust font-size for better alignment */
  font-size: 1rem;
  vertical-align: middle;
}

/* Ensure vertical alignment for mailing list form */
#footer .validate.d-flex {
  align-items: center !important;
}

/* Force mailing list input and button to align perfectly */
#footer .mailing-list-input.form-control,
#footer .btn-visit {
  height: 40px !important;
  line-height: 40px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  font-size: 1rem !important;
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  border-radius: 4px !important;
}

#footer .mailing-list-input.form-control {
  /* Remove Bootstrap's default background and border for better match */
  background-color: #fff !important;
  border: 1px solid #ccc !important;
}

#footer .btn-visit {
  /* Match the input's border radius and vertical alignment */
  border-radius: 4px !important;
}

/* Reduce footer bottom margin */
#footer .container {
  padding-bottom: 10px; /* Adjust this value as needed */
}

/* Or target the copyright row specifically */
#footer .copyright {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  position: relative; /* Ensure it can position children absolutely */
  --background-color: color-mix(in srgb, var(--default-color), transparent 100%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 5px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 0px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0px;
  padding-bottom: 0px;
  position: relative;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color));
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 20px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}


/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/


.portfolio {
  flex-direction: column; /* Stack filters above items */
  align-items: center; /* Center items */
}


.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto -50px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px;
  margin: 0 5px; /* Add margin for spacing */
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}


.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
  flex-direction: column;
  align-items: right;
  text-align: left;
  margin: 10px; /* Add spacing between items */
  }
 

.filter-exhibition .portfolio-info h4 + p {
  margin-top: 1px; /* Adjust the value to your desired spacing */
}
/* Responsive adjustments for smaller screens */
@media (max-width: 12200px) {
  .portfolio .portfolio-item {
    width: calc(33.33% - 20px); /* 3 items per row */
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1200px) {
  .portfolio .portfolio-item {
    width: calc(33.33% - 20px); /* 3 items per row */
  }
}

@media (max-width: 768px) {
  .portfolio .portfolio-item {
    width: calc(50% - 20px); /* 2 items per row */
  }
}

@media (max-width: 576px) {
  .portfolio .portfolio-item {
      width: calc(50% - 20px); /* 2 items per row */
  }
}

.portfolio .portfolio-info {
  position: relative; /* Ensure proper positioning */
  overflow: visible; /* Prevent clipping of content */
  min-height: auto; /* Allow dynamic height */
  padding: 10px; /* Add padding for spacing */
  box-sizing: border-box; /* Include padding in height calculation */
}

.portfolio .portfolio-info h4 {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0; /* Removes default margin for better control */
  margin-bottom: 10px; /* Adds 10px margin to the bottom of the subtitle */
  padding: 0; /* Removes any padding */
  overflow-wrap: break-word;
  word-break: normal; /* Avoids breaking long words in the middle */
  white-space: normal; /* Allows wrapping onto new lines */
  text-align: left; /* Aligns text to the left edge */
  width: 100%; /* Ensures the title spans the full width */
  box-sizing: border-box; /* Ensures the title box includes padding and borders */
  line-height: 1.2; /* Reduces line height to reduce vertical space between wrapped lines */

}

.portfolio .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1rem;
  margin-bottom: 0px;
}

.portfolio .portfolio-item img {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  width: 100%; /* Make sure images are responsive */
  will-change: opacity, transform; /* Hint to browser for optimization */
}

.portfolio .portfolio-item:hover img {
  opacity: 0.6;
  transform: translateZ(0); /* Force GPU acceleration */
}

#portfolio {
  padding-top: 40px;
  padding-bottom: 40px;
  overflow: visible;
  position: relative;
}


/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}
.portfolio-details-slider.swiper {
  position: relative; /* Needed for absolute positioning of arrows */
  width: 100%;
  display: block;
    padding-left: 15px;  /* Add space for left arrow */
  padding-right: 15px; /* Add space for right arrow */
}
.portfolio-details-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 18px;
  height: 18px;
  background: transparent; /* Soft grey with transparency */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(130, 130, 130); /* grey arrow icons */
}

.portfolio-details-slider .swiper-button-prev {
  left: 0px;
}

.portfolio-details-slider .swiper-button-next {
  right: 0px;
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
  text-align: center;
  width: 100%;
  left: 0;
  right: 0;
  display: block;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {

  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

/* Common styles for the Buy Prints button */
.btn-visit {
  padding: 8px 20px; /* Adjust padding for a smaller button */
  background: var(--accent-color); /* Set background color */
  color: #333; /* Set text color */
  border-radius: 50px; /* Rounded corners */
  font-size: 14px; /* Set font size */
  transition: background0.3s; /* Smooth transition for hover effect */
  align-self: flex-start; /* Align button to the left */
  margin-left: 0;
}

/* Hover effect */
.btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
}

/* Ensure the button aligns with the left edge of the thumbnail stack */
.page-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline; /* Align items to the baseline */
  justify-content: flex-start; /* Keep everything left-aligned */
}

/* Media Query for larger screens: Align button with thumbnail stack */
@media (min-width: 1200px) {
  .btn-visit {
    margin-left: 0;
    /* Optionally, if the thumbnails are offset from the container's edge,
       adjust margin-left to match the alignment */
  }

  .page-title {
    padding-top: 40px; /* Add more space on large screens */
  }
}

/* Media Query for medium screens: Adjust button position */
@media (min-width: 992px) and (max-width: 1199px) {
  .btn-visit {
    margin-left: 0;
  }
}

/* Mobile View: Align Buy Prints button to stay below the title */
@media (max-width: 768px) {
  .page-title {
    flex-direction: column; /* Stack title and button vertically */
    margin-top: 0px !important; /* Reduce space above the page title */
    margin-bottom: 10px !important; /* Reduce space below the page title */
    padding-top: 0 !important; /* Remove extra padding on mobile */
  }

  .btn-visit {
    margin-left: 0;
    align-self: flex-start; /* Keep the button aligned left */
  }
}



.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 0px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 0px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 0px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 0px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 5px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# ongoing projects Section
--------------------------------------------------------------*/
.ongoing-projects {
  height: auto; /* Ensures the section takes up the full height of the viewport */
  padding: 200px 0;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
  align-items: center; /* Centers content horizontally */
}

#ongoing-projects h2 {
  color: #333; /* Adjust the text color if needed */
}

#ongoing-projects p {
  color: #555; /* Adjust the text color for the description */
}

.extra-indent {
  margin-left: 20px; /* Adjust this value for more or less indentation */
}


/*--------------------------------------------------------------
# Slider Images  Section
--------------------------------------------------------------*/


/* Style for main slider images */
.portfolio-details-slider .swiper-slide img {
  max-width: 100%; /* Make sure image takes full width of slider */
  max-height: 70vh; /* Constrain images to 70% of viewport height */
  object-fit: contain; /* Ensure images fit within the container while maintaining aspect ratio */
  height: auto; /* Maintain aspect ratio */
}

.portfolio-details-slider .swiper-pagination {
  position: relative !important;
  margin-top: 1.5rem;
  text-align: center;
  width: 100%;
  left: 0;
  right: 0;
  display: block;
}


/* Style for thumbnails row */
.thumbnails-row {
  display: flex;
  flex-wrap: wrap; /* Allow thumbnails to wrap to the next line if needed */
  justify-content: flex-start; /* Align thumbnails to the start of the row */
  gap: 1px; /* Space between thumbnails */
  margin-top: 10px; /* Space above thumbnails */
}

/* Style for individual thumbnails */
.thumbnail {
  flex: 0 1 auto; /* Allow thumbnails to grow and shrink */
  max-width: 60px; /* Max width of thumbnails */
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}

.thumbnail img {
  width: 100%; /* Make sure image fits its container */
  height: auto; /* Maintain aspect ratio */
}

/* Highlight border color on hover */
.thumbnail:hover {
  border-color: #000; /* Highlight border color on hover */
}

/* Reducing margin-bottom for thumbnails row */
.portfolio-details {
  margin-bottom: 0px; /* Adjust this value as needed */
  margin-top: 0px; /* Adjust this value as needed */
}
/* Default state for larger screens */
.logo .logo-short {
  display: none;
}




body {
  padding-top: 0px; 
   padding-bottom: 0px !important;
}

.sitename {
  letter-spacing: 8px; /* Adds 8px spacing between letters */
}

.isotope-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr); /* Always 3 columns on large screens */
  gap: 20px;
  width: 100%;
  position: relative;
  min-height: 500px;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #edcfff transparent;
  /* Add GPU acceleration for smoother scrolling */
  transform: translateZ(0);
  will-change: transform;
}

.isotope-container::-webkit-scrollbar {
  width: 8px;
}

.isotope-container::-webkit-scrollbar-thumb {
  background-color: #edcfff; /* Purple color for the scrollbar thumb */
  border-radius: 10px;
}

.isotope-container::-webkit-scrollbar-track {
  background-color: transparent;
}


.isotope-layout {
  min-height: 600px; /* Ensure the layout has a minimum height */
}

.isotope-section {
  min-height: 600px; /* Ensure the section has enough height */
  margin-bottom: 400px; /* Prevent extra space before the footer */
}

.background-image,
.floating-text {
    display: block;

}

.isotope-item {
  width: 100%; /* Let grid control the width */

}

/* Hide Isotope filter links completely */
.isotope-filters li {
  display: none; /* Hide the links from view */
}

/* Ensure no interaction with hidden links */
.isotope-filters li {
  pointer-events: none; /* Disable clicking */
  opacity: 0; /* Ensure they are fully transparent */
  cursor: default; /* Change cursor to default to indicate that the links are not clickable */
}

/* Media Queries */
@media (min-width: 1200px) {
  .isotope-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
    width: 100%;
    min-height: 500px;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #edcfff transparent;
  }
}

.isotope-container::-webkit-scrollbar {
  width: 8px;
}

.isotope-container::-webkit-scrollbar-thumb {
  background-color: #edcfff; /* Purple color for the scrollbar thumb */
  border-radius: 10px;
}

.isotope-container::-webkit-scrollbar-track {
  background-color: transparent;
}



/* Show 1 item per row for mobile screens */
@media (max-width: 575px) { /* Mobile screens */
  .isotope-item {
    flex: 1 1 calc(100% - 1rem); /* 100% width to fit 1 item per row */
  }
}
/* Flexbox container for title and details */
.title-and-details {
  display: flex;
  align-items: baseline; /* Vertically align items */
  flex-wrap: wrap; /* Allow wrapping if needed */
  gap: 15px; /* Adjust the gap as needed */
  justify-content: space-between; /* Space out title and button */
  margin-bottom: 20px; /* Adjust space between text and button */
  position: relative;
}

/* Ensure heading and paragraph styles remain unchanged */
.page-title h3 {
  margin: 0;
  font-size: 20px; /* Ensure this matches your desired style */
  font-weight: 400;
}

.page-title .artist-statement {
  margin: 0;
  font-size: 14px; /* Ensure this matches your desired style */
  font-weight: 400;
}




  .title-and-details {
    margin-top: 10px; /* Reduce space between the title and the content above */
  }
  .breadcrumbs {
    margin-bottom: 0; /* Remove extra space below breadcrumbs */
  }

  .btn-visit {
    margin-left: auto; /* Align the button to the right of the title */
    margin-top: 10px; /* Add space between title and button */
    position: relative;
    left: 0; /* Reset left positioning for mobile */
    top: 0;
  }


.mailing-list-input {
  width: 80%; /* Adjust width as needed */
  border: 1px solid #ccc; /* Match the button style */
  border-radius: 4px; /* Add border radius to match button */
}

/* Modal size - responsive to viewport */
.modal-dialog {
  width: 90vw; /* 90% of the viewport width */
  max-width: 800px; /* Maximum width on larger screens */
}

.modal-content {
  max-height: 90vh; /* Limit height to 90% of viewport */
  overflow-y: auto; /* Enable scroll if content overflows */
}

/* Isotope images in the modal - responsive fit */
.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Ensures the entire image is visible */
  transition: transform 0.3s ease; /* Smooth transition for zoom effect */
}

/* Carousel arrows without background circles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 40px;
  height: 40px;
  background: none; /* No background circle */
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Center vertically */
}

/* Custom arrow characters */
.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  font-size: 50px;
  color: white; /* Default arrow color */
}

.carousel-control-prev-icon::after {
  content: '‹'; /* Left arrow */
}

.carousel-control-next-icon::after {
  content: '›'; /* Right arrow */
}

/* Change arrow color on hover over the modal */
.modal:hover .carousel-control-prev-icon::after,
.modal:hover .carousel-control-next-icon::after {
  color: black; /* Hover color for arrows */
  transition: color 0.3s ease;
}

/* Position left arrow */
.carousel-control-prev {
  left: 10px;
}

/* Position right arrow */
.carousel-control-next {
  right: 10px;
}
/* Optional: Hide default Bootstrap arrow backgrounds */
.carousel-control-prev,
.carousel-control-next {
  background: transparent; /* Ensure no background */
  border: none; /* Remove any borders */
}

/* Zoom functionality */
.zoomed {
  transform: scale(1.5); /* Scale up image */
  transition: transform 0.3s ease; /* Smooth zoom transition */
}
/* Style for the zoom button */
.zoom-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(86, 50, 233, 0.7);
  transform: scale(1.5); /* Scale up image */
  transition: transform 0.3s ease; /* Smooth zoom transition */
}
/* Style for the zoom button */
.zoom-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(86, 50, 233, 0.7);
  color: red;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* Zoom effect */
.carousel-item img.zoomed {
  transform: scale(1.5); /* Adjust zoom level as needed */
  transition: transform 0.3s ease;
}

#landingpagesection {
  background-image: url('assets/img/14_ALL_CV/background2.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding-top: 120px; /* Adjust based on the navbar height */
  z-index: 1055 !important; /* Bootstrap default */
}

.product-list-font {
  font-family: 'Avenir', sans-serif;
  font-size: 14px;
}
/* Ensure zoomed image overlays everything else */
.medium-zoom-overlay,
.medium-zoom-image--opened {
  z-index: 9999 !important;
}
.extra-indent {
  display: inline-block;

  font-weight: bold; /* optional for visual distinction */
}

/*--------------------------------------------------------------
# CRITICAL: 1-Second Loading Optimizations */
.portfolio-item img,
.zoomable {
  /* Optimize image decoding for faster display */
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  
  /* Force hardware acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
  
  /* Critical rendering hints */
  content-visibility: auto;
  contain-intrinsic-size: 400px 533px; /* Typical image size */
}

/* Prevent layout shift while images load */
.portfolio-item {
  /* Reserve space for images to prevent layout jumping */
  min-height: 400px;
}

/* Priority loading for above-the-fold images */
.portfolio-item:nth-child(-n+6) img {
  /* Higher priority for first 6 images */
  opacity: 1;
  transition: none;
}

/*--------------------------------------------------------------
# Image Optimization & Loading Performance
--------------------------------------------------------------*/
.portfolio-item img {
  transition: opacity 0.3s ease-in-out;
  width: 100%; /* Make sure images are responsive */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%;
  object-fit: cover; /* Ensure consistent aspect ratios */
  background-color: #f5f5f5; /* Placeholder background while loading */
  image-rendering: -webkit-optimize-contrast; /* Optimize rendering on WebKit */
  image-rendering: crisp-edges; /* Better rendering on other browsers */
}

/* Add loading state for images */
.portfolio-item img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.portfolio-item img[loading="lazy"].loaded {
  opacity: 1;
}

/* Optimize portfolio container for faster rendering */
.isotope-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  position: relative;
  min-height: 500px;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #edcfff transparent;
  /* Add GPU acceleration for smoother scrolling */
  transform: translateZ(0);
  will-change: transform;
}

/* Optimize portfolio items for better performance */
.portfolio-item {
  position: relative;
  overflow: hidden;
  flex-direction: column;
  align-items: right;
  text-align: left;
  margin: 10px;
  /* Add GPU acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/*--------------------------------------------------------------
# Exhibition Pages Mobile Layout
--------------------------------------------------------------*/
@media (max-width: 768px) {
  /* Exhibition page title and content margins */
  .page-title .container {
    padding-left: 25px !important;
    padding-right: 20px !important;
  }
  
  .title-text {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
  
  .title-text h3 {
    margin-left: 5px !important;
  }
  
  .artist-statement {
    margin-left: 5px !important;
    margin-right: 20px !important;
    text-align: left !important;
    text-justify: none !important;
  }
  
  /* Stack layout on mobile - main image full width, then centered thumbnails */
  .portfolio-details .row {
    flex-direction: column !important;
  }
  
  .col-lg-8.col-md-7 {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 30px !important;
  }
  
  .col-lg-4.col-md-5 {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Center thumbnails container */
  .thumbnails-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 auto !important;
    max-width: 90% !important;
    padding: 0 20px !important;
  }
  
  /* Ensure thumbnail images are properly sized and centered */
  .thumbnail {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 5px !important;
  }
  
  .thumbnail img {
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: cover !important;
    margin: 0 auto !important;
  }
  
  /* Add padding to main portfolio details container */
  .portfolio-details .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
@media (max-width: 767px) {
  .footer .pubt-link {
    display: block;
    width: 100%;
    text-align: center !important;
    margin-bottom: 10px;
  }
  .footer .social-links {
    justify-content: center !important;
    width: 100%;
  }
}
/* Tighter line height and responsive font size for accordion links */
.custom-accordion .accordion-links a,
.custom-accordion .accordion-links span {
  line-height: 1;
  margin-bottom: 2px;
  font-size: 15px; /* Default size for desktop */
}

@media (max-width: 768px) {
  .custom-accordion .accordion-links a,
  .custom-accordion .accordion-links span {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .custom-accordion .accordion-links a,
  .custom-accordion .accordion-links span {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .main {
    padding-top: 60px !important;
  }
  .page-title {
    margin-top: 60px !important;
    padding-top: 0px !important;
  }
}
  .title-text,
  .pubt1-link {
    margin-top: 60px !important; /* Adjust value as needed */
  }

@media (min-width: 768px) {
  .main {
    padding-top: 60px !important;
  }
  .page-title {
    margin-top: 60px !important;
  }
}

