/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Poppins", sans-serif;
}

/* BODY */
body{
  background-color:rgb(255,252,241);
  padding-top:80px; /* prevents navbar overlap */
}

/* HEADINGS */
h1{
  text-align:center;
  margin-top:20px;
}

/* MAIN IMAGE SLIDER */
.gallery-container{
  width:fit-content;
  margin:20px auto;
  display:flex;
  align-items:center;
}

.main-img{
  width:400px;
  height:450px;
  border-radius:10px;
  object-fit:cover;
}

/* SLIDER BUTTONS */
.btn-slide{
  display:flex;
  width:35px;
  height:35px;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  font-size:20px;
  cursor:pointer;
  border:1px solid black;
  margin:5px;
  background:white;
}

/* TITLE & DESCRIPTION */
#title{
  text-align:center;
  margin-top:10px;
}

#description{
  text-align:center;
  width:60%;
  margin:10px auto;
}

/* PREVIEW GALLERY */
.gallery-preview{
  display:flex;
  gap:10px;
  width:80%;
  margin:20px auto;
  overflow-x:auto;
  white-space:nowrap;
  scroll-behavior:smooth;
  padding:10px;
}

.preview-img{
  width:140px;
  height:90px;
  border-radius:8px;
  cursor:pointer;
  object-fit:cover;
  flex-shrink:0;
}

.preview-img:hover{
  transform:scale(1.1);
  transition:0.3s;
}

/* PHOTO GRID */
.container{
  width:65%;
  margin:40px auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* CARD */
.card{
  position:relative;
  overflow:hidden;
  border-radius:10px;
}

.card img{
  width:100%;
  height:250px;
  object-fit:cover;
  border-radius:10px;
  transition:0.4s;
}

.card:hover img{
  transform:scale(1.05);
}

/* HEART ICON */
.heart{
  position:absolute;
  top:15px;
  right:15px;
  width:35px;
  height:35px;
  background:rgba(255,255,255,0.8);
  color:red;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  cursor:pointer;
  font-size:20px;
}

.heart:hover{
  background:red;
  color:white;
}

/* NAVBAR */
.navbar-main-container{
  background-color:#31443b;
  color:#f7f5eb;
  display:flex;
  justify-content:space-around;
  align-items:center;
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
}

/* LOGO */
.logo-container{
  display:flex;
  align-items:center;
  gap:15px;
}

.main-logo{
  border-radius:50px;
}

.project-name{
  font-size:22px;
  font-weight:bold;
}

/* NAV LINKS */
.nav-links-container{
  display:flex;
  gap:20px;
}

.nav-text-container{
  color:#f7f5eb;
  text-decoration:none;
}

.nav-text-container:hover{
  color:#f0c76b;
}

/* LOGIN LINKS */
.auth-links-containar{
  display:flex;
  gap:20px;
}

/* MENU BUTTON */
.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
  color:white;
}

/* FOOTER */
.main-footer{
  background:#31443b;
  color:#fff;
  padding:50px 40px 20px;
  margin-top:50px;
  width:100%;
}

/* FOOTER CONTAINER */
.footer-container{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:40px;
  width:100%;
}

/* FOOTER COLUMN */
.footer-col{
  flex:1;
  min-width:200px;
}

/* FOOTER HEADINGS */
.footer-col h3{
  margin-bottom:15px;
  font-size:16px;
  border-bottom:1px solid #fff;
  padding-bottom:8px;
}

/* FOOTER TEXT */
.footer-col p{
  margin:8px 0;
  font-size:14px;
  color:#ccc;
}

.footer-col a{
  text-decoration:none;
  color:#ccc;
}

.footer-col a:hover{
  color:#f0c76b;
}

/* SOCIAL ICONS */
.social-icons{
  text-align:center;
  margin-top:30px;
}

.social-icons img{
  margin:0 10px;
  cursor:pointer;
}

/* FOOTER BOTTOM */
.footer-bottom{
  text-align:center;
  margin-top:30px;
  font-size:14px;
  color:#aaa;
  border-top:1px solid #fff;
  padding-top:15px;
}

/* MOBILE */
@media screen and (max-width:768px){

.menu-toggle{
  display:block;
}

.navbar-main-container{
  flex-wrap:wrap;
}

.nav-links-container{
  display:none;
  flex-direction:column;
  width:100%;
  text-align:center;
  background:#31443b;
}

.auth-links-containar{
  display:none;
  flex-direction:column;
  width:100%;
  text-align:center;
  background:#31443b;
}

.nav-links-container.active,
.auth-links-containar.active{
  display:flex;
}

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

}

/* SMALL MOBILE */
@media screen and (max-width:480px){

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

.main-img{
  width:300px;
  height:350px;
}

}
/* ================= TABLET ================= */

@media screen and (max-width:1024px){

.container{
grid-template-columns:repeat(3,1fr);
width:85%;
}

.main-img{
width:350px;
height:400px;
}

.gallery-preview{
width:90%;
}

#description{
width:80%;
}

}

/* ================= SMALL TABLET ================= */

@media screen and (max-width:768px){

.menu-toggle{
display:block;
}

.navbar-main-container{
flex-wrap:wrap;
height:auto;
padding:10px;
}

.nav-links-container{
display:none;
flex-direction:column;
width:100%;
text-align:center;
background:#31443b;
padding:10px 0;
}

.auth-links-containar{
display:none;
flex-direction:column;
width:100%;
text-align:center;
background:#31443b;
padding-bottom:10px;
}

.nav-links-container.active,
.auth-links-containar.active{
display:flex;
}

.container{
grid-template-columns:repeat(2,1fr);
width:90%;
}

.main-img{
width:320px;
height:380px;
}

.gallery-preview{
width:95%;
}

#description{
width:90%;
}

.footer-container{
flex-direction:column;
gap:25px;
}

}

/* ================= MOBILE ================= */

@media screen and (max-width:480px){

.container{
grid-template-columns:1fr;
width:90%;
}

.main-img{
width:260px;
height:320px;
}

.preview-img{
width:110px;
height:70px;
}

.gallery-preview{
gap:8px;
}

.project-name{
font-size:18px;
}

.btn-slide{
width:30px;
height:30px;
font-size:18px;
}

.footer-container{
text-align:center;
}

.social-icons img{
width:25px;
}

}