/* Import organized CSS files */
@import url('variables.css');
@import url('base.css');
@import url('navigation.css');
@import url('mobile.css');
@import url('components.css');
@import url('layout.css');
@import url('animations.css');
@import url('pages.css');
@import url('responsive.css');

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 10px 20px;
  width: calc(100% - 40px);
  min-width: 0;
}

.navbar.scrolled .nav-container {
  padding: 0.75rem 2rem;
}

.navbar.scrolled .logo {
  margin-top: 5px;
}

[data-theme="dark"] .navbar {
  background: rgba(30, 41, 59, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}



.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.logo {
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 1rem 0;
  min-width: 200px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .dropdown {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: #0f172a !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

[data-theme="dark"] .dropdown a {
  color: #e2e8f0 !important;
}

.dropdown a:hover {
  background: rgba(37, 99, 235, 0.15);
  color: #1d4ed8 !important;
}

[data-theme="dark"] .dropdown a:hover {
  color: #60a5fa !important;
}

.sub-dropdown {
  position: absolute;
  left: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 1rem 0;
  min-width: 250px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.2);
  max-height: 300px;
  overflow-y: auto;
}

[data-theme="dark"] .sub-dropdown {
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.sub-dropdown a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.sub-dropdown a:hover {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  width: 60px;
  height: 33px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .theme-toggle {
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.toggle-slider {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  width: 26px;
  height: 26px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-icon {
  font-size: 14px;
  margin-top: 1px;
  margin-right: 1px;
  transition: all 0.4s ease;
  color: #fbbf24;
}

[data-theme="dark"] .toggle-slider {
  transform: translateX(29px);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .toggle-icon {
  color: #fbbf24;
}

.login-btn {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  color: var(--dark);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .login-btn {
  background: rgba(30, 41, 59, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--dark);
}

-text {
  color: var(--dark);
  font-weight: 600;
  text-align: left;
  flex: 1;
  font-size: 1.2rem;
}



/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
  max-width: 900px;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.cta-button {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: inline-block;
  padding: 1rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

/* All buttons glass effect */
button, .btn, input[type="submit"], input[type="button"] {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

button:hover, .btn:hover, input[type="submit"]:hover, input[type="button"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] button, [data-theme="dark"] .btn, [data-theme="dark"] input[type="submit"], [data-theme="dark"] input[type="button"] {
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Floating Elements */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7) contrast(1.2);
  opacity: 1 !important;
}

.floating-element {
  position: absolute;
  z-index: 3;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

/* Cards Section */
.cards-section {
  padding: 5rem 2rem;
  background: var(--light);
}

[data-theme="dark"] .cards-section {
  background: transparent;
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .card {
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Image Section */
.image-section {
  padding: 5rem 2rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
}

[data-theme="dark"] .image-section {
  background: rgba(15, 23, 42, 0.5);
}

.image-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.image-text p {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.school-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-info {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
}

.contact-info p {
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  position: relative;
  background: none;
  overflow: hidden;
  height: 400px;
  margin-top: auto;
}

.footer-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
  pointer-events: auto;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .footer-overlay {
    pointer-events: auto;
  }
}

[data-theme="dark"] .footer-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.footer-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  color: #1e293b;
}

[data-theme="dark"] .footer-content {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.footer-content h3 {
  margin-bottom: 20px;
}

.footer-content p {
  margin: 10px 0;
  color: inherit;
}

.footer-content div {
  margin-top: 20px;
}

/* Page Hero Section */
.page-hero {
  background: var(--gradient);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

[data-theme="dark"] .page-hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.page-hero .hero-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0;
  color: white;
}

/* Content Sections */
.content-section {
  padding: 3rem 0;
}

.section-description {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Accordion Styles */
.accordion-item {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

[data-theme="dark"] .accordion-item {
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.accordion-header {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.accordion-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
  transform: rotate(-90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 2rem;
}

.accordion-content.active {
  padding: 1rem 2rem 2rem;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  margin: 1rem 0;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

[data-theme="dark"] .modern-table {
  background: rgba(30, 41, 59, 0.9);
}

.modern-table th,
.modern-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-table th {
  background: var(--gradient);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.modern-table td {
  color: var(--dark);
  font-size: 0.9rem;
}

.modern-table tr:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

/* Timeline Styles */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--gradient);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 2rem 0;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background: var(--gradient);
  border-radius: 50%;
  top: 2.5rem;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-year {
  background: var(--gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .timeline-content {
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.timeline-content p {
  color: var(--gray);
  line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

#typed-text {
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: none;
}

#typed-text::after {
  content: '|';
  display: inline;
  width: 0;
  margin-left: 5px;
  animation: blink 0.7s infinite;
  position: relative;
}

.page-hero #typed-text::after {
  color: white;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Responsive */
@media (max-width: 1600px) {
  .nav-menu {
    flex-wrap: wrap;
  }
  
  .nav-container {
    flex-wrap: wrap;
  }
}

@media (max-width: 1252px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu {
    display: flex;
    margin-bottom: 3px;
  }

  .nav-right {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
  }
}

/* High zoom level fixes */
@media (max-width: 1400px) and (min-resolution: 1.5dppx) {
  .nav-container {
    padding: 0.75rem 1.5rem;
  }
  
  .nav-left {
    gap: 2rem;
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
  
  .logo {
    height: 40px;
    margin-top: 7px;
  }
}

@media (max-width: 1600px) and (min-resolution: 1.25dppx) {
  .nav-container {
    padding: 0.875rem 1.75rem;
  }
}

@media (max-width: 768px) {
  .kontakt-box {
    padding: 1.5rem;
  }
  .nav-left {
    gap: 1rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  .mobile-side-menu {
    width: 280px;
    right: -280px;
  }

  .image-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  /* Timeline responsive */
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 21px;
  }

  .timeline-item:nth-child(even) {
    left: 0%;
  }

  .accordion-header {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .accordion-content {
    padding: 0 1.5rem;
  }

  .modern-table th,
  .modern-table td {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  @media (max-width: 480px) {
    .mobile-side-menu {
      width: 250px;
      right: -250px;
    }
  }
}

/* Alternative Layout 1: List Layout */
.list-layout {
  max-width: 800px;
  margin: 0 auto;
}

.list-item {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.list-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .list-item {
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.list-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
}

.list-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.list-content p {
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

/* Alternative Layout 2: Hero Cards Layout */
.hero-cards {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.hero-card.main {
  background: var(--gradient);
  color: white;
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .hero-card {
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-card.main h2 {
  color: white;
}

.hero-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-card.main p {
  color: rgba(255, 255, 255, 0.9);
}

.secondary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .list-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .list-item[style*="row-reverse"] {
    flex-direction: column !important;
  }
  
  .hero-cards {
    grid-template-columns: 1fr;
  }
  
  .hero-card {
    padding: 2rem;
  }
}

/* Kontakt Page Styles */
.kontakt-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin: 1rem 0 3rem 0;
}

.kontakt-box {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.kontakt-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .kontakt-box {
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.kontakt-info p {
  margin-bottom: 1rem;
  color: var(--gray);
  line-height: 1.6;
}

.kontakt-info strong {
  color: var(--dark);
  font-weight: 600;
}

.kontakt-info a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.kontakt-info a:hover {
  text-decoration: underline;
}

.kontakt-form h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--dark);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.kontakt-form button {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.kontakt-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.kontakt-adresa h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.kontakt-adresa p {
  color: var(--gray);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.map-container {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .kontakt-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .kontakt-box {
    padding: 1.5rem;
  }
}

/* Center button utility */
.center-button {
  text-align: center;
  margin: 1rem 0;
}

.center-button button {
  margin: 0 auto;
}


/* Dark theme support for no-news container */
[data-theme="dark"] .no-news-container {
  --card-bg: rgba(30, 41, 59, 0.2) !important;
  --border-color: rgba(255, 255, 255, 0.3) !important;
}
/* Enhanced Library Form Styling */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: var(--dark);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    inset 0 2px 10px rgba(0, 0, 0, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  box-sizing: border-box;
}

.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder {
  color: rgba(100, 116, 139, 0.7);
  font-weight: 400;
  transition: all 0.3s ease;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.6);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 2px 15px rgba(0, 0, 0, 0.1),
    0 0 0 4px rgba(37, 99, 235, 0.1),
    0 8px 30px rgba(37, 99, 235, 0.15);
  transform: translateY(-2px) scale(1.01);
}

.kontakt-form input:focus::placeholder,
.kontakt-form textarea:focus::placeholder {
  color: rgba(37, 99, 235, 0.7);
  transform: translateX(5px);
}

.kontakt-form textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}

.kontakt-form button {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #2563eb 100%);
  background-size: 200% 200%;
  color: white;
  border: none;
  padding: 1.2rem 2rem;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 25px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1rem;
}

.kontakt-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.kontakt-form button:hover::before {
  left: 100%;
}

.kontakt-form button:hover {
  transform: translateY(-3px) scale(1.02);
  background-position: 100% 0;
  box-shadow: 
    0 15px 35px rgba(37, 99, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.kontakt-form button:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

/* Dark theme support */
[data-theme="dark"] .kontakt-form input,
[data-theme="dark"] .kontakt-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--dark);
}

[data-theme="dark"] .kontakt-form input:focus,
[data-theme="dark"] .kontakt-form textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(37, 99, 235, 0.5);
}