
:root {
  --primary: #2C3E50;
  --secondary: #3498DB;
  --accent: #E74C3C;
  --background: #FFFFFF;
  --background-alt: #F8F9FA;
  --text: #333333;
  --text-secondary: #6C757D;
  --border: #DEE2E6;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
}

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

body {
  font-family: 'Rubik', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--accent);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
}

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

section {
  padding: 3rem 0;
}

.text-center {
  text-align: center;
}


header {
  background-color: var(--background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 40px;
}

.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
}

.nav-desktop li {
  margin-left: 1.5rem;
}

.nav-desktop a {
  color: var(--primary);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after, 
.nav-desktop a:focus::after,
.nav-desktop a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background);
  z-index: 1001;
  padding-top: 5rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.nav-mobile.active {
  display: block;
  transform: translateX(0);
}

.nav-mobile ul {
  list-style: none;
  padding: 0 2rem;
}

.nav-mobile li {
  margin-bottom: 1.5rem;
}

.nav-mobile a {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
}

.close-menu-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
}


.feature-block {
  position: relative;
  background-color: var(--background-alt);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.feature-content {
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.feature-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.feature-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.feature-meta > * {
  margin-right: 1rem;
}

.feature-meta i {
  margin-right: 0.25rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent);
  color: white;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover, .cta-button:focus {
  background-color: #c0392b;
  text-decoration: none;
  color: white;
}


.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.news-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--background);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-content {
  padding: 1.5rem;
}

.news-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.news-card-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.news-card-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
}


.popular-topics {
  background-color: var(--background-alt);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.topic-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--background);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.topic-tag:hover, .topic-tag:focus {
  background-color: var(--secondary);
  color: white;
  text-decoration: none;
}


.trend-scanner {
  background-color: var(--background-alt);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.trend-scanner-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.trend-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: var(--background);
  border-radius: 50px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.trend-tag.active {
  background-color: var(--secondary);
  color: white;
}

.trend-tag input {
  margin-right: 0.5rem;
}

.trend-visualization {
  width: 100%;
  height: 300px;
  background-color: var(--background);
  border-radius: 8px;
}


.contact-form-section {
  background-color: var(--background-alt);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary);
  color: white;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.submit-btn:hover, .submit-btn:focus {
  background-color: #217dbb;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}


footer {
  background-color: var(--primary);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-column a:hover, .footer-column a:focus {
  color: white;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}


.page-header {
  background-color: var(--background-alt);
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
}

.page-content {
  margin-bottom: 3rem;
}

.page-section {
  margin-bottom: 3rem;
}

.page-section-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.page-section-title {
  margin-bottom: 1rem;
}


.post-header {
  margin-bottom: 2rem;
}

.post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.post-meta > * {
  margin-right: 1.5rem;
}

.post-meta i {
  margin-right: 0.25rem;
}

.post-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

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

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2, .post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
}


.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-details {
  background-color: var(--background-alt);
  padding: 2rem;
  border-radius: 8px;
}

.contact-details-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-details-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-right: 1rem;
  min-width: 2rem;
  text-align: center;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--background);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-text {
  flex: 1;
  margin-right: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  border: none;
}

.cookie-btn.accept {
  background-color: var(--success);
  color: white;
}

.cookie-btn.customize {
  background-color: var(--secondary);
  color: white;
}

.cookie-btn.decline {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  display: none;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: var(--background);
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.cookie-modal-header {
  margin-bottom: 1.5rem;
}

.cookie-modal-title {
  margin-bottom: 0.5rem;
}

.cookie-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.cookie-category-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.cookie-category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-category-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--text-secondary);
  transition: 0.4s;
  border-radius: 34px;
}

.cookie-category-toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.cookie-category-toggle input:checked + .cookie-category-toggle-slider {
  background-color: var(--success);
}

.cookie-category-toggle input:checked + .cookie-category-toggle-slider:before {
  transform: translateX(26px);
}

.cookie-category-description {
  color: var(--text-secondary);
}

.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--background);
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-title {
  margin-bottom: 0.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}


.iti {
  width: 100%;
}


.columns-list {
  margin-top: 2rem;
}

.column-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.column-item:last-child {
  border-bottom: none;
}

.column-title {
  margin-bottom: 0.5rem;
}

.column-excerpt {
  margin-bottom: 1rem;
}

.column-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}


.thanks-page {
  text-align: center;
  padding: 5rem 0;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.thanks-title {
  margin-bottom: 1rem;
}

.thanks-text {
  max-width: 600px;
  margin: 0 auto 2rem;
}


@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .feature-image {
    height: 350px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-description {
    font-size: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .feature-content {
    padding: 1rem;
  }
  
  .feature-image {
    height: 250px;
  }
  
  .feature-title {
    font-size: 1.5rem;
  }
  
  .trend-scanner-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .modal-content {
    padding: 1.5rem;
  }
}