/* Google Fonts are now loaded via <link> in HTML for better performance */

/* Custom Fonts */
@font-face {
    font-family: 'Nexa';
    src: url('../fonts/nexa.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Adelle';
    src: url('../fonts/adelle.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Great Vibes';
    src: url('../fonts/vibes.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== COLOR CONFIGURATION ===== */
/* Change these variables to customize your site colors */
:root {
    --primary-color: #1a0f00;        /* Dark brown/black for text */
    --primary-light: #d4a574;        /* Light honey/tan accent */
    --background-cream: #f5ddb8;     /* Cream/light honey background */
    --background-section: #fef6e8;   /* Very light cream for sections */
    --text-dark: #1a0f00;            /* Dark brown for text */
    --hexagon-color: #f0b84f;        /* Golden honey color */
    --honey-gold: #e8a73e;           /* Rich honey gold */
    --honey-dark: #3d2817;           /* Dark honey drip color */
    
    /* Border Radius */
    --border-radius-lg: 1rem;        /* Large radius for sections, cards */
    --border-radius-md: 0.5rem;      /* Medium radius for images */
    --border-radius-sm: 0.2rem;      /* Small radius for smaller elements */
}
/* ================================ */

body {
    font-family: 'Adelle', 'Georgia', 'Times New Roman', serif;
    margin: 0;
    padding: 0;
    background: var(--background-cream);
    color: var(--text-dark);
}

header,
.header-rounded {
    background: var(--background-cream);
    color: var(--primary-color);
    padding: 1rem 0 1.5rem 0;
    text-align: center;
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    box-shadow: 0 4px 24px rgba(184, 107, 0, 0.10);
    font-family: 'Georgia', 'Times New Roman', serif;
}

header h1 {
    font-family: 'Nexa', sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 2.7rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px #ffeed2, 0 0px 0px var(--primary-light);
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius-lg);
    transition: background 0.2s, color 0.2s;
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    border: 2px solid var(--primary-color);
    background: var(--background-cream);
}

nav a:hover {
    background: var(--primary-color);
    color: var(--background-cream);
}

main {
    max-width: 1000px;
    margin: 2.5rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
    background: var(--background-section);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 24px rgba(184, 107, 0, 0.07);
    border: 2px solid var(--primary-light);
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-dark);
}

section h2 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 2rem;
    letter-spacing: 1px;
    font-family: 'Nexa', sans-serif;
    text-shadow: 0 2px 8px #fff;
}
section p {
    font-family: 'Adelle', 'Georgia', 'Times New Roman', serif;

}
.nav-link {
    font-family: 'Adelle', 'Georgia', 'Times New Roman', serif;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
    gap: 2rem;
    width: 100%;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.product-card {
    background: var(--background-cream);
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(184, 107, 0, 0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    min-height: 200px;
    width: 100%;
    box-sizing: border-box;
}

.product-card-link:hover .product-card {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 32px rgba(184, 107, 0, 0.15);
    border-color: var(--primary-color);
}

.product-card-image-wrapper {
    flex: 0 0 40%;
    max-width: 180px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: var(--border-radius-md);
    background: #fff;
    object-fit: contain;
    border: 2px solid var(--primary-light);
    box-shadow: 0 2px 8px var(--primary-color);
}

.product-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.7rem;
    font-family: 'Great Vibes', cursive;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #fff;
    text-transform: none;
    text-align: left;
}

.product-card p {
    color: var(--primary-color);
    font-weight: bold;
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Adelle', 'Georgia', 'Times New Roman', serif;
    text-align: left;
}

.product-card a,
.more-info-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--background-cream);
    border: 2px solid var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255, 179, 71, 0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    text-transform: uppercase;
}

.product-card a:hover,
.more-info-btn:hover {
    background: var(--background-cream);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: scale(1.01);
    will-change: background, color, transform;
}

.product-detail-btn {
    display: block;
    background: var(--primary-color);
    color: var(--background-cream);
    border: 2px solid var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255, 179, 71, 0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    text-transform: uppercase;
    text-align: center;
}

.product-detail-btn:hover {
    background: var(--background-cream);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    will-change: background, color, transform;
}

footer {
    background: var(--background-cream);
    color: var(--primary-color);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    box-shadow: 0 -4px 24px rgba(184, 107, 0, 0.07);
    font-size: 1.1rem;
    border-top: 2px solid var(--primary-color);
    font-family: 'Georgia', 'Times New Roman', serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    margin-left: 15px;
    margin-right: 15px;
}
.footer-separator {
    color: var(--primary-color);
}

.footer-label {
    font-weight: bold;
}

.footer-address {
    color: var(--primary-color);
}

footer a#phone-link,
footer a#email-link,
footer a#address-link {
    color: var(--primary-color) !important;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
    font-weight: bold;
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
}

footer a#phone-link:hover,
footer a#email-link:hover,
footer a#address-link:hover {
    color: var(--primary-light) !important;
}


.site-title-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
    font-family: 'Nexa', sans-serif;
    font-weight: 900;
    font-style: normal;
}
.site-title-link:hover {
    opacity: 0.8;
}

/* Honeycomb Decorations */
.honeycomb {
    position: fixed;
    z-index: 1;
    width: 90px;
    height: 90px;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.honeycomb-group-left-1 { top: 180px; left: -30px; }
.honeycomb-group-left-2 { top: 225px; left: 46px; }
.honeycomb-group-left-3 { top: 268px; left: -30px; }
.honeycomb-group-left-4 { top: 312px; left: 46px; }

.honeycomb-group-right-1 { bottom: 300px; right: -30px; }
.honeycomb-group-right-2 { bottom: 255px; right: 46px; }
.honeycomb-group-right-3 { bottom: 212px; right: -30px; }
.honeycomb-group-right-4 { bottom: 168px; right: 46px; }

/* Make sure header, main, footer are above honeycombs */
header, main, footer {
    position: relative;
    z-index: 2;
}

/* Honey Drip for Sections */
.section-honey-drip-outer {
    width: 105%;
    position: relative;
    height: 80px;
    margin: 0 0 2.5rem 0;
    padding: 0;
    z-index: 3;
    rotate: 180deg;
    margin-top: -25px; /* Adjust to overlap with section */
}

.section-honey-drip-container {
    width: 100%;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: -9px; /* Adjust to align with section */
    height: 80px;
    pointer-events: none;
    line-height: 0;
    z-index: 3;
    will-change: transform;
}

.section-honey-drip {
    width: 100%;
    height: 80px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(255,179,71,0.12));
    /* No rotation needed for this SVG */
}

.product-description {
    background: #fff;
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius-md);
    padding: 1.2rem 1rem;
    margin: 1.2rem 0 1.5rem 0;
    box-shadow: 0 2px 8px var(--primary-color);
    font-size: 1.05rem;
    color: var(--text-dark);
}

.product-description p {
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.product-description ul {
    margin: 0;
    padding-left: 1.2rem;
}

.product-description li {
    margin-bottom: 0.3rem;
    color: var(--primary-color);
    font-weight: 500;
    font-family: 'Dancing Script', 'Pacifico', cursive;
    font-size: 1.15rem;
}

.product-detail-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem 0 2rem 0;
    background: var(--background-section);
    min-width: 100%;
}

.product-detail-container {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    background: var(--background-section);
    padding: 4rem 2rem;
    max-width: 1100px;
    width: 96%;
}

.product-detail-image {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    
}
.product-detail-image img {
    max-width: 400px;
    border-radius: var(--border-radius-md);
    background: #fff;
    object-fit: contain;
    border: 2px solid var(--primary-light);
    box-shadow: 0 2px 8px var(--primary-color);
    min-height: 450px;
    /* Cropnout med obrazek a pak ho sem dat znova bude to fungovat */
}

.product-detail-info {
    flex: 2 1 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-detail-info h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 2.2rem;
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    text-shadow: 0 2px 8px #fff;
    text-transform: uppercase;
}

.product-detail-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0 0 1.2rem 0;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.contact-btn {
    margin-top: 1.5rem;
    background: var(--primary-color);
    color: var(--background-cream);
    border: 2px solid var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255, 179, 71, 0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    text-transform: uppercase;
}
.contact-btn:hover {
    background: var(--background-cream);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* ===== QUANTITY CONTROLS ===== */
.product-qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    background: var(--primary-color);
    color: var(--background-cream);
    border: none;
    width: 40px;
    height: 42px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    border-radius: 13px;
}

.qty-btn:hover {
    background: var(--honey-dark);
}

.qty-input {
    width: 48px;
    height: 40px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Adelle', 'Georgia', serif;
    color: var(--primary-color);
    background: var(--background-cream);
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===== ORDER CONTACT SECTION ===== */
.order-contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--primary-light);
}

.order-contact h3 {
    color: var(--primary-color);
    font-family: 'Nexa', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.order-contact-fields {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.order-field {
    flex: 1;
    min-width: 200px;
}

.order-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.order-field input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-family: 'Adelle', 'Georgia', serif;
    color: var(--primary-color);
    background: var(--background-cream);
    box-sizing: border-box;
}

.order-field input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.order-hint {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.order-note-textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-family: 'Adelle', 'Georgia', serif;
    color: var(--primary-color);
    background: var(--background-cream);
    box-sizing: border-box;
    resize: vertical;
    min-height: 60px;
    margin-bottom: 26px;
}

.order-note-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.order-submit-btn {
    display: block;
    background: var(--primary-color);
    color: var(--background-cream);
    border: 2px solid var(--primary-color);
    padding: 0.9rem 2.5rem;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    margin: 0 auto;
}

.order-submit-btn:hover {
    background: var(--background-cream);
    color: var(--primary-color);
    transform: scale(1.03);
}

/* ===== ORDER MESSAGES ===== */
.order-message {
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.order-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #a5d6a7;
}

.order-error {
    background: #fce4ec;
    color: #c62828;
    border: 2px solid #ef9a9a;
}

/* Tablet Responsive Styles (861px and down) */
@media screen and (max-width: 861px) {
    /* Add your tablet-specific styles here */
    
    header h1 {
        font-size: 2.3rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr));
        gap: 1.5rem;
    }
    
    .product-card-link {
        max-width: 100%;
        width: 100%;
    }
    
    .product-card {
        width: 100%;
        margin: 0 auto;
    }
    .product-detail-btn {
        width: 79%;
        margin: 0 auto;
        text-align: center;
    }
}

/* Mobile Responsive Styles (600px and down) */
@media screen and (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    nav a {
        display: block;
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

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

    .product-detail-container {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .product-detail-image {
        min-width: 100%;
    }

    .product-detail-info {
        min-width: 100%;
    }
        .product-detail-btn {
        width: 79%;
        margin: 0 auto;
        text-align: center;
    }

    .product-detail-info h2 {
        font-size: 1.8rem;
    }

    .product-card {
        flex-direction: row;
        min-height: auto;
    }

    .product-card-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }

    .product-card-content {
        gap: 1rem;
    }

    .order-contact-fields {
        flex-direction: column;
        gap: 1rem;
    }

    /* Hide honeycomb decorations on mobile */
    .honeycomb {
        display: none;
    }

    /* Adjust footer for mobile */
    footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.7rem;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-label {
        margin-bottom: 0.3rem;
    }
}

/* Extra small devices */
@media screen and (max-width: 380px) {
    header h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 1.5rem 1rem;
    }
}

.section-honey-drip-desktop {
    display: block;
}
.section-honey-drip-mobile {
    display: none;
}
@media screen and (max-width: 530px) {
        .product-card-content {
        width: 149px;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }
        .product-detail-btn {
        width: 50%;
        margin: 0 auto;
        text-align: center;
    }
    .product-qty-control {
        margin: 0 auto;
    }
    .product-card {
    background: none;
    border: none;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: none;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    min-height: 200px;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    min-height: auto;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    border-bottom: solid;
    border-top: solid;
    border-color: var(--primary-light); 
    }
    .product-card:hover {
        box-shadow: none;
    }
    .product-card-header {
        justify-content: center;
        align-items: center;
    }
    .product-card img {
    width: 115%;
    max-width: 115%;
    }
    .product-card-link:hover .product-card {
        transform: none;
        box-shadow: none;
    }
    .qty-input {
        background: var(--background-section);
    }
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.6rem;
}

.gallery-grid-full {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-thumb {
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    border: 2px solid var(--primary-light);
    box-shadow: 0 2px 8px rgba(184, 107, 0, 0.10);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-thumb:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 24px rgba(184, 107, 0, 0.18);
    border-color: var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-more-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--background-cream);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.gallery-more-btn:hover {
    background: var(--background-cream);
    color: var(--primary-color);
    transform: scale(1.03);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-counter {
    color: #fff;
    font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    font-size: 1rem;
    margin-top: 0.8rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 3;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    padding: 0.8rem 1rem;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    user-select: none;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

/* Gallery responsive */
@media screen and (max-width: 861px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }
}

@media screen and (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .lightbox-arrow {
        font-size: 1.6rem;
        padding: 0.5rem 0.7rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.8rem;
        font-size: 2rem;
    }
}

@media screen and (max-width: 380px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}