/* Custom CSS styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
a {
  cursor: pointer !important;
}

/* Smooth scrolling for anchor links */
a[href^="#"] {
  text-decoration: none;
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Form focus states */
input:focus,
textarea:focus,
button:focus {
  outline: 2px solid rgb(128, 92, 46);
  outline-offset: 2px;
}

/* Added modal styles */
/* Image Modal Styles */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease-in;
}

.image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.image-modal-content {
  position: relative;
  margin: auto;
  padding: 20px;
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease-in;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
  }
  to {
    transform: scale(1);
  }
}

.image-modal-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.image-modal-close {
  position: absolute;
  top: -10px;
  right: 10px;
  color: #f1f1f1;
  font-size: 48px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.image-modal-close:hover,
.image-modal-close:focus {
  color: rgb(128, 92, 46);
}
