/* =========================
   HARD FIX: Force Donate button visible on mobile
   ========================= */

@media (max-width: 768px) {

    /* Force ALL standalone buttons visible */
    a.btn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Specifically target Donate button */
    a[href="donate/index.php"] {
        display: flex !important;
        width: 100% !important;
        margin-top: 2rem !important;
        justify-content: center;
        align-items: center;
        z-index: 9999 !important;
        position: relative !important;
    }

    /* Kill parent clipping */
    .hero,
    .hero-section,
    .give-back,
    .container,
    .center {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }
}

   .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../../images/stock/unsplash-1490645935967-10de6ba17061.jpg');
            background-size: cover;
            background-position: center;
        }

        .nutrition-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }
        .hero-adventure .lead {
    color: #ffffff;
}
.hero-adventure .lead {
    color: #ffffff;
}


        .nutrition-header {
            height: 240px;
            background-size: cover;
            background-position: center;
            transition: transform 0.5s ease;
        }

        .nutrition-card:hover .nutrition-header {
            transform: scale(1.05);
        }

        .nutrition-body {
            padding: 2rem;
            position: relative;
            background: white;
            z-index: 1;
        }

        .tag-list {
            display: flex;
            gap: 10px;
            margin-bottom: 1rem;
        }

        .tag {
            background: #eee;
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 4px;
            text-transform: uppercase;
        }

        .macro-chart {
            display: flex;
            height: 20px;
            border-radius: 10px;
            overflow: hidden;
            margin: 1rem 0;
        }

        .macro-p {
            background: #e74c3c;
            width: 30%;
        }

        .macro-c {
            background: #f1c40f;
            width: 50%;
        }

        .macro-f {
            background: #3498db;
            width: 20%;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 0;
            border: 1px solid #888;
            width: 90%;
            max-width: 700px;
            border-radius: 12px;
            position: relative;
            animation: fadeIn 0.3s;
        }

        @keyframes  fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .close-modal {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            position: absolute;
            right: 20px;
            top: 15px;
            cursor: pointer;
            z-index: 10;
        }

        .close-modal:hover,
        .close-modal:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }

        .modal-header-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }

        .modal-body {
            padding: 2rem;
        }

        .recipe-meta {
            margin-bottom: 2rem;
            color: #666;
            font-size: 0.9rem;
            display: flex;
            gap: 1.5rem;
        }

        .recipe-meta i {
            color: var(--color-primary);
            margin-right: 5px;
        }

        .ingredient-list {
            margin-bottom: 2rem;
            list-style: none;
        }

        .ingredient-list li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }

        .ingredient-list li:before {
            content: "•";
            color: var(--color-primary);
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
        }

        .instructions ol {
            padding-left: 1.5rem;
        }

        .instructions li {
            margin-bottom: 1rem;
            line-height: 1.6;
        }
.hero .lead {
    color: #ffffff !important;
}

        .view-recipe-btn {
            display: block;
            width: 100%;
            padding: 12px;
            background: transparent;
            border: 2px solid var(--color-primary);
            color: var(--color-primary);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1rem;
            font-family: inherit;
        }

        .view-recipe-btn:hover {
            background: var(--color-primary);
            color: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
.guide-btn{
    margin-top:1rem;
    background:var(--color-primary);
    color:#fff;
    border:none;
    padding:0.75rem 1.4rem;
    border-radius:10px;
    font-weight:600;
    font-size:0.95rem;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:all .3s ease;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.guide-btn:hover{
    background:#000;
    transform:translateX(4px);
}
.hero {
    background:
        linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.75)),
        url('../../../images/stock/unsplash-1490645935967-10de6ba17061.jpg')
        center / cover no-repeat;
}



.checklist-item i{color:var(--color-primary);}
