@import url('https://fonts.googleapis.com/css2?family=Chivo&family=Gambetta:opsz,wght@9..72,400;9..72,700&display=swap');

/* header */
* {
    margin: 0;
    padding: 0;
}

* {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body,
p,
li,
a,
input,
button {
    font-family: 'Chivo', sans-serif;
    font-weight: 400;
}

button {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.3px;
}

header {
    display: flex;
    justify-content: center;
    background-color: #fff;
    color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.head-container {
    width: 100%;
    z-index: 4;
    position: absolute;
    top: 0;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 7fr;
}

.logo img {
    margin-top: 10px;
    height: 50px;
    width: auto;
}

.menu ul {
    margin-bottom: 0;
    list-style: none;
    display: flex;
    justify-content: right;
    text-align: center;
    margin-top: 5px;
    margin-right: 50px;
    gap: 50px;
}

.menu nav a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.menu li a:hover {
    color: red;
}

.menu .submenu {
    list-style: none;
}

@media(min-width:520px) {
    .submenu li a {
        text-decoration: none;
        color: #ffffff;
    }

    .submenu ul {
        padding: 20px 28px 15px 25px;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.3);
        text-align: left;
        right: 185px;
        top: 40px;
        position: absolute;
        list-style: none;
        min-height: 200px;
        display: none;
    }

    .submenu ul li {
        margin: 10px;
    }

    .navmenu li:hover .submenu ul {
        display: block;
    }

}


/* hero banner */
.hero img {
    width: 100%;
}

.hero {
    z-index: 1;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-heading h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #111;
    font-family: 'Playfair Display', serif;
}

.section-heading p {
    font-size: 1rem;
    color: #555;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    font-family: 'Chivo', sans-serif;
}

/* products */
.mid-sec {
    padding-top: 50px;
    background-color: #eedecb;
}

.body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-items: center;
    gap: 50px;
    max-width: 80%;
    margin: auto;
}

.box {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 315px;
    overflow: hidden;
}

.productcard:hover img {
    transform: scale(1.2);
}

.productcard {
    margin-bottom: 80px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.productcard img {
    transition: all 0.6s ease-in-out;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    width: 100%;
}

.detail-sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 10px 5px 10px;
}

.info {
    border-radius: 5px;
    background-color: #eedecb;
    max-width: 50%;
    padding: 20px;
    margin: auto;
}

.accordian {
    border-radius: 5px;
}

.acord {
    background-color: #eedecb;
    margin: auto;
}

/* footer */
footer {
    width: 100%;
    background-color: #271912;
}

.foot {
    height: 230px;
    padding-top: 30px;
    z-index: 1;
    max-width: 75%;
    margin: auto;
    border-top: 0.8px solid rgb(255, 255, 255);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    color: rgb(255, 247, 247);
}

.copyright {
    padding-top: 20px;
    padding-bottom: 30px;
    color: rgb(255, 255, 255);
    z-index: 2;
    max-width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

footer p {
    padding-right: 80px;
}

.second i {
    margin-left: 20px;
}

/* input */
.email {
    max-width: 190px;
    padding: 15px;
    font-size: 17px;
    color: black;
    margin-right: -10px;
}

.emailbutton {
    background-color: black;
    text-decoration: none;
    padding: 17px;
    font-size: 17px;
    color: #fff;
    cursor: pointer;
    border: none;
}

/* button css */
.button {
    --width: 100px;
    --height: 35px;
    --tooltip-height: 35px;
    --tooltip-width: 90px;
    --gap-between-tooltip-to-button: 18px;
    --button-color: #222;
    --tooltip-color: #fff;
    width: var(--width);
    height: var(--height);
    background: var(--button-color);
    position: relative;
    text-align: center;
    border-radius: 0.45em;
    font-family: "Arial";
    transition: background 0.3s;
}

.button::before {
    position: absolute;
    content: attr(data-tooltip);
    width: var(--tooltip-width);
    height: var(--tooltip-height);
    background-color: #555;
    font-size: 0.9rem;
    color: #fff;
    border-radius: .25em;
    line-height: var(--tooltip-height);
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
    left: calc(50% - var(--tooltip-width) / 2);
}

.button::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #555;
    left: calc(50% - 10px);
    bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
}

.button::after,
.button::before {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

.text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-wrapper,
.text,
.icon {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    color: #fff;
}

.text {
    top: 0
}

.text,
.icon {
    transition: top 0.5s;
}

.icon {
    color: #fff;
    top: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon svg {
    width: 24px;
    height: 24px;
}

.button:hover {
    background: #222;
}

.button:hover .text {
    top: -100%;
}

.button:hover .icon {
    top: 0;
}

.button:hover:before,
.button:hover:after {
    opacity: 1;
    visibility: visible;
}

.button:hover:after {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
}

.button:hover:before {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
}

.hamburger {
    color: #fff;
    display: none;
}

aside a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

aside nav ul {
    margin-top: 10px;
    margin-left: 25px;
}

aside nav li {
    margin-bottom: 10px;
    list-style: none;
}

.submenu ul {
    display: none;
}

aside {
    top: 0;
    transform: translate(-200px);
    transition: all 0.7s ease-in-out;
    display: block;
    background-color: #111;
    color: #fff;
    min-height: 250px;
    width: 200px;
    position: absolute;
    z-index: 9;
    left: 0;
    transform: translateX(-200px);
}


aside ul li {
    color: #fff;
}

body.hidden {
    overflow: hidden;
}

.close i {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
}

@media(max-width:520px) {
    .hamburger {
        text-align: end;
        margin-right: 20px;
        display: block;
    }

    .logo img {
        height: 25px;
        width: auto;
    }

    .menu {
        display: none;
    }

    .head-container {
        grid-template-columns: 2fr 1fr;
    }

    .submenu li {
        list-style: square;
    }

    aside nav ul {
        margin-top: 15px;
        margin-left: 0;
    }

    /* midsec */
    .section-heading h2 {
        font-size: 1.8rem;
    }

    .section-heading p {
        font-size: 0.95rem;
        max-width: 90%;
    }

    .box {
        height: 205px;
    }

    .body {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        gap: 0px;
        max-width: 100%;
    }

    .btn {
        padding: 0;
    }

    .productcard {
        width: 90%;
    }

    .info {
        padding: 0;
        max-width: 100%;

    }

    /* footer */
    .foot {
        display: flex;
        flex-direction: column;
        height: 420px;
        max-width: 90%;
        margin: auto;
        border: none;
    }

    footer h3 {
        font-size: 1.3rem;
    }

    .colunms {
        margin-bottom: 30px
    }

    footer h5 {
        font-size: 0.9rem;
    }

    footer p {
        margin: 0;
        font-size: 0.8rem;
    }

    .copyright {
        padding-top: 20px;
        max-width: 95%;
        margin: auto;
    }

    .second i {
        margin-left: 10px;
    }

    .email {
        max-width: 190px;
        padding: 15px;
        font-size: 10px;
    }

    .emailbutton {
        font-size: 10px;
    }
}