:root {
    --toolbar-height: 56px;
    --primary-color: #B21E4E;
    --activity-background2: #EFEFEF;
    --white: #ffffff;
    color-scheme: light;
}

html,
body {
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
    overscroll-behavior-y: contain;
    /* Or 'none' for a more drastic removal */
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

a {
    text-decoration: none;
}

a,
.contact-link,
/* Target your specific contact links */
button,
input,
select {
    /* Include other interactive elements you might have */
    -webkit-tap-highlight-color: transparent;
    /* For WebKit browsers (Chrome, Safari, Android browsers) */
    -webkit-touch-callout: none;
    /* iOS specific, prevents callout menu */
    -webkit-user-select: none;
    /* Already in your code, but good to combine */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
}

/*a {
    -webkit-user-drag: none; !* For Chrome, Safari *!
    -moz-user-drag: none;    !* For Firefox *!
    user-drag: none;         !* Standard property *!
}*/

body {
    background-color: var(--activity-background2);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--toolbar-height);
    background-color: var(--primary-color);
    z-index: 1000;
}

.toolbar-content {
    display: flex;
    align-items: center;
    height: calc(var(--toolbar-height) - 2.5px);
    padding: 0 16px;
}

.back-button {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.toolbar-title {
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 0 10px;
}

.gradient-line {
    height: 2.5px;
    background: linear-gradient(to right, #ffec88, #b47a1a);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.categories-grid {
    display: grid;
    gap: 16px;
    padding: calc(var(--toolbar-height) + 16px) 16px 16px;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.category-item {
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    padding: 22.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-height: 100px;
    position: relative;
}

.category-item::before {
    display: none;
}

.category-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: calc(var(--toolbar-height) + 16px) 20px 16px;
    }

    .category-item {
        /*min-height: 120px;*/
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: calc(var(--toolbar-height) + 16px) 50px 16px;
    }

    .category-item {
        /* min-height: 140px;*/
    }
}

/* Fade-in for images */
.fadein-img {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fadein-img.loaded {
    opacity: 1;
}

/* Fade-in for backgrounds */
.fadein-bg {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fadein-bg.bg-loaded {
    opacity: 1;
}

/* Wedding Website Mockup Styles */
.wedding-website-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (min-width: 768px) {
    .wedding-website-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .wedding-website-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

.wedding-website-item {
    background: none !important;
    padding: 0 !important;
    min-height: auto !important;
    border-radius: 8px;
    /* Maintain the radius */
    overflow: hidden;
    /* Ensure rounded corners on the children */
}

.website-mockup-img {
    width: 100%;
    height: auto;
    display: block;
}