@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@400;500&family=Ubuntu:wght@400;500&display=swap');

:root{
    --transition: all 300ms ease-in-out;
    --dark-color: #332e29;
    --light-color: #fff;
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    outline: 0;
}
html{
    font-size: 10px;
    scroll-behavior: smooth;
}
body{
    font-size: 1.6rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

button, .btn{
    cursor: pointer;
    border: none;
    background: transparent;
}
ul{
    list-style-type: none;
}
a{
    text-decoration: none;
    color: white;
}
.a1{
    text-decoration: none;
    color: black;
    font-size: 1.6rem;
}
img{
    width: 100%;
    display: block;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.vh-100{
    min-height: 100vh;
}
h1, h2, h3{
    margin-top: 0;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--dark-color);
}
.flex{
    display: flex;
    align-items: center;
    justify-content: center;
}
.py-7{
    padding: 7rem 0;
}
.grid{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}
.lead{
    opacity: 0.8;
    padding: 1rem 0;
    font-size: 1.7rem;
    font-weight: 300;
    line-height: 1.8;
}
.lead2{
    opacity: 0.8;
    padding: 1rem 0;
    font-size: 1.7rem;
    font-weight: 300;
    line-height: 1.8;
}
.lead3{
    opacity: 0.8;
    padding: 1rem 0;
    font-size: 1.7rem;
    font-weight: 300;
    line-height: 1.8;
}
.lead4{
    opacity: 0.8;
    padding: 1rem 0;
    font-size: 1.7rem;
    font-weight: 300;
    line-height: 1.8;
}
.lead5{
    opacity: 0.8;
    padding: 1rem 0;
    font-size: 1.7rem;
    font-weight: 300;
    line-height: 1.8;
}

/* header */
/* #header{
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/homepage.jpeg') center/cover no-repeat fixed;
    justify-content: flex-start;
    align-items: flex-end;
} */


/* #header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/homepage.jpeg') center/cover no-repeat fixed;
    justify-content: flex-start;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
} */

#header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/homepage.jpeg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    color: var(--light-color);
}
#header .container{
    width: 100%;
}
.header-content{
    padding-bottom: 4rem;
}
.header-content h1{
    font-size: 4.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
    color: var(--light-color);
}
.header-content h3{
    color: var(--light-color);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 1.5rem;
}

.social-links{
    display: flex;
    margin-top: 3.5rem;
}
.social-links li a{
    width: 120px;
    height: 45px;
    background-color:transparent;
    margin-right: 1rem;
    border-radius: .3rem;
    transition: var(--transition);
}
.social-links li a:hover{
    opacity: 0.9;
}

/* about */
.about-left{
    margin-bottom: 4rem;
    height: 480px;
    overflow: hidden;
}
/* button down and title -reusable */
.btn-down{
    font-size: 3rem;
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition);
}
.btn-down:hover{
    opacity: 0.8;
    transform: translateY(5px);
}
.btn-down-white{
    color: var(--light-color);
}
.btn-down1{
    text-decoration: none;
    color: black;
    font-size: 3rem;
}
.title{
    margin-bottom: 5rem;
}
.title h2{
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    position: relative;
}
.title h2::after{
    position: absolute;
    content: "";
    top: 120%;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--dark-color);
}

/* work */
/* #work{
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/7.jpeg') center/cover no-repeat fixed;
    color: var(--light-color);
} */


/* #work {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/7.jpeg') center/cover no-repeat fixed;
    color: var(--light-color);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
} */

#work {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/7.jpeg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-color);
}
#work .title h2, #work h3{
    color: var(--light-color);
}
#work .title h2::after{
    background: var(--light-color);
}
.work-bottom{
    margin-top: 4rem;
    text-align: center;
}
.work-bottom > div .icon img{
    width: 50px;
    margin: 0 auto 1.7rem auto; 
}



/* portfolio */

.portfolio-grid > div{
    transition: var(--transition);
}
.portfolio-grid > div:hover{
    transform: scale(0.9);
}

/* contact */
#contact{
    background-color: rgb(248, 248, 248);
}
.contact-content{
    flex-direction: column;
    align-items: stretch;
}
.contact-left{
    margin-bottom: 5rem;
}
.contact-left .lead{
    padding: 0.5rem;
}
.contact-left .lead2{
    padding: 0.5rem;
}
.contact-left .lead3{
    padding: 0.5rem;
}
.contact-left .lead4{
    padding: 0.5rem;
}
.contact-left .lead5{
    padding: 0.5rem;
}
.contact-left form{
    margin-top: 3rem;
}
.gdpr-consent{
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0.4rem 0 0.8rem;
    font-size: 1.3rem;
    line-height: 1.5;
}
.gdpr-consent input{
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    margin-top: 0.2rem;
    cursor: pointer;
}
.gdpr-consent label{
    cursor: pointer;
}
.privacy-inline-trigger{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: #7a5136;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: underline;
}
.privacy-shield-icon{
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}
.privacy-shield-button{
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    z-index: 999;
    display: grid;
    place-items: center;
    width: 5.2rem;
    height: 5.2rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.58);
    color: #8a5a3b;
    box-shadow: 0 0.8rem 2.8rem rgba(51, 46, 41, 0.22);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: 2.4rem;
    transition: var(--transition);
}
.privacy-shield-button:hover,
.privacy-shield-button:focus-visible{
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 1rem 3rem rgba(51, 46, 41, 0.3);
}
.privacy-modal{
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 200ms ease;
}
.privacy-modal[hidden]{
    display: none;
}
.privacy-modal.is-open{
    opacity: 1;
}
.privacy-modal__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 16, 0.42);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.privacy-modal__dialog{
    position: relative;
    z-index: 1;
    width: min(48rem, 100%);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 1.8rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2rem 6rem rgba(20, 18, 16, 0.32);
    transform: translateY(1rem) scale(0.98);
    transition: transform 200ms ease;
}
.privacy-modal.is-open .privacy-modal__dialog{
    transform: translateY(0) scale(1);
}
.privacy-modal__dialog:focus{
    outline: none;
}
.privacy-modal__dialog h2{
    margin-bottom: 1.4rem;
    text-align: center;
}
.privacy-modal__dialog p{
    margin-top: 1rem;
    color: #403a34;
    font-size: 1.35rem;
    line-height: 1.65;
}
.privacy-modal__icon{
    display: grid;
    place-items: center;
    width: 5.4rem;
    height: 5.4rem;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    background: rgba(138, 90, 59, 0.12);
    color: #8a5a3b;
    font-size: 2.5rem;
}
.privacy-modal__close{
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    color: #332e29;
    font-size: 3rem;
    line-height: 1;
}
.privacy-modal__accept{
    display: block;
    width: 100%;
    margin-top: 2rem;
    padding: 1.2rem 1.6rem;
    border-radius: 0.8rem;
    background: var(--dark-color);
    color: var(--light-color);
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 600;
}
.privacy-modal-open{
    overflow: hidden;
}
.contact-left form .form-control{
    display: block;
    margin: 1.6rem 0;
    border: 2px solid rgba(0, 0, 0, 0.3);
    padding: 1rem;
    width: 100%;
}

.contact-left form .form-control::placeholder{
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}
.contact-left .btn-submit{
    padding: 1.4rem 3rem;
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.6rem;
    transition: var(--transition);
}
.contact-left .btn-submit:hover{
    background-color: #000;
}

/* #insta{
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/6.jpg') center/cover no-repeat fixed;
    min-height: 65vh;
} */

#insta {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/6.jpg') center/cover no-repeat fixed;
    min-height: 65vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
#insta .title h2{
    color: var(--light-color);
}
#insta .title h2::after{
    background-color: var(--light-color);
}
.insta-grid > div{
    height: 400px;
    overflow: hidden;
    transition: var(--transition);
}
.insta-grid > div img{
    height: 100%;
    object-fit: cover;
}
.insta-grid > div:hover{
    transform: scale(0.9);
}

/* footer */
#footer{
    background-color: var(--dark-color);
    color: var(--light-color);
}
.footer-content{
    text-align: center;
}
.footer-content h3{
    color: var(--light-color);
    font-size: 2.5rem;
    letter-spacing: 1px;
}
.footer-content ul{
    flex-direction: column;
}
.footer-content ul li a{
    color: var(--light-color);
    font-size: 1.5rem;
    transition: var(--transition);
}
.footer-content ul li a:hover{
    opacity: 0.7;
}
.footer-content ul li{
    margin: .5rem 1rem;
}
.footer-content > div:first-child{
    margin-bottom: 3rem;
}
.footer-content > div:first-child div{
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin: 5rem auto;
    border-radius: 50%;
}


/* Media Queries */
@media (max-width: 1280px) {
    #header {
        background-attachment: scroll; 
    }
    #work{
        background-attachment: scroll;
    }
}
@media(min-width: 320px){
    .work-bottom{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
        row-gap: 0;
    }
}
@media(min-width: 576px){
    .title h2{
        font-size: 4rem;
    }
    .work-bottom{
        grid-template-columns: repeat(4, 1fr);
    }
    .portfolio-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-grid > div{
        height: 300px;
        overflow: hidden;
    }
    .portfolio-grid > div img{
        height: 100%;
        object-fit: cover;
    }
    .contact-left form .form-control{
        max-width: 500px;
    }
    .footer-content ul{
        flex-direction: row;
    }

}

@media(min-width: 768px){
    .header-content h1{
        font-size: 7rem;
    }
    .about-content, .work-top{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 6rem;
        row-gap: 0;
    }
    .about-left{
        margin-bottom: 0;
    }
    .contact-content{
        flex-direction: row;
    }
    .contact-right{
        padding-left: 3rem;
        width: 50%;
    }
    .contact-left{
        width: 50%;
    }
    .insta-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 992px){
    .insta-grid{
        grid-template-columns: repeat(4, 1fr);
    }
    .insta-grid > div{
        height: 250px;
    }
}

@media(min-width: 1200px){
    .portfolio-grid{
        grid-template-columns: repeat(3, 1fr);
    }
    .portfolio-grid > div:nth-child(2){
        grid-column: 2 / 4;
    }
    .portfolio-grid > div:nth-child(6){
        grid-column: 1 / 3;
    }
}
.h4{
margin-top: 0;
line-height: 1.3;
margin-bottom: 2rem;
color:var(--dark-color);
}

nav{
    position: fixed;
    width: 100%;
    z-index:999;
}

nav ul{
    list-style: none;
    background: transparent;
    overflow: hidden;
    color: #fff;
    padding: 0;
    text-align: center;
    margin: 0;
    transition: 1s;
}

nav.black ul{
    background: #000;
}
nav ul li{
    display: inline-block;
    padding: 20px;
}

nav ul li a{
    text-decoration: none;
    color:white;
    font-size: 20px;
}

.menu-icon{
    width: 100%;
    background-color: rgb(255 255 255 / 0.3);
    backdrop-filter: blur(10px);
    text-align: right;
    box-sizing: border-box;
    cursor: pointer;
    color: black;
    display: none;
}

@media(max-width: 580px){
    .logo{
        position: fixed;
        top: 0;
        margin-top: 16px;
    }
    nav ul{
        max-height: 0px;
        background-color: rgb(255 255 255 / 0.3);
        backdrop-filter: blur(10px);
    }
    nav.black ul{
        background: #000;
    }
    .showing{
        max-height: 40em;
    }
    nav ul li{
        box-sizing: border-box;
        width: 100%;
        padding: 24px 0;
        text-align: center;
    }

    .menu-icon{
        display: block;
    }
}
.container {
    max-width: 1200px;
    margin: auto;
  }
  
  .image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    overflow: hidden;
  }
  
  .image-item {
    flex: 1 0 28%;
    min-width: 200px;
    cursor: pointer;
  }
  
  .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms cubic-bezier(0.79, 0.25, 0, 1.07);
  }
  
  .image-item:is(:hover, :focus) img {
    transform: scale(1.03);
  }

  nav.scrolling {
  background-color: white;
  color: #332e29;
  transition: background-color 0.6s ease-in-out, color 0.6s ease-in-out;
}

nav.scrolling ul li a {
  color: #332e29;
}
.language-select {
    margin-top: 10px;
    display: flex;
    justify-content: left;
}

.language-select img {
    width: 40px;
    height: 25px;
    margin: 0 10px;
    cursor: pointer;
}
.language-select {
    display: flex;
    justify-content: left;
    align-items: center;
}

.language-select img {
    width: 40px;
    height: 25px;
    margin: 0 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    ;
}

.language-select img:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}


.menu a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease; 
}

.menu a:hover {
    color: grey; 
}


.menu a .fa {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.menu a:hover .fa {
    transform: scale(1.2); 
}
