body {
  margin: 2vh 10vw 2vh;
  padding: 0;
  font-family: 'Manrope', 'Raleway', sans-serif;
  font-weight: 200;
  background: #3b00d8;
/* Darker #05056e */
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
h1 {
  color: #fff;
}
header {
  background: #fff;
  padding: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}
header h1 {
  margin: 0;
  font-size: 4em;
  text-align: left;
}
header nav {
  /* Remove previous header nav rules */
  all: unset;
}
header nav a {
  color: #d7d8d3;
  text-decoration: none;
  margin: 0 0.25rem;
  font-size: 0.9rem;
}
header nav a:hover {
  text-decoration: underline;
}
main {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
section {
  margin-bottom: 2.5rem;
}
#gallery .gallery-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  min-height: 320px;
  max-width: 100%;
  width: 100%;
  border: none;
  justify-content: flex-start;
  align-items: center;
  scrollbar-width: thin;
  scrollbar-color: #2980e4 #f0f0f0;
}

#gallery .gallery-scroll::-webkit-scrollbar {
  height: 8px;
}

#gallery .gallery-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

#gallery .gallery-scroll::-webkit-scrollbar-thumb {
  background: #4a90e2;
  border-radius: 4px;
}

#gallery .gallery-scroll::-webkit-scrollbar-thumb:hover {
  background: #357ab8;
}

#gallery .gallery-scroll img {
  height: 320px;
  width: auto;
  flex-shrink: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

header, h1, main, section, .contact-form, .contact-form label, .contact-form input, .contact-form textarea, .contact-form button, .contact-form button:hover {
  all: unset;
  box-sizing: border-box;
}
/* Language nav in top right */
.lang-nav {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
}

.lang-select {
  font-family: 'Manrope', 'Raleway', sans-serif;
  font-weight: 200;
  font-size: 16px;
  color: #fff;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  transition: color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
}

.lang-select-wrapper {
  position: relative;
  display: inline-block;
}

.lang-select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 12px;
  pointer-events: none;
}

.lang-select {
  padding-right: 24px; /* space for arrow */
}

/* Remove globe symbol */
.lang-select::before {
  content: none;
}

.lang-select:hover,
.lang-select:focus,
.lang-select:active {
  color: #ffffff;
  background: none;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.lang-select option {
  background: #fff;
  color: #333;
  padding: 8px;
}

/* Remove old link styles */
.lang-nav a {
  all: unset;
}

.shop-links {
  margin-bottom: 1rem;
}
.shop-links a {
  color: #63a0e5;
  text-decoration: underline;
  font-size: 1rem;
  font-weight: normal;
  background: none;
  border-radius: 0;
  padding: 0;
  transition: color 0.2s;
}
.shop-links a:hover {
  color: #357ab8;
}

h2 {
  color: #fff;
  font-size: 1.75em;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
/* Contact Styles */
.contact-minimal a {
  color: #63a0e5;
}
/* Responsive gallery grid */
#gallery .gallery-scroll {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 5px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  justify-items: center;
  transition: 0.6s;
}

@media (min-width: 768px) {
  #gallery .gallery-scroll {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #gallery .gallery-scroll {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1440px) {
  #gallery .gallery-scroll {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Gallery item styles */
#gallery .gallery-scroll a,
#gallery .gallery-scroll .gallery__link {
  display: block !important;
  overflow: hidden;
  height: 300px;
  max-height: 350px;
  position: relative;
  text-decoration: none;
  border-radius: 8px;
}

#gallery .gallery-scroll img,
#gallery .gallery-scroll .gallery__image {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.6s;
  filter: grayscale(1) !important;
  background: #f8f8f8;
  --hover-filter: grayscale(0) scale(1.05);
}

/* Force hover effect with maximum specificity */
#gallery .gallery-scroll a:hover img.gallery__image {
  filter: var(--hover-filter) !important;
  z-index: 1;
}

/* More specific hover selectors */
#gallery .gallery-scroll a:hover img,
#gallery .gallery-scroll .gallery__link:hover .gallery__image,
#gallery .gallery-scroll a:hover .gallery__image {
  filter: grayscale(0) scale(1.05) !important;
  z-index: 1;
}

/* Caption overlay */
#gallery .gallery-scroll figcaption,
#gallery .gallery-scroll .gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 25px 15px 15px;
  width: 100%;
  font-family: 'Manrope', 'Raleway', sans-serif;
  font-weight: 200;
  font-size: 14px;
  color: white;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, rgba(255, 255 ,255 , 0) 100%);
  transition: 0.3s;
  pointer-events: none;
}

#gallery .gallery-scroll a:hover figcaption,
#gallery .gallery-scroll .gallery__link:hover .gallery__caption {
  opacity: 1;
}

.logo-title-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2em;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.site-title {
  font-family: 'Manrope', 'Raleway', sans-serif;
  font-weight: 200;
  font-size: 3.5em;
  color: #fff;
  letter-spacing: 0.05em;
}
.site-logo {
  height: 6em;
  display: inline-block;
}

@media (max-width: 480px) {
  body {
    margin: 1vh 2vw 1vh;
  }
  header {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  .site-title {
    font-size: 2em;
  }
  .site-logo {
    height: 2.5em;
  }
  h1, h2 {
    font-size: 1.2em;
    margin: 1rem 0 0.5rem 0;
  }
  main {
    padding: 0 0.5rem;
  }
  section {
    margin-bottom: 1.2rem;
  }
  #gallery .gallery-scroll a,
  #gallery .gallery-scroll .gallery__link {
    height: 180px;
    max-height: 200px;
  }
  #gallery .gallery-scroll img,
  #gallery .gallery-scroll .gallery__image {
    height: 100%;
    min-height: 120px;
  }
  .lang-nav {
    top: 0.5rem;
    right: 0.5rem;
  }
  .lang-select {
    font-size: 14px;
    min-width: 48px;
    min-height: 48px;
  }
  .shop-links a, .contact-minimal a {
    font-size: 0.95rem;
    min-width: 48px;
    min-height: 48px;
    padding: 8px 0;
    display: inline-block;
  }
}