/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-desktop {
  display: flex;
  gap: 30px;
}

.nav-desktop a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-desktop a:hover {
  color: #2563eb;
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

/* Auth Buttons Container */
.nav-auth-buttons {
  display: flex;
  gap: 8px;
  margin-left: 15px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  background: white;
  padding: 20px;
  border-top: 1px solid #e5e7eb;
}

.nav-mobile a {
  display: block;
  padding: 15px 0;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  border-bottom: 1px solid #f3f4f6;
}

.mobile-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-outline {
  background: transparent;
  color: #374151;
  border: 2px solid #d1d5db;
}

.btn-outline:hover {
  background: #f9fafb;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-login {
  background: #059669;
  color: white;
  padding: 6px 10px;
  font-size: 10px;
}

.btn-login:hover {
  background: #047857;
}

.btn-support {
  background: #ea580c;
  color: white;
  padding: 6px 10px;
  font-size: 10px;
}

.btn-support:hover {
  background: #dc2626;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/kitchen-render.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 80px 0;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
}

.text-blue {
  color: #60a5fa;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: #e2e8f0;
  line-height: 1.6;
}

.hero-buttons {
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  color: #cbd5e1;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.stat-dot {
  width: 12px;
  height: 12px;
  background: #60a5fa;
  border-radius: 50%;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: #0f172a;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.section-header p {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #1e293b;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

.feature-card.clickable {
  cursor: pointer;
  position: relative;
}

.feature-card.clickable::after {
  content: "Klicken für Beispiele";
  position: absolute;
  top: 10px;
  right: 15px;
  background: #2563eb;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Spanish version */
body.lang-es .feature-card.clickable::after {
  content: "haga clic para ver ejemplos";
}

.feature-card.clickable:hover::after {
  opacity: 1;
}

.feature-card:hover {
  background: #334155;
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: #2563eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 28px;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.feature-card p {
  color: #cbd5e1;
  line-height: 1.6;
}

/* WS-OnlineStudio Section */
.onlineplaner {
  position: relative;
  padding: 100px 0;
  background: #1e293b;
}

.onlineplaner > .container {
  position: relative;
  z-index: 10;
}

.onlineplaner-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/onlineplaner-hintergrund2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.onlineplaner-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.75));
}

.onlineplaner .section-header h2 {
  color: #f97316;
}

.onlineplaner .section-header p {
  color: #cbd5e1;
}

.onlineplaner-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

.onlineplaner-card .feature-icon {
  background: #f97316;
  width: 80px;
  height: 80px;
}

.onlineplaner-card .feature-icon i {
  font-size: 36px;
}

.onlineplaner-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.onlineplaner-content p {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 25px;
  line-height: 1.6;
}

.onlineplaner-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.onlineplaner-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #cbd5e1;
  font-size: 1.125rem;
}

.onlineplaner-features i {
  color: #10b981;
  font-size: 18px;
}

/* About Section */
.about {
  position: relative;
  padding: 100px 0;
  color: white;
}

.about-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/modern-kitchen.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.75));
}

.about-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 1.125rem;
  margin-bottom: 20px;
  color: #e2e8f0;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

.stat-card i {
  font-size: 32px;
  color: #60a5fa;
  margin-bottom: 15px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.about-card p {
  color: #cbd5e1;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: #1e293b;
}

.pricing .section-header h2 {
  color: white;
}

.pricing .section-header p {
  color: #cbd5e1;
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: #0f172a;
  border: 2px solid #3b82f6;
  border-radius: 20px;
  padding: 50px 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.pricing-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.pricing-header p {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.price {
  margin-top: 30px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: #60a5fa;
}

.price-period {
  font-size: 1.125rem;
  color: #9ca3af;
  margin-top: 10px;
  display: block;
}

.pricing-features {
  margin-bottom: 40px;
}

.pricing-features .feature {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  color: #e2e8f0;
  font-size: 1.125rem;
}

.pricing-features .feature i {
  color: #60a5fa;
  font-size: 20px;
}

.pricing-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.pricing-buttons .btn-outline {
  background: transparent;
  border-color: #64748b;
  color: white;
}

.pricing-buttons .btn-outline:hover {
  background: #1e293b;
}

.pricing-notes {
  text-align: center;
  color: #9ca3af;
}

.pricing-notes p {
  margin: 8px 0;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: #0f172a;
}

.contact .section-header h2 {
  color: white;
}

.contact .section-header p {
  color: #cbd5e1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.support-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.support-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.support-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
  padding: 30px;
  color: white;
}

.support-overlay h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  background: #1e293b;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #2563eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 20px;
}

.contact-details h3 {
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.contact-details p {
  color: #cbd5e1;
  font-size: 0.875rem;
  margin: 2px 0;
}

.contact-form-wrapper {
  background: #1e293b;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-form {
  padding: 40px;
}

.contact-form h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.contact-form > p {
  color: #cbd5e1;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  color: white;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  background: #334155;
  border: 1px solid #475569;
  border-radius: 8px;
  color: white;
  font-size: 16px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
}

/* Footer */
.footer {
  background: #111827;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(1);
  margin-bottom: 20px;
}

.footer-brand p {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #4b5563;
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9ca3af;
}

/* Location Links */
.location-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.location-link:hover {
  color: #60a5fa;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #1e293b;
  margin: 5% auto;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  color: white;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 15px;
  cursor: pointer;
}

.close:hover {
  color: white;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-image {
  width: 100%;
  height: 200px;
  background: #334155;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 14px;
  text-align: center;
}

/* Manufacturer Modal Styles */
.manufacturer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.manufacturer-logo {
  background: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.manufacturer-logo:hover {
  transform: translateY(-5px);
}

.manufacturer-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.training-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.training-topics ul {
  list-style: none;
  padding: 0;
}

.training-topics li {
  padding: 10px 0;
  border-bottom: 1px solid #334155;
  color: #cbd5e1;
}

.date-item {
  padding: 15px;
  background: #334155;
  border-radius: 8px;
  margin-bottom: 10px;
  color: #cbd5e1;
}

.training-form {
  background: #334155;
  padding: 20px;
  border-radius: 8px;
}

.training-form .form-group {
  margin-bottom: 15px;
}

.training-form select,
.training-form input {
  width: 100%;
  padding: 10px;
  background: #475569;
  border: 1px solid #64748b;
  border-radius: 6px;
  color: white;
}

.training-request {
  grid-column: 1 / -1;
}

/* Test Modal Styles */
.test-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.test-info h4 {
  color: #60a5fa;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.test-features {
  list-style: none;
  padding: 0;
}

.test-features li {
  padding: 8px 0;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.test-features i {
  color: #10b981;
  font-size: 16px;
}

.test-form-wrapper {
  background: #334155;
  padding: 30px;
  border-radius: 12px;
}

.test-form-wrapper h4 {
  color: white;
  margin-bottom: 20px;
}

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

.test-form input,
.test-form select,
.test-form textarea {
  width: 100%;
  padding: 12px;
  background: #475569;
  border: 1px solid #64748b;
  border-radius: 6px;
  color: white;
  font-size: 14px;
}

.test-form input::placeholder,
.test-form textarea::placeholder {
  color: #94a3b8;
}

/* Demo Modal Styles */
.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.demo-info h4 {
  color: #60a5fa;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.demo-info p {
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.6;
}

.demo-features {
  list-style: none;
  padding: 0;
}

.demo-features li {
  padding: 8px 0;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-features i {
  color: #3b82f6;
  font-size: 16px;
  width: 20px;
}

.demo-form-wrapper {
  background: #334155;
  padding: 30px;
  border-radius: 12px;
}

.demo-form-wrapper h4 {
  color: white;
  margin-bottom: 20px;
}

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

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 12px;
  background: #475569;
  border: 1px solid #64748b;
  border-radius: 6px;
  color: white;
  font-size: 14px;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: #94a3b8;
}

/* Quote Modal Styles */
.quote-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.quote-info h4 {
  color: #60a5fa;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.quote-info p {
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.6;
}

.quote-features {
  list-style: none;
  padding: 0;
}

.quote-features li {
  padding: 8px 0;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-features i {
  color: #f59e0b;
  font-size: 16px;
  width: 20px;
}

.quote-form-wrapper {
  background: #334155;
  padding: 30px;
  border-radius: 12px;
}

.quote-form-wrapper h4 {
  color: white;
  margin-bottom: 20px;
}

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

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px;
  background: #475569;
  border: 1px solid #64748b;
  border-radius: 6px;
  color: white;
  font-size: 14px;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #94a3b8;
}

/* Info Modal Styles */
.info-content {
  margin-top: 20px;
  color: #cbd5e1;
  line-height: 1.6;
}

.info-content h4 {
  color: #60a5fa;
  margin: 20px 0 10px 0;
}

.info-content p {
  margin-bottom: 15px;
}

.info-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.info-content li {
  margin-bottom: 8px;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 3001;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Lightbox Navigation */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
  pointer-events: auto;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.gallery-image img {
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-image img:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .training-content,
  .test-content,
  .demo-content,
  .quote-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .manufacturer-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }

  .manufacturer-logo {
    height: 100px;
    padding: 15px;
  }

  .nav-auth-buttons {
    flex-direction: column;
    gap: 4px;
    margin-left: 0;
    margin-top: 10px;
  }

  .nav-desktop,
  .nav-buttons {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-mobile.active {
    display: block;
  }

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

  .hero p {
    font-size: 1.25rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

  .onlineplaner-card {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .lightbox-nav {
    padding: 0 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

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

  .hero p {
    font-size: 1.125rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .feature-card,
  .about-card,
  .contact-form {
    padding: 30px 20px;
  }

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

  .onlineplaner-card {
    padding: 40px 20px;
  }

  .manufacturer-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
  }

  .manufacturer-logo {
    height: 80px;
    padding: 10px;
  }
}
