@charset "utf-8";
/* CSS Document */

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

body {
  background-image: url("images/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
	align-content: center;
}

.wrapper {
 max-width: 1400px;
 font-family: "Signika", sans-serif;
 font-optical-sizing: auto;
 font-style: normal;
 font-variation-settings:
    "GRAD" 0;
 align-content: center;
 margin: 0 auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links ul li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}


.nav-links ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(199, 109, 40, 255);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links ul li a:hover {
  color: rgba(199, 109, 40, 255);
}

.nav-links ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-right {
  width: 80px; 
}

.jumbotron {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
	background-image: url("images/resouce jumbo.png");
}



.jumbotron-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


.jumbotron h1 {
  font-size: 4rem; 
  font-weight: 900;
  margin: 0;
  padding: 0 20px;
  text-shadow: 3px 3px 0 hotpink;
  letter-spacing: 2px;
}

.tarot-btn {
  background-color: rgba(199, 109, 40, 255);
  color: black;
  border: none;
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Signika", sans-serif;
}

.tarot-btn:hover {
  background-color: rgba(253, 191, 34, 255);
}

.tarot-card {
  position: absolute;
  top: 80px;
  right: 40px;
  background: white;
  border: 2px solid rgba(207, 77, 72, 1);
  border-radius: 10px;
  padding: 20px;
  max-width: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: none;
  z-index: 999;
  font-family: "Signika", sans-serif;
  color: #333;
}

    .resources {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      padding: 40px;
    }

 .resource-card {
      background: #fef3e7;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 6px 6px 0px #f25f5c;
      transition: transform 0.2s ease;
    }
.resource-card img {
  width: 100%;
  height: 180px;
  object-fit: contain; 
  display: block;
  margin: 0 auto;
  background: #fff;
}


    .resource-card:hover {
      transform: scale(1.02);
    }

    .resource-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .resource-info {
      padding: 20px;
    }

    .resource-info h3 {
      margin-top: 0;
      font-size: 1.4rem;
      color: #e45756;
    }

    .resource-info p {
      font-size: 1rem;
      color: #333;
    }

.resource-info a {
      display: inline-block;
      margin-top: 10px;
      text-decoration: none;
      color: #ff6f61;
      font-weight: bold;
    }

.gradient-wrapper {
  position: relative;
  z-index: 1;
}

.gradient-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0.6)
  ); /* light gradient overlay */
  z-index: -1;
}

.resources {
  position: relative; /* ensures it's layered above the gradient */
  z-index: 2;
}

.site-footer {
  background-image: url("images/footer-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  color: #000;
  text-align: center;
  font-family: "Signika", sans-serif;
  position: relative;
}

.footer-content {
  background-color: rgba(255, 241, 230, 0.8); 
  display: inline-block;
  padding: 20px 40px;
  border-radius: 15px;
  box-shadow: 4px 4px 0px hotpink;
}

.site-footer a {
  color: #c74d48;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: hotpink;
}

.footer-hr {
  border: none;
  height: 6px;
  width: 80%;
  margin: 2rem auto;
  background-image: linear-gradient(
    to right,
    rgba(207, 77, 72, 1),    
    rgba(253, 191, 34, 1),   
    rgba(199, 109, 40, 1)    
  );
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4); 
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .nav-links ul li {
    width: 100%;
  }

  .nav-links ul li a {
    display: block;
    width: 100%;
    padding: 10px;
  }

  .nav-right {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
  }

  .logo img {
    width: 180px;
    height: auto;
  }
}
