
/* Design by A.Qasem */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    transition: all 0.3s ease;
}

:root {
    --primary-color: #209f62;
    --primary-dark: #1a8652;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* Header Styles */
header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.title {
    flex: 1;
}

.title h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.title h5 {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 4px;
}

header ul {
    display: flex;
    gap: 2rem;
    margin: 0 2rem;
}

header ul li {
    list-style: none;
}

header ul li a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

header ul li a:hover {
    color: var(--primary-color);
    background: var(--light-gray);
}

.contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.menu-bars {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Home Section */
.home {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, #fff, var(--light-gray));
}

.title-home {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto;
}

.title-home h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.title-home h5 {
    font-size: 1.2rem;
    color: var(--gray);
}

.btn-home {
    margin: 2rem 0;
}

.btn-home a {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-home a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.img-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
}

.img-home img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    transform: rotate(0);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.img-home img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    header ul {
        gap: 1rem;
    }
    
    .title-home h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    header ul {
        display: none;
    }
    
    .menu-bars {
        display: block;
    }
    
    .contact {
        display: none;
    }
    
    .title-home h2 {
        font-size: 2.2rem;
    }
    
    .img-home {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .title-home h2 {
        font-size: 1.8rem;
    }
    
    .title-home h5 {
        font-size: 1rem;
    }
    
    .btn-home a {
        padding: 0.8rem 1.5rem;
    }
}

/* Mobile Menu Styles */
header ul.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    gap: 1rem;
    text-align: center;
    height: calc(100vh - 80px);
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-bars.active i {
    color: var(--primary-dark);
}

/* Section Title Styles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Scroll Effects */
header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

/* Animation Classes */
.animate {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    header ul.active {
        animation: slideDown 0.3s ease forwards;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 1rem;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.75rem;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Active Menu Item */
header ul li a.active {
    color: var(--primary-color);
    background: var(--light-gray);
    font-weight: 600;
}

/* Enhanced Transitions */
.food-card, .service-card {
    will-change: transform;
    transform: translateY(0);
    opacity: 0;
    visibility: hidden;
}

.food-card.animate, .service-card.animate {
    opacity: 1;
    visibility: visible;
}

/* Hover Effects */
.food-card:hover img {
    transform: scale(1.05);
}

.service-card:hover i {
    transform: translateY(-5px);
    color: var(--primary-dark);
}

/* Enhanced Mobile Menu */
@media (max-width: 768px) {
    header ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    header ul {
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    header ul li {
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    header ul.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .menu-bars i {
        transition: transform 0.3s ease;
    }

    .menu-bars.active i {
        transform: rotate(90deg);
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-padding-top: 100px; /* Accounts for fixed header */
}

/* Enhanced Footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.chef-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.about-image:hover .chef-image {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 50%;
    text-align: center;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-text {
    padding-right: 2rem;
}

.about-text h3 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature span {
    color: var(--gray);
    font-weight: 500;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat .label {
    color: var(--gray);
    font-size: 0.9rem;
}

.about-cta {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* About Section Responsive */
@media (max-width: 1024px) {
    .about-content {
        gap: 3rem;
    }

    .about-text h3 {
        font-size: 2rem;
    }

    .chef-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-right: 0;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .stats {
        gap: 1rem;
    }

    .stat .number {
        font-size: 2rem;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        padding: 1rem;
    }

    .experience-badge .years {
        font-size: 1.5rem;
    }

    .experience-badge .text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 4rem 0;
    }

    .about-text h3 {
        font-size: 1.75rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .chef-image {
        height: 300px;
    }
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Header Adjustments */
    header {
        padding: 0 1rem;
        height: 70px;
    }

    .title h2 {
        font-size: 1.5rem;
    }

    .title h5 {
        font-size: 0.8rem;
    }

    /* Home Section */
    .home {
        padding-top: 70px;
    }

    .title-home {
        padding: 0 1rem;
    }

    .title-home h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .img-home {
        padding: 1rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .img-home img {
        height: 120px;
    }

    /* Food Section */
    .food-deshes-content {
        padding: 1rem;
    }

    .food-card {
        margin-bottom: 1rem;
    }

    .food-card-content {
        padding: 1rem;
    }

    /* Services Section */
    .service-grid {
        padding: 1rem;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    /* About Section */
    .about {
        padding: 3rem 0;
    }

    .about-content {
        padding: 0 1rem;
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    .features {
        margin-bottom: 2rem;
    }

    .stats {
        padding: 1.5rem 0;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-content {
        padding: 2rem 1rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    /* Header */
    .title h2 {
        font-size: 1.3rem;
    }

    /* Home Section */
    .title-home h2 {
        font-size: 1.6rem;
    }

    .btn-home a {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .img-home {
        grid-template-columns: 1fr;
    }

    .img-home img {
        height: 200px;
    }

    /* Food Cards */
    .food-card-content h3 {
        font-size: 1.2rem;
    }

    .food-card-content p {
        font-size: 0.9rem;
    }

    /* Service Cards */
    .service-card {
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* About Section */
    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .feature span {
        font-size: 0.9rem;
    }

    .stat .number {
        font-size: 1.8rem;
    }

    .stat .label {
        font-size: 0.8rem;
    }

    /* Section Titles */
    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .food-card:hover,
    .service-card:hover,
    .about-image:hover .chef-image,
    .social-links a:hover {
        transform: none;
    }

    .btn-home a:active,
    .about-cta:active,
    .social-links a:active {
        transform: scale(0.95);
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    header ul.active {
        height: -webkit-fill-available;
    }
}

/* Landscape Mode */
@media (max-height: 480px) and (orientation: landscape) {
    .home {
        min-height: auto;
        padding-bottom: 2rem;
    }

    header ul.active {
        max-height: 85vh;
        padding: 1rem;
    }

    .title-home {
        margin: 1.5rem auto;
    }

    .img-home {
        grid-template-columns: repeat(3, 1fr);
    }
}
















