/* * FRUITS PAGE STYLES — REFINED
 * Ultimate Override for Nav and Footer Colors
 */

:root {
    --fruits-bg: #fffbf9;
    --fruits-primary: #e56b9c;
    --fruits-secondary: #ff8c42;
    --fruits-dark: #2d1a1a;
    --fruits-accent: #74b9ff;
    
    /* تدرج الألوان الرئيسي للهيرو والنافبار والفوتر */
    --fruits-hero-gradient: linear-gradient(90deg, #ff8c42 0%, #e56b9c 40%, #8a5a8f 70%, #4a4869 100%);
    
    --card-radius: 40px;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── BASE SETUP ── */
body.fruits-body {
    margin: 0;
    padding: 0;
    background: var(--fruits-bg) !important;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    color: var(--fruits-dark);
    cursor: default;
}

.cursor-dot, .cursor-outline {
    display: none !important;
}

body.fruits-body a, 
body.fruits-body button, 
body.fruits-body .btn-pill, 
body.fruits-body .fruit-card {
    cursor: pointer;
}

/* ── NAVBAR OVERRIDE (القوة الغاشمة لفرض اللون) ── */
body.fruits-body .fruits-nav-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* الحالة الشفافة في أعلى الصفحة */
body.fruits-body header,
body.fruits-body .navbar,
body.fruits-body nav {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.4s ease;
}

/* حالة النزول (Scrolled) - مسح الأخضر وفرض التدرج */
body.fruits-body header.scrolled,
body.fruits-body .navbar.scrolled,
body.fruits-body nav.scrolled,
body.fruits-body .fruits-nav-wrapper.scrolled header,
body.fruits-body .fruits-nav-wrapper.scrolled .navbar {
    background-color: transparent !important;
    background-image: var(--fruits-hero-gradient) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* ── FOOTER OVERRIDE ── */
body.fruits-body footer,
body.fruits-body .site-footer {
    background-color: transparent !important;
    background-image: var(--fruits-hero-gradient) !important;
    border-top: none !important;
}

/* ── 1. HERO SECTION ── */
.fruits-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.fruits-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--fruits-hero-gradient);
    z-index: 0;
}

.fruits-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    mix-blend-mode: overlay;
}

#fruits-3d-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#fruits-3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.fruits-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    pointer-events: none;
    transform: translateY(-5vh);
}

.fruits-title {
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 800;
    margin: 0;
    line-height: 0.9;
    letter-spacing: -4px;
    background: linear-gradient(to bottom, #ffffff, #ffe0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.fruits-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 400;
    margin-top: 20px;
    opacity: 0.9;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ── WAVE DIVIDER ── */
.fruits-wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.fruits-wave-divider svg {
    display: block;
    width: 100%;
    height: 150px;
}

.fruits-wave-divider .shape-fill {
    fill: var(--fruits-bg);
}

/* ── 2. PRODUCTS SECTION ── */
.fruits-products {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--fruits-bg), #fff0f5);
    position: relative;
    z-index: 5;
}

.fruits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.fruits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* ── 3. PILL CARDS ── */
.fruit-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 280px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(45, 26, 26, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(229, 107, 156, 0.05);
    text-decoration: none;
}

.fruit-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px rgba(229, 107, 156, 0.15);
    border-color: rgba(229, 107, 156, 0.2);
}

.fruit-card-img {
    flex: 0 0 42%;
    position: relative;
    background: linear-gradient(45deg, #fff5f5, #ffffff);
    overflow: hidden;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.in-season-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--fruits-primary);
    color: white;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(229, 107, 156, 0.2);
}

.fruit-card-img img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.fruit-card:hover .fruit-card-img img {
    transform: scale(1.15) rotate(5deg);
}

.fruit-card-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.fruit-season {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--fruits-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.fruit-card-info h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--fruits-dark);
    margin: 0 0 12px 0;
    letter-spacing: -1px;
}

.fruit-card-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0 0 25px 0;
}

.btn-pill {
    align-self: flex-start;
    background: var(--fruits-primary);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(229, 107, 156, 0.3);
}

.btn-pill:hover {
    background: var(--fruits-dark);
    transform: translateX(5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* ── 4. RESPONSIVE ── */
@media (max-width: 1024px) {
    .fruits-grid { gap: 25px; }
    .fruit-card { height: 250px; }
    .fruit-card-info h3 { font-size: 1.8rem; }
}

@media (max-width: 850px) {
    .fruits-grid { grid-template-columns: 1fr; max-width: 550px; margin: 0 auto; }
    .fruit-card { height: 220px; }
}

@media (max-width: 600px) {
    .fruits-hero { min-height: 600px; }
    .fruit-card { flex-direction: column; height: auto; border-radius: 30px; }
    .fruit-card-img { height: 200px; padding: 30px; }
    .fruit-card-info { padding: 30px; text-align: center; align-items: center; }
    .btn-pill { align-self: center; }
    .fruits-wave-divider svg { height: 80px; }
}

/* ── 5. ANIMATIONS ── */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 1, 0.3, 1), transform 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}