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

body {
  font-family: 'Glacial Indifference', sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e0e0e0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #81c3c9;
}

/* Navigation Links */
nav a {
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  border: 2px solid #81c3c9;
  background: none;
  color: #81c3c9;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  background-color: #81c3c9;
  color: #ffffff;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 80vh;
  background-color: #81c3c9; /* Updated background */
  color: #ffffff;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.hero .btn {
  padding: 1rem 2rem;
  border: none;
  background-color: #ffffff;
  color: #81c3c9;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.hero .btn:hover {
  background-color: #f0f0f0;
}

/* About Section */
section {
  padding: 4rem 2rem;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #81c3c9;
}

section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  color: #000000;
}

/* CTA Section */
.cta {
  background-color: #f8f8f8; /* distinguishable background */
  padding: 4rem 2rem;
  text-align: center;
}

.cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta .btn {
  padding: 1rem 2rem;
  border: none;
  background-color: #81c3c9;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.cta .btn:hover {
  background-color: #6bb0b5;
}

/* Contact Button - styled same as header buttons */
section .btn {
  padding: 0.5rem 1rem;
  border: 2px solid #81c3c9;
  background: none;
  color: #81c3c9;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: inline-block;
  margin-top: 1rem;
}

section .btn:hover {
  background-color: #81c3c9;
  color: #ffffff;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #81c3c9;
  border-radius: 2px;
}

/* --- Buttons --- */
.store-item .actions {
  margin-top: auto;
  display: flex;
}

.store-item .actions a {
  flex: 1; /* makes link stretch full width */
}

.store-item button {
  width: 100%;                 /* full width inside the card */
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  background-color: #81c3c9;   /* Boomerang teal */
  color: #ffffff;              /* white text */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.store-item button:hover {
  background-color: #000000;   /* turn black on hover */
  color: #ffffff;              /* keep text white */
  transform: translateY(-2px); /* small lift effect */
}

/* --- Grid --- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch; /* makes all cards equal height */
}

/* --- Card --- */
.store-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;   /* stack image, text, button */
  justify-content: flex-start;
  height: 100%;             /* expand to full height of grid cell */
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* --- Image box (uniform aspect ratio) --- */
.store-item .image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #f6f6f6;
}

.store-item .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Text --- */
.store-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.store-item p {
  margin: 0 0 12px;
  color: #333;
  flex-grow: 1; /* lets description stretch to fill space */
}

/* --- Button area --- */
.store-item .actions {
  margin-top: auto; /* pushes button to bottom */
  display: flex;
}

.store-item .actions a {
  flex: 1;
}

.store-item button {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  background-color: #81c3c9;   /* Boomerang teal */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.store-item button:hover {
  background-color: #000000;   /* hover black */
  color: #ffffff;
  transform: translateY(-2px);
}

/* Default nav for desktop */
.nav-links {
  display: flex;
  gap: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px;   /* below header */
    right: 20px;
    width: 200px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: #000;
  }
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e0e0e0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #81c3c9;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  padding: 0.5rem 1rem;
  border: 2px solid #81c3c9;
  color: #81c3c9;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  background-color: #81c3c9;
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    flex-direction: column;
    background: #fff;
    width: 200px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-links a {
    margin: 0.5rem 0;
  }
}

/* Form Section */
.form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  min-height: 70vh;
  text-align: center;
  background-color: #f8f8f8; /* subtle background, like CTA section */
}

.form-section h2 {
  font-size: 2rem;
  color: #81c3c9;
  margin-bottom: 2rem;
}

/* Form Inputs */
.form-section form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 400px;
}

.form-section input {
  padding: 12px 16px;
  border: 2px solid #81c3c9;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: 0.3s;
}

.form-section input:focus {
  border-color: #6bb0b5;
  box-shadow: 0 0 5px rgba(129, 195, 201, 0.5);
}

/* Form Button */
.form-section .btn {
  margin-top: auto;
  padding: 12px;
  font-size: 1rem;
  font-weight: 700;
  background-color: #81c3c9;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-section .btn:hover {
  background-color: #6bb0b5;
}

/* Optional text under form */
.form-section p {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.form-section p a {
  color: #81c3c9;
  font-weight: 600;
  text-decoration: none;
}

.form-section p a:hover {
  text-decoration: underline;
}

/* Lookup Results */
.lookup-results {
  margin-top: 2rem;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Result card */
.result-card {
  background-color: #ffffff;
  border: 2px solid #81c3c9;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.result-card h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  color: #81c3c9;
}

.result-card p {
  margin: 4px 0;
  font-size: 1rem;
  color: #000000;
}

/* No result message */
.no-result {
  color: #ff4d4f;
  font-weight: 600;
  text-align: center;
}

/* Show Password Toggle */
.show-password {
  display: flex;
  align-items: center;
  margin: 0.5rem 0 1.5rem 0;
  font-weight: 600;
  cursor: pointer;
  color: #81c3c9;
}

.show-password input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #81c3c9;
  border-radius: 5px;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.show-password input[type="checkbox"]:checked {
  background-color: #81c3c9;
  border-color: #81c3c9;
}

.show-password input[type="checkbox"]:checked::after {
  content: '✔';
  position: absolute;
  top: 0;
  left: 3px;
  color: #fff;
  font-size: 14px;
}

/* Sticker List */
.sticker-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.sticker-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  margin-bottom: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.sticker-actions {
  display: flex;
  gap: 0.5rem;
}

.btn.small {
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
}

.btn.danger {
  background-color: #e74c3c;
  color: #fff;
}

.hidden {
  display: none;
}

textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Form Section Styling */
.form-section {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Inputs & Textareas */
.form-section input,
.form-section textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-section input:focus,
.form-section textarea:focus {
  border-color: #81c3c9;
  outline: none;
  box-shadow: 0 0 0 3px rgba(129, 195, 201, 0.25);
}

/* Button */
.form-section .btn {
  padding: 0.75rem 1.5rem;
  background: #81c3c9;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
}

.form-section .btn:hover {
  background: #6ab0b6;
  transform: translateY(-2px);
}

.sticker-list {
  margin-top: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.sticker-list h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.sticker-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sticker-item {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.sticker-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn.danger {
  background: #d9534f;
}

.btn.danger:hover {
  background: #c9302c;
}

/* Popup Notification styled like buttons */
.popup {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: bold;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #ffffff;
  background-color: #81c3c9; /* Main brand color for success */
  font-family: 'Glacial Indifference', sans-serif;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.popup.success {
  background-color: #81c3c9;
}

.popup.error {
  background-color: #000000;
}

.popup.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Popup Notifications */
.popup {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 350px;
  background-color: #ffffff; /* match page background */
  color: #000000;            /* match text color */
  border: 2px solid #81c3c9; /* your brand accent */
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  font-family: 'Glacial Indifference', sans-serif;
  animation: popupSlide 0.4s ease forwards;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup.hidden {
  display: none;
}

.popup.success {
  border-color: #4CAF50;
}

.popup.error {
  border-color: #f44336;
}

.popup .popup-content {
  flex: 1;
}

.popup .popup-close {
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  margin-left: 10px;
  color: #333333;
}

@keyframes popupSlide {
  from { opacity: 0; transform: translateY(-20px);}
  to { opacity: 1; transform: translateY(0);}
}

/* ------------------------------
   Popup / Notification Styles
------------------------------ */
.popup {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 300px;
  max-width: 90%;
  background-color: #ffffff; /* Matches page background */
  border: 2px solid #81c3c9; /* Accent color */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  font-family: 'Glacial Indifference', sans-serif;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.popup-content {
  padding: 16px;
  position: relative;
  color: #000000; /* text color */
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  cursor: pointer;
  color: #81c3c9;
  font-weight: bold;
  transition: color 0.2s ease;
}

.popup-close:hover {
  color: #000000;
}

.popup-message, #popupMessage {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* Optional: Success / Error variants */
.popup.success {
  border-color: #4CAF50;
}

.popup.error {
  border-color: #F44336;
}

/* Standard Button Styling (applies to all .btn elements) */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #81c3c9; /* matching your color scheme */
  color: #ffffff;
  font-family: 'Glacial Indifference', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 12px; /* smooth rounded corners like other pages */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background-color: #5aa1a6; /* slightly darker shade on hover */
  transform: translateY(-2px);
}

.btn:active {
  background-color: #498b8f; /* even darker when clicked */
  transform: translateY(0);
}

/* Apply the same .btn class to homepage buttons */
.hero button,
.cta button {
  all: unset; /* remove default styles */
  @extend .btn; /* if using SASS; otherwise just add class="btn" to buttons */
}

/* Homepage Hero & CTA Buttons */
.hero button,
.cta button {
  padding: 16px 32px;        /* larger for emphasis */
  font-size: 18px;           /* slightly bigger text */
  border-radius: 16px;       /* more rounded than regular buttons */
  background-color: #81c3c9; /* primary brand color */
  color: #ffffff;
  font-family: 'Glacial Indifference', sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect for hero/CTA buttons */
.hero button:hover,
.cta button:hover {
  background-color: #5aa1a6; /* darker shade on hover */
  transform: translateY(-2px);
}

/* Active / clicked state */
.hero button:active,
.cta button:active {
  background-color: #498b8f;
  transform: translateY(0);
}

/* Ensure consistency with other buttons */
.hero button,
.cta button {
  text-align: center;
  text-decoration: none;
}

/* Footer button */
footer .btn {
  display: inline-block;
  margin-top: 12px;          /* adds spacing from the text above */
  padding: 10px 24px;        /* smaller than hero/CTA, more subtle */
  font-size: 16px;
  border-radius: 12px;       /* matches other buttons */
  background-color: #81c3c9; /* primary brand color */
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
footer .btn:hover {
  background-color: #5aa1a6; /* slightly darker on hover */
  transform: translateY(-1px);
}

/* Active / clicked state */
footer .btn:active {
  background-color: #498b8f;
  transform: translateY(0);
}

/* Footer section */
footer {
  text-align: center;       /* center all content inside footer */
  padding: 40px 20px;       /* top/bottom spacing for breathing room */
  background-color: #000000; /* or your footer background */
  color: #ffffff;
}

/* Footer button */
footer .btn {
  display: inline-block;
  margin-top: 16px;          /* space from the text above */
  padding: 10px 24px;
  font-size: 16px;
  border-radius: 12px;
  background-color: #81c3c9;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
footer .btn:hover {
  background-color: #5aa1a6;
  transform: translateY(-1px);
}

/* Active / clicked state */
footer .btn:active {
  background-color: #498b8f;
  transform: translateY(0);
}

/* Footer button */
footer .btn {
  display: inline-block;
  margin-top: 16px;          /* space from the text above */
  padding: 10px 24px;
  font-size: 16px;
  border-radius: 12px;
  background-color: #000000; /* black background */
  color: #ffffff;            /* white text */
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #ffffff; /* white border */
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
footer .btn:hover {
  background-color: #ffffff; /* invert colors on hover */
  color: #000000;
  transform: translateY(-1px);
}

/* Active / clicked state */
footer .btn:active {
  background-color: #e0e0e0;
  color: #000000;
  transform: translateY(0);
}

.sticker-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.sticker-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* align buttons with top of info */
  background: #f9f9f9;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.sticker-info p {
  margin: 0.25rem 0;
  line-height: 1.4;
}

.sticker-desc {
  margin-left: 1rem; /* indent description if you want */
  white-space: pre-wrap; /* keep line breaks if user typed them */
}

.sticker-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
