/* styles.css */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
}

.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
}

.btn {
  background-color: #dc2626;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
}

.btn:hover {
  background-color: #b91c1c;
}

header{
  background:var(--black);
  color:#fff;
  padding:15px 40px;
  position:sticky;
  top:0;
  z-index:100;
}

.project-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  opacity: 1;
  transition: opacity 0.4s ease-in-out,
              transform 0.3s ease;

  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.project-img:hover {
  transform: scale(1.02);
}
/* PROJECT CARDS */

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.project-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .project-img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: white;
  text-align: center;
}

.project-overlay h3 {
  font-size: 2rem;
  font-weight: bold;
}

.project-overlay p {
  margin-top: 10px;
  font-size: 1rem;
  border: 2px solid white;
  padding: 8px 18px;
  border-radius: 8px;
}

.gallery-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform .3s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.03);
}