/* General Styles */

@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&display=swap');

body {
  font-family: "Literata", serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background-color: #faf5f3;
}

/* Section Styles */
.section {
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  box-sizing: border-box;
}

.back {
  background-image: url("Portfolio/Other images/Bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blur-box {
  backdrop-filter: blur(10px); /* Blurs the background behind the box */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border-radius: 10px;
  width: 90%;
  height: auto;
  max-width: 1200px;
  text-align: center;
  padding: 70px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* Creates a fading effect from the center outward */
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

p {
  font-weight: 300;
  font-size: 20px;
  max-width: 800px;
  text-align: center;
  line-height: 1.9;
  color: #000000;
  margin: 0 auto;
}

h1 {
  font-size: 70px;
  margin-bottom: 20px;
  text-align: center;
  color: #a57940;
}

/* Tile Container Styles */
.TILES {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(6, 300px);
  grid-gap: 40px;
  width: 95%;
  margin-top: 40px;
  margin-bottom: 40px;
}

.tile {
  background-color: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-decoration: none; /* Remove underline from the <a> tag */
  color: inherit;
  padding: 0px;
  overflow: hidden;
}


.tile:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Custom Tile Sizes */

.tile.span-4x1{
  grid-column: span 4;
  grid-row: span 1;
  position: relative; /* Ensure the tile content stacks properly */
  overflow: hidden;
}


.tile.span-2x2 {
  grid-column: span 2;
  grid-row: span 2;
  position: relative; /* Ensure the tile content stacks properly */
  overflow: hidden;
}

.tile.span-1x2 {
  grid-column: span 1;
  grid-row: span 2;
}

.tile.span-2x1 {
  grid-column: span 2;
  grid-row: span 1;
}

.tile h2 {
  font-size: 1.7em;
  font-weight: 400;
  margin: 0 0 5px;
  color:#ffffff;
  text-shadow: 1px 1px #000000;
}

.tile p {
  font-size: 1em;
  color: #555;
}

form {
  flex: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    padding: 20px;
}

label{
  font-family: "Literata", serif;
  font-weight: 320;
  font-size: 1em;
}

input, textarea, button {
  font-family: "Literata", serif;
  font-weight: 200;
  padding: 15px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  font-family: "Literata", serif;
  font-weight: 300;
  background-color: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

.social-media {
  margin: 20px 0;
}

.social-media a {
  margin-right: 10px;
  color: #007BFF;
  text-decoration: none;
}

/* Section Styles */


#contact p {
  flex: 1;
  font-weight: 200;
  font-size: 20px;
  text-align: left;
  line-height: 1.9;
}

.project-tile {
    position: relative;
    width: 100%; /* Adjust based on your layout */
    height: 100%; /* Adjust based on your layout */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the tile without zooming */
}

.overlay-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
}

/* Navigation Bar Styles */
  .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    z-index: 1000; /* Ensures it stays on top */
  }

  .navbar a {
    font-family: "Literata", serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    margin: 0 20px;
    padding: 10px 15px;
    transition: color 0.3s ease;
  }

  .navbar a:hover {
    color: #7a5427;
  }
