* {
    box-sizing: border-box;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 90px;
    font-family: oswald;
    background-color: var(--beige);
    width: 100%;
}

html,
body {
    overflow-x: hidden;
    font-family: oswald;
}

#tools {
    align-items: center;
    text-align: center;
    width: 100%;
}

.Gallery {
    width: 100%;
}

#yogic {
    color: #243A5E;
    font-size: 2.6em;
    font-weight: bold;
    font-family: 'Gallery', sans-serif;
    margin-top: 20px;
    text-align: center;
}

.mantra {
    margin-top: 4px;
    margin-bottom: 8px;
    padding: 20px;
}

.tools {
    color: rgb(141, 12, 12);
    font-weight: bold;
    font-size: 1.2em;
    text-align: left;
}

.lorem {
    font-size: 1em;
    line-height: 2em;
    margin-bottom: 30px;
}

.break {
    line-height: 2rem;
}

.shine {
    padding: 5px;
    margin-top: 40px;
    margin-bottom: 70px;
    line-height: 1em;
    font-family: oswald;
}

.shine li {
    list-style: none;
    font-size: 2rem;
    font-family: 'Gallery', sans-serif;
    text-align: center;
    text-decoration: rgb(134, 87, 87) 1px underline;
    font-weight: 500;
    line-height: 2em;
}

.shine p {
    line-height: 2em;
    text-align: center;
    font-family: oswald;
    color: #1d1c1c;
}

/* ── Gallery row: horizontal scroll, equal height ── */
.gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* smooth scroll on iOS */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    padding-bottom: 8px;
    border: none;
    align-items: stretch;
}

.gallery::-webkit-scrollbar {
    height: 4px;
}

.gallery::-webkit-scrollbar-track {
    background: transparent;
}

.gallery::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* Images and videos share the same fixed height */
.gallery img,
.gallery video {
    flex: 0 0 auto;
    height: 220px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: start;
    display: block;
}

.gallery img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#logo img {
    cursor: default !important;
}

#logo img:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ── Image Modal ── */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.image-modal-close:hover {
    color: #bbb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}