/* font familiy */
@font-face {
    font-family: koodak;
    src: url(./font/KoodakB.ttf);
    font-weight: normal;
    font-style:normal ;
}
@font-face {
    font-family: katibeh;
    src: url(./font/katibeh.ttf);
    font-weight: normal;
    font-style:normal ;
}
@font-face {
    font-family: Digi-Madasi;
    src: url(./font/Digi\ Madasi\ Bold.ttf);
    font-weight: normal;
    font-style:normal ;
}
/* Default style */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: koodak;
    background: linear-gradient(46deg,rgba(23, 133, 54, 0.5) , rgba(215, 35, 30, 0.5));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    user-select: none;
    min-height: 100vh;
    overflow: hidden;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: black;
}
img {
    user-select: none;
    -webkit-user-drag: none;
}
/* Butten go to top */
.btn-top{
    opacity: 0;
    visibility: hidden;
    /* glass mode */
    background: rgba(255, 255, 255, 0.4);      
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    /* style */
    padding: 15px 17.5px;
    border-radius: 50%;
    text-align: center;
    /* position */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s;
}
.btn-top:hover{
    transform: scale(1.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
/* header */
#header{
    /* position */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: calc(100% - 30px);
    top: 0;
    left: 0;
    z-index: 1000;
    /* style */
    margin: 20px;
    padding: 10px;
    border-radius: 9999px;
    /* glass mode */
    background-color: rgba(255, 255, 255, 0.497);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
#header .header-logo{
    width: 75px;
    height: 75px;
}
#header h1{
    margin-right: 20px;
    font-size: 40px;
    font-family: Digi-Madasi;

}
/* header / nav */
#header .top-nav ul{
    /* position */
    display: flex;
    gap: 20px;
}
#header .top-nav ul li{
    padding: 10px;
    border-radius: 9999px;
    transition: all 0.3s;
}
#header .top-nav ul li:hover{
    scale: 1.1;
    background-color: #161616;
}
#header .top-nav ul li a{
    transition: all 0.3s;
}
#header .top-nav ul li a:hover{
    color: white;
}
/* hero section */
.hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 100vh;
    padding: 150px 60px 40px;
    transition: all 0.3s;
}
.hero .hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero .hero-content label{
    display: flex;
    justify-content: center;
    margin-top: 50px;
    font-family: katibeh;
    font-size: 30px;
    padding: 8px 45px;
    border-radius: 9999px;
    background: linear-gradient(45deg, #DA231F, #198739);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}
.hero .hero-content label:hover{
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.hero .hero-content label:active{
    transform: translateY(-1px) scale(0.98);
}
.hero .hero-content h2{
    font-family: Digi-Madasi;
    line-height: 1.4;
    margin-bottom: 20px;
    font-size: 100px;
}
.hero .hero-content input[type="checkbox"]{
    display: none;
}
.hero .hero-image{
    flex: 1 1 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero .hero-image img{
    width: 100%;
    max-width: 480px;
    filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.25));
    animation: float 4s ease-in-out infinite;
}
@keyframes float{
    0%, 100%{ transform: translateY(0); }
    50%{ transform: translateY(-15px); }
}
/* main */
main{
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    margin-top: -700px;
}
body:has(#show-menu:checked) main {
    opacity: 1;
    visibility: visible;
    margin-top: 130px;
}
body:has(#show-menu:checked) {
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}
body:has(#show-menu:checked) .hero {
    display: none;
}
body:has(#show-menu:checked) .btn-top{
    opacity: 1;
    visibility: visible;
}
#product{
    /* position */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* style */
    gap: 15px;
    margin: 60px 40px;
}
#product .menu-product{
    /* position */
    display: flex;
    width: 32.5%;
    flex-direction: column;
    /* style */
    border-radius: 15px;
    padding: 10px 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
    /* glass mode */
    background-color: rgba(255, 255, 255, 0.426);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
#product .menu-product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}
#product .menu-product:hover .png-product {
    transform: scale(1.08) rotate(5deg);
}
#product .menu-product .product-name{
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px ;
    padding-top: 10px;
    border-bottom: 1px solid black;
}
#product .menu-product .product-name .png-product{
    width: 200px;
    transition: all 0.3s;
    animation: rotate 50s linear infinite;
}
@keyframes rotate{
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
#product .menu-product .product-name h3{
    font-family:Digi-Madasi ;
    font-size: 24px;
}
#product .menu-product .price{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 10px;
    justify-content: space-between;
}
#product .menu-product .about{
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    font-size: 18px;
}
#product .menu-product .price .price-number{
    background-color: rgba(25, 135, 57, 0.426);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px;
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width:49.5%;
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;

}  
/* footer */
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.497);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 20px;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
    gap: 25px;
    margin-bottom: 0;
}
footer .nav-haeder {
    margin: 0;
    font-size: 30px;
    font-weight: bold;
    font-family: Digi-Madasi;
}
footer .bottem-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

footer .bottem-nav a {
    position: relative;
    color: #161617;
    font-size: 16px;
    transition: color 0.3s ease;
}
footer .bottem-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: #D4221E;
    transition: width 0.3s ease;
}
footer .bottem-nav a:hover {
    color: #D4221E;
}

footer .bottem-nav a:hover::after {
    width: 100%;
}
footer > div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
footer p {
    margin: 0;
    font-size: 14px;
}
footer .tel a {
    color: #161617;
    text-decoration: none;
    transition: color 0.3s ease;
}
footer .tel a:hover {
    color: #198739;
}
footer .loc a:hover {
    color: #198739;
}
footer > p:last-child {
    width: 100%;
    padding-top: 15px;
    margin-top: 5px;
    border-top: 1px solid rgba(22, 22, 23, 0.15);
    text-align: center;
    font-size: 13px;
    color: #777;
}
@media (max-width: 1200px) {
    #product {
        margin: 50px 25px;
        gap: 18px;
    }

    #product .menu-product {
        width: calc(50% - 9px);
    }

    #header {
        width: calc(100% - 30px);
    }

    #header h1 {
        font-size: 34px;
    }
    .hero {
        padding: 130px 40px 40px;
        gap: 40px;
    }

    .hero .hero-content {
        flex: 1 1 50%;
        text-align: center;
    }

    .hero .hero-content h2 {
        font-size: 65px;
    }

    .hero .hero-content p {
        font-size: 20px;
        line-height: 1.8;
    }

    .hero .hero-content label {
        font-size: 27px;
        margin-top: 35px;
        padding: 8px 40px;
    }

    .hero .hero-image {
        flex: 1 1 50%;
    }

    .hero .hero-image img {
        max-width: 400px;
    }
    footer {
        margin: 20px 15px;
        padding: 25px;
        gap: 20px;
    }

    footer .nav-haeder {
        font-size: 28px;
    }

    footer .bottem-nav {
        gap: 18px;
    }

    footer .bottem-nav a {
        font-size: 15px;
    }
}

/* Tablets */
@media (max-width: 900px) {
    #header {
        margin: 12px;
        width: calc(100% - 24px);
        padding: 8px 12px;
    }

    #header .header-logo {
        width: 60px;
        height: 60px;
    }

    #header h1 {
        font-size: 30px;
        margin-left: 10px;
    }

    #header .top-nav ul {
        gap: 5px;
    }

    #header .top-nav ul li {
        padding: 8px;
    }

    #header .top-nav ul li a {
        font-size: 15px;
    }

    main {
        margin-top: 115px;
    }

    #product {
        margin: 35px 18px;
        gap: 15px;
    }

    #product .menu-product {
        width: calc(50% - 7.5px);
        padding: 12px 15px;
    }

    #product .menu-product .product-name {
        align-items: center;
        gap: 10px;
    }

    #product .menu-product .product-name .png-product {
        width: 145px;
        max-width: 48%;
    }

    #product .menu-product .product-name h3 {
        font-size: 21px;
    }

    #product .menu-product .about {
        line-height: 1.8;
    }

    #product .menu-product .price .price-number {
        font-size: 14px;
        padding: 9px;
    }
    .hero {
        min-height: 100vh;
        padding: 150px 30px 40px;
        gap: 20px;
    }

    .hero .hero-content h2 {
        font-size: 55px;
    }

    .hero .hero-content p {
        font-size: 18px;
        line-height: 1.8;
    }

    .hero .hero-content label {
        font-size: 24px;
        margin-top: 30px;
        padding: 7px 35px;
    }

    .hero .hero-image img {
        max-width: 330px;
    }
    footer {
        margin: 20px 12px;
        padding: 25px 20px;

        justify-content: center;
        text-align: center;
    }

    footer .nav-haeder {
        width: 100%;
        font-size: 27px;
    }

    footer .bottem-nav {
        width: 100%;

        display: flex;
        justify-content: center;
        flex-wrap: wrap;

        gap: 15px 25px;
    }

    footer > div {
        width: 100%;
        align-items: center;
    }

    footer > p:last-child {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    body {
        overflow-x: hidden;
    }
    body:has(#show-menu:checked) main {
        opacity: 1;
        visibility: visible;
        margin-top: 130px;
    }
    #header {
        position: fixed;
        top: 0;
        left: 0;
        width: calc(100% - 20px);
        margin: 10px;
        border-radius: 25px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    #header .header-logo {
        display: none;
    }

    #header h1 {
        order: -1;
        width: calc(100% - 75px);
        margin: 0;
        text-align: center;
        font-size: 27px;
    }

    #header .top-nav {
        width: 100%;
    }

    #header .top-nav ul {
        justify-content: center;
        gap: 3px;
        flex-wrap: wrap;
    }

    #header .top-nav ul li {
        padding: 7px 9px;
    }

    #header .top-nav ul li a {
        font-size: 14px;
    }

    main {
        margin-top: 125px;
    }

    #product {
        margin: 20px 12px 40px;
        gap: 14px;
    }

    #product .menu-product {
        width: 100%;
        padding: 12px 15px;
    }

    #product .menu-product .product-name {
        min-height: auto;
        align-items: flex-start;
    }

    #product .menu-product .product-name .png-product {
        width: 160px;
        max-width: 45%;
    }

    #product .menu-product .product-name h3 {
        font-size: 22px;
        line-height: 1.7;
        width: 100%;
        text-align: right;
    }

    #product .menu-product .about {
        font-size: 15px;
        line-height: 2;
    }

    #product .menu-product .price .price-number {
        width: 100%;
        font-size: 15px;
        padding: 9px 13px;
    }

    .btn-top {
        right: 15px;
        bottom: 15px;
        padding: 12px 14px;
    }
     .hero {
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
        padding: 140px 20px 40px;
        gap: 20px;
        text-align: center;
    }
    .hero .hero-image {
        order: 1;
        width: 100%;
        flex: none;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .hero .hero-content {
        order: 2;
        width: 100%;
    }

    .hero .hero-image img {
        width: 80%;
        max-width: 300px;
    }

    .hero .hero-content h2 {
        font-size: 42px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .hero .hero-content p {
        font-size: 16px;
        line-height: 2;
        max-width: 340px;
    }

    .hero .hero-content label {
        font-size: 22px;
        margin-top: 25px;
        padding: 7px 30px;
    }
    footer {
        margin: 15px 8px 0;
        padding: 25px 15px;
        border-radius: 18px 18px 0 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    footer .nav-haeder {
        width: 100%;
        font-size: 26px;
        text-align: center;
    }

    footer .bottem-nav {
        width: 100%;
        gap: 12px;
    }

    footer .bottem-nav a {
        font-size: 14px;
        padding: 5px;
    }

    footer > div {
        width: 100%;
        gap: 10px;
    }

    footer .loc,
    footer .tel {
        font-size: 13px;
    }
    footer > p:last-child {
        padding-top: 5px;
        font-size: 12px;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    #header h1 {
        font-size: 23px;
    }

    #header .top-nav ul li {
        padding: 6px 7px;
    }

    #header .top-nav ul li a {
        font-size: 12px;
    }

    #product {
        margin-left: 8px;
        margin-right: 8px;
    }

    #product .menu-product {
        padding: 10px 12px;
    }
    #product .menu-product .product-name{
        align-items:center;
    }
    #product .menu-product .product-name .png-product {
        width: 135px;
    }

    #product .menu-product .product-name h3 {
        font-size: 19px;
    }

    #product .menu-product .about {
        font-size: 14px;
    }

    #product .menu-product .price .price-number {
        font-size: 13px;
    }
    footer {
        margin: 12px 5px 0;
        padding: 22px 10px;

        gap: 17px;
    }

    footer .nav-haeder {
        font-size: 23px;
    }

    footer .bottem-nav {
        gap: 8px;
    }

    footer .bottem-nav a {
        font-size: 13px;
    }

    footer .loc,
    footer .tel {
        font-size: 12px;
    }

    footer > p:last-child {
        font-size: 11px;
    }
}


