@import url("https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/versions/bulma-no-dark-mode.min.css");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");
/* Variables */
/* Gold */
/* Dark Golden Rod */
/* Cornsilk */
/* Global Styles */
body {
  font-family: "Quicksand", sans-serif !important;
  color: #2d3436;
  line-height: 1.6;
  background: url("/img/page-bg2.956205edacc7.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

.wedding-logo2 {
  display: block;
  text-align: center !important;
  margin: 5px auto !important;
  width: 200px;
}

.couple-img {
  border-radius: 30px;
}

footer {
  padding: 20px;
}
footer a {
  color: #B8860B;
}

/* Home Side Styles */
.home-side {
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.home-side img {
  width: 220px !important;
  margin-bottom: 20px;
  display: block;
}

.menu-box {
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 20px;
  background: #fffceb;
  margin-top: 50px;
  border-radius: 30px;
}

.home-button {
  padding: 16px 32px;
  border-radius: 5px;
  border: #4d4d4d 1px solid;
  display: inline-block;
  color: #4d4d4d;
}

.account-details {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.account-details .detail-box {
  background: #fffceb;
  padding: 20px;
  border-radius: 10px;
}
.account-details .detail-box .detail-title {
  font-weight: bold;
  color: #B8860B;
  margin-bottom: 0px !important;
}
.account-details .detail-box .detail-text {
  font-size: 1.8em;
  line-height: 110%;
}

.hero-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #B8860B;
  margin-bottom: 10px;
}

.home-view {
  background: rgba(251, 247, 230, 0.8784313725) !important;
  padding: 30px;
  border-radius: 20px !important;
}

/* Photo Grid Styles */
.column {
  padding: 0.75rem;
}
@media screen and (max-width: 768px) {
  .column.photo-grid-item {
    padding: 0.35rem;
  }
}
.column .card {
  height: 100%;
  transition: transform 0.2s ease-in-out;
  margin: 0;
}
.column .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.column .card .card-image .image {
  margin: 0;
}
.column .card .card-image .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.column .card .card-content {
  background: white;
}
.column .card .card-content .content p {
  line-height: 1.4;
}

/* Mobile Specific Styles */
@media screen and (max-width: 768px) {
  .columns.is-mobile {
    margin-left: -0.35rem;
    margin-right: -0.35rem;
  }
  .card .card-content .content {
    padding: 0.5rem !important;
  }
}
/* Loading Animation */
.photo-item {
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
/* Gallery Styles */
.gallery-image {
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s ease;
}

.photo-item {
  margin-bottom: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}
.photo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(184, 134, 11, 0.2);
}
.photo-item:hover .gallery-image {
  transform: scale(1.05);
}
.photo-item .photo-info {
  padding: 15px;
  background: white;
}
.photo-item .photo-info .uploader-name {
  font-weight: 600;
  color: #B8860B;
  margin-bottom: 5px;
}
.photo-item .photo-info .note {
  color: #2d3436;
  font-size: 0.95em;
  margin: 8px 0;
  line-height: 1.4;
  /* Add ellipsis for long notes */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-item .photo-info .social-handle {
  color: #ffd700;
  font-size: 0.9em;
  margin-bottom: 5px;
}
.photo-item .photo-info .upload-time {
  font-size: 0.8em;
  opacity: 0.7;
  margin-top: 8px;
}

/* Preview Styles */
.preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.preview-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.preview-item .image-preview {
  position: relative;
  padding-top: 100%;
}
.preview-item .image-preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.preview-item .image-preview .delete-preview {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.preview-item .image-preview .delete-preview:hover {
  background: rgba(184, 134, 11, 0.8);
  transform: scale(1.1);
}
.preview-item .image-preview .delete-preview .icon {
  font-size: 0.8rem;
}

/* Optimize image loading */
img[loading=lazy] {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

img[loading=lazy].loaded {
  opacity: 1;
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
  .photo-item, .gallery-image {
    transition: none;
  }
}
/* Modal Styles */
.w3-modal {
  z-index: 3;
  display: none;
  padding-top: 0;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.775); /* Almost completely black overlay */
}

.w3-modal-content {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  outline: 0;
  width: 100%;
  height: 100vh;
  background: none !important;
}

#modalImg {
  margin: auto;
  display: block;
  max-width: 95%;
  max-height: 95vh;
  -o-object-fit: contain;
     object-fit: contain;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.w3-display-topright {
  position: fixed;
  right: 15px;
  top: 15px;
  padding: 8px 16px;
  z-index: 4;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.w3-display-topright:hover {
  color: #ddd;
  text-decoration: none;
  cursor: pointer;
}

.w3-animate-zoom {
  animation: animatezoom 0.4s;
}

@keyframes animatezoom {
  from {
    transform: scale(0.95);
  }
  to {
    transform: scale(1);
  }
}
/* Modal styles */
.modal .modal-content {
  max-width: 400px;
  margin: 0 auto;
}
.modal .box {
  border-radius: 8px;
  padding: 2rem;
}
.modal .progress {
  margin-bottom: 1rem;
}
.modal .upload-status {
  color: #4a4a4a;
  font-size: 1rem;
}

.modal-background {
  background-color: rgba(10, 10, 10, 0.85);
}

/* Pagination Styles */
.pagination {
  margin: 20px 0;
}
.pagination .pagination-link {
  color: #2d3436;
  border-color: #B8860B;
}
.pagination .pagination-link.is-current {
  background-color: #B8860B;
  border-color: #B8860B;
  color: #fff;
}
.pagination .pagination-link:hover {
  background-color: #ffd700;
  border-color: #ffd700;
  color: #fff;
}

/* Button Styles */
.button {
  background-color: #B8860B;
  color: #fff;
  border-color: #ffd700;
  transition: all 0.3s ease;
}
.button:hover {
  background-color: #ffd700;
  color: #fff;
}
.button:focus {
  border-color: #ffd700;
  box-shadow: 0 0 0 0.125em rgba(184, 134, 11, 0.25);
}

.button.is-primary {
  background-color: #B8860B;
  color: #000;
}
.button.is-primary:hover {
  background-color: #ffd700;
  color: #fff;
}

.button.is-light {
  background-color: #fbf7e6;
  color: #000;
}
.button.is-light:hover {
  background-color: #f4e9ba;
}

/* Form Styles */
.file.is-boxed {
  width: 100%;
  margin-bottom: 1rem;
}

.file-label {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 2px dashed #dfe6e9;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-label:hover {
  border-color: #B8860B;
  background-color: rgba(184, 134, 11, 0.05);
}

.file-icon {
  font-size: 2rem;
  color: #B8860B;
  margin-bottom: 1rem;
}

.upload-progress {
  margin-top: 1rem;
}

.progress {
  height: 0.5rem;
  border-radius: 999px;
}

.upload-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #2d3436;
}

/* Admin Styles */
.admin-interface #header {
  background: #B8860B;
  color: white;
}
.admin-interface .module h2, .admin-interface .module caption, .admin-interface .inline-group h2 {
  background: #B8860B;
  color: white;
}
.admin-interface .button, .admin-interface input[type=submit], .admin-interface input[type=button], .admin-interface .submit-row input, .admin-interface a.button {
  background: #B8860B;
  color: white;
}
.admin-interface .button:hover, .admin-interface input[type=submit]:hover, .admin-interface input[type=button]:hover, .admin-interface .submit-row input:hover, .admin-interface a.button:hover {
  background: #ffd700;
}
.admin-interface .object-tools a:focus, .admin-interface .object-tools a:hover {
  background-color: #ffd700;
}
.admin-interface div.breadcrumbs {
  background: #ffd700;
  color: white;
}

/* Custom Admin Form Styles */
.change-form .form-row {
  padding: 1em;
  border-bottom: 1px solid #fbf7e6;
}
.change-form .form-row:last-child {
  border-bottom: none;
}
.change-form .field-image_preview img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 404 Error Page */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-page .error-image {
  width: 300px;
  max-width: 90%;
  margin-bottom: 2rem;
}
@media screen and (max-width: 768px) {
  .error-page .error-image {
    width: 200px;
  }
}
.error-page .title {
  color: #B8860B;
  margin-bottom: 1rem;
}
@media screen and (max-width: 768px) {
  .error-page .title {
    font-size: 1.75rem !important;
  }
}
.error-page .subtitle {
  color: #2d3436;
  margin-bottom: 2rem;
}
@media screen and (max-width: 768px) {
  .error-page .subtitle {
    font-size: 1.1rem !important;
  }
}

/* Mobile Optimizations */
@media screen and (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  .home-view {
    flex-direction: column;
  }
  .home-view .home-side {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  .photo-grid .columns {
    margin: 0;
  }
  .photo-grid .column {
    padding: 0.5rem;
  }
  .photo-item {
    margin-bottom: 1rem;
  }
  .photo-item .photo-info {
    padding: 0.75rem;
  }
  .pagination {
    padding: 0.5rem;
  }
  .pagination .pagination-list {
    display: none;
  }
  .upload-form {
    padding: 1rem;
  }
}
/* Performance Optimizations */
.photo-item img {
  content-visibility: auto;
  contain: layout style paint;
}

.photo-grid {
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}/*# sourceMappingURL=monochrome.css.map */