/* CSS file */

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  margin: 0;
  height: 100%;
}

.background {
  width: 100%;
  min-height: 100vh;
  background-color: #f7e5eb;
  padding: 90px 10% 10px;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.howitworks {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
}

.top {
  text-align: center;
  position: static;
  z-index: auto;
  width: 100%;
  margin-bottom: 25px;
}

.box {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; 
}

.left, .middle, .right {
  width: 300px;
  padding: 25px;
  justify-content: space-between;
  z-index: auto;
  box-shadow: 10px 10px 10px rgba(31, 122, 99, 0.3);
  background-color: #ecabc9;
  border-radius: 25px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1),
              box-shadow 0.35s cubic-bezier(.4,0,.2,1);

  will-change: transform;
}

.left:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.middle:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.right:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.content {
  text-align: center;
}
.safety {
  margin: 0;
  align-items: center;
  padding-top: 70px;
  text-align: center;
}

ul {
  text-align: left;
  display: inline-block;
  margin: 0;
  padding: 0 0 0 1em;
}

hr {
  border: none;
  background-color: #f5e2e2;
  height: 5px;
  width: 50%;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px;

  backdrop-filter: blur(10px);
  background: transparent;
  z-index: 2;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}
nav ul li {
  display: inline-block;
  list-style: none;
  text-align: center;
  white-space: nowrap;
  margin: 0;
}

nav h2 {
  margin: 0;
  font-size: 20px;
}
nav ul li a {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 400;
  list-style: none;
}

nav ul li a:hover {
  color: #f3b5ba;
  background-color: transparent;
  text-decoration: none;
}

.login-btn {
  text-decoration: none;
  display: inline-block;
  padding: 10px 25px;
  color: #fff;
  border-radius: 30px;
  font-weight: 14px;
  background-image: linear-gradient(10deg, #bc335f, #ecabc9);
  border-top-right-radius: 0;
}

.login-btn:hover {
  color: #f3b5ba;
  background-color: transparent;
  text-decoration: none;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 15px; 
  white-space: nowrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: none;  
  cursor: pointer;
  color: #333;
  margin-right: 8px;
  font-weight: 400;
}

.btn:hover {
  color: #bc335f;
  background-color: transparent;
  text-decoration: none;
}

footer {
  background: #f8d8e6;
  color: #6a1b3a;
  padding: 20px;
  text-align: center;
}

footer a {
  color: #bc335f;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #FFFFFF;
}

.discover-section {
  padding: 40px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #f8d8e6;
  padding: 25px;
  border-radius: 20px;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: 5px 5px 15px rgba(31, 122, 99, 0.1);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #b94e74; 
}

.card h3 {
  color: #a55771;
  margin-top: 0;
}

.hobby-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hobby-pill {
  background: #f0f0f0; 
  color: #bc335f;          
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  margin: 4px;
  display: inline-block;
  border: 1px solid #ddd;
}

.shared-hobby {
  background-color: #b94e74; 
  color: #ffffff;           
  border-color: #b94e74;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(31, 122, 99, 0.3);
}

header {
  padding-top: 70px;
  margin: 0;
}

.profile {
  text-align: center;
  align-items: center;
  padding: 25px;
  z-index: 1;
  box-sizing: border-box;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  box-shadow: 5px 5px 15px rgba(31, 122, 99, 0.1);
}

.profile-top {
  z-index: 2;
  padding: 25px;
  text-align: center;
  align-items: center;
}

#userForm, #profile-form {
  max-width: 400px;
  margin: auto;
}

#userForm label, #profile-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

#userForm input, #userForm select,
#profile-form input, #profile-form select, #profile-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  box-sizing: border-box;
  border: 1px solid #f7e5eb;
  border-radius: 4px;
  font-size: 16px;
}

#userForm button, #profile-form button {
  width: 100%;
  padding: 12px;
  background-color: #bc335f;
  color: #f7e5eb;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

#userForm button:hover, #profile-form button:hover {
  background-color: #a02a51;
}
#profilePic {
  display: block;
  margin: 10px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.card-container {
  width: 300px;
  height: 400px;
  position:relative
}

.swipe-card {
  width: 100%;
  height: 100%;
  background: #f8d8e6;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  position: absolute;
  padding: 20px;
  transition: 0.3s ease;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1 {
  text-align: center;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  margin-bottom: 10px;
  color: #a55771;
}

.faq-item {
  background: #f8d8e6;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.faq-item h2 {
  font-size: 18px;
  margin-top: 0;
}

.faq-item p{
  margin-bottom: 0;
  line-height: 1.6;
}

.hobbies-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.hobbies-container input[type="checkbox"] {
  display: none;
}

.hobby-btn {
  padding: 8px 16px;
  border-radius: 20px;
  background: #f8d8e6;
  color: #bc335f;
  border: 1px solid #e27792;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.hobby-btn:hover {
  background: #ecabc9;
  transform: translateY(-2px);
}

.hobbies-container input[type="checkbox"]:checked + .hobby-btn {
  background: #bc335f;
  color: #fff;
  border-color: #bc335f;
  box-shadow: 0 2px 8px rgba(11, 11, 11, 0.2);
}

#bio {
  width: 100%;
  resize: none;
  padding: 8px 16px;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-title img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
}

.card.profile-card {
  max-width: 600px;
}

/*CSS for contactpage form */

#contact-form {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

#contact-form input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
}

#contact-form textarea {
  height: 120px;
  width: 100%;
  resize: none;
}

button {
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  padding-bottom: 0;
}
.preferences-card {
  background: #f8d8e6;
  border-radius: 20px;
  box-shadow: 5px 5px 15px rgba(31, 122, 99, 0.1);
  max-width: 500px;
  margin: 40px auto;
  padding: 30px;
}

.pref-title {
  text-align: center;
  color: #a55771;
  margin-bottom: 20px;
}

.preferences-card label {
  font-weight: 600;
  color: #6a1b3a;
  margin-top: 10px;
  display: block;
}

.preferences-card input,
.preferences-card select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 12px;
  border: 1px solid #f7e5eb;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.preferences-card input:focus,
.preferences-card select:focus {
  border-color: #bc335f;
}

.preferences-card button {
  width: 100%;
  padding: 12px;
  background-color: #bc335f;
  color: #f7e5eb;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.preferences-card button:hover {
  background-color: #a02a51;
}

