/*----------------- RESET + BASIC -----------------*/
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: #fff;
}

/*---------------- HEADER ----------------*/
.site-header .container {
    padding-left: 0 !important;
}

/* Base styles */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Right-side icons container */
.header-icons {
    display: flex;
    gap: 18px;
    align-items: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Icons style */
.header-icons i {
    font-size: 22px;
    color: #f6f6f6;
    /* blue tone */

    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    cursor: pointer;
}

/* Hover animation */
.header-icons i:hover {
    transform: scale(1.2);
    color: white;
    background: #0b4ea1;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 50;
    padding: 20px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    /* centers quote */
    position: relative;
}

.logo {
    position: absolute;
    left: 0;
    margin-left: 0 !important;
}

.logo img {
    height: 50px;
    /* default size */
    width: auto;
    transition: all 0.3s ease;
}

.header-quote p {
    font-size: 0.9rem;
    font-style: italic;
    color: #fff;
    margin: 0;
    text-align: center;
    transition: all 0.3s ease;
}

.top-nav a {
    color: #d9f0ff;
    margin-left: 14px;
    text-decoration: none;
    font-weight: 600;
}

.header-quote p {
    transition: opacity 0.5s ease-in-out;
}


/*----------------- HERO -----------------*/
/* Hide mobile bar on desktop */
.mobile-icon-bar {
    display: none;
}

/* MOBILE VIEW (max 480px) */
@media (max-width: 480px) {

    /* Hide header icons on mobile */
    .header-icons {
        display: none;
    }

    /* Show mobile bar */
    .mobile-icon-bar {
        display: flex;
        justify-content: center;
        gap: 25px;
        position: relative;
        margin-top: 20px;
        /* brings it right below hero */
        padding: 15px 0;
        z-index: 20;
    }

    .mobile-icon-bar i {
        font-size: 15px;
        padding: 10px;
        border-radius: 50%;
        color: #000000;
        background-color: #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
        transition: .3s;
    }

    .mobile-icon-bar i:hover {
        transform: scale(1.15);
        background: #0b4ea1;
        background-color: blue;
        color: white;
    }
}

/* Fade-in Animation */
@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    background-image: url('/static/images/bgimg1.jpg');

    min-height: 90vh;
    width: 100%;
    display: flex;
    align-items: start;
    padding-top: 30px;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #032a40;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    /* 45% darkness */
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 20px 0;
    display: flex;
    align-items: center;

    /* NEW: fade + slide animation */
    opacity: 0;
    animation: fadeSlide 1.2s ease-out forwards;
}

.hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text {
    margin-top: 100px;
}

.hero-text h1 {
    font-size: 100px;
    margin: 0;
    color: #ffffff;
    font-family: 'Lora', serif;
    line-height: 1.1;
}

.hero-text .tagline {
    font-size: 25px;
    margin-top: 10px;
    color: #ffffff;
    max-width: fit-content;
    white-space: nowrap;
    font-weight: bol;
}

.hero-text .arabic {
    margin-top: 14px;
    font-size: 70px;
    font-weight: bold;
    color: #ffffff;
    font-family: 'Amiri', serif;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn {
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #0066ff;
}

/* -------First Between Text--------- */
.fsttxt {
    width: 100%;
    padding: 40px 0;
    text-align: center;
    background: transparent;

    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-out;
}

.fsttxt.show {
    opacity: 1;
    transform: translateY(0);
}

.fsttxt h1 {
    font-size: 22px;
    font-weight: 700;
    color: #f8f7f7;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
}

/* Mobile */
@media (max-width: 480px) {
    .fsttxt {
        padding: 20px 10px;
    }

    .fsttxt h1 {
        font-size: 12px;
        line-height: 1.4;
    }
}


/*---------------- Second Page ----------------*/

.second-page {
    display: flex;
    justify-content: center;
    padding: 50px 0;
    padding-top: 5px;
}

.second-page img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    display: block;
    border: #0066ff;
    border: 5px solid #0066ff;
}

/* Mobile view */
@media (max-width: 480px) {
    .second-page {
        padding: 0;
        display: block;
        background: #000;
        margin-bottom: 20px;

    }

    .second-page img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        border-radius: 12px;
    }
}




/* -------Second Between Text--------- */
.scndtxt {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 1px;
    text-align: center;

    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-out;
}

.scndtxt.show {
    opacity: 1;
    transform: translateY(0);
}

.scndtxt h1 {
    font-size: 22px;
    font-weight: 700;
    color: #f8f7f7;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .scndtxt {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .scndtxt h1 {
        font-size: 12px;
        line-height: 1.4;
    }
}







/*---------------- Third Page ----------------*/


.third-page {
    display: flex;
    justify-content: center;
    padding: 50px 0;



}

.third-page img {
    width: 100%;
    /* smaller than before */
    max-width: 450px;
    /* ensures it always fits on a single page */
    height: auto;
    border-radius: 12px;
    display: block;
    border: #0066ff;
    border: 5px solid #0066ff;
}

/* Mobile view */
@media (max-width: 480px) {
    .third-page {
        padding: 20px 0;
        background: #000;
    }

    .third-page img {
        width: 100%;
        /* full width on mobile */
        max-width: none;
        border-radius: 20;
    }
}









/*---------------- Our Menu ----------------*/
.we-offer {
    text-align: center;
    padding: 20px 20px;
    background: #ffb3d9;
    /* soft pink */
    border-radius: 20px;
    /* curved edges */
    max-width: 600px;
    /* rectangle width */
    margin: 20px auto;
    margin-top: 40px;
    /* center it */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* soft shadow */
}

.we-offer h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    /* white text */
    letter-spacing: 1px;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .we-offer {
        padding: 15px;
        border-radius: 15px;
        max-width: 50%;
    }

    .we-offer h2 {
        font-size: 20px;
        color: #000;
    }
}

/*---------------- MENU SECTION ----------------*/
.menu-section {
    padding: 40px 0;
    background: #000000;
    /* dark background */
}

.cards-wrapper {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

/* MENU CARD base */
.menu-card {
    position: relative;
    width: 500px;
    height: 650px;
    border-radius: 18px;
    background: url('/static/images/menubg1.jpg') no-repeat center center;
    background-size: contain;
    padding: 18px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border: 1px solid pink;
    /* pink border */
}

/* Image circle */
.image-wrap {
    width: 400px;
    height: 400px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrap img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
}

/* kcal badge */
.kcal-badge {
    position: absolute;
    top: 75px;
    /* change to move vertically */
    right: 95px;
    /* change to move horizontally */

    border-radius: 12px;
    font-size: 12px;
    color: #d20505;
    z-index: 4;
    font-weight: bolder;
}

/* PAGE NUMBER BADGE */
.page-number {
    position: absolute;
    bottom: 19px;
    right: 38px;

    color: #ffffff;

    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;

    z-index: 5;
}

/* Card text */
.card-text {
    margin-top: 8px;
}

.item-en {
    margin: 6px 0 0;
    font-size: 2rem;
    color: #e6f6ff;
}

.item-ar {
    margin: 4px 0 0;
    color: #cfefff;
    font-family: 'Amiri', serif;
    font-size: 1.5rem;

}



/*----------------- RESPONSIVE -----------------*/
/* HERO TEXT */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 70px;
    }

    .hero-text .tagline {
        font-size: 18px;
    }

    .hero-text .arabic {
        font-size: 40px;
    }

    .hero-buttons .btn {
        padding: 8px 14px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 50px;
    }

    .hero-text .tagline {
        font-size: 16px;
    }

    .hero-text .arabic {
        font-size: 30px;
    }

    .hero-buttons .btn {
        padding: 7px 12px;
        font-size: 13px;
    }

    .hero-logo img {
        width: 120px;
    }
}

@media (max-width: 480px) {

    .hero {
        min-height: 85vh;
        /* exactly fill screen */
        padding-top: 40px;
        /* push content down slightly */
        display: flex;
        align-items: center;
        /* vertical centering */
        justify-content: center;
        text-align: center;
    }

    .hero-inner {
        width: 100%;
        padding: 0 20px;
        /* safe spacing */
    }

    .hero-text {
        margin-top: 0;
        /* remove large gap */
        width: 100%;
    }

    .hero-text h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .hero-text .tagline {
        font-size: 14px;
        margin-top: 6px;
    }

    .hero-text .arabic {
        font-size: 26px;
        margin-top: 8px;
    }

    .hero-buttons {
        margin-top: 16px;
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .hero-buttons .btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .kcal-badge {
        top: 45px;
        /* move higher up for mobile */
        right: 38px;
        /* adjust horizontal */
        font-size: 10px;
        /* smaller font */
        padding: 4px 8px;
        /* optional: smaller padding */
    }

    /* PAGE NUMBER BADGE */
    .page-number {
        position: absolute;
        bottom: 8px;
        right: 8px;
        color: #ffffff;
        padding: 6px 12px;
        border-radius: 10px;
        font-size: 13px;
        z-index: 5;
    }
    


    /* Hero image/logo (optional) */
    .hero-logo img {
        width: 120px;
    }

    /* Mobile icon bar spacing */
    .mobile-icon-bar {
        margin-top: 20px;
    }
}


/* MENU CARD RESPONSIVENESS */
@media (max-width: 1024px) {
    .menu-card {
        width: 240px;
        height: 220px;
        padding: 14px;
    }

    .image-wrap {
        width: 100px;
        height: 100px;
    }

    .item-en {
        font-size: 0.95rem;
    }

    .item-ar {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .menu-card {
        width: 190px;
        height: 200px;
        padding: 12px;
    }

    .image-wrap {
        width: 90px;
        height: 90px;
    }

    .item-en {
        font-size: 0.9rem;
    }

    .item-ar {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    .menu-card {
        width: 300px;
        height: 425px;
        padding: 10px;
    }

    .image-wrap {
        width: 300px;
        height: 300px;
    }

    /* Move ONLY the text upward */
    .card-text {
        position: relative;
        top: -35px; /* adjust upward movement */
        text-align: center;
    }

    .item-en {
        font-size: 1.5rem;
        font-weight: 600;
        margin: 0;
    }

    .item-ar {
        font-size: 1.1rem;
        font-weight: 500;
        margin-top: 4px;
    }
}


/*---------------- RESPONSIVE OF HEADER----------------*/
@media (max-width: 1024px) {
    .logo img {
        height: 45px;
    }

    .header-quote p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }

    .header-quote p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 25px;
    }

    .header-quote p {
        font-size: 0.60rem;
        padding: 0 10px;
    }
}





/* ------------------ CONTACT SECTION ------------------ */

/* ===========================
   ANIMATION KEYFRAMES
=========================== */

/* Background fade-in */
@keyframes bgFade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Slide in left */
@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide in right */
@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade + scale up */
@keyframes fadeScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

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



/* ===========================
   MAIN SECTION
=========================== */

#contact {
    position: relative;
    background: #000000;
    padding: 0;
}

/* BACKGROUND IMAGE CONTAINER WITH FADE-IN ANIMATION */
#contact .contact-bg {
    position: relative;
    background-image: url("../images/contactbg.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;

    /* animation */
    opacity: 0;
    animation: bgFade 1.5s ease-out forwards;
}

/* WRAPPER */
#contact .contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
}



/* ===========================
   LEFT TEXT — SLIDE IN LEFT
=========================== */

.contact-left {
    color: white;
    flex: 1 1 30%;
    text-align: left;
    margin-left: 400px;

    opacity: 0;
    animation: slideLeft 1s ease-out 0.3s forwards;
}

.contact-left h1 {
    font-size: 45px;
    font-weight: 700;
}

.contact-left .sub {
    font-size: 18px;
    margin-top: 8px;
}

.follow {
    margin-top: 40px;
    font-size: 30px;
}

.sub2 {
    font-size: 18px;
    margin-top: 6px;
}

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

.social-icons i {
    font-size: 28px;
    color: white;
    transition: .3s;
}

.social-icons i:hover {
    transform: scale(1.2);
}

.delivery-title {
    font-size: 32px;
    margin-top: 30px;
    font-weight: 700;
    color: pink;
}

.delivery-tagline {
    font-size: 16px;
    margin-top: 8px;
    color: #f1f1f1;
    max-width: 250px;
    line-height: 1.4;
}



/* ===========================
   CONTACT CARD — FADE + SCALE
=========================== */

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    flex: 1 1 30%;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    margin-right: 250px;

    opacity: 0;
    animation: fadeScale 1s ease-out 0.6s forwards;
}

.contact-card .qr {
    width: 150px;
}

.qr-text {
    margin-top: 10px;
    font-weight: 500;
    text-align: center;
    color: #000;
    font-size: 12px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: rgb(0, 0, 0);
}

.info-item span {
    white-space: normal;
    word-break: keep-all;
    text-align: center;
    max-width: 200px;
    line-height: 2;
}

.info-item i {
    font-size: 20px;
    color: #0b4ea1;
}



/* ===========================
   CONTACT FORM — SLIDE IN RIGHT
=========================== */

.contact-form-box {
    background: #0b4ea1;
    padding: 25px;
    flex: 1 1 30%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 20px 50px 50px 50px;

    opacity: 0;
    animation: slideRight 1s ease-out 0.9s forwards;
}

.contact-form-box h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #060708;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 15px;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: pink;
    color: rgb(0, 0, 0);
    border: none;
    font-size: 16px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #083f82;
}

/* ------------------ RESPONSIVE ------------------ */

/* Medium screens ≤900px */
@media (max-width: 900px) {
    #contact .contact-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .contact-left,
    .contact-card,
    .contact-form-box {
        max-width: 90%;
        margin: 10px auto;
        text-align: center;
    }
}

/* Small screens ≤480px - MOBILE */
@media (max-width: 480px) {
    #contact .contact-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 10px;
    }

    /* CONTACT LEFT - top inside background */
    .contact-left {
        max-width: 90%;
        text-align: center;
        margin: 0 0 5px 0;
        padding: 5px 10px;
    }

    .contact-left h1 {
        font-size: 24px;
    }

    .contact-left .sub,
    .sub2 {
        font-size: 12px;
    }

    .follow {
        font-size: 16px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        /* centers the icons horizontally */
        align-items: center;
        gap: 12px;
        /* space between icons */
    }

    .social-icons i {
        font-size: 20px;
        text-align: center;
    }

    .delivery-title {
        font-size: 15px;
        margin-top: 20px;
        text-align: center;
        color: pink;
    }

    .delivery-tagline {
        font-size: 12px;
        text-align: center;
        margin-top: 6px;
        line-height: 1.4;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* CONTACT CARD - below contact-left, inside background */
    .contact-card {
        width: 260px;
        padding: 20px;
        margin: 0 auto;
    }

    .contact-card .qr {
        width: 100px;
    }

    .qr-text {
        color: #000;
        font-size: 10px
    }

    .info-item {
        font-size: 12px;
    }

    .info-item i {
        font-size: 16px;
    }

    /* CONTACT FORM - below background */
    .contact-form-box {
        width: 90%;
        margin: 15px auto 0 auto;
        /* outside background */
        padding: 15px;

    }

    .contact-form-box h3 {
        color: white;
    }


    .contact-form button {
        background-color: pink;
        font-size: 12px;
        padding: 8px;
        color: #000;
        font-weight: bold;
    }
}
