/* --- Global Styles & Resets --- */
:root {
    --primary-color: #007BFF;
    --secondary-color: #6C757D;
    --success-color: #28A745;
    --info-color: #17A2B8;
    --warning-color: #FFC107;
    --danger-color: #DC3545;
    --light-color: #F8F9FA;
    --dark-color: #343A40;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: #f4f7f6;
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Accessibility --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Header --- */
header {
    background-color: #fff;
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.tagline {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* --- Main Content --- */
main {
    flex-grow: 1;
    padding: 2rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.search-section {
    margin-bottom: 2rem;
}

#search-form {
    display: flex;
    gap: 0.5rem;
}

#item-search {
    flex-grow: 1;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#item-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

button[type="submit"] {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* --- Results --- */
.results-container {
    display: grid;
    gap: 2rem;
}

.initial-prompt {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    padding: 3rem 1rem;
}

.result-category {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.result-category h2 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-category h2::before {
    font-size: 1.5rem;
}

.category-zero-effort h2::before { content: '🌱'; }
.category-quick-cash h2::before { content: '💸'; }
.category-creative-spark h2::before { content: '✨'; }
.category-karma-boost h2::before { content: '❤️'; }

.result-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.result-item {
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.result-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.result-item p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.result-item a {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.result-item a:hover {
    text-decoration: underline;
}

.not-found {
    text-align: center;
    background-color: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    padding: 2rem;
}

.not-found h2 {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    #search-form {
        flex-direction: column;
    }

    button[type="submit"] {
        width: 100%;
    }
}

.loading {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    padding: 3rem 1rem;
}
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}
/* Button links */
.share-buttons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  color: #fff;
  transition: 0.3s ease;
}

/* Facebook */
.share-buttons a.facebook {
  background: #1877f2;
}

/* Instagram */
.share-buttons a.instagram {
  background: #e4405f;
  border: 1px solid #333; /* Adds a dark border for visibility */
}


/* LinkedIn */
.share-buttons a.linkedin {
  background: #0077b5;
}

/* Twitter */
.share-buttons a.twitter {
  background: #1da1f2;
}

/* Reddit */
.share-buttons a.reddit {
  background: #ff4500;
}

/* Hover effect */
.share-buttons a:hover {
  opacity: 0.8;
  transform: scale(1.1);
}
/* Add this to your helpmechoose.css */

/* Style for the new Copy Link button */
.share-btn-insta-copy-link-btn {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn-insta-copy-link-btn:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.share-btn-insta-copy-link-btn.copied {
    background-color: var(--success-color);
}

/* Optional: Add a simple icon if you don't have an icon library */
.icon-link::before {
    content: "🔗"; /* Use an emoji as a simple icon */
    font-size: 1em;
}
.lll{
    color:white;
}
.site-footer {
    background: #f2eefb;
    text-align: center;
    padding: 40px 20px 60px;
    margin-top: 60px;
    border-top: 4px solid #ddd;
}

.site-footer h3 {
    font-size: 1.6rem;
    color: #111;
    margin-bottom: 5px;
}

.site-footer .tagline {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 10px;
    text-decoration: none;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.footer-links a:hover {
    color: #6a5acd;
}

.copyright {
    margin: 15px 0;
    font-size: 0.85rem;
    color: #666;
}

.share-buttons a {
    text-decoration: none;
    margin: 0 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #fff;
    background: #111;
    border-radius: 4px;
    font-weight: bold;
}

.share-buttons {
    margin-top: 20px;
}
/* FILTR Social Buttons */
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.share-buttons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  background: #fff;
  color: #121212;
  transition: all 0.2s ease-in-out;
}

/* Hover Neon Effect */
.share-buttons a:hover {
  background: #6200EA;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 8px rgba(98, 0, 234, 0.6);
}
.instagram-copy {
    background-color: #111;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s, transform 0.2s;
}

.instagram-copy:hover {
    background-color: #6a5acd;
    transform: translateY(-2px);
}

.instagram-copy.copied {
    background-color: #28a745; /* success indicator */
}