@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
    /* Colors */
    --white-color:#fff;
    --dark-color:#252525;
    --primary-color: #593a22;;
    --secondary-color: #da8c27;
    --light-pink-color:#faf4f5;
    --medium-gray-color: #ccc;

    /* Font size */
    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl:2.3rem;

    /* font weight*/
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /*border radius*/
    --border-raduis-s: 8px;
    --border-raduis-m: 30px;
    --border-raduis-circle: 50%;

    /* site max width */
    --site-max-width: 1300px;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Styling for whole site*/

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

button{
    cursor: pointer;
    border: none;
    background: none;
}

img{
    width: 100%;
}

.section-content{
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

.section-title{
    text-align: center;
    padding: 60px 0 100px;
    text-transform: uppercase;
    font-size: var(--font-size-xl);
}

.section-title::after {
    content: "";
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-radius: var(--border-raduis-s);
    background: var(--secondary-color);
}

/* Navbar styling*/
header {

    width: 100%;
    z-index: 5;
    background: var(--primary-color);

}

header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.navbar .nav-logo .logo-text{
    color: var(--white-color);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.navbar .nav-menu{
    display: flex;
    gap: 10px;
}

.navbar .nav-menu .nav-link{
    padding: 10px 18px;
    font-size: var(--font-size-m);
    border-radius: var(--border-raduis-m);
    color: var(--white-color);
    transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    }

.navbar :where(#menu-close-button, #menu-open-button){
    display: none;
}

/*Hero section styling*/
.hero-section{
        min-height: 100vh;
        background: var(--primary-color);
    }

        .hero-section .hero-details {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

.hero-section .section-content{
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: var(--white-color);
    justify-content: space-between;
}

.hero-section .section-content .hero-details .title{
    font-size: var(--font-size-xxl);
    color: var(--white-color);
}

.hero-section .hero-details .subtitle{
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .description{
    max-width: 70%;
    margin: 20px 0 30px;
    font-size: var(--font-size-l);
}

.hero-section .hero-details .buttons{
    display: flex;
    gap: 23px;
}

.hero-section .hero-details .button{
    padding: 10px 26px;
    border: 2px solid transparent;
    color: var(--primary-color);
    border-radius: var(--border-raduis-m);
    background: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    transition: 0.3s ease;
}

.hero-section .hero-details .button:hover,
.hero-section .hero-details .contact-us{
    color: var(--white-color);
    border-color: var(--white-color);
    background: transparent;
}

.hero-section .hero-details .contact-us:hover{
    color: var(--primary-color);
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}

.hero-section .hero-image-wrapper{
    max-width: 500px;
    margin-right: 30px;
}

/* Menu Styling*/

/* Make cards clearly clickable */
.card {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Ensure heart and order button are above the clickable area */
.heart,
.order-btn {
    position: relative;
    z-index: 2;
}

/* Prevent text selection when clicking */
.card-content,
.card-footer,
.card h3,
.card p {
    user-select: none;
    -webkit-user-select: none;
}

/* Modal styles for expanded image */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1700;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: translate(-50%, -50%) scale(0.5);
    }

    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

.card img {
    cursor: pointer;
    transition: transform 0.3s;
}

.card img:hover {
    transform: scale(1.03);
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-size: cover;
    margin: 0;
    padding: 2rem 1rem;
}

h2 {
    text-align: center;
    margin: 2rem 0 1rem;
    font-size: 2rem;
    color: #663c12;
}

.menu-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1800px;
    margin: auto;
}

.card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 240px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
    flex: 1;
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: #4b3222;
}

.card p {
    font-size: 0.9rem;
    color: #474747;
    margin: 0 0 0.75rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem 1rem;
}

.price {
    font-weight: bold;
    color: #3e2c20;
}

.order-btn {
    background-color: #6f4e37;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.heart {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    color: #aaa;
    cursor: pointer;
}

.heart.active {
    color: red;
}

.card-wrapper {
    position: relative;
}

/* About section Styling*/

.about-section{
    padding: 120px 0;
    background: var(--light-pink-color);

}

.about-section .section-content{
   display: flex;
   gap: 50px;
   align-items: center;
   justify-content: space-between;
}

.about-section .about-image-wrapper .about-image {
   width: 400px;
   height: 400px;
   object-fit: cover;
   border-radius: var(--border-raduis-circle);
}

.about-section .about-details .section-title{
    padding: 0;
}

.about-section .about-details{
    max-width: 50%;
}

.about-section .about-details .text {
    line-height: 30px;
    margin: 50px 0 30px;
    text-align: center;
    font-size: var(--font-size-m);
}

.about-section .about-details .social-link-list{
    display: flex;
    gap: 25px;
    justify-content: center;
}

.about-section .about-details .social-link-list .social-link{
    color: var(--primary-color);
    font-size: var(--font-size-l);
    transition: 0.2s ease;
}

.about-section .about-details .social-link-list .social-link:hover{
    color: var(--secondary-color);
}

/* contact us section styling*/

.contact-section {
    padding: 80px 20px;
    background: var(--light-pink-color);
}

.contact-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: var(--font-size-xl);
    position: relative;
}

.contact-section .section-contact {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.contact-info-list {
    flex: 1;
    min-width: 280px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: var(--font-size-m);
}

.contact-info i {
    font-size: 1.3rem;
}

.contact-form {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form .form-input {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid var(--medium-gray-color);
    border-radius: var(--border-raduis-s);
    background: #fff;
    resize: vertical;
}

.contact-form textarea {
    height: 120px;
}

.submit-button {
    align-self: flex-start;
    background: var(--secondary-color);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: var(--border-raduis-m);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: var(--primary-color);
}

/* fotteer styling*/
 .footer {
     background-color: var(--primary-color);
     color: var(--white-color);
     padding: 40px 20px;
     text-align: center;
 }

 .footer-content {
     max-width: var(--site-max-width);
     margin: auto;
 }

 .footer-logo {
     font-size: var(--font-size-xl);
     margin-bottom: 10px;
     color: var(--secondary-color);
 }

 .footer-text {
     font-size: var(--font-size-m);
     margin-bottom: 20px;
 }

 .footer-social a {
     margin: 0 10px;
     color: var(--white-color);
     font-size: 1.2rem;
     transition: color 0.3s ease;
 }

 .footer-social a:hover {
     color: var(--secondary-color);
 }
/* media quary */
@media screen and (max-width: 900px) {
    :root{
            --font-size-m: 1rem;
            --font-size-l: 1.3rem;
            --font-size-xl: 1.5rem;
            --font-size-xxl: 1.8rem;
    }

    body.show-mobile-menu header::before{
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.2);
    }

    .navbar :where(#menu-close-button, #menu-open-button){
        font-size: var(--font-size-l);
        display: block;
    }

    .navbar #menu-close-button{
        position: absolute;
        right: 30px;
        top: 30px;
    }

    .navbar #menu-open-button{
        color: var(--dark-color);
    }
    .navbar .nav-menu{
      display: block;
      position: fixed;
      left: -300px;
      top: 0;
      width: 300px;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 100px;
     background: var(--white-color);
     transition: left 0.2 ease;
    }

    body.show-mobile-menu .navbar .nav-menu{
        left: 0;

    }
        .navbar .nav-menu .nav-link{
            color: var(--dark-color);
            margin-top: 17px;
            display: block;
            font-size: var(--font-size-l);

    }

        .hero-section .section-content{
            gap: 50px;
            text-align: center;
            padding: 30px 20px 20px;
            flex-direction: column-reverse;
            justify-content: center;
    }

    .hero-section .hero-details :is(.subtitle, 
    .description), .about-section .about-details {
        max-width: -100px;
    }

    .hero-section .hero-details .buttons{
        justify-content: center;
    }

    .hero-section .hero-image-wrapper{
            max-width: 270;
            margin-right: 0;
    }

    .about-section .section-content{
        gap: 70px;
        flex-direction: column;

    }

        .about-section .about-image-wrapper .about-image{
            width: 100%;
            height: 100%;
            max-width: 250px;
            aspect-ratio: 1;
        }
                 .contact-section .section-contact {
                     flex-direction: column;
                     align-items: center;
                 }
        
                 .contact-form,
                 .contact-info-list {
                     width: 100%;
                 }
        
                 .submit-button {
                     align-self: center;
                 }
}  