/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700;900&family=Tajawal:wght@400;500;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.7;
    color: #495057;
    background-color: #fdfdff;
    direction: rtl;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: right;
    justify-content: right;
}

.main-header {
    /* background-color: #fff; */
    border-radius: 50px;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10); */
    padding: 0.75rem 0;
    width: 80%;
    max-width: 900px;
    margin: 0 0 0 auto;
    position: static;
    transition: background-color 0.3s ease;
    color: #333;
}

.main-header.hide {
    display: none !important;
}

.main-header.unfixed {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
}

.main-header .container {
    max-width: 100%;
    margin: 0;
    padding: 0 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo img {
    height: 70px;
    width: 100px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;

}

.main-nav a {
    text-decoration: none;
    color: #fff !important;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.main-nav a:hover {
    color: #e6a65d;
}

.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    padding-top: 115px;
}

.content {
    color: white;
    max-width: 700px;
    padding: 20px;
}

.content h1 {
    font-size: 3rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.content p {
    font-size: 1.5rem;
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        overflow-x: hidden;
    }

    .main-header {
        width: 95%;
        padding: 0.5rem 0;
        top: 10px;
        margin: 0 0 0 auto;
    }

    .logo img {
        height: 40px;
        width: 60px;
    }

    .product-card.pyramid-card {
        width: 200px;
        height: 200px;
    }

    .product-card.pyramid-card img {
        width: 50%;
        height: 50%;
        object-fit: cover;
    }

    .fancy-icon img {
        width: 24px;
        height: 24px;
    }

    .product-card {
        width: 80px;
        height: 80px;
    }

    .pyramid-card {
        width: 80px;
        height: 80px;
    }
}

.main-header {
    width: 95%;
    padding: 0.5rem 0;
    top: 10px;
}

.main-header .container {
    padding: 0 20px;
    flex-direction: column;
    gap: 10px;
}

.logo img {
    height: 60px;
    width: 90px;
}

.main-nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.9rem;
}

.hero {
    height: 100vh;
}

.overlay {
    padding-top: 100px;
    padding-left: 10px;
    padding-right: 10px;
}

.content h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.content p {
    font-size: 1rem;
}


.food-pyramid-products {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.food-pyramid-products .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.food-pyramid-products .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.food-pyramid-products .section-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
}

.food-pyramid-products .section-header p {
    font-size: 1.1rem;
    color: #666;
}

.pyramid-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 100px;
    margin-bottom: 100px;
    position: relative;
}

.pyramid-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.product-card.pyramid-card {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    /* background-color: #fff; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    box-sizing: border-box;
}

.product-card.pyramid-card:hover {
    transform: translateY(-10px);
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    border-right: 50%;
    border-left: 50%;
}

.product-card.pyramid-card .product-image {
    width: 100%;
    height: 100%;
}

.product-card.pyramid-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

.product-card.pyramid-card .product-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(255, 255, 255, 0.85); */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.product-card.pyramid-card:hover .product-info {
    opacity: 1;
    visibility: visible;
}

.product-card.pyramid-card .product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.product-card.pyramid-card .product-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.product-card.pyramid-card .product-btn {
    display: inline-block;
    background-color: #ff9800;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.product-card.pyramid-card .product-btn:hover {
    background-color: #f57c00;
}

.row-bottom {
    margin-bottom: 60px;
    width: 100%;
    max-width: 1000px;
    gap: 60px;
}

.row-middle {
    margin-bottom: 50px;
    width: 100%;
    max-width: 700px;
    gap: 80px;
}

.row-top {
    width: 100%;
    max-width: 350px;
}

.pyramid-layout {
    gap: 0;
}

@media (max-width: 768px) {
    .pyramid-layout {
        display: flex;
        flex-direction: column;
        /* align-items:flex-start; */
        /* margin-left: -100px; */
        /* gap: 25px; */
        /* padding: 0 10px; */
        transform: scale(0.7);
        /* تصغير الهرم */
    }

    .pyramid-row {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
        width: auto;
    }

    .product-card.pyramid-card {
        width: 75px;
        height: 75px;
        flex-shrink: 0;
    }

    .product-card.pyramid-card img {
        width: 50%;
        height: 50%;
        object-fit: cover;
    }

    .food-pyramid-products .section-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .food-pyramid-products .section-header h2 {
        font-size: 1.5rem;
    }

    .food-pyramid-products .section-header p {
        font-size: 1rem;
    }
}


/* Location Section Styles */
.location {
    padding: 100px 0;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
}

.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.map-container {
    max-width: 800px;
    margin: 50px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
    animation: fadeInUp 0.8s ease-out;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: #007bff;
    border-radius: 2px;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .map-container {
        max-width: 90%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .location {
        padding: 60px 0;
    }

    .map-container {
        height: 300px;
    }

    .info-card {
        padding: 20px;
    }
}

/* Contact Section Styles */
.fancy-contact {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    padding: 80px 0 60px 0;
}

.fancy-contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 30px;
    justify-content: center;
    align-items: stretch;
    margin-top: 40px;
}

.fancy-contact-card {
    /* background: #fff; */
    border-radius: 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    padding: 32px 28px 24px 28px;
    min-width: 270px;
    max-width: 320px;
    flex: 1 1 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    position: relative;
}

.fancy-contact-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255, 152, 0, 0.13);
}

.fancy-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9800 60%, #fff3e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.10);
}

.fancy-icon img {
    width: 36px;
    height: 36px;
}

.fancy-contact-info h3 {
    font-size: 1.25rem;
    color: #ff9800;
    margin-bottom: 8px;
    font-weight: bold;
}

.fancy-contact-info a {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.fancy-contact-info a:hover {
    color: #ff9800;
}

.fancy-contact-info p {
    color: #666;
    font-size: 0.98rem;
    margin: 0;
}

.fancy-icon.whatsapp {
    background: linear-gradient(135deg, #25d366 60%, #e0ffe7 100%);
}

.fancy-icon.instagram {
    background: linear-gradient(135deg, #fd5c63 40%, #fcb045 100%);
}

.fancy-icon.facebook {
    background: linear-gradient(135deg, #1877f3 60%, #e3f0ff 100%);
}

.fancy-icon.tiktok {
    background: linear-gradient(135deg, #000 60%, #ff0050 100%);
}

.fancy-icon.vodafone {
    background: linear-gradient(135deg, #e60000 60%, #ffeaea 100%);
}

@media (max-width: 900px) {
    .fancy-contact-grid {
        gap: 24px 0;
    }

    .fancy-contact-card {
        min-width: 90vw;
        max-width: 95vw;
    }
}

.contact-section .section-header,
.location .section-header {
    text-align: center;
}

.contact-section .section-header h2,
.contact-section .section-header p,
.location .section-header h2,
.location .section-header p {
    text-align: center;
}

.contact-section .section-header h2,
.location .section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.logo-container {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    margin-left: auto;
}

@media (max-width: 768px) {
    .logo-container {
        padding: 4px;
        margin-right: 0;
        margin-left: auto;
    }
}