/* Basic Setup & Vazirmatn Font */
body {
    font-family: 'Vazirmatn', sans-serif !important;
    margin: 0;
    padding: 0;
    background-color: #fdfdfd;
    color: #333;
}
h1,h2,h3,h4,h5{
        font-family: 'Vazirmatn', sans-serif !important;
}

/* Recipe Grid Styling */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.recipe-card {
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-card .card-text {
    padding: 15px;
}

/* Recipe Detail Page - Scroll-Over Effect */
.recipe-detail-container {
    position: relative;
}

.recipe-header-image {
    height: 70vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* This is the key for the fixed effect */
}

.recipe-content {
    position: relative;
    z-index: 2;
    background-color: #fdfdfd;
    padding: 40px;
    margin-top: -50px;
    /* Pulls the content up over the image */
    border-radius: 20px 20px 0 0;
    /* The fade effect at the top */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

/* Landing Page Styling */
.landing-container {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background::after {
    /* Dark overlay for text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-content {
    color: white;
    padding: 20px;
}

.landing-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.landing-content p {
    font-size: 1.2rem;
    max-width: 500px;
}

/* ======================================== */
/* New Floating Bottom Navigation Bar Styles */
/* ======================================== */

.sticky-bottom-nav {
    /* Positioning */
    position: fixed;
    bottom: 20px;
    /* Lifts it from the bottom edge */
    left: 50%;
    transform: translateX(-50%);
    /* The standard way to center a fixed element */
    z-index: 1000;

    /* Floating Appearance */
    width: auto;
    /* Width will be determined by its content */
    background-color: rgba(255, 255, 255, 0.75);
    /* Semi-transparent background */
    backdrop-filter: blur(10px);
    /* The "frosted glass" effect */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari support */
    border-radius: 50px;
    /* Creates the "pill" shape */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    /* A soft shadow to make it float */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* A subtle border for the glass effect */

    /* Flexbox layout for the links */
    display: flex;
    padding: 8px;
    /* Inner space around the links */
    gap: 8px;
    /* Space between the links */
}

/* Styling for the links inside the nav */
.sticky-bottom-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 12px 24px;
    /* Makes the tap area larger */
    border-radius: 40px;
    /* Rounded shape for the link itself */
    transition: background-color 0.2s ease-in-out;
}
a
/* Style for when you hover over a link or if it's the active page */
.sticky-bottom-nav a:hover,
.sticky-bottom-nav a.active {
    background-color: rgba(0, 0, 0, 0.05);
    /* A subtle highlight */
}