
/* Basic page styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: rgb(223, 223, 223); /* Dark background */
    color: #2b2b2b; /* Light default text color */
    margin: 0;
    line-height: 1.6;
}

/* A container to center the content and provide padding */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* Header section for the back link */
.page-header {
    margin-bottom: 30px;
}

.back-to-gallery {
    display: inline-block;
    color: #464646;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid #464646;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.back-to-gallery:hover {
    background-color: #c9c9c9;
    color: #464646;
}

/* Gallery 2 */

  .photo-gallery {
    max-width: 1250px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }

  .photo-item {
    /* flex-grow: 1;*/ 
    height: 300px;
    cursor: pointer;
  }
  
  .photo-item img {
    height: 100%;
    width: auto;
    display: block;
    /* object-fit: contain; */ 
    /* box-shadow: 2px 5px 15px rgba(0,0,0,0.3); */
    max-width: 100%;
  }

  #fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    text-align: center;
    cursor: pointer;
  }

  #fullscreen-overlay img {
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }



/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 20px;
    }

    .product-container {
        flex-direction: column; /* Stack columns vertically */
    }

    .details-column {
        padding-top: 30px;
    }

    .details-column h1 {
        font-size: 2rem;
    }
}
