/* Base Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'NewRudaw', Arial, sans-serif;
}

@font-face {
    font-family: 'NewRudaw';
    src: url('assets/fonts/NewRudaw-Bold.eot');
    src: url('assets/fonts/NewRudaw-Bold.eot?#iefix') format('embedded-opentype'), url('assets/fonts/NewRudaw-Bold.woff2') format('woff2'), url('assets/fonts/NewRudaw-Bold.woff') format('woff'), url('assets/fonts/NewRudaw-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap
}


:root {
    --primary-color: #cfab7c;
    --secondary-color: #fde2b5;
    --dark-color: #333;
    --light-color: #f9f9f9;
    --accent-color: #E65100;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header and Navigation */
header {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.leaf-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

.cart {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

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

.cart.added::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.slide-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

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

.slide-content {
    position: relative;
    max-width: 600px;
    padding: 0 20px;
    margin-left: 10%;
    margin-right: 10%;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    z-index: 10;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide.active .slide-content h1 {
    opacity: 1;
    transform: translateY(0);
}

.slide-content span {
    color: var(--primary-color);
}

.slide-content p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.slide.active .slide-content p {
    opacity: 1;
    transform: translateY(0);
}

.slide-content .cta-button {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.7s, transform 0.5s ease 0.7s,
        background-color 0.3s ease, box-shadow 0.3s ease;
}

.slide.active .slide-content .cta-button {
    opacity: 1;
    transform: translateY(0);
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Featured Nuts Section */
.featured {
    background-color: white;
    padding: 80px 20px;
    text-align: center;
}

.featured h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.featured h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.nuts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1480px;
    margin: 0 auto;
}

.nut-item {
    background-color: white;
    border-radius: 200px !important;
    padding: 20px;
    width: 220px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nut-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}


.step-image {
    /* background-color: var(--primary-color) !important; */
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    margin: 0 auto 20px !important;
    position: relative !important;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3) !important;
}

.step-image::before {
    content: '' !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 2px dashed var(--primary-color) !important;
    animation: spin 20s linear infinite !important;
    opacity: 0.6 !important;
    padding: 35px;
}


.nut-image {
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    border: 2px solid var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease !important;
}

.nut-item:hover .nut-image {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.nut-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 60%, rgba(76, 175, 80, 0.15) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nut-item:hover .nut-image::before {
    opacity: 1;
}

.nut-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nut-item:hover .nut-image img {
    transform: scale(1.1);
}

.nut-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.nut-item p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

.add-cart {
    background-color: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 15px;
    right: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.add-cart:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.add-cart.added {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* About Section */
.about {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.about-content p {
    margin: 30px 0;
    color: #555;
}

/* Process Section */
.process {
    background-color: var(--light-color);
    padding: 80px 20px;
    text-align: center;
}

.process h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background-color: white;
    border-radius: 20px;
    padding: 40px 30px;
    flex: 1;
    max-width: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.step-icon {
    background-color: var(--primary-color) !important;
    color: white !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    margin: 0 auto 20px !important;
    position: relative !important;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3) !important;
}

.step-icon::before {
    content: '' !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 2px dashed var(--primary-color) !important;
    animation: spin 20s linear infinite !important;
    opacity: 0.3 !important;
    padding: 35px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step p {
    color: #777;
}

/* Testimonial Section */
.testimonial {
    background-color: white;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 3rem;
    opacity: 0.2;
    position: absolute;
    top: 60px;
    left: 20px;
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
    transition: opacity 0.3s ease;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-nav button {
    background: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.testimonial-nav button:first-child {
    opacity: 1;
}

.testimonial-nav button:hover {
    opacity: 1;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
}

.newsletter button {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 0 30px 30px 0;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #d84315;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Footer Section */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-nav a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

footer p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    background-color: var(--light-color);
    padding: 80px 20px;
    text-align: center;
}

.gallery-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.gallery-header h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.gallery-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.gallery-header p {
    color: #555;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    aspect-ratio: 1 / 1;
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    color: white;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 992px) {

    .hero,
    .about {
        flex-direction: column;
        text-align: center;
    }

    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
    }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: auto;
        background-color: white;
        flex-direction: column;
        padding: 10px 10px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
        text-align: center;
        gap: 10px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nuts-container {
        gap: 15px;
    }

    .nut-item {
        width: 45%;
    }

    .about {
        padding: 60px 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .nut-item {
        width: 100%;
        max-width: 280px;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }

    .newsletter form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter input,
    .newsletter button {
        border-radius: 30px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Lightbox for Gallery */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: block;
    opacity: 1;
}

.lightbox-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    object-fit: contain;
}

.lightbox.active .lightbox-content {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #f1f1f1;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-caption {
    margin: auto;
    width: 80%;
    text-align: center;
    color: white;
    padding: 10px 0;
    height: 50px;
    font-size: 1.2rem;
    font-weight: 500;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    box-sizing: border-box;
    z-index: 2001;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.lightbox-prev {
    transform: translateY(-50%);
}

.lightbox-next {
    transform: translateY(-50%);
}

/* RTL support for lightbox */
html[dir="rtl"] .lightbox-close {
    right: auto;
    left: 25px;
}

html[dir="rtl"] .lightbox-prev i,
html[dir="rtl"] .lightbox-next i {
    transform: scaleX(-1);
}