* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


body {
    background-color: #f8f4ec;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== Navbar ===== */
.navbar {
    background-color: #0a0f1a;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #eb0029;
}

.logo a{text-decoration: none;
    outline: none;
    }

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: orange;
}

.cart-icon {
    font-size: 22px;
    color: white;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* ===== Navbar Responsive ===== */
@media (max-width: 1024px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        right: 20px;
        background-color: #0a0f1a;
        padding: 25px 35px;
        border-radius: 15px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        width: 180px;
        text-align: left;
        animation: fadeIn 0.25s ease-in-out;
    }

    .nav a {
        margin: 12px 0;
        font-size: 18px;
    }

    .nav.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .cart-icon {
        margin-left: 10px;
    }
}

/* ===== Animation ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-wrapper {
    background-color: #ffffff;
    height: 600px;
    width: 80%;
    border-radius: 30px;
    display: flex;
    gap: 60px;
    margin: 160px auto 120px auto;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-section {
    width: 10%;
}

.image-section img {
    width: 300px;
    height: 330px;
    border-radius: 20%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    background-color: #f8f4ec;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    width: 600px;
    height: 500px;
    position: relative;
    left: -130px;
}

/* ===== Loading responsive ===== */
.loading {
    width: 60%; /* حجم أصغر من 100% عشان يبقى في النص */
    max-width: 400px; /* أقصى عرض للـ desktop */
    position: relative; 
    margin: 20px auto; /* يضمن أنها في النص أفقياً */
    border-radius: 5px;
    display: flex;
    justify-content: space-between; /* spacing متساوي بين الأجزاء */
    gap: 2%;
}

.loadPart {
    flex: 1;
    height: 20px; /* ارتفاع الشريط على اللابتوب */
    background-color: rgb(223, 223, 223);
    border: 1px solid rgba(44, 42, 42, 0.163);
    border-radius: 6px;
    margin: 0 2px;
}

.loaded {
    background-color: red;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 1024px) {
    .loadPart {
        height: 25px; /* أكبر شوية للتابلت */
    }
}

@media (max-width: 768px) {
    .loadPart {
        height: 30px; /* أكبر للموبايل */
    }
}


#girl {
    position: relative;
    width: 300px;
    height: 330px;
    border-radius: 20%;
  }


h1 {
    font-size: 50px;
    color: red;
    margin-bottom: 15px;
    margin-top: 15px;
}

h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

.input-group {
    display: flex;
    flex-direction: row; 
    gap: 10px; 
    width: 100%;
    margin-bottom: 20px;
}


/* ===== Pizza girl image responsive ===== */
.image-section img {
    width: 250px; 
    height: auto;
    border-radius: 20%;
}

.pass {
    flex-direction: column;
    display: flex;
}

#strength {
    text-align: left;
    margin-top: 0px;
    font-size: 12px;
    color: #666;
    margin-left: 10px;
}

.input-group input {
    width: 256px;
    height: 55px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    flex: 1;
    min-width: 0;
}


.submit {
    width: 45%;
    padding: 12px;
    background: orange;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit:hover {
    background: #d62839;
}

.container p {
    margin-top: 30px;
    font-size: 16px;
    color: #666;
}

.container a {
    color: #e63946;
    text-decoration: none;
    font-weight: bold;
}

.container a:hover {
    text-decoration: underline;
}

/* ===== Footer  ===== */
footer {
    width: 100vw;
    max-width: 100%;
    background-color: #0a0f1a;
    padding-top: 60px;
    color: white;
    margin: 0;
}


.footer-top-info {
    background: #f36b26;
    padding: 10px 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    max-width: 1200px;
    margin: auto;
    border-radius: 10px;
}

.footer-top-info div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.footer-top-info div i {
    font-size: 22px;
    background: white;
    color: #f36b26;
    padding: 10px;
    border-radius: 50%;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.footer-info,
.footer-links,
.footer-contact {
    width: 30%;
}

.footer-info h3,
.footer-links h3,
.footer-contact h3 {
    font-size: 20px;
    color: #f36b26;
    margin-bottom: 10px;
}

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

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.footer-links ul li a:hover {
    color: orange;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background: #eb0029;
    color: white;
    width: 100%;
    margin: 0;
}

.footer-bottom a {
    text-align: center;
    padding: 20px 0;
    background: #eb0029;
    color: white;
    width: 100%;
    margin: 0;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}


/* ===== Responsive for smaller laptops ===== */
@media (max-width: 1366px) {
    .contact-wrapper {
        width: 85%;
        gap: 40px;
        margin: 140px auto 100px auto;
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    .image-section {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .image-section img {
        width: 250px;
        height: auto;
    }

    .container {
        width: 500px;
        height: auto;
        left: 0;
        padding: 30px;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 24px;
    }

    .input-group {
        flex-direction: column;
        gap: 20px;
    }

    .input-group input {
        width: 100%;
    }

    button {
        width: 50%;
    }
}



/* ===== Smaller laptops / tablets ===== */
@media (max-width: 1024px) {
    .contact-wrapper {
        width: 90%;
        margin: 120px auto 80px auto;
        gap: 30px;
    }


    .container {
        width: 90%;
        padding: 25px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 22px;
    }

    button {
        width: 60%;
    }
}




/* للموبايل */
@media (max-width: 768px) {

    .footer-main {
        flex-direction: column;
        text-align: center;
    }

    .footer-info,
    .footer-links,
    .footer-contact {
        width: 100%;
    }
}

/* للتابلت */
@media (max-width: 1024px) {
    .footer-main {
        flex-direction: column;
        /* كل الأقسام عمودي */
        text-align: center;
        padding: 40px 20px;
        align-items: center;
        /* المركزية لكل المحتوى */
        gap: 30px;
        /* مسافة بين الأقسام */
    }

    .footer-info,
    .footer-links,
    .footer-contact {
        width: 100%;
        margin-bottom: 0;
        /* مسافة موجودة في gap */
    }

    .footer-top-info {
        flex-direction: column;
        /* أيقونات عمودية */
        align-items: center;
        padding: 20px 30px;
        gap: 25px;
        /* المسافة بين كل div أيقونات */
    }

    .footer-top-info div {
        display: flex;
        flex-direction: column;
        /* أيقونات داخل كل div عمودي */
        align-items: center;
        gap: 20px;
        /* المسافة بين الأيقونات */
    }
}

/* للموبايل */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
        align-items: center;
        gap: 25px;
    }

    .footer-info,
    .footer-links,
    .footer-contact {
        width: 100%;
        margin-bottom: 0;
    }

    .footer-links ul li a {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer-top-info {
        flex-direction: column;
        align-items: center;
        padding: 15px 20px;
        gap: 20px;
    }

    .footer-top-info div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        /* المسافة بين الأيقونات */
    }

    .footer-bottom {
        font-size: 14px;
        padding: 15px 10px;
    }

    .footer-bottom a {
        display: block;
        padding: 10px 0;
    }
}