body {
    font-family: sans-serif;
    background-color: #f7efe1 !important;
    /* Prevent scroll anchoring issues */
    overflow-anchor: none;
}

h1 {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.zs-sm-mono {
    font-family: monospace;
    font-size: 0.8rem;
}
  
header {
    background-color: #1B1615;
    color: white;
}

header a {
    color: white;
}

header .zs-logo, footer .zs-logo {
    max-height: 4rem;
    padding-left: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

header .lead {
    font-style: italic;
    color: rgb(203, 203, 203);
}

.zs-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1.0rem !important;
}

.zs-main {
    flex: 1;
}

footer {
    background-color: #1B1615 !important;
    color: rgb(103, 103, 103);
    border-top: solid 1px rgb(52, 52, 52);
}

footer .fs-6 {
    font-size: 0.8rem !important;
}

.email span:nth-of-type(1){
    display: none;
}

button {
    border-radius: 1rem !important;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.zs-bg-yellow {
    background-color: var(--primary-accent) !important;
    color: #1B1615 !important;
}

.zs-bg-dark {
    background-color: #1B1615 !important;
    color: #f7efe1 !important;
}

.zs-fg-yellow {
    color: var(--primary-accent) !important;
}

.zs-rounded-corners {
    border-radius: 1rem !important;
}
/* Breaking the login */
/* button, a.btn {
    font-family: "Funnel Display", sans-serif !important;
    font-weight: bold !important;
    background-color: var(--primary-accent) !important;
    color: #1B1615 !important;
} */

.zs-rounded-image {
    border-radius: 20px;
    overflow: hidden;
    display: inline-block;
    flex-shrink: 0;
    /* position: relative; */
}

.card {
    background-color: #efefef !important;
}

.z-contact-button {
    background-color: transparent !important;
    color: #ddd !important;
    border: 1px solid #ddd !important;
    font-weight: normal !important;
}

.z-contact-button:hover {
    background-color: var(--primary-accent) !important;
    color: black !important;
}

/* .index-app ============================================================= */

/* .index_app section 1 ------------------------------------------- */

.index-app section.zs-section-1 {
    position: relative;
    height: 20rem;
    overflow: hidden;
}

.index-app section.zs-section-1 video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover; /* Ensures the video fills the container while maintaining aspect ratio */
    z-index: -1;
    filter: brightness(0.7);
}


.index-app section.zs-section-1 .zs-video-content {
    position: relative;
    z-index: 1;
    height: 100%;
}

.index-app section.zs-section-1 h1 {
    font-size: 3rem;
    color: #f7efe1;
}
 
.index-app section.zs-section-1 h2 {
    font-size: 1.3rem;
    color: #f7efe1;
}
 
.index-app section.zs-section-1 img {
    width: 8rem;
}

.index-app section.zs-section-1 .zs-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}
 

/* .index-app section 2 ------------------------------------------- */


.index-app section.zs-section-2 h2 {
    max-width: 45rem !important;
    margin-left: auto !important;
    margin-right: auto !important;    
}

/* .index-app section 3 ------------------------------------------- */

.zs-section-3 img {
    max-width: 100%;
    height: auto;
    display: block;
}

.zs-section-3 video {
    max-width: 100%;
    height: auto;
    display: block;
}

.zs-section-3 .number {
    position: absolute;
    bottom: -0.37em;
    left: -0.05em;
    font-size: 4rem;
    font-weight: bold;
    color: #f7efe1;
}


/* .index-app section 4 ------------------------------------------- */

.index-app .zs-section-4 {
    background-color: #1B1615 !important;
    color: #f7efe1;
}

.index-app .zs-section-4 h1 {
    font-size: 2.2rem !important;
}

.index-app .zs-section-4 .zs-slide-control {
    font-size: 2rem;
    color: #fff;
    /* background-color: rgba(0, 0, 0, 0.2); */
    border-radius: 50%;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 120%;
    transform: translateY(-50%);
    z-index: 1;
}

.index-app .zs-section-4 .zs-carousel-control-prev {
    left: 1px;
}

.index-app .zs-section-4 .zs-carousel-control-next {
    right: 1px;
}

/* .index-app section 5 ------------------------------------------- */

.index-app .zs-section-5 img {
    max-width: 15rem;
}

/* .index-app section 6 ------------------------------------------- */

.index-app .zs-section-6 {
    background-color: #1B1615;
    color: #f7efe1;
}

.index-app .zs-section-6 img {
    max-width: 15rem;
}

/* Horizontal scrolling carousel animation - stepped */
@keyframes scroll-carousel {
    0%, 12.5% {
        transform: translateX(0);
    }
    25%, 37.5% {
        transform: translateX(-420px);
    }
    50%, 62.5% {
        transform: translateX(-840px);
    }
    75%, 87.5% {
        transform: translateX(-1260px);
    }
    100% {
        transform: translateX(-1680px);
    }
}

.carousel-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    cursor: pointer;
}

.carousel {
    display: flex;
    gap: 20px;
    width: max-content;
    transition: transform 0.5s ease-in-out;
}

.carousel-image-container {
    flex-shrink: 0;
    width: 350px;
    height: 275px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.carousel-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.carousel:hover {
    animation-play-state: paused;
}

/* .account-app ============================================================= */



/* .download-app ============================================================= */

.download-app .zs-section-1 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.download-app .zs-section-2 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* .gallery-app ============================================================= */

.masonry {
    column-count: 1;
    column-gap: 1rem;
}

@media (min-width: 576px) {
    .masonry {
        column-count: 1;
    }
}

@media (min-width: 768px) {
    .masonry {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .masonry {
        column-count: 3;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.gallery-app .card-title {
    font-size: 1.1rem;
    color: #1B1615;
    margin-bottom: 0.1rem;
}

.gallery-app .card-body p:nth-child(2) {
    font-size: 0.85rem;
    color: #6C615F;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.gallery-app .card-text.small {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* .gallery-app .card {
    background-color: transparent !important;
} */

.gallery-app .card img {
    width: 100%;
    height: auto;
    display: block;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal-overlay .container-fluid {
    max-width: 95vw;
    max-height: 90vh;
    margin: 0;
    padding: 20px;
}

.z-modal-content {
    color: white;
    height: 100%;
}

.z-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    display: block;
    cursor: pointer;
    object-fit: contain;
}

.modal-info {
    /* background: linear-gradient(transparent, rgba(0,0,0,0.8)); */
    color: white;
    padding: 20px;
    text-align: left;
    flex-shrink: 0;
}

.modal-info h3 {
    margin: 0 0 10px 0;
    font-weight: bold;
}

.modal-info p {
    margin: 0 0 10px 0;
}

.modal-info p:last-child {
    margin: 0;
}

.modal-info .modal-artist {
    font-size: 0.9em;
    opacity: 0.9;
}

.modal-info .modal-description {
    font-size: 0.8em;
    opacity: 0.8;
    line-height: 1.4;
}

.z-modal-content .modal-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.z-modal-content .modal-thumbnails .modal-thumbnail {
    max-width: 60px;
    max-height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.z-modal-content .modal-thumbnails .modal-thumbnail:hover {
    border-color: var(--primary-accent);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.modal-image-container {
    position: relative;
}

.modal-nav-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    padding: 5px 10px;
    border-radius: 15px;
    pointer-events: none;
}

.modal-nav-text {
    color: white;
    font-size: 0.8em;
    white-space: nowrap;
}

/* Mobile font size adjustments for better readability on phones */
@media (max-width: 991px) {
    body {
        font-size: 1.3rem !important;
    }
    
    h1, .index-app section.zs-section-1 h1 {
        font-size: 2.2rem !important;
    }
    
    h2, .index-app section.zs-section-1 h2, .index-app section.zs-section-2 h2 {
        font-size: 1.3rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }
    
    h4 {
        font-size: 1.3rem !important;
    }
    
    h5 {
        font-size: 1.3rem !important;
    }
    
    h6 {
        font-size: 1.3rem !important;
    }
    
    p, .card-text, .gallery-app .card-body p:nth-child(2) {
        font-size: 1.3rem !important;
        line-height: 1.6 !important;
    }
    
    .lead, header .lead {
        font-size: 1.4rem !important;
    }
    
    .btn, button, a.btn {
        font-size: 1.3rem !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    .gallery-app .card-title {
        font-size: 1.4rem !important;
    }
    
    .gallery-app .card-text.small {
        font-size: 1.3rem !important;
    }
    
    .zs-sm-mono {
        font-size: 1.3rem !important;
    }
    
    .index-app .zs-section-4 h1 {
        font-size: 2.2rem !important;
    }
    
    .zs-section-3 .number {
        font-size: 4rem !important;
    }
    
    /* Bootstrap font size utility overrides for mobile */
    .fs-1 {
        font-size: 2.2rem !important;
    }
    
    .fs-2 {
        font-size: 1.8rem !important;
    }
    
    .fs-3 {
        font-size: 1.5rem !important;
    }
    
    .fs-4 {
        font-size: 1.4rem !important;
    }
    
    .fs-5 {
        font-size: 1.3rem !important;
    }
    
    .fs-6 {
        font-size: 1.3rem !important;
    }
}

/* Gallery grid cursor pointer for images */
.gallery-app .card img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.375rem; /* Match Bootstrap card border radius */
}

.gallery-app .card img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Ensure the card container doesn't clip the scaled image */
.gallery-app .card {
    overflow: visible;
    transition: z-index 0.3s ease;
}

.gallery-app .card:hover {
    z-index: 10;
}

.pricing-app table {
    font-size: 1.3rem !important;
}

.pricing-app table th:first-child,
.pricing-app table td:first-child {
    --bs-table-bg: transparent !important;
    /* font-size: 1.3rem !important; */
}

.pricing-app table td:not(:first-child) {
    font-size: 1.0rem !important;
}

.pricing-app table .material-symbols-outlined {
    font-size: 1.3rem !important;
    color: var(--primary-accent);
}

/* Icons --------------------------------------------------- */

@font-face {
    font-family: "Icons";
    src: url("./assets/MaterialSymbolsSharp-VariableFont_FILL,GRAD,opsz,wght.ttf") format("truetype");
    font-style: normal;
}

.material-symbols-outlined {
    font-family: "Icons";
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 1.3rem;
    color: #969595;
    transition: all 0.2s ease;
}
