/* brand color: #114934 */
@font-face {
    font-family: playful;
    src: url(../fonts/playfair-display/PlayfairDisplay-BoldItalic.ttf);
}

@font-face {
    font-family: roboto;
    src: url(../fonts/Roboto-VariableFont_wdth\,wght.ttf);
}

/* ===== Global Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: roboto;
    overflow-x: hidden;
}

:root {
    --site_theme: #114934;
    --page_background: rgba(212, 175, 55, 0.1);

}

/* ===== Typography ===== */
#site_name {
    text-shadow: 2px 2px 4px var(--site_theme);
}

.text_theme_color {
    color: var(--site_theme);
}

/* ===== Buttons ===== */
.btn_cta {
    text-decoration: none;
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
    border: none;
    outline: none;
    transition: all 0.6s ease-in-out;
}

@media (max-width: 991px) {
    .btn_cta {
        display: block;
        width: 10rem;
        padding: 0.5rem 0;
        text-align: center;
        margin-bottom: 3rem;
    }
}

.btn_cta_white {
    background: rgb(255, 255, 255);
    color: var(--site_theme);

}

.btn_cta_white:hover {
    background: var(--site_theme);
    color: rgb(255, 255, 255);
}

.btn_cta_green {
    background: var(--site_theme);
    color: rgb(255, 255, 255);
}

.btn_cta_green:hover {
    background: rgb(255, 255, 255);
    color: var(--site_theme);

}

/* ===== Navigation ===== */
#site_navigation {
    position: absolute;
    top: 1rem;
    left: 50%;
    z-index: 100;
    width: 60vw;
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
}

/* Tablet + Mobile */
@media (max-width: 1199px) {
    #site_navigation {
        position: static;
        transform: translateX(0);
        width: 100vw;
        border-radius: 0;
    }
}

/* Mobile navbar background */
@media (max-width: 500px) {
    .navbar_collapse {
        background: var(--site_theme);
        border-bottom-left-radius: 0.52rem;
        border-bottom-right-radius: 0.52rem;
    }
}

.hidden {
    display: none;
}

/* Remove Bootstrap button focus styling */
#menu_button:focus,
#menu_button:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

#nav_logo {
    height: 3rem;
}

/* ===== Navigation Links ===== */
.nav_link {
    position: relative;
    transition: all 0.6s ease-in-out;
}

.nav_link_white::after {
    background-color: var(--site_theme);
}

.nav_link_primary::after {
    background-color: rgb(13, 110, 253);
}

.nav_link::after {
    content: "";
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -1px;
    transform: scale(0);
    transition: transform 0.6s ease-in-out;
}

.nav_link:hover::after {
    transform: scale(1);
}

/* ===== hero===== */
#hero {
    position: relative;
    min-height: 100vh;
}

@media (max-width: 991px) {
    #hero {
        position: relative;
        min-height: 80vh;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    #hero {
        position: relative;
        min-height: 110vh;
    }
}

#hero_bg_carousel {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100vh;
    z-index: 1;
}

@media (max-width: 991px) {
    #hero_bg_carousel {
        min-height: 80vh;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    #hero_bg_carousel {
        min-height: 110vh;
    }
}

#hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100vh;
    background: linear-gradient(180deg,
            rgba(212, 175, 55, 0.5) 0%,
            rgba(15, 81, 50, 0.5) 100%);
    z-index: 5;
}

@media (max-width: 991px) {
    #hero_overlay {
        min-height: 80vh;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    #hero_overlay {
        min-height: 110vh;
    }
}

.carousel_img {
    height: 100vh;
}

@media (max-width: 991px) {
    .carousel_img {
        height: 80vh;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    .carousel_img {
        min-height: 110vh;
    }
}

#hero_content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

#hero_content_row {
    min-height: 100vh;
}

@media (max-width: 991px) {
    #hero_content_row {
        min-height: 80vh;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    #hero_content_row {
        min-height: 110vh;
    }
}

#hero_lower_content {
    position: absolute;
    bottom: 0%;
    left: 0;
    width: 100vw;
    z-index: 10;
    background: linear-gradient(180deg,
            rgba(212, 175, 55, 0.9) 0%,
            rgba(15, 81, 50, 0.9) 100%),
        url(../images/bg/arabian.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* ===== about snapshot ===== */
#about_snapshot {
    background: var(--page_background);
}

.about_cards {
    /* border: 2px solid var(--site_theme); */
    border-radius: 1rem;
    transition: all 0.4s ease-in-out;
    background: rgb(255, 255, 255);
}

.about_cards:hover {
    transform: translateY(-3px);
    box-shadow: 3px 3px 5px var(--site_theme);
    background: var(--page_background);
}

.card_images {
    height: 10rem;
}

/* ===== masjid project banner ===== */
#project_overview {
    position: relative;
}

#project_overview_background, #footer_background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(212, 175, 55, 0.9) 0%,
            rgba(15, 81, 50, 0.9) 100%),
        url(../images/bg/arabian.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -5;
}

#masjid_project_img {
    height: 15rem;
    width: auto;
    opacity: 0.7;
}

/* ===== get involved ===== */
#get_involved {
    background: var(--page_background);
}

/* ===== message from the chair ===== */
#chairman_image {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
}

/* ===== contact snapshot ===== */
#contact_snapshot iframe {
    height: 100%;
    width: 100%;
}

#the_message {
    resize: none;
    height: 10rem;
}

.contact_card{
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow:
        0 10px 30px rgba(15, 81, 50, 0.08),
        0 0 0 1px rgba(212, 175, 55, 0.1);
    transition: all .3s ease;
}

.contact_card:hover{
    transform: translateY(-5px);
    box-shadow:
        0 15px 40px rgba(15, 81, 50, 0.15),
        0 0 0 1px rgba(212, 175, 55, 0.25);
}

#contact_snapshot iframe{
    width:100%;
    height:100%;
    min-height:400px;
    border-radius:15px;
    filter: grayscale(20%);
    transition:.4s;
}

#contact_snapshot iframe:hover{
    filter: grayscale(0%);
}

/* ===== footer ===== */
footer {
    background: var(--page_background);
    position: relative;
}

#footer_logo{
    height: 5rem;
    width: 5rem;
}

/* ===== our story panel ===== */
.postcard{
    background:#fff;
    border-radius:20px;
    overflow:hidden;

    box-shadow:
        0 15px 40px rgba(0,0,0,.08);

    border:1px solid rgba(0,0,0,.05);

    transform:rotate(-1deg);
}

.postcard:hover{
    transform:rotate(0deg);
    transition:.4s;
}

.postcard-image{
    height:350px;

    background:
        linear-gradient(
            rgba(212,175,55,.20),
            rgba(15,81,50,.20)
        ),
        url("../images/building.jpeg");

    background-size:cover;
    background-position:center;
}

.postcard-message{
    padding:3rem;
}

.postcard-stamp{
    position:relative;

    border-left:2px dashed #d4af37;

    display:flex;
    justify-content:center;
    align-items:center;
}

.stamp{
    width:120px;
    height:120px;

    border:3px solid #d4af37;
    border-radius:10px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    transform:rotate(-10deg);

    font-weight:700;
    color:#0f5132;
}