* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  background:
    radial-gradient(circle at 30% 80%, #bbb8ae 20%, transparent 70%),
    radial-gradient(circle at 70% 90%, #c8c8c8 25%, transparent 75%),
    radial-gradient(circle at 50% 60%, #c2beb3 30%, transparent 70%),
    linear-gradient(to bottom, #dcd8d3 0%, #f0eee9 100%);
  background-repeat: no-repeat;
  background-size: cover;
}

.navbar {
  position: absolute;
  top: 0;
  height: 70px;
  width: 100%;
  padding: 2rem 2rem;
  background-color: rgba(185, 176, 162, 0.4);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 3rem;
}

.navbar .nav-links a {
  color: rgb(85, 83, 83);
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
}

.navbar .nav-links a:hover {
  color: #127393;
}

.top-right {
  position: absolute;
  top: 5rem;
  height: 70px;
  display: flex;
  align-items: center;
  right: 2rem;
  font-size: 1.5rem;
  color: #333;
  background-color: rgba(153, 178, 206, 0.373);
  border-radius: 1rem;
  padding: 1.2rem;
}

.bottom-left {
  position: absolute;
  bottom: 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  left: 2rem;
  font-size: 1.5rem;
  color: #333;
  background-color: rgba(153, 178, 206, 0.373);
  border-radius: 1rem;
  padding: 1.2rem;
}

.center-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.center-line {
  font-style: italic;
  font-size: 1.3rem;
}

.browse-btn {
  padding: 1rem 2rem;
  font-size: 1.4rem;
  border: none;
  border-radius: 1.2rem;
  background-color: #807676;
  color: #fff;
  text-decoration: none;
}

.browse-btn:hover {
  background-color: #1111116b;
  transform: scale(1.05);
}

.return-user {
  color: #333;
  font-weight: 600;
  font-style: italic;
  pointer-events: none;
  cursor: default;
  padding-left: 15rem;
}

/* --- Inspiration Page Styling --- */
.gallery {
  padding: 7rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.title {
  font-size: 2.7rem;
  color: #3a3a3a;
  margin-bottom: 3rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
}

.inspo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
}

.inspo-show {
  text-decoration: none;
  color: inherit;
}

.inspo-container {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 1.5rem;
  box-shadow: 0.5rem 0.5rem 0.5rem 0.5rem rgba(159, 133, 133, 0.185);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.inspo-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.75rem 1.8rem rgba(0, 0, 0, 0.15);
}

.inspo-image-container {
  width: 100%;
  height: 18rem;
  overflow: hidden;
}

.inspo-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.inspo-container:hover img {
  transform: scale(1.05);
}

.inspo-text {
  padding: 1rem 1.5rem;
  text-align: left;
}

.inspo-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 0.5rem;
}

.inspo-details {
  font-size: 1rem;
  color: #777;
  font-style: italic;
}

.inspo-description {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Show Page Styling */
.show-page {
  max-height: 130%;
  padding: 7rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.show-inspo-container {
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  backdrop-filter: blur(4px);
}

.show-image-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.show-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.show-image-container img:hover {
  transform: scale(1.05);
}

.show-text {
  padding: 2rem;
}

.show-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.show-details {
  font-size: 15px;
  font-style: italic;
  color: #666;
  margin-bottom: 1rem;
}

.show-description {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.show-owner {
  font-size: 0.9rem;
  color: #02678cab;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.button {
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 1.25rem;
}

.edit-btn {
  background-color: #807676;
  color: #fff;
  border: none;
  border-radius: 0.4rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.favourite-btn {
  background-color: #807676;
  color: #fff;
  border: none;
  border-radius: 0.4rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.delete-btn {
  background-color: #807676;
  color: #fff;
  border: none;
  border-radius: 0.4rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.favourite-btn:hover {
  background-color: #1111116b;
  transform: scale(1.05);
}

.back-link {
  padding-bottom: 0.9rem;
  font-size: 1.4rem;
  color: #555;
  text-decoration: none;
}

.back-link:hover {
  color: #000000;
}