/* ========================
   COLOR VARIABLES
======================== */
:root {
    --bg: #fff8f0;
    /* Light cream background */
    --text: #1a1a1a;
    /* Dark text for readability */
    --card: #ffffff;
    /* Card background in light mode */
    --accent: #aa323e;
    /* Red accent */
    --drop_shawdow: rgba(0, 0, 0, 0.2);
    --bg_img: url(../images/FlowerBackground.jpg);
    --nav-bg: #aa323e;
    --nav-text: #1a1a1a;
    --RanD: rgba(90, 91, 92, 0.682);
    --img: url(../images/Kosher_icon.webp)
}


.dark-mode {
    --bg: #1a1a1a;
    --text: #f5f5f5;
    --card: #2a2a2a;
    --accent: #aa323e;
    --drop_shawdow: rgba(255, 255, 255, 0.433);
    --bg_img: url(../images/Inverted.jpg);
    --nav-bg: #aa323e;
    --nav-text: #ffffff;
    --RanD: rgba(205, 211, 218, 0.682);
    --img: url(../images/K_Inverted.webp)
}

/* ========================
   GENERAL STYLING
======================== */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    /* background-color: var(--bg); */
    background-image: var(--bg_img);
    color: var(--text);

}



header {
    background-color: var(--accent);
    color: var(--text);
    padding: 2rem 1rem;
}

section {
    background-color: var(--bg);
    color: var(--text);
    padding: 3rem 1rem;
    border: 3px solid #f57622;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

nav a {
    color: var(--text);

}

#RanD{
color: var(--RanD);
box-shadow: var(--drop_shawdow);


}

#callButton {
    background-color: var(--accent);
    color: var(--text);
}

#callButton a {
    color: var(--text);
    text-decoration: none;
}

#callButton a:hover {
    text-decoration: underline;
}

.navbar-collapse-custom {
    display: flex;
    /* visible by default on desktop */
    flex-direction: row;
    align-items: center;
}

.custom-navbar {
    background-color: var(--nav-bg);
    color: var(--nav-text);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    box-shadow: var(--drop_shawdow);
    transition: all 0.3s ease;
}

.nav-small {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

.custom-navbar .navbar-brand,
.custom-navbar .navbar-link {
    color: var(--nav-text);
}

.custom-navbar .nav-link:hover {
    color: var(--card);
    text-decoration: underline;
    font-size: 3rem;
}

.navbar-toggler {
    border-color: var(--nav-text);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.dark-mode .navbar-toggler-icon {
    filter: invert(1);
}

footer {
    background-color: var(--accent);
    color: var(--text);
}

footer a {
    color: var(--text);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

a {
    color: var(--text);
}

/* ========================
   CARD STYLING
======================== */
.card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--card);
    color: var(--text);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px var(--drop_shawdow);
}

#Seven{
text-decoration: none;
color: steelblue;

}

#Seven:hover{
    text-decoration: underline;
}

#Seven:visited{
color: lightsalmon;

}

#Chabad{
text-decoration: none;
color: steelblue;

}

#Chabad:hover{
text-decoration: underline;
}

#Chabad:visited{
color: lightsalmon;
}

img.card-img-top {
    height: 200px;
    object-fit: cover;
}

img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

/* ========================
   RESPONSIVE / MOBILE
======================== */
@media (max-width: 768px) {

    h1,
    .display-1,
    .display-4 {
        font-size: 2.2rem;
    }

    h2,
    .display-5 {
        font-size: 1.7rem;
    }

    header {
        padding: 1.5rem 1rem;
    }

    .card {
        border-radius: 1.25rem;
        box-shadow: 0 10px 25px var(--drop_shawdow);
    }

    .card-body {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.3rem;
        font-weight: 700;
    }

    .card-text {
        font-size: 1rem;
    }

    .fw-bold {
        font-size: 1.2rem;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    section {
        padding: 2rem 1rem !important;
    }

    iframe {
        height: 250px;
    }

    footer {
        background-color: var(--accent);
        color: var(--text);

    }

    footer a {
        color: var(--text);
        text-decoration: none;
    }

    footer a:hover {
        text-decoration: underline;
    }



    .navbar-collapse-custom {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 0.5rem;
    }

    .navbar-collapse-custom.show {
        display: flex;
    }

    .custom-navbar .nav-link:hover {
        color: var(--card);
        text-decoration: underline;
        font-size: 2rem;
    }



}