*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============ */

body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

header {
    position: sticky;
    z-index: 10;
    top: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.section1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    padding: 0.7rem 5vw;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.mailNo {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.icons {
    display: flex;
    gap: 1rem;
}

/* ======================================= */

.section2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5vw;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    color: #5AAB6E;
    font-size: 25px;
}

.navbar {
    display: flex;
    gap: 3rem;
    font-size: 20px;
    flex-wrap: wrap;
}

.navbar a{
    text-decoration: none;
    color: gray;
}

.navbar a:hover {
    color: #5AAB6E;
}

.search {
    display: flex;
    gap: 1rem;
    font-size: 20px;
    position: relative;
    align-items: center;
}

#a {
    text-align: center;
    border-radius: 50%;
    width: 1.4rem;
    font-size: 16px;
    background-color: white;
    position: absolute;
    top: -.8rem;
    right: 1.5rem;
}

#b {
    text-align: center;
    border-radius: 50%;
    width: 2rem;
    font-size: 16px;
    background-color: white;
    position: absolute;
    top: -.8rem;
    right: -1rem;
}

/* ============================================= */

main {
    margin: 2rem 5vw 3rem;
    position: relative;
}

.angleleft {
    font-size: 60px;
    position: absolute;
    top: 19rem;
    left: -4rem;
    color: #5aab6e9d;
    z-index: 5;
}

.angleright {
    font-size: 60px;
    position: absolute;
    top: 19rem;
    right: -4rem;
    color: #5AAB6E;
    z-index: 5;
}

/* ================================== */

.section3 {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    border-radius: 1rem;
}

.section3::-webkit-scrollbar {
    height: 6px;
}

.section3::-webkit-scrollbar-track {
    background-color: rgba(128, 128, 128, 0.504);
    border-radius: 1rem;
}

.section3::-webkit-scrollbar-thumb{
    background-color: #5AAB6E;
    border-radius: 1rem;
}

.page {
    display: flex;
    flex: 0 0 100%;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem 1rem;
}

.pageElement {
    display: flex;
    align-items: start;
    flex-direction: column;
    margin: 2rem 0rem 1rem 2rem;
    gap: 1rem;
    flex: 1 1 300px;
}

.pageElement h1{
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: rgba(0, 0, 0, 0.529);
    width: 100%;
}

.pageElement h2 {
    color: rgba(0, 0, 0, 0.498);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.pageElement p{
    color: gray;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
}

.image {
    flex: 1 1 300px;
    text-align: center;
}

.image img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 20px;
}

/* =========================== */

.section4 {
    margin-bottom: 3rem;
} 

.categories {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 3rem 1rem;
    gap: .5rem;
    text-align: center;
}

.categories h1{
    color: rgba(0, 0, 0, 0.7);
    font-size: clamp(2rem, 6vw, 3rem);
}

.categories p{
    color: rgba(0, 0, 0, 0.6);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
}

/* =============== */

.itemes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
} 

.itemes > div {
    text-align: center;
    flex: 1 1 280px;
    max-width: 350px;
}

.itemes img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.itemes h2 {
    margin: 1rem 0 0.5rem;
    font-size: 1.8rem;
}

.itemes button{
    margin: 1rem 0rem;
    padding: .7rem 2rem;
    font-size: 1.2rem;
    background-color: #5AAB6E;
    color: white;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.itemes button:hover {
    background-color: #2d6a4f;
}

/* =================================== */

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.card {
    flex: 1 1 280px;
    max-width: 380px;
    border: 2px solid rgba(0, 0, 0, 0.114);
    color: rgba(0, 0, 0, 0.588);
    border-radius: 20px;
    overflow: hidden;
    background: white;
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.card p{
    font-size: 1.1rem;
    padding: 0 1.2rem;
}

.rating {
    display: flex;
    justify-content: space-between;
    margin: 1rem 1.2rem;
}

.rating p {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    padding: 0;
}

.card h1 {
    padding: 0 1.2rem;
    font-size: 1.5rem;
}

.review {
    color: rgba(128, 128, 128, 0.8);
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #eee;
}

/* =================== */

footer {
    background-color: black;
    color: rgba(255, 255, 255, 0.76);
    padding: 2.5rem 5vw;
    margin-top: 5rem;
}

.footerComponent {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem 6rem;
    justify-content: flex-start;
}

.shop {
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    min-width: 160px;
}

.shop h1{
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
}

.shop a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.4rem;
    cursor: pointer;
    transition: color 0.2s;
}

.shop a:hover {
    color: #5AAB6E;
}

.cont {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 0.5rem;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    gap: 2rem;
}

.socail {
    display: flex;
    gap: 2rem;
    font-size: 1.8rem;
}

.contact div:last-child {
    display: flex;
    flex-wrap: wrap;
    background: #1f1f1f;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid #333;
}

.contact input{
    background-color: transparent;
    font-size: 1rem;
    border: none;
    padding: .8rem 1.5rem;
    color: white;
    outline: none;
    min-width: 220px;
}

.contact button {
    background-color: #5AAB6E;
    color: white;
    padding: .8rem 2rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.contact button:hover {
    background-color: #3b8b4e;
}

footer > p {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
    margin-top: 1rem;
    color: #aaa;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

@media (max-width: 1024px) {
    .angleleft, .angleright {
        display: none;
    }
    
    .navbar {
        gap: 2rem;
    }
}

@media (max-width: 850px) {
    .section2 {
        flex-direction: column;
        padding: 1rem;
    }
    
    .navbar {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .page {
        flex-direction: column;
        text-align: center;
    }
    
    .pageElement {
        align-items: center;
        margin: 1rem;
        order: 1;
    }
    
    .image {
        order: 0;
    }
}

@media (max-width: 600px) {
    .section1 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .icons {
        align-self: flex-end;
    }
    
    .footerComponent {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact div:last-child {
        width: 100%;
    }
    
    .contact input {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .navbar {
        gap: 1rem;
        font-size: 1rem;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .search {
        font-size: 1.2rem;
    }
    
    #a {
        right: 1.3rem;
    }
    
    #b {
        right: -1rem;
    }
    
    .itemes img {
        max-width: 280px;
    }
}

@media (max-width: 380px) {
    .mailNo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}