/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E7D32;
    --secondary-color: #FF8F00;
    --accent-color: #D32F2F;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --font-family: 'Cairo', sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Banner */
.top-banner {
    background: linear-gradient(135deg, #FFC107, #FF9800);
    color: white;
    padding: 12px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.banner-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.banner-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.banner-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
}

.banner-btn.green { background: #4CAF50; color: white; }
.banner-btn.purple { background: #9C27B0; color: white; }
.banner-btn.orange { background: #FF5722; color: white; }
.banner-btn.blue { background: #2196F3; color: white; }
.banner-btn.teal { background: #009688; color: white; }

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 50px;
    z-index: 99;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.logo p {
    color: #666;
    font-size: 0.9rem;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a.cta-nav {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
}

.nav a.cta-nav:hover {
    background: #1B5E20;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #E8F5E8, #F1F8E9);
    padding: 80px 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.feature-icon {
    font-size: 1.2rem;
}

.hero-cta {
    margin-bottom: 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
}

.cta-button.primary {
    background: var(--primary-color);
    color: white;
}

.cta-button.primary:hover {
    background: #1B5E20;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(46, 125, 50, 0.3);
}

.cta-button.secondary {
    background: var(--secondary-color);
    color: white;
}

.cta-button.secondary:hover {
    background: #E65100;
    transform: translateY(-3px);
}

.hero-note {
    color: #666;
    font-style: italic;
}

.hero-image {
    position: relative;
    height: 400px;
}

.fruit-showcase {
    position: relative;
    width: 100%;
    height: 100%;
}

.fruit-img {
    position: absolute;
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

.fruit-1 { top: 20%; left: 20%; animation-delay: 0s; }
.fruit-2 { top: 10%; right: 20%; animation-delay: 0.5s; }
.fruit-3 { bottom: 30%; left: 10%; animation-delay: 1s; }
.fruit-4 { bottom: 20%; right: 30%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--border-radius);
    background: var(--light-bg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--light-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.product-image img {
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.seasonal {
    background: var(--secondary-color);
}

.product-info {
    padding: 25px;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.product-price .price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-family);
}

.cta.add {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
}

.cta.add:hover {
    background: #1B5E20;
    transform: translateY(-2px);
}

.products-note {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 20px;
}

/* How to Order Section */
.how-to-order {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--border-radius);
    background: var(--light-bg);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: var(--light-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stars {
    color: #FFC107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.reviewer {
    font-weight: 600;
    color: var(--primary-color);
}

/* Order Section */
.order-section {
    padding: 80px 0;
    background: var(--white);
}

.order-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

#customerPhone {
    direction: ltr;
    text-align: left;
}

.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-actions .cta-button {
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guarantees li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guarantees i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Order Bar */
.orderbar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    justify-content: center;
    z-index: 1000;
    padding: 0 16px;
}

.orderbar.active {
    display: flex;
}

.orderbar__inner {
    display: flex;
    gap: 12px;
    background: #111;
    color: #fff;
    border-radius: 16px;
    padding: 12px 16px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    font-family: var(--font-family);
    min-width: 320px;
    justify-content: space-between;
}

.orderbar__total {
    font-weight: 800;
    color: #ffd700;
}

.orderbar .cta {
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    font-family: var(--font-family);
    font-size: 1rem;
}

.orderbar .cta:hover {
    background: #1e7e34;
    transform: translateY(-1px);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    font-weight: 600;
}

.whatsapp-float a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Cart Modal */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: var(--primary-color);
}

.item-details {
    color: #666;
    font-size: 0.9rem;
}

.item-price {
    font-weight: 700;
    color: var(--accent-color);
}

.cart-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

/* Offer Modal */
.offer-modal .modal-content {
    max-width: 400px;
}

.offer-content {
    text-align: center;
}

.offer-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.offer-content h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.offer-content p {
    color: #666;
    margin-bottom: 25px;
}

.offer-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#leadPhone {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
    direction: ltr;
    text-align: left;
}

#leadPhone:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .banner-buttons {
        justify-content: center;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .fruit-img {
        width: 80px;
        height: 80px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .products-grid,
    .steps-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-image img {
        max-width: 150px;
        max-height: 150px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .cta-button {
        min-width: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .orderbar {
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        padding: 0;
    }
    
    .orderbar__inner {
        min-width: auto;
        width: 100%;
        padding: 12px 16px;
        gap: 12px;
        font-size: 0.95rem;
    }
    
    .orderbar .cta {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        bottom: 80px;
        left: 15px;
    }
    
    .whatsapp-float a {
        padding: 12px 16px;
    }
    
    .whatsapp-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .product-card {
        margin: 0 10px;
    }
    
    .orderbar__inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px 12px;
    }
    
    .orderbar .cta {
        width: 100%;
        text-align: center;
        padding: 12px;
        margin-top: 4px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.hidden { display: none !important; }
.visible { display: block !important; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-20 { padding: 20px; }

