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

:root {
  /* Dark Theme (Default) */
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-card: #0f3460;
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --accent-primary: #4b47dc;
  --accent-secondary: #6c5ce7;
  --border-color: #2d3748;
  --shadow: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
  /* Light Theme */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --accent-primary: #4b47dc;
  --accent-secondary: #6c5ce7;
  --border-color: #e2e8f0;
  --shadow: rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Arial", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

/* Header en Navigatie */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
}

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

.logo svg {
  height: 100%;
  width: auto;
}

.brand-text {
  display: none;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
  background: var(--bg-card);
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--accent-primary);
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 2rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 2rem;
}

/* Sidebar */
.sidebar {
  width: 300px;
  max-width: 300px; /* Add this line */
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  height: fit-content;
}

/* Sidebar Images - Add this after the existing sidebar styles */
.sidebar-image {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.sidebar-image img {
  width: 100%;
  height: 200px; /* Fixed height for consistent sizing */
  object-fit: cover; /* Crop image to fit nicely */
  transition: transform 0.3s ease;
}

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

.sidebar.left {
  order: -1;
}

.sidebar h3 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.product-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px var(--shadow);
}

.product-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.product-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.ai-face-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-button {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--shadow);
}

/* Products Section */
.products-section {
  width: 100%;
}

.products-section h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow);
  border-color: var(--accent-primary);
}

.product-icon-large {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.product-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.learn-more-btn {
  background: var(--accent-primary);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.learn-more-btn:hover {
  background: var(--accent-secondary);
  transform: scale(1.05);
}

.product-details {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  padding: 2rem;
  border-top: 2px solid var(--accent-primary);
  transition: all 0.5s ease;
  opacity: 0;
}

.product-card.expanded .product-details {
  top: 0;
  opacity: 1;
}

.product-details h4 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.product-details ul {
  text-align: left;
  margin-top: 1rem;
}

.product-details li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.product-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* Videos Section */
.videos-section {
  width: 100%;
}

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

.video-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow);
}

.video-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-card), var(--accent-primary));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.play-button {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
  transform: scale(1.2);
}

.thumbnail-overlay {
  text-align: center;
  color: white;
}

.thumbnail-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.video-info {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.video-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.video-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-text h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.video-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  width: 100%;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-form {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(75, 71, 220, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
}

.submit-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--shadow);
}

.contact-info {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  height: fit-content;
}

.contact-info h3 {
  color: var(--accent-primary);
  margin-bottom: 2rem;
  font-size: 1.3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  border-color: var(--accent-primary);
}

.contact-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    order: 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

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

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

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

  .nav-menu {
    gap: 1rem;
  }

  .nav-link {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }

  .video-info {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
  }

  .brand-text {
    font-size: 1.2rem;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .ai-face-image {
    max-width: 250px;
  }
}
