* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Playfair Display';
  background-color: #fff;
  color: #2e381e;
  text-align: center;
}
/* Footer */
.footer-image {
  width: 100%;
  height: 130px;
  background-image: url('footer.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */
}

.footer-text {
  color: white;        /* or any color that contrasts with the image */
  font-size: 16px;
  font-weight: normal;
  text-shadow: 1px 1px 2px black; /* helps make it readable */
  margin: 0;
}

/* NAVBAR */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2rem;
  background-color: #000000;
  border-bottom: 2px solid #090909;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  font-family: 'Playfair Display';
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.nav-logo img {
  height: 62px;  /* Try 24px, 32px, 40px – whatever looks right */
  width: auto;   /* Keeps proportions correct */
  object-fit: contain;  /* Ensures it doesn't stretch */
}

.nav-center {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: space-between; /* Or: space-around / space-evenly */
  padding: 1rem;
  margin-right: 40px;

}

.nav-center li a{
  position: relative;
  font-size: 17px; 
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-center li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition: width 0.5s ease;
}

.nav-center li a:hover::after {
  width: 100%;
}


/* HERO SECTION */
.hero {
  background-image: url('background.png'); /* Use your marble background here */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding-top: 100px; /* for navbar spacing */
  font-family: 'Playfair Display'
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* soft overlay */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 5rem;
  letter-spacing: 3.5px;
  line-height: 1.1;
  font-weight: lighter;
}

.subtitle {
  font-size: 1.2rem;
  margin: 20px 0;
  letter-spacing: 2px;
  
  display: block;
  padding: 10px 20px;
}

.hero-button {
  text-decoration: none ;
  font-size: 1.1rem;
  padding: 6px 16px;
  border-radius: 20px;
  border: 2px solid white;
  color: white;
  background: transparent;
  display: inline-block;
  transition: all 0.3s ease;
}

.hero-button:hover {
  text-decoration: none ;
  background-color: white;
  color: black;
  cursor: pointer;
}








/*--------portfolio-------- */


.container h1 {
    padding-top: 90px;
    padding-bottom: 2px;
   font-size: 42px;
    text-align: center
}
.container {
  width: 100%;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); /* responsive */
    gap: 40px;
    margin-top: 50px;
    align-items: stretch;
    padding: 30px 30px;
}

.work {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    min-height: 500px; /* ⬅️ force equal height cards */
}

.image-container {
    position: relative;
    height: 70%;
    width: 100%;
    overflow: hidden;
    border-radius: 10px 10px 10px 10px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.image-container:hover img {
    transform: scale(1.1);
}





.layer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #2e381e);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.image-container:hover .layer {
    height: 100%;
    color: #fff;
}

.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Playfair Display';
    font-size: 24px;  

}

.layer p{
  font-weight: bold;
 font-size: 18px;  
}

.layer a{
    margin-top: 20px;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}


.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #8a9c6e;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    background: url(background.png);
    color: #fff;
    transition: background 0.5s;
}
.btn:hover {
  background: url('background.png') no-repeat center;
  background-size: cover;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback for non-webkit browsers */
}



.work-caption a {
  text-decoration: none;
  text-align: center;
  margin-top: 15px;
  padding: 0 10px;
}

.work-caption h4 {
  font-size: 18px;
  font-family: 'Playfair Display';
  margin-bottom: 5px;
  color: #2e381e;
  transition: color 0.3s ease;
}

.work-caption a:hover h4 {
  color: #8a9c6e; /* or whatever highlight color you want */
  text-decoration: underline;
  cursor: pointer;
}


.tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tags span {
  background-color: #e3e3e3;
  color: #2e381e;
  font-size: 15px;
  font-family: 'Abel';
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}




/* Hide hamburger by default */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Responsive navigation */
@media (max-width: 768px) {
  .nav-center {
    display: none; /* Hide menu on mobile by default */
    flex-direction: column;
    position: absolute;
    top: 70px;  /* below navbar */
    right: 20px;
    background: black;
    padding: 1rem;
    border-radius: 8px;
  }

  .nav-center.show {
    display: flex; /* Show when toggled */
  }

  .menu-toggle {
    display: block; /* Show hamburger */
  }

    .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-image {
    width: 100%;
    height: auto;
    padding: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text h2 {
    font-size: 1rem;
  }

    /* Disable hover zoom effect */
  .image-container:hover img {
    transform: none !important;
  }

  /* Disable the overlay layer */
  .layer {
    display: none !important;
  }

  .image-container:hover .layer {
    display: none !important;
  }

}
