/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Product Page Styles */
.product-page {
    min-height: 100vh;
    background-color: #f9fafb;
}

.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 3rem;
    height: 3rem;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.nav-arrow:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.nav-arrow.left {
    left: 1.5rem;
}

.nav-arrow.right {
    right: 1.5rem;
}

.back-button {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.back-button:hover {
    color: #000;
}

.product-main {
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-image-container {
    aspect-ratio: 1;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.thumbnail {
    aspect-ratio: 1;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.thumbnail:hover {
    border-color: #d1d5db;
}

.thumbnail.active {
    border-color: #000;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 1rem;
}

.product-materials {
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.product-description {
    color: #374151;
    line-height: 1.6;
    margin: 1rem 0;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.product-year {
    font-size: 0.875rem;
    color: #6b7280;
}

.product-status {
    font-size: 0.875rem;
    font-weight: 500;
    color: #166534;
}

.cta-primary {
    background-color: #166534;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-primary:hover {
    background-color: #15803d;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-form-section {
    max-width: 64rem;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.contact-form-container {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 1.5rem;
}

.contact-form-text {
    color: #6b7280;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-textarea {
    min-height: 6rem;
    resize: vertical;
}

.form-button {
    background-color: #000;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1rem;
}

.form-button:hover {
    background-color: #374151;
}

.ProfileImageProduct {
	margin-top: 48px;
	margin-left: 150px;
	max-width: 400px;
	/* Adjust size as needed */
	min-width: 200px;
	border-radius: 8px 8px 0px 0px;
	transition: opacity 0.3s ease;
}

.back-button .back-icon {
  transition: filter 0.3s ease;
}

.back-button:hover .back-icon {
  filter: brightness(0) saturate(100%);
}

/* Responsive */
@media (min-width: 768px) {
    .product-main {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-group.full-width {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-arrow {
        display: none;
    }
}

@media (min-width: 1024px) {
    .product-title {
        font-size: 2.5rem;
    }
}