@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

:root {
    --primary-color: #dc775e;
    --primary-color-dark:#bb654f;
    --text-dark: #171717;
    --text-light: #525252;
    --extra-light: #f5f5f5;
    --white: #ffffff;
    --max-width: 1200px;
} 

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

.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section__header {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.section__description {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.btn {
    padding: .75rem 2rem;
    font-size: 1rem;
    color: var(--white);
    white-space: nowrap;
    background: var(--primary-color);
    outline: none;
    border: none;
    cursor: pointer;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, .1);
    transition: 0.3s ;
}

.btn:hover {
    background: var(--primary-color-dark);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, .2);
}

img {
    width: 100%;
    display: flex;
}

a {
    text-decoration: none;
}

html,
body{
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

nav {
    position: fixed;
    isolation: isolate;
    top: 0;
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    z-index: 9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.nav__bar {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-color: var(--extra-light);
}

.nav__bar a {
    font-size: 1.2 rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav__menu__btn {
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.nav__links {
    list-style: none;
    position: absolute;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background-color: var(--text-light);
    transform: translateY(-100%);   
    transition: .5s;
    z-index: -1;
}

.nav__links.open {
    transform: translateY(0);
}

.nav__links a {
    font-weight: 500;
    color: var(--white);
    transition: 0.3s;
}

.nav__links a:hover {
    color: var(--primary-color);
}

.header__container {
    padding-top: 8rem;
    display: grid;
    gap: 2 rem;
    text-align: center;
}

.header__content h1{
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 2.5rem;
}

.header__content h1 span {
    font-size: 6rem;
    line-height: 6rem;
}

.header__image img {
    filter: drop-shadow(10px 10px 10px rgba(0,0,0,.2));
    -webkit-filter: drop-shadow(10px 10px 10px rgba(0,0,0,.2));
    animation: header 5s infinite;
    width: 60%;
    margin: 0 auto;
}

@keyframes header {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-20px);
    }
    75% {
        transform: translateY(20px);
    }
}

.about {
    background-color: var(--extra-light);
}

.about__container {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.about__image img {
    max-width: 350px;
    margin: auto;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, .2);
}

.product__container .section__description {
    max-width: 600px;
}

.product__grid {
    margin-top: 4rem;
    display: grid;
    gap: 4rem 1rem;
}

.product__card img{
    max-width: 400px;
    margin-inline: auto;
    margin-bottom: 1rem;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, .2);
}

.product__card h4 {
    margin-bottom: 1rem;
    font-size: 15px;
    font-weight: bolder;
    color: var(--text-dark);
}

.product__card p {
    
    margin-bottom: 2rem;
    color: var(--text-light);
}

.product__card a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: 0.3s;
    margin-bottom: 0;
}

.product__card a:hover {
    color: var(--primary-color-dark);
}

/* Gallery section */

.gallery__container {
    display: grid;
    gap: 1rem;
    grid-auto-rows: 300px;
}

.gallery__image {
    position: relative;
    isolation: isolate;
}

.gallery__image img {
    height: 100%;
    object-fit: cover;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, .2);
}

.gallery__image__details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    gap: 1rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    cursor: pointer;
    transition: 0.3s;
}

.gallery__image__details h4 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
}

.gallery__image__details div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gallery__image__details .btn {
    padding-inline: 1rem;
}

.gallery__image:hover .gallery__image__details {
    opacity: 1;
}

.subscribe__container {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.subscribe__image img{
    max-width: 350px;
    margin-top: auto;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.subscribe__content form {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    background-color: var(--extra-light);
}

.subscribe__content input {
    width: 100%;
    /* padding-inline: 1rem; */
    font-size: 1rem;
    outline: none;
    border: none;
    background: transparent;
}

.upload-box {
    font-size: 16px;
    background:var(--white);
    border-radius: 50px;
    box-shadow: 5px 5px 20px var(--text-dark);
    width: 350px;
    outline: none;
}

::-webkit-file-upload-button {
    color: var(--white);
    background: var(--primary-color);
    padding: 20px;
    border: none;
    border-radius: 50px;
    box-shadow: 1px 0 1px 1px var(--primary-color);
    outline: none;
}

::-webkit-file-upload-button:hover {
    background: var(--primary-color-dark);
}

.form-btn {
    padding: .75rem 2rem;
    font-size: 1rem;
    color: var(--white);
    white-space: nowrap;
    background: var(--primary-color);
    outline: none;
    border: none;
    cursor: pointer;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, .1);
    transition: 0.3s ;
    margin-left: 10px;
    border-radius: 50px;
}

.form-btn:hover {
    background: var(--primary-color-dark);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, .2);
}


.container-services{
    background-color: var(--extra-light);
}


.container-services {
    /* height: 20vh; */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8%;
}

.container-services h1 {
    position: relative;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 60px;
}

.container-services p {
    text-align: center;
}
.container-services .row-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}
.container-services .row-services .service {
    padding: 25px 10px;
    text-align: center;
    border-radius: 5px;
    transition: transform .5s;
    cursor: pointer;
    font-size: 14px;
}

.container-services .row-services .service i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.container-services .row-services .service:hover i {
    color: var(--primary-color);
}
.container-services .row-services .service h2 {
    margin-bottom: 8px;
    font-size: 22px;
}



 /* Footer start */

/* Footer */
footer {
    position: relative;
    width: 100%;
    background: var(--extra-light);
    min-height: 100px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer .social_icon,
footer .footer-menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

footer .social_icon li,
footer .footer-menu li
 {
    list-style: none;
}

footer .social_icon li a {
    font-size: 2em;
    color: var(--primary-color);
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
}

footer .social_icon li a:hover {
    transform: translateY(-10px);
}

footer .footer-menu li a {
    font-size: 1.2em;
    color: var(--primary-color);
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
}

footer .footer-menu li a:hover {
    opacity: 1;
}

footer p {
    /* color: rgb(239, 239, 239); */
    color: rgb(57, 35, 62);
    text-align: center;
    margin: 15px 0;
    font-size: 1.1em;
}


@media (width > 576px) {
    .product__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width > 768px) {
    nav {
        padding: 2rem 1rem;
        position: static;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: none;
    }

    .nav__bar {
        padding: 0;
        background-color: transparent;
    }

    .nav__menu__btn {
        display: none;
    }

    .nav__links {
        padding: 0;
        width: unset;
        position: static;
        transform: none;
        flex-direction: row;
        background-color: transparent;
    }
    .nav__links a {
        color: var(--text-dark);
    }

    .header__container {
        padding-top: 5rem;
        align-items: center;
        grid-template-columns: 1fr 2fr;
        text-align: left;
    }

    .header__image {
        grid-area: 1/2/2/3;
    }

    .about__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        text-align: left;
    }

    .about__image {
        grid-area: 1/2/2/3;
    }

    .product__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .gallery__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__image:nth-child(4) {
        grid-area: 1/2/2/3;
    }

    .gallery__container {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery__image:nth-child(1) {
        grid-area: 1/1/3/2;
    }
    .gallery__image:nth-child(2) {
        grid-area: 1/2/2/3;
    }
    .gallery__image:nth-child(3) {
        grid-area: 2/2/3/3;
    }
    .gallery__image:nth-child(4) {
        grid-area: 1/3/3/4;
    }

    .subscribe__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        text-align: left;
    }

    .subscribe__content form {
        margin-inline-start: unset;
    }

   
    /* footer .footer-menu li {
       width: 100%;
       margin: 0px auto;
    }

    footer .footer-menu li a {
        padding: 0 20px;
        display: block;
        font-size: 20px;
    } */
}

@media (width < 768px) {
 footer .footer-menu li {
       width: 100%;
       margin: 0px auto;
    }

    footer .footer-menu li a {
        padding: 0 20px;
        display: block;
        font-size: 20px;
    } 

}
