/* ========================================================= */
/* ===== PAGE BACKGROUND (full page) ======================== */
/* ========================================================= */

.page-bg {
    background-image: url("/static/breadWebBG.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ========================================================= */
/* ===== BODY =============================================== */
/* ========================================================= */

body {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: auto;
    direction: rtl;
    text-align: right;
    height: 100vh;
    overflow: hidden;
    padding: 0;
}

/* ========================================================= */
/* ===== CONTENT WRAPPER (scrollable content) =============== */
/* ========================================================= */

.content-wrapper {
    height: 75vh;
    overflow-y: scroll;
    overflow-x: hidden;

    /* ⭐ REAL spacing before the title */
    padding-top: calc(18vh + 10px);

    /* other padding */
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 385px; /* tail for contact section */

    background: transparent;
    position: relative;
    z-index: 1; /* BELOW masks */
}

.phone-number {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

/* ========================================================= */
/* ===== MAIN TITLE ========================================= */
/* ========================================================= */

h1 {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #3a2f2f;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
}

/* ========================================================= */
/* ===== SECTION TITLES ===================================== */
/* ========================================================= */

h2 {
    font-size: 32px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #3a2f2f;
    display: flex;
    align-items: center;
}

/* ========================================================= */
/* ===== SECTION ICON ======================================= */
/* ========================================================= */

.section-icon {
    width: 40px;
    height: auto;
    margin-left: 10px;
}

/* ========================================================= */
/* ===== GALLERY ============================================ */
/* ========================================================= */

.gallery {
    margin-top: 160px; /* extra spacing above gallery */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 40px;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 8px rgba(0,0,0,0.25);
    box-sizing: border-box;
}

/* ========================================================= */
/* ===== CONTACT SECTION ==================================== */
/* ========================================================= */

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-icon {
    width: 28px;
    height: 28px;
    margin-left: 10px;
    border-radius: 6px;
}

.contact-item span {
    font-size: 22px;
    font-weight: bold;
    color: #2a1f1f;
}

/* ========================================================= */
/* ===== MASKS USING BACKGROUND IMAGE ======================= */
/* ========================================================= */

/* ===== TOP MASK (NO FADE) ===== */
.top-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 18vh;

    background-image: url("/static/breadWebBG.jpg");
    background-size: cover;
    background-position: top center;

    -webkit-mask-image: none;
    mask-image: none;

    pointer-events: none;
    z-index: 100;
}

/* ===== BOTTOM MASK (FADE INTO BACKGROUND IMAGE) ===== */
.content-mask {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;

    background-image: url("/static/breadWebBG.jpg");
    background-size: cover;
    background-position: bottom center;

    -webkit-mask-image: linear-gradient(
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,1) 100%
    );
    mask-image: linear-gradient(
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,1) 100%
    );

    pointer-events: none;
    z-index: 100;
}
