/* Large carousel images (homepage) */
.carousel-img-large {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}
/* QR code image styles */
.qrcode-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}
.qrcode-img {
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 8px;
}
/* Contact form styles */
.contact-section {
    max-width: 500px;
    margin: 48px auto 0 auto;
    background: #f8f8f8;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 40px 32px 32px 32px;
    border: 1.5px solid #e0e0e0;
    transition: box-shadow 0.2s, border 0.2s;
}
.contact-section:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border: 1.5px solid #bdbdbd;
}
.contact-section h2 {
    margin-top: 0;
    margin-bottom: 18px;
    text-align: center;
    color: #1a1a1a;
    font-size: 2em;
    letter-spacing: 1px;
    font-weight: 700;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border: 1.5px solid #ccc;
    border-radius: 7px;
    font-size: 1.08rem;
    font-family: inherit;
    background: #fff;
    resize: vertical;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid #888;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.contact-form textarea {
    min-height: 90px;
    max-height: 260px;
}
.contact-form button[type="submit"] {
    margin-top: 10px;
    background: linear-gradient(90deg, #222 60%, #444 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    font-size: 1.12rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    letter-spacing: 1px;
    transition: background 0.2s, box-shadow 0.2s;
}
.contact-form button[type="submit"]:hover {
    background: linear-gradient(90deg, #444 60%, #222 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
.form-status {
    margin-top: 8px;
    font-size: 1em;
    min-height: 1.2em;
    text-align: center;
    font-weight: 500;
}
@media (max-width: 600px) {
    .contact-section {
        padding: 14px 4px 10px 4px;
    }
}
/* Carousel styles */
.carousel-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 32px 0 32px 0;
}
.carousel-img {
    width: 384px;
    height: 252px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.13);
    background: #eee;
    transition: box-shadow 0.2s;
}
.carousel-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, box-shadow 0.2s;
}
.carousel-btn:hover {
    background: #e0e0e0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
@media (max-width: 600px) {
    .carousel-img {
        width: 98vw;
        height: 34vw;
        min-height: 90px;
        max-width: 99vw;
    }
    .carousel-section {
        gap: 8px;
    }
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}
header {
    padding: 32px 0 16px 0;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.logo {
    max-width: 100vw;
    height: auto;
    display: block;
    margin: 0 auto 8px auto;
}
nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 16px;
}
nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}
nav a:hover, nav a.active {
    background: #e0e0e0;
}
.main-content {
    max-width: 900px;
    margin: 32px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 32px 24px;
}
/* Author blurb */
.author-blurb {
    text-align: center;
    margin-bottom: 32px;
    font-size: 1.15rem;
    color: #444;
}

/* About section */
.about-section {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    background: #f2f2f2;
    border-radius: 10px;
    padding: 32px 24px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.about-img-wrap {
    flex: 0 0 160px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.about-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    border: 4px solid #fff;
    background: #eee;
}
.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.08rem;
    color: #333;
}
.about-text h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #1a1a1a;
}
.about-text p {
    margin: 0 0 10px 0;
}

/* Thumbnails */
.thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 32px;
}
.gallery-grid { gap: 32px; margin-top: 24px; }
.grid-4x5 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-item { text-align: center; }
.grid-4x5 .thumbnail { width: 100%; height: 240px; object-fit: cover; }
.grid-num-cap { margin-top: 8px; font-weight: 600; color: #333; font-size: 0.9em; }

/* Gallery headings and price info */
.gallery-title { text-align: center; }
.gallery-price-info {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 1em;
    color: #222;
}

/* Shared notice bubble used on gallery pages */
.gallery-info-bubble {
    max-width: 700px;
    margin: 2em auto 1.5em auto;
    padding: 1.2em 2em;
    background: #f6f6f6;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-align: center;
    color: #444;
    font-size: 1.08em;
}

/* Gallery Card Styling */
.grid-item {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    border: 1px solid #f0f0f0;
}
.grid-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}
.grid-item .thumbnail {
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}
.grid-item .grid-num-cap {
    font-size: 0.85em;
    color: #666;
    margin: 8px 0 6px 0;
    font-weight: 500;
}

/* Clickable Number Styling */
.clickable-number {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
    -webkit-user-select: none;
    user-select: none;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    color: #555;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.clickable-number:hover {
    background-color: #e8f4fd;
    border-color: #4A90E2;
    color: #2c5aa0;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.2);
}
.grid-item button {
    font-size: 0.9em !important;
    padding: 0.35em 0.8em !important;
}

/* Hover Overlay for Adding to Cart */
.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}
.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
}
.image-container:hover .cart-overlay {
    opacity: 1;
}
.cart-icon {
    color: white;
    font-size: 2em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    pointer-events: none;
}
.thumbnail, .gallery-img {
    width: 120px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.thumbnail:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}
.modal.open {
    display: flex;
}
.modal-content {
    background: none;
    border: none;
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}

/* Footer */
.site-footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 24px 0 12px 0;
    margin-top: 48px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}
.footer-content {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .about-section {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 20px 8px;
    }
    .about-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 600px) {
    nav { flex-wrap: nowrap; overflow-x: auto; gap: 10px; font-size: 0.98rem; padding: 0 2vw; }
    nav a { white-space: nowrap; padding: 6px 8px; font-size: 1em; }
    .main-content { padding: 8px 2px; max-width: 99vw; }
    .thumbnails, .gallery-grid { gap: 6px; flex-wrap: wrap; }
    .grid-4x5 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .grid-item { padding: 8px; margin-bottom: 8px; }
    .grid-item .grid-num-cap { font-size: 0.8em; }
    .grid-item button { font-size: 0.85em !important; padding: 0.3em 0.6em !important; }
    /* Scope gallery thumbnail sizing to grid items only (avoid blowing up homepage thumbs) */
    .grid-4x5 .thumbnail { width: 100%; height: auto; min-height: 60px; max-height: 40vw; object-fit: cover; }
    /* Keep generic carousel images responsive */
    .carousel-img { width: 98vw; height: auto; min-height: 90px; max-width: 99vw; }
    .carousel-section { gap: 4px; flex-direction: column; align-items: center; }
    /* Homepage hero tiles (two big title images) stack vertically and scale down on phones */
    .carousel-multi { flex-direction: column !important; gap: 12px !important; }
    .carousel-multi > div { max-width: 100% !important; flex: 1 1 auto !important; }
    .carousel-img-large { max-width: 92vw !important; height: auto; }
    /* Homepage latest thumbs row: keep thumbnails compact on phones */
    .carousel-thumbs-row .thumbnail { width: 22vw; height: 33vw; max-width: 24vw; object-fit: cover; border-radius: 8px; }
    .about-section { padding: 6px 1px; flex-direction: column; gap: 8px; }
    .about-img { width: 80px; height: 80px; }
    .gallery-info-bubble { font-size: 0.98em !important; padding: 0.7em 0.5em !important; max-width: 98vw !important; }
    .site-footer { padding: 10px 0 6px 0; font-size: 0.98em; border-radius: 8px 8px 0 0; }
    .modal-content img { max-width: 98vw; max-height: 60vh; }
}

@media (max-width: 420px) {
    .grid-4x5 { grid-template-columns: 1fr; }
}
