@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
    /* 1. Sector Colors (From Manual) */
    --alhana-dairy-blue: #0099FF;
    --alhana-dairy-dark: #0076BE;
    --alhana-dairy-light: rgba(0, 153, 255, 0.05);

    --alhana-food-green: #2ECC71;
    --alhana-food-dark: #27AE60;
    --alhana-food-light: rgba(46, 204, 113, 0.05);

    --alhana-juice-orange: #FF9F43;
    --alhana-juice-dark: #F39C12;
    --alhana-juice-light: rgba(255, 159, 67, 0.05);

    /* 2. Neutral Palette */
    --alhana-white: #FFFFFF;
    --alhana-off-white: #F9FAFB;
    --alhana-black: #0F172A;
    --alhana-grey-dark: #334155;
    --alhana-grey-medium: #64748B;
    --alhana-grey-light: #E2E8F0;

    /* 3. Global Semantic */
    --primary-color: var(--alhana-dairy-blue);
    --secondary-color: var(--alhana-food-green);
    --accent-color: var(--alhana-juice-orange);

    /* 4. Elevations */
    --sh-soft: 0 10px 30px rgba(15, 23, 42, 0.04);
    --sh-medium: 0 15px 45px rgba(0, 118, 190, 0.08);
    --sh-glow-blue: 0 12px 30px rgba(0, 153, 255, 0.25);
    --sh-glow-green: 0 12px 30px rgba(46, 204, 113, 0.25);
    --sh-glow-orange: 0 12px 30px rgba(255, 159, 67, 0.25);
    --grad-white-glow: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
    --grad-dairy: linear-gradient(135deg, #0099FF 0%, #0066CC 100%);

    /* 5. Radius */
    --rad-md: 20px;
    --rad-lg: 32px;
    --rad-full: 9999px;
}

/* Global Reset */
body {
    background-color: var(--alhana-off-white);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--alhana-grey-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Alexandria', sans-serif;
    font-weight: 700;
    color: var(--alhana-black);
}

/* Home Hero (Index) */
.alhana-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -1px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.alhana-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0, 153, 255, 0.85), rgba(0, 96, 172, 0.5));
}

.alhana-hero__badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.alhana-hero__title {
    font-family: 'Alexandria', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

.alhana-hero__lead {
    font-size: 1.25rem;
    max-width: 600px;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .alhana-hero {
        min-height: 70vh;
    }

    .alhana-hero__lead {
        font-size: 1.05rem;
    }
}

/* --- ✨ Modern Buttons --- */
.btn-alhana {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--rad-full);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    text-decoration: none;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.btn-alhana:hover {
    transform: scale(1.05) translateY(-3px);
    color: white !important;
}

.btn-alhana.primary {
    background: var(--grad-dairy);
    color: white;
    box-shadow: var(--sh-glow-blue);
}

.btn-alhana.secondary {
    background: linear-gradient(135deg, var(--alhana-food-green), var(--alhana-food-dark));
    color: white;
    box-shadow: var(--sh-glow-green);
}

.btn-alhana.accent {
    background: linear-gradient(135deg, var(--alhana-juice-orange), var(--alhana-juice-dark));
    color: white;
    box-shadow: var(--sh-glow-orange);
}

.btn-alhana.sm {
    padding: 8px 20px;
    font-size: 13px;
}

/* --- 🍲 Alhana Cards --- */
.alhana-card {
    background: var(--alhana-white);
    border-radius: var(--rad-lg);
    box-shadow: var(--sh-soft);
    border: 1px solid transparent;
    transition: all 0.5s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.alhana-card.flat {
    display: block;
    height: auto;
}

.alhana-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-medium);
    border-color: rgba(0, 153, 255, 0.1);
}

.card-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.alhana-card:hover .card-img-wrap img {
    transform: scale(1.1);
}

.card-body {
    padding: 25px;
}

.card-footer {
    padding: 0 25px 25px;
}

/* --- 🎨 Utility Shapes & Colors --- */
.organic-shape {
    position: relative;
    overflow: hidden;
}

.organic-shape::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.blue-light {
    background-color: var(--alhana-dairy-light);
}

.green-light {
    background-color: var(--alhana-food-light);
}

.orange-light {
    background-color: var(--alhana-juice-light);
}

/* --- 🎭 Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky Header Enhancement */
.sticky-bar.stick {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: var(--sh-soft) !important;
}

.brand-logo-glow {
    position: relative;
    display: inline-block;
}

.brand-logo-glow img {
    position: relative;
    z-index: 2;
}

.brand-logo-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--grad-white-glow);
    z-index: 1;
}

/* Correcting RTL Alignment Issues */
.ml-auto {
    margin-right: auto !important;
    margin-left: unset !important;
}

.mr-auto {
    margin-left: auto !important;
    margin-right: unset !important;
}

/* Stats Card Specifics */
.stat-item {
    padding: 20px;
    border-radius: var(--rad-md);
    text-align: center;
    transition: 0.3s;
}

.stat-item h4 {
    font-size: 0.9rem;
    color: var(--alhana-grey-medium);
    margin-bottom: 5px;
}

.stat-item strong {
    font-size: 1.5rem;
    color: var(--alhana-dairy-blue);
    font-weight: 800;
}
/* --- ?? Recipe Specific Enhancements --- */
.recipe-ing-section h5.recipe-ing-name { font-size: 1.1rem; position: relative; padding-bottom: 15px; }
.recipe-ing-section h5.recipe-ing-name::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 3px; background: var(--alhana-dairy-blue); border-radius: 10px; }
.step-item { transition: all 0.3s ease; border: 1px solid transparent; }
.step-item:hover { border-color: rgba(0, 153, 255, 0.2); transform: translateX(-5px); background: var(--alhana-white) !important; box-shadow: var(--sh-medium) !important; }
.product-rate .fi-rs-star { font-size: 14px; }
.tag-cloud a { transition: all 0.3s ease; text-decoration: none; }
.tag-cloud a:hover { background: var(--alhana-dairy-blue) !important; color: white !important; }

/* --- ?? Premium Detail Enhancements --- */
.detail-gallery-wrap { perspective: 1000px; }
.play-btn-premium { width: 70px; height: 70px; background: white; color: var(--alhana-dairy-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 15px 35px rgba(0, 153, 255, 0.3); transition: 0.4s; }
.play-btn-premium:hover { transform: scale(1.1) rotate(5deg); background: var(--alhana-dairy-blue); color: white; }
.recipe-main-title { font-family: 'Alexandria', sans-serif; font-weight: 800; color: #0F172A; }
.btn-premium-outline { padding: 10px 25px; border: 1.5px solid var(--alhana-grey-light); border-radius: 12px; color: var(--alhana-grey-dark); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.btn-premium-outline:hover { border-color: var(--alhana-dairy-blue); color: var(--alhana-dairy-blue); background: var(--alhana-dairy-light); }
.premium-step-card { border: 1px solid transparent; }
.premium-step-card:hover { border-color: rgba(0, 153, 255, 0.1); }
