/* Scroll to Top Button */
.scroll-to-top:hover {
  background: var(--pink-30) !important;
  transform: scale(1.1);
}

/* Lazy Loading Images */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img.lazy.loaded {
  opacity: 1;
}

/* SEO-friendly focus states */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--pink-20);
  outline-offset: 2px;
}

/* Skip to main content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--pink-20);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1001;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Structured data styling */
[itemtype] {
  border: 1px solid transparent;
}

/* Print styles for better SEO */
@media print {
  .navbar,
  .footer,
  .scroll-to-top {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .hero-title {
    color: black !important;
    text-shadow: none !important;
  }

  .hero-subtitle {
    color: black !important;
  }
}

/* Schema.org microdata styling */
[itemtype*="schema.org"] {
  position: relative;
}

/* SEO-friendly button states */
.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 20, 147, 0.25);
}

/* Enhanced accessibility for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* SEO-friendly image captions */
.image-caption {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.8;
  text-align: center;
  margin-top: 0.5rem;
}

/* Enhanced link descriptions */
.link-description {
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* SEO-friendly form labels */
.form-label {
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.form-label.required::after {
  content: " *";
  color: var(--pink-20);
}

/* Enhanced table accessibility */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

th,
td {
  border: 1px solid var(--pink-20);
  padding: 0.75rem;
  text-align: left;
}

th {
  background: var(--dark-secondary);
  color: var(--text-light);
  font-weight: 600;
}

/* SEO-friendly list styling */
ul,
ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Enhanced heading hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-light);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* Enhanced blockquote styling */
blockquote {
  border-left: 4px solid var(--pink-20);
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: var(--text-light);
  opacity: 0.9;
}

/* SEO-friendly code blocks */
code {
  background: var(--dark-secondary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  color: var(--pink-20);
}

pre {
  background: var(--dark-secondary);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}

/* Enhanced definition lists */
dl {
  margin: 1rem 0;
}

dt {
  font-weight: 600;
  color: var(--pink-20);
  margin-top: 1rem;
}

dd {
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}

/* SEO-friendly figure and figcaption */
figure {
  margin: 1.5rem 0;
  text-align: center;
}

figcaption {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.8;
  margin-top: 0.5rem;
  font-style: italic;
}

/* GDPR Compliant Cookie Banner Styling - Minimal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-card);
  border-top: 2px solid var(--pink-20);
  padding: 0.5rem 0;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner-left {
  flex: 1;
  max-width: 70%;
}

.cookie-banner-left h6 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-light);
  font-family: "Arial", sans-serif;
}

.cookie-banner-left p {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.cookie-details {
  margin-top: 0.5rem;
}

.cookie-category-info {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.cookie-category-info .badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
  font-weight: 500;
}

.cookie-category-info .text-light {
  font-size: 0.8rem;
  opacity: 0.8;
}

.cookie-banner-right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.cookie-banner-right .btn {
  min-width: 160px;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  height: 44px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.cookie-banner-right .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responzivní design */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 0.4rem 0;
  }

  .cookie-banner-content {
    padding: 0 0.5rem;
    flex-direction: column;
    text-align: left;
    gap: 1rem;
  }

  .cookie-banner-left {
    max-width: 100%;
    text-align: left;
  }

  .cookie-banner-right {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    gap: 0.5rem;
    width: 100%;
  }

  .cookie-banner-right .btn {
    width: 100%;
    max-width: none;
    height: 40px;
    padding: 0.5rem 0.8rem;
  }

  .cookie-details {
    text-align: left;
  }

  .cookie-category-info {
    justify-content: flex-start;
    flex-direction: row;
    text-align: left;
    gap: 0.5rem;
  }

  .cookie-category-info .badge {
    margin-bottom: 0;
    margin-right: 0;
    flex-shrink: 0;
  }

  .cookie-category-info .text-light {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .cookie-banner-left h6 {
    font-size: 1rem;
  }

  .cookie-banner-left p {
    font-size: 0.85rem;
  }

  .cookie-banner-right {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .cookie-banner-right .btn {
    width: 100%;
    max-width: none;
    height: 44px;
    padding: 0.6rem 1rem;
  }
}
