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

:root {
  --primary-color: #152d53;
  --primary-dark: #0f1f3a;
  --primary-light: #1e3d6f;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --error-color: #dc3545;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(21, 45, 83, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-link {
  display: flex;
  align-items: center;
}

.logo-small {
  height: 40px;
  width: auto;
  transition: var(--transition);
  scale: 1.5;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: auto;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  position: relative;
  padding: 120px 20px 80px;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.hero-logo {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-family: "Outfit", sans-serif;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  opacity: 0.7;
  animation: bounce 2s infinite;
  cursor: pointer;
  margin-top: 5rem;
}

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

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
  font-family: "Outfit", sans-serif;
}

.section-intro {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Over Ons Section with Tabs */
.over-ons {
  background: var(--white);
}

.tab-container {
  margin-top: 3rem;
  text-align: center;
}

.tab-buttons {
  display: inline-flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--border-color);
  flex-wrap: wrap;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.tab-button {
  background: transparent;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-button:hover {
  color: var(--primary-color);
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  position: relative;
  min-height: 500px;
  text-align: left;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.tab-text {
  color: var(--text-light);
  line-height: 1.8;
}

.tab-text p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.tab-text p strong {
  font-weight: 700;
  color: var(--text-dark);
}

.tab-image {
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}

.tab-image .section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Wat Wij Doen Section - Now part of tabs */

.features-list {
  list-style: none;
  margin-top: 1.5rem;
}

.features-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* USP Section */
.over-ons .usp-section {
  margin: 3rem 0;
}

.usp-section .approach-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0;
}

.approach-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.approach-card:hover {
  transform: translateY(-5px);
}

.approach-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.approach-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
}

.approach-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Jobs Section */
.jobs {
  background: var(--bg-light);
}

.job-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 700;
  font-family: "Outfit", sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
  transition: var(--transition);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.form-group small {
  display: block;
  margin-top: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

.btn-submit {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  font-size: 1.125rem;
}

.btn-submit:hover {
  background: var(--primary-dark);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 5px;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: var(--success-color);
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: var(--error-color);
  border: 1px solid #f5c6cb;
  display: block;
}

/* Gallery Section */
.gallerij {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  overflow: auto;
}

.gallery-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-content {
  max-width: 90%;
  max-height: 90vh;
  margin: auto;
  display: block;
  object-fit: contain;
}

.gallery-close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  transition: var(--transition);
}

.gallery-close:hover {
  color: #ccc;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 2001;
}

.gallery-prev,
.gallery-next {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
  border: none;
  padding: 1rem 1.5rem;
  font-size: 24px;
  cursor: pointer;
  border-radius: 5px;
  transition: var(--transition);
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
}

.footer-column p {
  margin-bottom: 1rem;
  line-height: 1.8;
  opacity: 0.9;
}

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

.contact-info a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.social-links {
  margin-top: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  border-radius: 50%;
  transition: var(--transition);
  font-size: 1.2rem;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--primary-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    padding: 1rem;
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

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

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

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

  .tab-image {
    order: -1;
  }

  .approach-cards {
    margin-top: 2rem;
    grid-template-columns: 1fr;
  }

  .usp-section .approach-cards {
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    gap: 0.5rem;
  }

  .tab-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .tab-content {
    min-height: auto;
  }

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

  .job-form {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-logo {
    max-width: 400px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .job-form {
    padding: 1.5rem;
  }

  .gallery-close {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }

  .gallery-prev,
  .gallery-next {
    padding: 0.75rem 1rem;
    font-size: 18px;
  }

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