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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Complete redesign with bowling background and new layout */
.container {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Background Image */
.background-image {
  position: absolute;
  inset: 0;
  background-image: url("bowling-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.background-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6));
  z-index: 2;
}

/* Content */
.content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Changed from center to flex-start so content flows top to bottom */
  padding: 3rem 1.5rem;
  text-align: center;
}

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

/* Logo */
.logo-container {
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.logo {
  width: 280px;
  height: auto;
  max-width: 90%;
}

@media (min-width: 768px) {
  .logo {
    width: 350px;
  }
}

/* Main Title */
.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-wrap: balance;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

@media (min-width: 768px) {
  .main-title {
    font-size: 4rem;
  }
}

/* Subtitle */
.main-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

@media (min-width: 768px) {
  .main-subtitle {
    font-size: 1.5rem;
  }
}

/* Description */
.description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 48rem;
  margin-bottom: 3rem;
  text-wrap: pretty;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@media (min-width: 768px) {
  .description {
    font-size: 1.125rem;
  }
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 56rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

@media (min-width: 768px) {
  .info-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.info-card {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s;
}

.info-card:hover {
  background-color: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.info-icon {
  width: 2rem;
  height: 2rem;
  color: #fff;
}

.info-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-value {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Vacatures Section */
.vacatures-section {
  width: 100%;
  max-width: 72rem;
  margin: 3rem 0 2rem;
  /* Removed animation to make section immediately visible */
}

.vacatures-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .vacatures-title {
    font-size: 2.5rem;
  }
}

.vacatures-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin-bottom: 2.5rem;
}

.vacatures-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .vacatures-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

.vacature-card {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 2rem;
  text-align: left;
  transition: all 0.3s;
}

.vacature-card:hover {
  background-color: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.vacature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vacature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.vacature-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.vacature-section {
  margin-bottom: 1.5rem;
}

.vacature-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
}

.vacature-section ul {
  list-style: none;
  padding-left: 0;
}

.vacature-section li {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.vacature-section li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.vacature-cta-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA Button */
.cta-button {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.cta-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Footer */
.footer {
  margin-top: 3rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

/* Dialog/Modal */
.dialog-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.dialog-overlay.active {
  display: flex;
}

.dialog-content {
  position: relative;
  background-color: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  color: #fff;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-button:hover {
  color: #fff;
}

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

.dialog-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dialog-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Form */
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

.form-group input {
  background-color: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  color: #fff;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background-color: #2d2d30;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Added styling for file input fields */
.form-group input[type="file"] {
  background-color: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.form-group input[type="file"]:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: #2d2d30;
}

.form-group input[type="file"]::file-selector-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
  margin-right: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-group input[type="file"]::file-selector-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.form-group textarea {
  background-color: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  color: #fff;
  transition: all 0.2s;
  font-family: inherit;
  resize: vertical;
}

.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background-color: #2d2d30;
}

.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.submit-button {
  background-color: #fff;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.submit-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.success-message {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.error-message {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Vacancy Preview Card Styles */
.vacature-preview-card {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vacature-preview-card:hover {
  background-color: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.vacature-preview-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.vacature-preview-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.vacature-preview-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.vacature-button {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.vacature-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Large Dialog Styles for Vacancy Details */
.dialog-large {
  max-width: 48rem;
  max-height: 90vh;
  overflow-y: auto;
}

.dialog-vacancy-image {
  width: 100%;
  margin: -2rem -2rem 1.5rem -2rem;
  border-radius: 0.75rem 0.75rem 0 0;
  overflow: hidden;
}

.dialog-vacancy-image img {
  width: 200px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.vacancy-details {
  margin-bottom: 2rem;
  text-align: left;
}

.vacancy-section {
  margin-bottom: 1.5rem;
}

.vacancy-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.vacancy-section ul {
  list-style: none;
  padding-left: 0;
}

.vacancy-section li {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.vacancy-section li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
  text-align: left;
}

/* Responsive Adjustments for Vacancy Dialogs */
@media (max-width: 768px) {
  .dialog-large {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
  }

  .dialog-vacancy-image img {
    width: 150px;
    max-height: 120px;
  }
}
