body {
  background-color: #222;
  color: white;
 text-align: center;
  margin: 25 auto;
  transform: translate(30px, 200px); /* a subtle shift right & down */
  font-family: Arial, sans-serif;
}

body {
  font-family: "Playfair Display", serif;
}


.hero {
  padding: 0px 0;
}

.caro li {
  list-style: none;
  margin: 10px 0;
}

h1 {
  font-size: 5cap;
  margin-bottom: 20px;
}
.caro {
  display: flex;
  overflow-x: auto;           /* allows horizontal scroll */
  gap: 20px;
  list-style: none;
  padding: 20px;
  margin: 10 auto;
  scrollbar-width: none;      /* hides scrollbar (Firefox) */
}

.caro::-webkit-scrollbar {
  display: none;              /* hides scrollbar (Chrome, Safari, Edge) */
}

.caro li {
  flex: 0 0 calc((100% / 3) - 20px); /* fits 3 per view */
  aspect-ratio: 1 / 1;               /* keeps square shape */
  background: #444;
  border-radius: 12px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}
.caro li:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  z-index: 2; /* brings the hovered card forward */
}

.hero {
  position: relative;          /* allows precise positioning inside */
  height: 60vh;               /* makes hero fill the screen */
  flex-direction: column;      /* stack elements vertically */
  justify-content: center;     /* centers vertically */
  align-items: center;         /* centers horizontally */
  text-align: center;          /* centers text inside */
}

.caro {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 0;
}

/* Each list item acts like a square container */
.caro li {
  flex:1 1 calc(25% - 30px);   /* fixed width */
  height: 500px;         /* fixed height = square */
  border-radius: 15px;
  overflow: hidden;      /* makes sure link corners stay rounded */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* The clickable link fills the square completely */
.square-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #333;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 15px;
  transition: background-color 0.2s ease;
}

/* Hover effects */
.caro li:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.square-link:hover {
  background-color: #555;
}

.contact {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-top: 100px;
}

.contact h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-btn {
  background-color: #444;
  color: white;
  padding: 05px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.contact-btn:hover {
  background-color: #666;
  transform: scale(1.05);
}

.project-page img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* one image per card – change file names to YOUR actual images */
.square-link.fossil {
    background-image: url('ecb6d408-e252-4e3d-b823-4d7c3e0055c2.png');          /* fossil museum */
}

.square-link.rehab {
    background-image: url('Screenshot 2025-12-01 113845.png');   /* or another rehab render */
}

.square-link.kapoor {
    background-image: url('rendersubmittal.jpg');       /* put correct file name */
}

.square-link.artist {
    background-image: url('be5f56e5-0445-4d89-91d9-2886316ffc3f.png');        /* or any image you want */
}

.square-link {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}
