/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL */
body {
  font-family: "Poppins", sans-serif;
  background: #f8f8f8;
  color: #222;
  line-height: 1.6;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  z-index: 100;
}

.logo img {
  height: 40px;       /* control logo size */
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
}

.logo:hover {
  opacity: 0.8;
}
nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 400;
}

nav a:hover {
  color: #000;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
              url("assets/heroBanner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ddd;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  margin: 1rem 0;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background: #000;
  color: white;
  border-radius: 30px;
  text-decoration: none;
}

/* ABOUT */
.about {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* GALLERY */
.gallery {
  padding: 4rem 2rem;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 10px; /* magic number */
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1;
  }
}


.art-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.15);
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
}
.art-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* CARD */
.art-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}


.art-card:hover {
  transform: translateY(-8px);
}

.image-box {
  position: relative;
}

.image-box img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}


.image-box img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  cursor: pointer; /* tells users it’s clickable */
  border-radius: 12px 12px 0 0;
  transition: transform 0.3s ease;
}


.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.modal-img {
  max-width: 85%;
  max-height: 80vh;
  border-radius: 10px;
}

.modal-caption {
  color: #ddd;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}

.image-box img:hover {
  transform: scale(1.03);
}

.card-info {
  padding: 1.2rem;
}

/* FOOTER */

.footer {
  background: #0f0f0f;
  color: #ccc;
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand h3 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #aaa;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-socials a {
  color: #aaa;
  font-size: 1.6rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  color: #fff;
  transform: translateY(-3px);
}

.footer-copy {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #777;
}


.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  background: #e0e0e0;
  border-radius: 25px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #000;
  color: white;
}


.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 999;
}

.modal-img {
  max-width: 85%;
  max-height: 80vh;
  border-radius: 10px;
}

.modal-caption {
  color: #ddd;
  margin-top: 1rem;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}
