/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; background: #f9f9f9; }
a { text-decoration: none; color: inherit; }

/* Header/Nav */
header { background: #000; color: #fff; padding: 1rem 0; }
nav { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; }
.logo { font-size: 1.5rem; font-weight: bold; }
ul { display: flex; list-style: none; gap: 1rem; }
ul li a { padding: 0.5rem; transition: color 0.3s; }
ul li a:hover { color: #ccc; }

/* Hero */
.hero { text-align: center; padding: 4rem 2rem; background: #fff; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.cta { display: inline-block; background: #000; color: #fff; padding: 1rem 2rem; margin-top: 1rem; border-radius: 5px; }

/* Teasers/Products */
.teasers, .products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
.teaser, .product { text-align: center; background: #fff; padding: 1rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.teaser img, .product img { max-width: 100%; height: auto; }
select, button { margin: 0.5rem; padding: 0.5rem; }
.add-to-cart { background: #000; color: #fff; border: none; padding: 0.75rem 1.5rem; border-radius: 5px; cursor: pointer; }

/* Cart (Snipcart handles modal) */
#snipcart-header { display: none; } /* Hide if needed */

/* Footer */
footer { text-align: center; padding: 1rem; background: #000; color: #fff; }

/* Responsive */
@media (max-width: 768px) { nav ul { flex-direction: column; } .hero h1 { font-size: 2rem; } }

.about-content { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.about-text { text-align: left; }
.about-text h2 { margin-bottom: 1rem; color: #000; }
.about-text ul { list-style: disc; padding-left: 1.5rem; margin: 1rem 0; }
.about-text li { margin-bottom: 0.5rem; }
.about-image { text-align: center; }
.about-image img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.image-caption { font-style: italic; margin-top: 0.5rem; color: #666; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

.contact-content { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-info { text-align: left; }
.contact-info h2, .contact-form h2 { margin-bottom: 1rem; color: #000; }
.contact-details { margin: 1.5rem 0; }
.contact-details address { font-style: normal; line-height: 1.6; }
.contact-details p { margin-bottom: 0.5rem; }
.contact-details a { color: #000; text-decoration: underline; }

.contact-form { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.25rem; font-weight: bold; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; }
.form-group textarea { resize: vertical; }
.hidden { display: none; }

/* Responsive */
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.hero h1 {
    text-align: center;
}

.page-title {
    text-align: center;
    margin: 2rem 0 1rem;
    font-size: 2.5rem;
}

.section-title {
    text-align: center;
    margin: 2rem 0 1rem;
    font-size: 2rem;
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80%;
    padding-top: 60px;
    cursor: zoom-in;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

.clickable-image {
    cursor: pointer;
    transition: opacity 0.3s;
}

.clickable-image:hover {
    opacity: 0.7;
}

/* Responsive */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
        padding-top: 30px;
    }
}
.modal-content {
    transition: transform 0.1s ease;
    user-select: none; /* Prevent text selection during drag */
}

.modal-content.dragging {
    cursor: grab;
}

.modal-content:active {
    cursor: grabbing;
}

@media (hover: none) {
    .modal-content {
        touch-action: none; /* Better touch panning */
    }
}