/*
Theme Name: SheltrHub
Author: SheltrHub
Description: SheltrHub is a custom donation platform for animal shelters.
Requires at least: 6.8
Requires PHP: 8.1+
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&display=swap');

:root {
  --dark-text:rgb(17, 7, 39);
}

/* Simple CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
    font-family: "Gabarito", sans-serif;
    color: var(--dark-text);
}

p {
    margin: 0;
}

ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    max-width: 100%;
    height: auto;
    border-style: none;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button, input {
    overflow: visible;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4em 0 6em 0;
}
.green-bg {
  background: hsla(167, 68%, 73%, 1);
  background: linear-gradient(30deg, hsla(167, 68%, 73%, 1) 0%, hsla(178, 59%, 48%, 1) 100%);
  background: -moz-linear-gradient(30deg, hsla(167, 68%, 73%, 1) 0%, hsla(178, 59%, 48%, 1) 100%);
  background: -webkit-linear-gradient(30deg, hsla(167, 68%, 73%, 1) 0%, hsla(178, 59%, 48%, 1) 100%);
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#8DE9D5", endColorstr="#32C4C0", GradientType=1 );
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 5rem;
  margin-bottom: 0.6em;
  line-height: 1em;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.hero-image img {
  max-width: 80%;
  border-radius: 10px 60px;
  box-shadow: 0 0 10px rgba(17, 7, 39, 0.2);
}
.donate-icon {
  background-color: white;
  width:120px;
  height: 120px;
  border-radius: 50%;
  position: absolute;
  font-size: 3em;
  padding-top: 0.4em;
  box-shadow: 0 0 10px rgba(17, 7, 39, 0.2);
}
.donate-icon-top {
  top: 50px;
  left:-30px;
  animation: floatBubble 9s ease-in-out infinite;
}
.donate-icon-bottom {
  bottom: 50px;
  right:-30px;
  animation: floatBubble2 9s ease-in-out infinite;
}
.donate-icon i {
  background: -webkit-linear-gradient(hsla(167, 68%, 73%, 1) 0%, hsla(178, 59%, 48%, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes floatBubble {
  0%   { transform: translate(0px, 0px); }
  25%  { transform: translate(3px, -4px); }
  50%  { transform: translate(-5px, 2px); }
  75%  { transform: translate(4px, 3px); }
  100% { transform: translate(0px, 0px); }
}
@keyframes floatBubble2 {
  0%   { transform: translate(0px, 0px); }
  20%  { transform: translate(-3px, 3px); }
  40%  { transform: translate(5px, -2px); }
  60%  { transform: translate(-4px, -4px); }
  80%  { transform: translate(2px, 4px); }
  100% { transform: translate(0px, 0px); }
}

/* Button - CSS */
button, .button {
  background-image: linear-gradient(92.88deg, #455EB5 9.16%, #5643CC 43.89%, #673FD7 64.72%);
  border-radius: 12px;
  border-style: none;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
  transition: all .25s ease-in-out;
  box-shadow: rgba(80, 63, 205, 0.0) 0 1px 10px;
  padding: 1em;
  font-size: 1rem;
  text-decoration: none;
}

button:hover, .button:hover {
  box-shadow: rgba(80, 63, 205, 0.5) 0 1px 10px;
}

.cta-button {
  display: block;
  margin: 2em auto 1em auto;
  max-width: 220px;
}

/* Holding page */
header {
  background: white;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-small {
  max-width: 150px;
  height: auto;
}

.logo-holding {
  max-width: 200px;
  height: auto;
  display: block;
  margin-bottom: 4rem;
}

.cta {
  background: white;
  padding: 2rem 1rem;
  text-align: center;
}

/* Signup Form Styles */
.signup-form {
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.signup-form h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #333;
}

.form-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-direction: column;
}

.form-group input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid #E5E7EB;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #4F46E5;
}

.form-group button {
  background-color: #4F46E5;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
  width: 100%;
}

.form-group button:hover {
  background-color: #4338CA;
}

.message {
  padding: 0.75rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.message-success {
  background-color: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.message-error {
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.big-title {
  padding: 0 0 1em 0;
  text-align: center;
  font-size: 3.4em;
  line-height: 1em;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0 auto;
}
.feature {
  background: -webkit-linear-gradient(hsla(167, 68%, 73%, 1) 0%, hsla(178, 59%, 48%, 1) 100%);
  padding: 2em;
  border-radius: 12px;
  text-align: center;
}
.feature-icon {
  height:120px;
  width: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: var(--dark-text);
  color:white;
  padding-top: 0.4em;
  font-size: 3em;
  margin-bottom: 1.2em;
}


.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.info-grid-item {
  background: #fff;
  border-radius: 10px;
  padding: 2em 1.5em 1.5em 1.5em;
  box-shadow: 0 0 10px rgba(var(--dark-text),0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.info-grid-icon {
  font-size: 2.2em;
  color: var(--dark-text);
  margin-bottom: 0.7em;
}
.info-grid-text h3 {
  margin: 0 0 0.4em 0;
  font-size: 1.25em;
  color: var(--dark-text);
}
.info-grid-text p {
  margin: 0;
  color: var(--dark-text);
  font-size: 1em;
}

footer {
  background: var(--dark-text);
  text-align: center;
  padding: 1em;
  font-size: 0.9rem;
  color: white;
}

@media (max-width: 767px) {
  .container {
    padding-left: 1em;
    padding-right: 1em;
  }

  .hero {
    flex-direction: column;
    align-items: center;
    gap: 2em;
  }

  .hero-text {
    text-align: center;
    margin-bottom: 1.5em;
    max-width: 90%;
  }
  .hero-text h1 {
    font-size: 4rem;
  }

  .hero-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .features {
    flex-direction: column;
    grid-template-columns: 100%;
    gap: 1.5em;
  }

  .feature {
    align-items: center;
    text-align: center;
    margin-bottom: 1.5em;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .info-grid-item {
    padding: 1.2em 1em 1em 1em;
  }

  .cta .container {
    padding: 1.5em 1em;
  }

  .signup-form .form-group {
    flex-direction: column;
    gap: 0.8em;
  }

  .signup-form input,
  .signup-form button {
    width: 100%;
    box-sizing: border-box;
  }

  header {
    flex-direction: column;
    align-items: center;
    gap: 1em;
    padding: 1em 0;
  }

  .logo-small {
    width: 90%;
    max-width: 90%;
    margin-bottom: 0.5em;
  }
  .button, button {
    width: 90%;
  }
  .cta-button {
    max-width: 90%;
  }
}