/* Základní nastavení */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #121212;
  background-image: url('pozadi_gdpr.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #E0E0E0;
  line-height: 1.6;
}

/* Hlavička */
header {
  background-color: rgba(30, 30, 30, 0.95);
  padding: 20px 40px;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

header h1 {
  color: #E0E0E0;
  font-size: 2em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: #E0E0E0;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #4d9fff;
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background-color: rgba(30,30,30,0.95);
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 5px;
  margin-top: 5px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: visibility 0s linear 0.2s, opacity 0.2s linear;
  padding: 5px 0;
}

.dropdown-content a {
  color: #E0E0E0;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.dropdown-content a:hover {
  color: #4d9fff;
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

/* Hlavní obsah */
main {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.gdpr-box {
  background-color: rgba(30, 30, 30, 0.95);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}

.gdpr-box h2 {
  color: #4d9fff;
  font-size: 2em;
  margin-bottom: 30px;
  text-align: center;
}

.gdpr-section {
  background-color: rgba(40, 40, 40, 0.9);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gdpr-section:last-child {
  margin-bottom: 0;
}

.gdpr-section h3 {
  color: #4d9fff;
  font-size: 1.3em;
  margin-bottom: 15px;
}

.gdpr-section p {
  margin-bottom: 15px;
}

.gdpr-section p:last-child {
  margin-bottom: 0;
}

.gdpr-section ul {
  list-style: none;
  padding-left: 20px;
  margin-bottom: 15px;
}

.gdpr-section ul li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
}

.gdpr-section ul li:before {
  content: "•";
  color: #4d9fff;
  position: absolute;
  left: -5px;
}

/* Patička */
footer {
  background-color: rgba(30,30,30,0.95);
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.social-links {
  margin-bottom: 10px;
}

.social-links a {
  font-size: 24px;
  color: #E0E0E0;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #4d9fff;
}

/* Tlačítko pro návrat nahoru */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4d9fff;
  color: white;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 999;
}

#back-to-top:hover {
  background: #3a7acc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77,159,255,0.4);
}

#back-to-top.show {
  display: flex;
}

/* Responzivní design */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 20px;
    text-align: center;
  }
  
  nav ul {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }
  
  .gdpr-box {
    padding: 20px;
  }
  
  .gdpr-section {
    padding: 15px;
  }
  
  .gdpr-box h2 {
    font-size: 1.8em;
  }
  
  .gdpr-section h3 {
    font-size: 1.2em;
  }
}
