/* Base */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
}
.heading{
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}
/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: right;
  background-color: #000;
  padding: 1rem;
  gap: 2rem;
}

.navbar button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.navbar button:hover {
  border-color: rgb(245, 223, 223);
}

/* Shared Sections */
.section {
  padding: 2rem;
  text-align: center;
}

/* Frame In Frame Styles */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile img {
  height: 200px;
  width: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #444;
}

form {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

input {
  width: 100%;
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid #555;
  background-color: #111;
  color: white;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: #999;
}

button {
  background-color: #333;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #555;
}

/* Cards Container */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  justify-content: center;
}

.card {
  position: relative;
  width: 40vh;
  height: 47vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(255,255,255,0.1);
  background-color: #111;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: brightness(90%) contrast(110%);
}

.card h3 {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  border-radius: 10px;
  padding: 0.5vh 1vh;
  font-weight: bold;
  color: white;
}

.card button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  width: 70%;
  padding: 1vh;
  background-color: #c0392b;
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card:hover button {
  opacity: 1;
}
