/* --- helpmechoose.css (Fully Responsive & Ad-Friendly) --- */

:root {
    --primary-color: #007BFF;
    --secondary-color: #6C757D;
    --success-color: #28A745;
    --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);
}

/* --- Header --- */
header {
    background-color: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on small screens */
}
.header-buttons {
    display: flex;
    gap: 1rem;
}
.header-buttons a {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: #0056b3; }
.btn-secondary { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: #fff; }

/* --- Main Content Layout --- */
main {
    max-width: 1200px; /* Wider to accommodate sidebar */
    margin: 2rem auto;
    padding: 0 1rem;
}
h1 { text-align: center; margin-bottom: 0.5rem; }
.tagline { text-align: center; color: var(--secondary-color); margin-bottom: 2rem; }

/* Ad Spaces */
.ad-space {
    margin: 2rem auto;
    text-align: center;
    background-color: #e9ecef;
    border: 1px dashed #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
}
.ad-banner {
    max-width: 728px;
    min-height: 90px;
}
.ad-sidebar {
    max-width: 300px;
    min-height: 250px;
}

/* Content Wrapper for Main Content + Sidebar */
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.main-content {
    flex-grow: 1;
}

/* --- Form Elements --- */
.options-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.option-card, .decision-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}
.hmc-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--dark-color);
}
.hmc-input, .decision-card textarea, .decision-card select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}
.hmc-input:focus, .decision-card textarea:focus, .decision-card select:focus {
    outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
.add-option-container { text-align: center; margin-bottom: 1.5rem; }
#hmc-add-btn {
    padding: 0.5rem 1rem; background-color: var(--light-color); border: 1px solid #ccc;
    border-radius: 5px; cursor: pointer; transition: background-color 0.3s;
}
#hmc-add-btn:hover { background-color: #e2e6ea; }
.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap; /* Wrap buttons on small screens */
}
.btn-clear, .btn-submit {
    padding: 1rem 2rem; font-size: 1.1rem; font-weight: bold; border: none; border-radius: 5px; cursor: pointer;
    transition: background-color 0.3s;
}
.btn-clear { background-color: var(--secondary-color); color: #fff; }
.btn-clear:hover { background-color: #5a6268; }
.btn-submit { background-color: var(--success-color); color: #fff; }
.btn-submit:hover { background-color: #218838; }

/* --- Results --- */
.result-container {
    margin-top: 2rem; background-color: #fff; padding: 2rem; border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); border-left: 5px solid var(--primary-color); min-height: 50px;
}
.hmc-section h2 { margin-bottom: 1rem; }
.hmc-section p { margin-bottom: 0.5rem; }
.hmc-section pre { white-space: pre-wrap; background: #f4f7f6; padding: 1rem; border-radius: 5px; }
.hmc-loader { animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablets and up (768px and up) */
@media (min-width: 768px) {
    .options-container { grid-template-columns: 1fr 1fr; }
    .content-wrapper {
        flex-direction: row; /* Switch to row layout for sidebar */
    }
    .ad-sidebar {
        order: -1; /* Puts sidebar on the left on larger screens */
        flex-shrink: 0; /* Prevents sidebar from shrinking */
    }
}

/* Larger Desktops (1024px and up) */
@media (min-width: 1024px) {
    header { padding: 1rem 3rem; }
    main { padding: 0 3rem; }
}
.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;
}
  /* Navigation Bar */
header {
    background: #ffffff;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin: 0px 600px 0px 10px; /* top | right | bottom | left */
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    transition: 0.2s ease-in-out;
}

.nav-menu li a:hover {
    color: #0078FF;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 12px;
    }
}
.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 */
}