@font-face {
  font-family: 'comfortaa';
  src: url('/assets/Comfortaa-Regular.ttf');
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
* { 
  -moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box; 
   box-sizing: border-box; 
}
html, body {
  margin: 0;
  color: #fff;
  font-family: "comfortaa", "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  background: #000;
}
body {
  z-index: 0;
  min-height: 100vh;

}
.bodywrap{
  background-image: url("./bg3.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .5;
  height:100vh;
  position:absolute;
  z-index:0;
  top:0;
  left:0;
  bottom:0;
  right:0;
}

html,
body {
  margin: 0;
  color: #fff;
  font-family: "comfortaa", "Open Sans", sans-serif;
}
.address-section {
  border-radius: 5px;
  background: #000000b0;
  padding: 5px 20px;
  margin-bottom: 20px;}
body {}

.flowers {
  background-image: url(/assets/fl3.jpg);
  background-position: 10%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  opacity: .7;
  height:250px;
  border-bottom: 1px #ffffff77 solid;
  margin-bottom: 30px;
}

.flowers-bottom {

  position: relative;
  width: 100%;
  opacity: .7;
  border-top: 1px #ffffff77 solid;
  margin-top: 30px;
  overflow: hidden;
  background: #000;

  height: 50px;
}

.waitlist-text {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}
@keyframes fadeUp {
  0% {
    transform: translateY(100%);

  }
  100% {
    transform: translateY(0%);

  }
}
@keyframes fadeleft {
  0% {
    transform: translateX(100%);

  }
  100% {
    transform: translateX(0%);

  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.aniwrap{
  /* animation: .5s fadeUp ease-in-out; */
  position: relative;
}
.aniwrap.left{
  /* animation: .5s fadeleft; */
  position: relative;
}
.container.main {
  background:url(./0114-2.jpg);
  border-color: #ffffff33;
  border-right-width: 0px;
  border-left-width: 0px;
  border-style: solid;
  border-width: 1px;
  border-radius: 4px;
  margin-bottom: 20px;
  position: relative;
}

.sidebar {
  padding-top: 50px;
}

.sidebar .button-glass,
.sidebar .dd {
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar .button-glass:hover,
.sidebar .dd:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.sidebar .button-glass:active,
.sidebar .dd:active {
  transform: translateY(0);
}

.ma {
  margin: 0 auto;
}
.new{
  color:#fff;
}

.navbar-dark .navbar-nav .nav-link{
  color: #62A1CA;
}
.navbar-dark .navbar-nav .nav-link.new{
  color: #22e700;
}
.splide__slide img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.splide__slide:hover img {
  transform: scale(1.02);
}

.image-section img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-section img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.bg-dark {
  background-color: #121212 !important;
}

.store {
  margin: 10px;
  border: 1px #ffffff77 solid;
}

.text-decoration-underline {
  text-decoration: underline
}

.logo {
  width: 100%;
  max-width: 225px;


}
.logo-link{
  position:absolute;

    top: 12px;
    left: 55px;
    margin: 0 auto;
    z-index: 3;
}
.navbar {
  /* border-bottom: 4px #ffffff66 solid; */
}

.nav-link {
  text-align: center;
  transition: color 0.3s ease, background-color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin: 0.2rem 0;
}

.nav-link:focus {
  outline: 2px solid #62A1CA;
  outline-offset: 2px;
  background-color: rgba(98, 161, 202, 0.1);
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  outline: 2px solid #62A1CA;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(98, 161, 202, 0.2);
}

.navbar-toggler:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.05);
}

.logo img,
.imgwrap img {
  width: 100%;
  margin: 0 auto;
}

.sublogo{
  font-size: 12px;
  text-align: center;
  margin-top:10px;
}
.imgwrap img {
  max-width: 480px;
}

address {
  color: #fff;
  margin: 10px auto;
}

.hours dl {
  min-height: 100px;
  display: inline-block;
}

.hours dt {
  text-decoration: underline;
}

.hours dd {
  color: #aaa;
  font-size: .9em;
}

.text-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.75rem;
  margin: 0 10px;
  letter-spacing: 0.05em;
  font-family: "comfortaa", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "comfortaa", sans-serif;
  letter-spacing: 0.03em;
}

h3 {
  letter-spacing: 0.04em;
}

h4 {
  letter-spacing: 0.04em;
}
.basket .text-section h2{
  text-align: left;
  margin-left:0;
}
.basket h2,.basket h3,.basket h4{ margin-bottom:20px;}

.basket dl dt{
  margin-bottom:10px;

}
.basket dl dd{
  display: list-item;
  list-style-type: disc;
  margin-left:20px;
}
.basket dl strong{
  color:#79A2B3;
  margin-left:10px
}
.header {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 20px;
  color: #fff;
}

.header a {
  color: #ffffff;
  font-size: 30px;
  display: inline-block;
}

hr {
  background: #fff;
}

.map {
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
}

.map iframe {
  width: 100%;
  height: 250px;
  border: 1px #ffffff66 solid;
  border-radius: 4px;
  display: block;
}

strong {
  font-weight: bold;
}

a {
  color: #62A1CA;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  text-decoration: none;
}

a.phone {
  letter-spacing: 2px;
}

a:focus {
  outline: 2px solid #62A1CA;
  outline-offset: 2px;
  border-radius: 2px;
}

a:hover {
  color: #FFff00;
  text-decoration: underline;
}

a:active {
  color: #FFcc00;
}

/* Modern button design */
.button-glass {
  align-items: center;
  background: transparent;
  border: 2px solid #71A787;
  border-radius: 8px;
  box-sizing: border-box;
  color: #71A787;
  display: flex;
  font-family: "comfortaa", "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  justify-content: center;
  text-align: center;
  line-height: 1.2em;
  width: 100%;
  min-width: 140px;
  padding: 14px 22px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.button-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #71A787;
  transition: left 0.3s ease;
  z-index: -1;
}

.button-glass:hover::before {
  left: 0;
}

.button-glass:focus {
  outline: 2px solid #71A787;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(113, 167, 135, 0.2);
}

.button-glass:active,
.button-glass:hover {
  outline: 0;
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(113, 167, 135, 0.3);
  border-color: #71A787;
}

.button-glass:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(113, 167, 135, 0.2);
}

.button-glass span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.button-glass.menu {
  border-color: #C64137;
  color: #C64137;
}

.button-glass.menu::before {
  background: #C64137;
}

.button-glass.menu:hover {
  color: #fff;
  border-color: #C64137;
  box-shadow: 0 6px 20px rgba(198, 65, 55, 0.3);
}

.button-glass.menu:focus {
  outline-color: #C64137;
  box-shadow: 0 0 0 4px rgba(198, 65, 55, 0.2);
}
.button-glass.wineclub {
  background-image: linear-gradient(290deg, #6aa772, #416941 50%, #2a4f23);
  border: 1px #000 solid;
  color: #FFFFFF;
}
.dd {
  width: 100%;
  border: 2px solid #d91400;
  border-radius: 8px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  background-color: transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 52px;
  box-sizing: border-box;
}

.dd::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #d91400;
  transition: left 0.3s ease;
  z-index: 0;
}

.dd:hover::before {
  left: 0;
}

.dd:focus {
  outline: 2px solid #d91400;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(217, 20, 0, 0.2);
}

.dd:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 20, 0, 0.3);
  border-color: #d91400;
}

.dd:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(217, 20, 0, 0.2);
}

.dd img {
  width: 90%;
  margin: 0 auto;
  display: block;
  transition: filter 0.3s ease;
  position: relative;
  z-index: 1;
}

.dd:hover img {
  filter: brightness(0) invert(1);
}
#slider1 {
  border-radius: 4px;
  border: 1px #ffffff66 solid;
  margin-top: 20px;
  margin-bottom: 20px;
}
.vdayheader {  
  width:100%;
  border-radius:3px;
  border:2px #ffffff99 solid;
  margin-bottom:20px;
}

#attentionModal .modal-content {
  background: #f1f1f1;
  color: #fff;
}

#attentionModal.modal {
  top: 10%;
}

#attentionModal .modal-header {
  background: repeating-linear-gradient(45deg, #ebebeb, #e5e5e5 10px, #000000 10px, #000000 10px);
  border-bottom: 2px solid #c7c7c7;
}

#attentionModal .modal-header h5 {
  text-shadow: #33333377 1px 0 2px;
  color: #ff85a0;
  font-weight: 600 !important;
  font-size: 1.8rem;
}

#attentionModal .modal-body {
  background: #ffffff;
  color: #565656;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 1.5em;
  text-shadow: #33333388 1px 0 1px;
  background-image: url(./assets/paper.jpg);
  opacity: .7;
}

#attentionModal .modal-footer {
  border-top: 2px solid #c7c7c7;
  background: repeating-linear-gradient(45deg, #ebebeb, #e5e5e5 10px, #000000 10px, #000000 10px);
}

#attentionModal .close {
  color: #000;
  font-size: 3em;
}

#attentionModal .btn {
  text-shadow: #33333388 1px 0 1px;
  border: 2px #333 solid;
  font-weight: bold;
  padding: 5px 40px;
}

/* Mobile-first improvements */
@media screen and (max-width: 767px) {
  html, body {
    font-size: 1.1rem;
  }
  
  .text-section h2 {
    font-size: 1.5rem;
    margin: 0 5px 15px 5px;
  }
  
  .text-section h3 {
    font-size: 1.3rem;
  }
  
  .text-section h4 {
    font-size: 1.1rem;
  }
  
  .sidebar {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  .sidebar .button-glass {
    font-size: 16px;
    margin-bottom: 12px;
    padding: 2px;
  }
  
  .sidebar .button-glass span {
    padding: 12px 18px;
  }
  
  .sidebar .dd {
    padding: 12px 18px;
    margin-bottom: 12px;
  }
  
  .sidebar .dd img {
    width: 55%;
  }
  
  .map iframe {
    height: 200px;
  }
  
  .image-section img {
    margin-bottom: 15px;
  }
  
  .logo {
    max-width: 125px;
    top: 12px;
    left: 24px;
  }
  
  .sublogo {
    font-size: 10px;
  }
  
  address {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .hours dd {
    font-size: 0.95rem;
  }
  
  .navbar-collapse {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
  }
  
  #slider1 {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  .container.main {
    margin-bottom: 15px;
    padding: 0 15px;

  }
  
  .flowers {
    height: 150px;
    margin-bottom: 20px;
  }
  
  .flowers-bottom {
    margin-top: 20px;
    min-height: 100px;
    height: 100px;
  }
}

@media (min-width: 768px) {
  html, body {
    font-size: 1.12rem;
  }
  
  .button-glass {
    font-size: 20px;
    min-width: 196px;
  }
  
  .bl-main{
    border-left:1px #ffffff88 solid;
  }
  
  .sidebar {
    padding-top: 0;
  }
  
  .map iframe {
    height: 300px;
  }
  
  .button-glass span {
    padding: 16px 24px;
  }
}

/* Focus indicators for keyboard navigation */
*:focus-visible {
  outline: 2px solid #62A1CA;
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #62A1CA;
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Card-like animations */
.container.main {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container.main:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Canvas Gallery Styles */
.canvas-gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.canvas-gallery-wrapper {
  position: relative;
  width: 96%;
  height: 450px;
  background: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin: 2%;
}

#galleryCanvas {
  display: block;
  cursor: pointer;
  border-radius: 4px;
  transition: opacity 0.3s ease;
}

#galleryCanvas:hover {
  opacity: 0.95;
}

/* Loading indicator */
.loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #666;
  font-size: 18px;
  z-index: 1;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

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

/* Modal styles for canvas gallery */
#canvasModal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 10000;
}

#canvasModal .modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalFadeIn 0.3s ease-out;
  width: auto;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

#canvasModal .modal-content img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 40px);
  width: auto;
  height: auto;
  object-fit: contain;
}

#canvasModal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #666;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#canvasModal .close:hover {
  background: rgba(255, 255, 255, 1);
  color: #333;
  transform: scale(1.1);
}

/* Gallery section styling */
.gallery-section {
  margin-top: 30px;
  margin-bottom: 30px;
}

.gallery-section h3 {
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
}

.gallery-section h5 {
  text-align: center;
  margin-bottom: 20px;
  color: #aaa;
  font-size: 1rem;
}

/* Responsive design for canvas gallery */
@media (max-width: 768px) {

  .canvas-gallery-wrapper {
    height: 450px;
  }

  #canvasModal {
    padding: 10px;
  }

  #canvasModal .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  #canvasModal .close {
    top: 10px;
    right: 10px;
    font-size: 24px;
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .gallery-section h3 {
    font-size: 1.3rem;
  }

  .gallery-section h5 {
    font-size: 0.9rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  #galleryCanvas {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Orientation handling */
@media (orientation: landscape) and (max-height: 500px) {
  .canvas-gallery-wrapper {
    height: 200px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  #galleryCanvas {
    cursor: default;
  }

  #galleryCanvas:hover {
    opacity: 1;
  }
}

/* Hiring Bar Styles */
.hiring-bar {
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

.hiring-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 22px;
  background: transparent;
  border: 2px solid #E9900F;
  border-radius: 8px;
  color: #E9900F;
  text-decoration: none;
  font-family: "comfortaa", "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 52px;
}

.hiring-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E9900F, #FCE146);
  transition: left 0.3s ease;
  z-index: -1;
}

.hiring-link:hover::before {
  left: 0;
}

.hiring-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 144, 15, 0.4);
  border-color: #E9900F;
}

.hiring-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(233, 144, 15, 0.3);
}

.hiring-link:focus {
  outline: 2px solid #E9900F;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(233, 144, 15, 0.2);
}

.hiring-text {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.hiring-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 20px;
  line-height: 1;
}

.hiring-link:hover .hiring-arrow {
  transform: translateX(4px);
}

.sidebar .hiring-link {
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar .hiring-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 144, 15, 0.3);
}

.sidebar .hiring-link:active {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .sidebar .hiring-link {
    font-size: 16px;
    padding: 12px 18px;
    margin-bottom: 12px;
  }
  
  .hiring-arrow {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .hiring-link {
    font-size: 20px;
    min-width: 196px;
  }
}

/* Gallery Grid Styles */
.gallery-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.gallery-section h3 {
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.75rem;
}

.gallery-section h5 {
  text-align: center;
  margin-bottom: 30px;
  color: #aaa;
  font-size: 1rem;
  font-weight: 400;
}

.gallery-grid {
  display: grid;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  min-height: 0; /* Allow grid items to shrink */
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.gallery-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-thumbnail.loaded {
  opacity: 1;
}

.gallery-item:hover .gallery-thumbnail {
  transform: scale(1.05);
}

/* Image Modal Styles */
.image-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.image-modal.active {
  display: flex;
}

.modal-content-wrapper {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-image {
  display: block;
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.7);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  line-height: 1;
  padding: 0;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.1) rotate(90deg);
  border-color: rgba(255, 255, 255, 0.5);
}

.modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff88;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10002;
  background: rgba(0, 0, 0, 0.05);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.13);
  line-height: .1;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffffff;
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.modal-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.modal-nav:focus {
  outline: 2px solid rgba(255, 255, 255, 0.28);
  outline-offset: 3px;
}

.modal-nav-prev {
  left: 20px;
}

.modal-nav-next {
  right: 20px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Gallery Grid */
@media (max-width: 768px) {
  .gallery-grid {
    gap: 8px;
  }

  .gallery-item {
    border-radius: 6px;
  }

  .modal-nav {
    width: 50px;
    height: 50px;
    font-size: 36px;
  }

  .modal-nav-prev {
    left: 10px;
  }

  .modal-nav-next {
    right: 10px;
  }

  .gallery-section h3 {
    font-size: 1.5rem;
  }

  .gallery-section h5 {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .modal-content-wrapper {
    max-width: 98vw;
    max-height: 98vh;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    gap: 6px;
  }

  .gallery-section {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}