

:root {
  --primary-color: #d4af37; /* Gold accent color */
  --dark-color: #121212;
  --darker-color: #0a0a0a;
  --light-color: #e0e0e0;
  --text-color: #d0d0d0;
  --header-font: 'Special Elite', cursive;
  --body-font: 'Roboto', sans-serif;
  --border-radius: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.select2-dropdown {
  background-color: #3a3930!important;
  border: 1px solid #626059!important;
}

.select2-container--default .select2-results__option--selected {
  background-color: #242218!important;
}

.select2-container--default .select2-selection--single {
  background-color: #3a3930!important;
}


.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #ffffff!important;
  line-height: 28px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #020202!important;
  background-color: #242218!important;
  height: 40px;
  color: #ffffff !important;

}

    /* Styles for searchable select */
    .select-search {
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
        width: 100%;
        font-size: 16px;
        appearance: auto;
        -webkit-appearance: auto;
        background-color: white;
    }
    
    .select2-container {
        width: 100% !important;
    }
    
    .select2-selection {
        height: 40px !important;
        padding: 5px !important;
        border-radius: 5px !important;
        border: 1px solid #ccc !important;
    }
    
    .select2-selection__arrow {
        height: 40px !important;
    }


/* Enhanced Notification styles */
.notification-area {
    margin: 20px auto;
    width: 100%;
    max-width: 600px;
    padding: 15px;
    border-radius: 6px;
    background-color: rgba(30, 30, 40, 0.3); /* Darker background with more opacity */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3); /* Inner shadow for depth */
}
/* Share petition section styles */
#share-petition {
    background-color: rgba(30, 30, 40, 0.3);
    padding: 30px 0;
    text-align: center;
    margin: 20px 0;
}

#share-petition h2 {
    margin-bottom: 15px;
    color: #f0f0f0;
}

#share-petition p {
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.share-buttons-container {
   
    justify-content: center;
}

#share-petition .share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
}

#share-petition .share-button {
    padding: 12px 24px;
    font-size: 16px;
}

#share-petition .share-button i {
    margin-right: 10px;
    font-size: 18px;
}

.notification {
    position: relative;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    animation: slide-in 0.3s ease-out forwards;
}
/* Form validation styles */
.form-group.error input {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    animation: fadeIn 0.3s;
}
/* Add to your existing share button styles */
.share-button.copy-link {
  background-color: #fff;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: inherit;
  transition: all 0.3s ease;
}

.share-button.copy-link:hover {
  background-color: #5a6268;
}

.share-button.copied {
  background-color: #28a745;
  pointer-events: none;
}

/* Animation for copy button */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.share-button.copied {
  animation: pulse 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.notification i {
    margin-right: 10px;
    font-size: 20px;
}

.notification-title {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 8px;
    width: 100%;
    padding-right: 30px; /* Make room for the close button */
}

.notification-message {
    padding-left: 30px; /* Align with icon */
    text-align: left;
}

.notification-close {
    position: absolute;
    top: 12px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    opacity: 0.7;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.notification-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2);
}

.notification.success {
    background-color: #0d2611; /* Darker green background */
    color: #c9ffd0; /* Lighter green text */
    border-left: 4px solid #28a745;
}

.notification.error {
    background-color: #2d0f10; /* Darker red background */
    color: #ffcccf; /* Lighter red text */
    border-left: 4px solid #dc3545;
}

.notification.warning {
    background-color: #2d2508; /* Darker yellow background */
    color: #fff9db; /* Lighter yellow text */
    border-left: 4px solid #ffc107;
}

.notification.info {
    background-color: #0b313c; /* Darker blue background */
    color: #d1ecf1; /* Lighter blue text */
    border-left: 4px solid #17a2b8;
}

/* Social sharing buttons for success notification */
.share-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 4px;
    color: black;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-button i {
    margin-right: 8px;
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.whatsapp {
    background-color: #25d366;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fade-out {
  animation: fade-out 0.5s ease-out forwards;
}

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

@keyframes fade-out {
  from {
      transform: translateY(0);
      opacity: 1;
  }
  to {
      transform: translateY(-20px);
      opacity: 0;
  }
}
body {
  font-family: var(--body-font);
  background-color: var(--dark-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  position: relative;
  height: 600px;
  background-image: url('../img/prenos.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  display: flex;
  align-items: flex-end;

  justify-content: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.header-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 800px;
}

h1, h2, h3, h4 {
  font-family: var(--header-font);
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
}

h1 {
  font-size: 2.8rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Section Styles */
.section-inner {
  padding: 22px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .container {
    width: 100%!important;
  }

  .description-content {
    text-align: center;
  }
  h2 {
    text-align: center;
  }
}
#description {
  background-color: var(--darker-color);
}

.description-content {
  margin-bottom: 40px;
}

.description-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.call-to-action {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
  padding: 20px;
  border-left: 3px solid var(--primary-color);
  background-color: rgba(212, 175, 55, 0.1);
  margin-top: 30px;
}

.community-description {
  font-size: 1.2rem;
}

/* Video Container Styles */
.video-container {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.video {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
}

.video h4 {
  margin-bottom: 10px;
  text-align: center;
  font-size: 1rem;
}

.video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Petition Form Styles */
#petition {
  background-color: var(--dark-color);
  text-align: center;
}

.petition-content {
  max-width: 600px;
  margin: 0 auto 40px;
}

#petition-form {
  background-color: rgb(37 34 23);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
  margin-top: 20px!important;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--light-color);
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  color: var(--light-color);
  font-size: 1rem;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23d4af37%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 12px auto;
  padding-right: 30px;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.checkbox {
  display: flex;
  align-items: flex-start;
}

.checkbox input {
  margin-right: 10px;
  margin-top: 6px;
}

.checkbox label {
  font-weight: normal;
  margin-bottom: 0;
}

.checkbox a {
  color: var(--primary-color);
  text-decoration: none;
}

.checkbox a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: var(--primary-color);
  color: var(--dark-color);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--header-font);
  letter-spacing: 1px;
  margin-top: 10px;
}

.btn:hover {
  background-color: #c19c27;
  transform: translateY(-2px);
}

/* Counter Styles */
#counters {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.counter {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.counter-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.counter-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Recent Signers */
#recent-signers {
  margin-top: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#recent-signers h3 {
  text-align: center;
  margin-bottom: 20px;
}

#signers-list {
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
  padding: 0 10px;
}

#signers-list li {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#signers-list li:last-child {
  border-bottom: none;
}

/* Community Section */
#community {
  background-color: var(--darker-color);
  text-align: center;
}

.community-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.community-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  color: var(--light-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-weight: bold;
}

.community-button i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.youtube {
  background-color: #ff0000;
}

.discord {
  background-color: #5865F2;
}

.community-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Styles */
footer {
  background-color: var(--darker-color);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.social-links h3 {
  margin-bottom: 15px;
}

.social-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 10px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.separator {
  color: rgba(255, 255, 255, 0.3);
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  header {
    height: 400px;
  }
  
  .video-container {
    flex-direction: column;
    align-items: center;
  }
  
  .video {
    max-width: 100%;
  }
  
  .section-inner {
    padding: 40px 15px;
  }
  
  #petition-form {
    padding: 20px;
  }
  
  .counter-value {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  
  header {
    height: 300px;
  }
  
  #counters {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .counter {
    width: 100%;
    max-width: 250px;
  }
  
  .social-links ul {
    gap: 10px;
  }
}

/* Mobile optimization improvements */

/* Responsive Styles - Enhanced */
@media (max-width: 768px) {
  /* General adjustments */
  body {
    font-size: 15px; /* Slightly smaller base font for mobile */
  }
  
  .container {
    padding: 0 10px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* Header adjustments */
  header {
    height: 350px;
  }
  
  .header-content {
    padding: 15px 10px;
  }
  
  /* Section spacing */
  .section-inner {
    padding: 25px 12px;
  }
  
  section {
    border-bottom: none; /* Remove section borders on mobile */
  }
  
  /* Video container */
  .video-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .video {
    max-width: 100%;
    
  }
  
  /* Form adjustments */
  #petition-form {
    padding: 15px;
    margin-top: 15px !important;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  label {
    margin-bottom: 5px;
    font-size: 0.9rem;
  }
  
  input[type="text"],
  input[type="email"],
  select {
    padding: 10px;
    font-size: 0.95rem;
  }
  
  .checkbox label {
    font-size: 0.85rem;
  }
  
  .btn {
    padding: 12px 20px;
    width: 100%; /* Full width buttons on mobile */
  }
  
  /* Counter adjustments */
  #counters {
    margin: 25px 0;
  }
  
  .counter {
    padding: 15px;
    min-width: unset;
    width: 100%;
    max-width: 300px;
  }
  
  .counter-value {
    font-size: 1.8rem;
  }
  
  /* Notification adjustments */
  .notification-area {
    padding: 8px;
    max-width: 100%;
    margin: 15px auto;
  }
  
  .notification {
    padding: 15px;
    margin-bottom: 10px;
  }
  
  .notification-title {
    font-size: 0.95rem;
  }
  
  .notification-message {
    padding-left: 20px;
    font-size: 0.9rem;
  }
  
  /* Share buttons adjustments */
  .share-buttons {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .share-button {
    padding: 8px 12px;
    font-size: 0.9rem;
    flex: 1 0 45%; /* Two columns */
  }
  
  /* Recent signers adjustments */
  #recent-signers {
    padding: 15px;
    margin-top: 25px;
  }
  
  #signers-list {
    max-height: 150px;
  }
  
  #signers-list li {
    padding: 8px 5px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  h1 {
    font-size: 1.5rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  header {
    height: 250px;
  }
  
  /* Further compact elements */
  .section-inner {
    padding: 20px 10px;
  }
  
  .call-to-action {
    padding: 15px;
    font-size: 1rem;
  }
  
  #petition-form {
    padding: 12px;
    border-radius: 3px; /* Smaller border radius */
  }
  
  /* Share buttons for very small screens */
  .share-button {
    flex: 1 0 100%; /* Single column on very small screens */
    padding: 10px;
  }
  
  .share-buttons {
    gap: 6px;
  }
  
  /* Community links */
  .community-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .community-button {
    padding: 10px 15px;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  
  /* Footer spacing */
  footer {
    padding: 25px 0;
  }
  
  .footer-links a {
    display: block;
    margin: 8px 0;
  }

  @media (max-width: 768px) {
    .counter {
     
        max-width: 400px;
    }}
  
  /* Reduce some shadows and effects that might be heavy on mobile */
  .video iframe, .counter, #recent-signers {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
}

/* Fix for share section links on mobile */
@media (max-width: 768px) {
  #share-petition .share-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  #share-petition .share-button {
    width: 100%;
    margin-bottom: 10px;
  }
  
  /* Adjust share petition section padding */
  #share-petition {
    padding: 20px 0;
  }
}

/* Improve tap targets for mobile */
@media (max-width: 768px) {
  .btn, 
  .share-button, 
  .community-button,
  .footer-links a,
  .checkbox input[type="checkbox"] {
    min-height: 44px; /* Minimum height for tap targets */
  }
  
  .checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }
  
  .notification-close {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
}